Author Topic: listXML for non-MAME emulators  (Read 86 times)

placebo_yue

  • Full Member
  • ***
  • Posts: 49
  • sup
    • View Profile
    • Instagram
listXML for non-MAME emulators
« on: August 12, 2020, 08:20:37 PM »
Ok so here's the deal, i have a few arcade emulators besides MAME, like Nebula (for neo-geo and capcom), supermodel, and Model2. I'd like to use only one, but this is the easiest and fastest way i got every game i wanted running.

Now,i can't retrieve the metadata of those with thegamesdb. BUT i can get it with listxml if i swap the emulator with my MAME executable, generate the romlist, then swap back to the original emulator.

But it's a pain in the ass to do that every single time i update the romlists. Is there a way to force the romlist to retrieve the data from my MAME executable but keeping the real emulator in place?

Or perhaps there's a similar command for Nebula and the others to retrieve the same data? or a way to export the list from mame and load it as a file for the other romlists?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1071
    • View Profile
Re: listXML for non-MAME emulators
« Reply #1 on: August 12, 2020, 08:59:59 PM »
Inside your Attract-Mode folder create a folder called "extras".

From the command line run
Code: [Select]
<path_to_mame_folder>\mame.exe -listxml > <path_to_attractmode_extras_folder>\mame.xml

You should end up with something like this
/attract/extras/mame.xml

Now add this line to your arcade emulator files
Code: [Select]
import_extras        .\extras\mame.xml

Now all of you emulators will use the mame.xml when creating your romlists.

placebo_yue

  • Full Member
  • ***
  • Posts: 49
  • sup
    • View Profile
    • Instagram
Re: listXML for non-MAME emulators
« Reply #2 on: August 12, 2020, 09:22:13 PM »
Inside your Attract-Mode folder create a folder called "extras".

From the command line run
Code: [Select]
<path_to_mame_folder>\mame.exe -listxml > <path_to_attractmode_extras_folder>\mame.xml

You should end up with something like this
/attract/extras/mame.xml

Now add this line to your arcade emulator files
Code: [Select]
import_extras        .\extras\mame.xml

Now all of you emulators will use the mame.xml when creating your romlists.

Outstanding! that's exactly what i needed! i just found out about exporting the XML list but i had no idea how to include it, it was quite simple. Thanks!