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: Maximus Arcade LST -> Mame  (Read 4437 times)

0 Members and 1 Guest are viewing this topic.

seven5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:November 03, 2011, 12:29:28 pm
Maximus Arcade LST -> Mame
« on: June 12, 2011, 05:45:41 pm »
Hey guys, I ran into the need to convert my Maximus Arcade favorites file to a playlist for Mame, so I whipped up a script to do it. It looked like some others around the community have needed this too, so I posted it.

It uses Ruby. It's pretty simple, so if you don't have access to Ruby, porting it to something else should be easy. Parsing the TXT conversion of the LST format is pretty hard do due to the delimiters, but with a little find and replace action, I just turned it into JSON, which is perfectly parseable.

Simply use MA's LST converter from their freebies section. Then use its filename in the script and run it in the same directory. It'll dump a file out named 'favorites.ini'

View the script here: https://gist.github.com/1005911
Video: WG k7193 + soft-15khz + onboard nvidia 6150
Computer: Asus Pundit P1-AH2 - Athlon 4400+ - 2GB - Windows XP