I'm attempting to convert a mame gamelist.xml into a romlist.txt using attract -i, it is failing and from everything I can determine it shouldn't be. The gamelist file is labeled MAME (Libretro).xml and I have configured an emulator by the same name. If I run attract -i on the file it processes normally but says it imported 0 entries. I've dived into the actual attract source code but can't seem to find the problem. Any help on this would be much appreciated. Just in case it's relevant, I'm using a raspberry pi 3B+ using retropie 4.4 official and I compiled attract from the latest source using MMAL hardware acceleration. Everything else seems to run OK, I just can't get my gamelists converted, attract -b works fine but there is no metadata just the rom names in the generated romlist.txt file.
My sample xml:
<?xml version="1.0"?>
<gameList>
<provider>
<System>Mame</System>
<software>Skraper</software>
<database>ScreenScraper.fr</database>
<web>
http://www.screenscraper.fr</web>
</provider>
<game id="39869" source="ScreenScraper.fr">
<path>./005.zip</path>
<name>005</name>
<desc>Agent 005 brings new cash collections to you. His mission is to deliver secret attache cases to an awaiting helicopter. Through wily street chases and the shadows of warehouse darkness to slippery skating rink maneuvers and the blazing aerial getaway fight. Agent 005 steels the scene and delivers customers to you. Fun-filled music attracts them. Four thrilling escape scenes challenge them and the continuous fun keeps them playing and playing. The unique audio and video excitement matches every players skill level.</desc>
<rating>0.1</rating>
<releasedate>19810101T000000</releasedate>
<developer>Sega</developer>
<publisher>Sega</publisher>
<genre>Shooter Small-Action / Labyrinth-Action</genre>
<players>1-2</players>
<hash />
<image>./mixart/005.png</image>
<marquee>./wheel/005.png</marquee>
<video>./snap/005.mp4</video>
</game>
</gameList>