MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1

Greg Maletic
MAME Fan
Reged: 03/27/16
Posts: 4
Send PM


"Super-clean" MAME XML file?
#352036 - 03/27/16 07:12 PM


Does there exist a super-clean MAME XML file…one that doesn't overload data fields with multiple pieces of information?

For example, in all the XML files I've found, the title for the ROM "1942" is "1942 (Revision B)". Which, while thorough…I'd rather have the name be just "1942", with the "Revision B" information relegated to, say, a "revision" tag. Another example is "1942 (Williams Electronics license)"…I'd like the licensee info stored in a "licensee" tag.

Does this exist?

Thanks!

Edited by Greg Maletic (03/27/16 11:23 PM)



StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6472
Send PM


Re: "Super-clean" MAME XML file? new [Re: Greg Maletic]
#352072 - 03/28/16 07:55 PM


> Does there exist a super-clean MAME XML file…one that doesn't overload data fields
> with multiple pieces of information?
>
> For example, in all the XML files I've found, the title for the ROM "1942" is "1942
> (Revision B)". Which, while thorough…I'd rather have the name be just "1942", with
> the "Revision B" information relegated to, say, a "revision" tag. Another example is
> "1942 (Williams Electronics license)"…I'd like the licensee info stored in a
> "licensee" tag.
>
> Does this exist?

No it does not, so far as I know. The XML is generated by the MAME binary, you'd have to apply a (rather large) source patch to MAME to get it to generate XML in the manner in which you speak. It's hard to say, MAME _may_ go that route someday. For now what it has is fine for more users.

- Stiletto



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: "Super-clean" MAME XML file? new [Re: Stiletto]
#352260 - 03/31/16 08:32 PM


> No it does not, so far as I know. The XML is generated by the MAME binary, you'd have
> to apply a (rather large) source patch to MAME to get it to generate XML in the
> manner in which you speak. It's hard to say, MAME _may_ go that route someday. For
> now what it has is fine for more users.

We had some guy ask this same identical thing on bannister a few months ago, the upshot is he wanted it so he could avoid doing some processing in his frontend he was writing, and MAMEdev does not do your homework for you so it was shot down.



StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6472
Send PM


Re: "Super-clean" MAME XML file? new [Re: R. Belmont]
#352264 - 03/31/16 09:53 PM


> > No it does not, so far as I know. The XML is generated by the MAME binary, you'd
> have
> > to apply a (rather large) source patch to MAME to get it to generate XML in the
> > manner in which you speak. It's hard to say, MAME _may_ go that route someday. For
> > now what it has is fine for more users.
>
> We had some guy ask this same identical thing on bannister a few months ago, the
> upshot is he wanted it so he could avoid doing some processing in his frontend he was
> writing, and MAMEdev does not do your homework for you so it was shot down.

Oh right, that guy. Thanks Arbee!

- Stiletto


Pages: 1

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 57 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2611