31
General / Re: Adding game info for emulators that are not MAME
« on: June 26, 2022, 01:03:27 AM »Hi Progets; if I'm in a Windows environment, is it possible to use command line to import an XML file and build the romlist? I know Windows is DOS based so the commands might be different but I'm not sure if I'm going to be unable to import the lists entirely.
Yes, you can import an XML file on the command line. More information on which system, where the XML file is from, file names and locations would help to give you better details.
An import would look like this. Your locations/paths to the files and names will likely be different.
Code: [Select]
cd C:\AttractMode
attract-console.exe -i "C:\AttractMode\romlists\Nintendo Entertainment System.xml" -o "Nintendo Entertainment System"
attract-console.exe is the command
-i is the file you want to import
-o is the AttractMode romlist name you want
If there are any spaces in the path or file names you'll need to use quotes like I show above.