Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: mame / command line  (Read 4936 times)

0 Members and 1 Guest are viewing this topic.

neil324

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 07, 2013, 03:53:50 am
  • I want to build my own arcade controls!
mame / command line
« 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

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: mame / command line
« Reply #1 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

neil324

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 07, 2013, 03:53:50 am
  • I want to build my own arcade controls!
Re: mame / command line
« Reply #2 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

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: mame / command line
« Reply #3 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

neil324

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 07, 2013, 03:53:50 am
  • I want to build my own arcade controls!
Re: mame / command line
« Reply #4 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
« Last Edit: August 21, 2006, 07:44:45 am by neil324 »

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: mame / command line
« Reply #5 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


neil324

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 07, 2013, 03:53:50 am
  • I want to build my own arcade controls!
Re: mame / command line
« Reply #6 on: August 21, 2006, 07:53:13 am »
tried that and get the error

empty token

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 06, 2025, 12:48:28 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: mame / command line
« Reply #7 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.