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: What 'rom info' type file formats are standard?  (Read 2204 times)

0 Members and 1 Guest are viewing this topic.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
What 'rom info' type file formats are standard?
« on: March 25, 2011, 12:08:36 am »
MAME uses XML. I think some, perhaps older, emulators use dat. What is most common, etc?
-Banned-

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: What 'rom info' type file formats are standard?
« Reply #1 on: March 25, 2011, 12:54:02 am »
Well to be honest I'm not sure what you mean.  Mame and a few others print them out, but I don't think any emulators actually use these reports, rather the rom managers do. 

Clrmamepro was the first rom manager.... it originally used dat files which were exactly like mame's original -listinfo printout only with the mame-specific data removed.  The other rom manager was romcenter.... it's format was a bit odd and had nothing to do with mame's output. 

Now mame uses a xml format and once again clrmamepro changed it's format to match mame's.  As a strange twist, romcenter now supports the same dats and thus mame's -listxml format is the defacto standard. 

Logiqx dats are still the best and you can get them for any emulator, so except in special cases (on-the-fly printouts for things like control viewers) what type of list an emulator outputs is irrelevant at this point.

As for the data the emulators actually print out:

Mame and Mess output listxml.
Demul outputs listxml.
Daphne Doesn't output anything. 
The rest???

I will tell you this.  Most emu developers don't bother with a info output and if they do it's usually just a simple test file with the rom followed by the game name.

Also console emulators, particulary classic console emulators are a different beast.  Because of the huge quantity of games they generally just don't have dats and rely on goodtools, which is totally different.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: What 'rom info' type file formats are standard?
« Reply #2 on: March 26, 2011, 09:03:36 pm »
I'm asking because I want to know how front ends make game lists, and for MAME it seems FEs consult the listxml. I'm looking for information to help improve game lists (game name vs rom name) displayed in FEs, in particular Mala.
-Banned-

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: What 'rom info' type file formats are standard?
« Reply #3 on: March 27, 2011, 01:58:35 am »
I'm asking because I want to know how front ends make game lists, and for MAME it seems FEs consult the listxml. I'm looking for information to help improve game lists (game name vs rom name) displayed in FEs, in particular Mala.

Well in all honesty the data is generally easily available and easily parsable, it's just the FE's themselves don't read it properly or the users don't prepare their roms properly. 

As the user it's your responsiblity to run questionable roms through a rom manager  or good tools first so that the name is correct.  As a FE developer the responsibility lies in fully supporting listxml and roms renamed by goodtools in addition to giving users a way to simply convert a rom-Gamename text file into a crude list. 

Thinking about it further... there is a singular case in which nothing can really be done.... visual pinball.  The table names aren't standardized, the revision numbers aren't standardized, you might have the same table re-created 5 times by 5 different people, it isn't clear which pinmame roms go with which table and due to the complexity of actually downloading a complete set, a fully accurate dat file has never been created, much less verified.  In the case of visual pinball I always just used the table name as the rom name and left the rest up to the user.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: What 'rom info' type file formats are standard?
« Reply #4 on: March 29, 2011, 08:16:03 pm »

Well in all honesty the data is generally easily available and easily parsable, it's just the FE's themselves don't read it properly or the users don't prepare their roms properly. 

As a FE developer the responsibility lies in fully supporting listxml and roms renamed by goodtools in addition to giving users a way to simply convert a rom-Gamename text file into a crude list.

So you're saying there are basically two things to keep track of..... 


Quote
Thinking about it further... there is a singular case in which nothing can really be done.... visual pinball....

It seems the author of VPLauncher created his own file. While apparently 'out of date', it works just fine with VP9. -shrugs-
-Banned-