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: xmlInfo  (Read 1091 times)

0 Members and 1 Guest are viewing this topic.

chrisindfw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • Last login:May 09, 2020, 05:57:34 pm
  • I drank what?
xmlInfo
« on: April 09, 2004, 01:40:45 pm »
What is xmlinfo and the xml2info.exe and what does it do and how do I create xmlinfo?

Thanks

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 05:43:19 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:xmlInfo
« Reply #1 on: April 09, 2004, 03:00:51 pm »
Xmlinfo converts the standard listinfo data into an xml file.  You don't do anything with it, it's for developers.  :)

To generate a xml version of the listinfo type:
"mame -listxml"

It calls the exe itself, so don't bother trying ot figure it out.

Also be aware that it's not "true" xml.  It has several flaws that make it unparsable by most xml readers.  

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:xmlInfo
« Reply #2 on: April 09, 2004, 03:38:45 pm »
I didn't have any problem parsing it in java.

But I only picked out the info I was interested in.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 05:43:19 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:xmlInfo
« Reply #3 on: April 09, 2004, 06:42:16 pm »
The structure in the comments has some bad data, I don't use xml so I don't know the specifics.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:xmlInfo
« Reply #4 on: April 09, 2004, 10:50:30 pm »
I use the xml file to update controls.dat.  M$ XML 4.0 libraries handle it just fine.