Main > Main Forum

MAME .107 released!

Pages: << < (4/14) > >>

krick:


--- Quote from: Minwah on July 24, 2006, 07:15:35 pm ---
my prog should work to some extent with Krick's new 'xml2info', by creating a dat file.  However I think I read about some change with the way vertical resolutions are now represented in Mame...I am not totally sure of the details but this may mess up the vertical games side of things.


--- End quote ---

In the pre-107 XML output, the width and height were reversed on vertical games.  This is no longer the case. In the 107 MAME XML output, the resolution specified for each game is the unrotated resolution.    However, in my xml2info, I swap them back for vertical games to match the way the info format has always been.

http://mame.3feetunder.com/xml2info/

If you want to use the XSL version of xml2info, you might be interested to know that in addition to the way mentioned in the readme, you can also run it this way....

mame.exe -listxml | xsltproc xml2info.xsl − > listinfo.txt

(the minus sign indicates that the input comes from the output of the previous command)

I'll be adding this to the readme shortly.



Minwah:


--- Quote from: krick on July 24, 2006, 11:30:13 pm ---my prog should work to some extent with Krick's new 'xml2info', by creating a dat file.  However I think I read about some change with the way vertical resolutions are now represented in Mame...I am not totally sure of the details but this may mess up the vertical games side of things.

--- End quote ---

Thanks for setting me straight on that, and for your xml2info :)

So to confirm, my Res. Tool will work fine with Mame v0.107 with Krick's xml2info :)

lettuce:

what actually is Krick's xml2info ??

krick:


--- Quote from: lettuce on July 25, 2006, 12:27:11 pm ---what actually is Krick's xml2info ??

--- End quote ---

I just took xml2info.c that was removed from mame 107, modified so that it works with the new 107 XML format.

This is a temporary solution and it's not perfect as there's some things like controls that can't be properly output in a single pass of the XML without substantially re-writing the code.  I'm not really interested in doing that.

I also wrote an XSL transformation that actually produces more accurate listinfo output than my xml2info.  I did this as an excercise to teach myself XSLT and to show what can be done with the mame XML if you have the right tools.

There's no guarantee that these utilities will remain compatible with future versions of mame, especially xml2info.exe since it's already pretty hacked up to handle the recent XML changes and I'm sure there will be more XML changes in the future.

The listinfo format is officially dead and everyone should begin using XML in their frontends and other utilities asap.

http://mame.3feetunder.com/xml2info/


MKChamp:

Forgive me if this is already addressed...

Is there a way to get MAMEWAH to generate lists with 107? I'm running the latest beta and as we all know, if generates an error now generating lists.

Pages: << < (4/14) > >>

Go to full version