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: MAMEXML WIP  (Read 1022 times)

0 Members and 1 Guest are viewing this topic.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
MAMEXML WIP
« on: July 31, 2006, 10:09:23 am »
Hello,

The first version of my MAME XML parser is complete. Since it is a special purpose parser, it can run much faster than any general-purpose XML parser, such as the expat library that MAME uses.

Basically, a program provides the parser with functions to call when the XML is parsed. You can call function "A" when the horizontal width is parsed, function "B" when the game name is parsed, and so on. You only have to provide functions for the data you need.

I wrote a sample program using this library, called echoxml.exe, which copies an XML file verbatim. It should work on any MAME XML output from v0.84 onwards. It was non-trivial to write this program because the XML spec has changed from time to time.

I will post back when the DLL version is done. Then it will be usable by Visual Basic and other Windows languages. I will also create another example program.

You can download the library, source, and example program from here.

Regards,
Buddabing
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAMEXML WIP
« Reply #1 on: August 02, 2006, 07:29:55 am »
Sounds good :)  Haven't got much chance to try it other than running your echoxml example....seems to work fine.

Looking forward to the dll version ;)