The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: neil324 on August 20, 2006, 09:01:53 am

Title: mame / command line
Post by: neil324 on August 20, 2006, 09:01:53 am
im trying to make a listinfo.dat for sortinfo when i try and run mame thorught the command line using mame -listxml > list.xml i get 'mame" is not  recognized as an internal or external command,operable program or batch file any one help
Title: Re: mame / command line
Post by: jcrouse on August 20, 2006, 12:32:15 pm
Your syntax is improper. If your version of Mame is prior to .107, thy this:

mame.exe -listxml|xml2info > c:\mame\mame.dat

Good Luck,
John
Title: Re: mame / command line
Post by: neil324 on August 20, 2006, 06:29:12 pm
Its version 107, copyed and pasted your      mame.exe -listxml|xml2info > c:\mame\mame.dat      but still get the the same result
Title: Re: mame / command line
Post by: jcrouse on August 20, 2006, 06:51:52 pm
I said PRIOR to .107. For .107 and above try this:

mame.exe -listxml > c:\mame\mame.xml

The output will be in XML format. The listinfo via xml2info no longer works in .107 and above. If you search the threads here there is a third party xml2info file you can drop in and then use the syntax from my previous post.

John
Title: Re: mame / command line
Post by: neil324 on August 21, 2006, 06:42:27 am
Ok thanks can get the list in an older version of mame and also the xml version in 107 but still unsure how to convert.
been trying to convert the xml with


-listxml|xml2info > c:\mame\mame.dat

but get a synatax error 1 no element found
Title: Re: mame / command line
Post by: jcrouse on August 21, 2006, 07:38:43 am
Ok thanks can get the list in an older version of mame and also the xml version in 107 but still unsure how to convert. Do i need to get the xml2info file inside the same directory and then enter

mame.exe -listxml|xml2info > c:\mame\mame.dat

and then it will convert the xml

I haven't follower the thread but I believe you just drop it in the mame folder, replacing the on that is distributed with .107 and then run the command:

mame.exe -listxml|xml2info > c:\mame\mame.dat

John

Title: Re: mame / command line
Post by: neil324 on August 21, 2006, 07:53:13 am
tried that and get the error

empty token
Title: Re: mame / command line
Post by: Howard_Casto on August 21, 2006, 04:56:06 pm
Sort info is a fairly dead piece of software, it won't work with the new data that mame spits out even if the xml2info did work for you.  I would suggest looking for an alternative solution as many people have made their own list generators since then.