EddieN Posted May 7, 2015 Share Posted May 7, 2015 I briefly read somewhere i need to edit the xml of all the listed roms and basically remove the entries i don't own, is there an easier way than this?I want to completley strip down all the games listed and have maybe 3 or 4 roms per emulator. Link to comment Share on other sites More sharing options...
Metalzoic Posted May 7, 2015 Share Posted May 7, 2015 If you only want 3 or 4 roms per emulator (really?!?) it would probably be easier to rename your databases to Backup (mame_backup.ini for example) and just copy the XML for the few roms you want from that database and paste em'into a new one and save it as the correct database (mame.ini). Would only take a few minutes. That's what I would do, but then again I'm new and rarely know the best way to do these things. Link to comment Share on other sites More sharing options...
rfancella Posted May 7, 2015 Share Posted May 7, 2015 Hi, There are a couple of tools out there that might help. But many of them will destroy the extra info in the databases or are very labor intensive. If you only want a couple roms from each XML, it might be easier to manually edit the files and add comment tags to it. Open the xml in NotePad++ or your favorite text editor. Go to the "game name" tag you want to remove. <header> <listname>AAE</listname> <lastlistupdate>06/08/2013</lastlistupdate> <listversion>1.0 Final</listversion> <exporterversion>HyperList XML Exporter Version 1.3 Copywrite (c) 2009-2011 William Strong</exporterversion> </header> <game name="asteroid" index="true" image="a"> <description>Asteroids</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1979</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="astdelux" index="" image=""> <description>Asteroids Deluxe</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="barrier" index="true" image="b"> <description>Barrier</description> <cloneof></cloneof> <crc></crc> <manufacturer>Vectorbeam</manufacturer> <year>1979</year> <genre>Puzzle</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="bzone" index="" image=""> <description>Battle Zone</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> Create a blank line before it. <header> <listname>AAE</listname> <lastlistupdate>06/08/2013</lastlistupdate> <listversion>1.0 Final</listversion> <exporterversion>HyperList XML Exporter Version 1.3 Copywrite (c) 2009-2011 William Strong</exporterversion> </header> <game name="asteroid" index="true" image="a"> <description>Asteroids</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1979</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="astdelux" index="" image=""> <description>Asteroids Deluxe</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="barrier" index="true" image="b"> <description>Barrier</description> <cloneof></cloneof> <crc></crc> <manufacturer>Vectorbeam</manufacturer> <year>1979</year> <genre>Puzzle</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="bzone" index="" image=""> <description>Battle Zone</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> Add "<!--" to that line: <header> <listname>AAE</listname> <lastlistupdate>06/08/2013</lastlistupdate> <listversion>1.0 Final</listversion> <exporterversion>HyperList XML Exporter Version 1.3 Copywrite (c) 2009-2011 William Strong</exporterversion> </header> <!-- <game name="asteroid" index="true" image="a"> <description>Asteroids</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1979</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="astdelux" index="" image=""> <description>Asteroids Deluxe</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="barrier" index="true" image="b"> <description>Barrier</description> <cloneof></cloneof> <crc></crc> <manufacturer>Vectorbeam</manufacturer> <year>1979</year> <genre>Puzzle</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="bzone" index="" image=""> <description>Battle Zone</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> Find the first line of the game you want to show and add a blank line before it: <header> <listname>AAE</listname> <lastlistupdate>06/08/2013</lastlistupdate> <listversion>1.0 Final</listversion> <exporterversion>HyperList XML Exporter Version 1.3 Copywrite (c) 2009-2011 William Strong</exporterversion> </header> <!-- <game name="asteroid" index="true" image="a"> <description>Asteroids</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1979</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="astdelux" index="" image=""> <description>Asteroids Deluxe</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="barrier" index="true" image="b"> <description>Barrier</description> <cloneof></cloneof> <crc></crc> <manufacturer>Vectorbeam</manufacturer> <year>1979</year> <genre>Puzzle</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="bzone" index="" image=""> <description>Battle Zone</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> Lastly, add "-->" to that line and everything between the open comment tag (<!--) and the close comment tag (-->) will not be shown: <header> <listname>AAE</listname> <lastlistupdate>06/08/2013</lastlistupdate> <listversion>1.0 Final</listversion> <exporterversion>HyperList XML Exporter Version 1.3 Copywrite (c) 2009-2011 William Strong</exporterversion> </header> <!-- <game name="asteroid" index="true" image="a"> <description>Asteroids</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1979</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="astdelux" index="" image=""> <description>Asteroids Deluxe</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="barrier" index="true" image="b"> <description>Barrier</description> <cloneof></cloneof> <crc></crc> <manufacturer>Vectorbeam</manufacturer> <year>1979</year> <genre>Puzzle</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> --> <game name="bzone" index="" image=""> <description>Battle Zone</description> <cloneof></cloneof> <crc></crc> <manufacturer>Atari</manufacturer> <year>1980</year> <genre>Shooter</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> Hope this helps. Thanks, Ron I briefly read somewhere i need to edit the xml of all the listed roms and basically remove the entries i don't own, is there an easier way than this?I want to completley strip down all the games listed and have maybe 3 or 4 roms per emulator. Link to comment Share on other sites More sharing options...
Fromlostdays Posted May 7, 2015 Share Posted May 7, 2015 There is an easier way. If you just don't want certain games showing up in the list, click off "Wheel only" in HyperHQ, and then remove/delete the wheel art of the games you don't want to be seen. That way you can keep the xmls in mint condition. Link to comment Share on other sites More sharing options...
dinodino Posted May 7, 2015 Share Posted May 7, 2015 Interresting solution. I wouldn't have thought of that! So make the change in HyperHQ, then in the folder for the wheel artwork, just create a sub-directory called "hide" or something then drag the images you dont want to show in there. Want to show them again? Simply move the images back... I like it! Regards, Dino Link to comment Share on other sites More sharing options...
Metalzoic Posted May 7, 2015 Share Posted May 7, 2015 There is an easier way. If you just don't want certain games showing up in the list, click off "Wheel only" in HyperHQ, and then remove/delete the wheel art of the games you don't want to be seen. That way you can keep the xmls in mint condition. Nice, I didn't think of that. And rfancella I didn't know how to do that before thanks. That's what I'll do to remove all the Neo-geo/CPS etc... games from my MAME wheel. Link to comment Share on other sites More sharing options...
EddieN Posted May 19, 2015 Author Share Posted May 19, 2015 Some great solutions here guys thanks. I did originally create an xml for my specific romset it was a little labour intensive but it worked.Now i'm going to use the other method with the wheel art, because my ROM sets are getting a little bigger than 4 or 5.. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.