Main > Main Forum

MAME .107 released!

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

krick:


--- Quote from: MustardTent on August 21, 2006, 01:57:47 pm ---If you want the correct controls info in mamewah (with mame .107), just use krick's xml2info_xsl.exe and make a batch file to wrap it up called xml2info.bat.

Works just like if you had .106.

--- End quote ---

That's a good idea.  Thanks.  I just added a batch file to version 0.5.  I also modified the transform so it should handle XML from older mame versions as well.  I just tested 106 and the output is identical to using xml2info.exe from 106.

Just a note: The batch file is named xml2info.bat.  If you have it in a directory with xml2info.exe and you just specify "xml2info" on the command line without the extension, Windows will pick the EXE over the BAT file.  To prevent this, remove or rename xml2info.exe if it exists in the same directory.

Get it while it's hot....   http://mame.3feetunder.com/xml2info/


Minwah:


--- Quote from: krick on August 23, 2006, 10:42:08 pm ---Just a note: The batch file is named xml2info.bat.  If you have it in a directory with xml2info.exe and you just specify "xml2info" on the command line without the extension, Windows will pick the EXE over the BAT file.  To prevent this, remove or rename xml2info.exe if it exists in the same directory.

--- End quote ---

Just thought I would mention before people try it....this batch file version will not work straight off in Mamewah.  I will add a check for both xml2info.exe, and if it doesn't exist, then xml2info.bat.  In the meantime, you may get away with just renaming the *batch* file to xml2info.exe...

Edit: renaming the .bat to .exe does not work :(  The reason the bat itself doesn't work as I (stupidly) added a check for xml2info.exe - I will alter this just to ensure either xml2info.exe or xml2info.bat exists.

krick:


--- Quote from: Minwah on August 24, 2006, 05:34:16 am ---
--- Quote from: krick on August 23, 2006, 10:42:08 pm ---Just a note: The batch file is named xml2info.bat.  If you have it in a directory with xml2info.exe and you just specify "xml2info" on the command line without the extension, Windows will pick the EXE over the BAT file.  To prevent this, remove or rename xml2info.exe if it exists in the same directory.

--- End quote ---

Just thought I would mention before people try it....this batch file version will not work straight off in Mamewah.  I will add a check for both xml2info.exe, and if it doesn't exist, then xml2info.bat.  In the meantime, you may get away with just renaming the *batch* file to xml2info.exe...

Edit: renaming the .bat to .exe does not work :(  The reason the bat itself doesn't work as I (stupidly) added a check for xml2info.exe - I will alter this just to ensure either xml2info.exe or xml2info.bat exists.

--- End quote ---


hmmm...  maybe I'll try to make an actual exe file.  And while I'm at it, I can link in the libraries so you don't need the 4 DLLs either.  It will take some tinkering on my part.

MustardTent:


--- Quote from: Minwah on August 24, 2006, 05:34:16 am ---Just thought I would mention before people try it....this batch file version will not work straight off in Mamewah.  I will add a check for both xml2info.exe, and if it doesn't exist, then xml2info.bat.  In the meantime, you may get away with just renaming the *batch* file to xml2info.exe...

Edit: renaming the .bat to .exe does not work :(  The reason the bat itself doesn't work as I (stupidly) added a check for xml2info.exe - I will alter this just to ensure either xml2info.exe or xml2info.bat exists.

--- End quote ---

Hey Min, just wanted to let you know that it works for me with 1.62b10 (I know you made your xml2info changes to b11...just wanted to be clear).

Minwah:


--- Quote from: krick on August 24, 2006, 11:03:31 am ---hmmm...  maybe I'll try to make an actual exe file.  And while I'm at it, I can link in the libraries so you don't need the 4 DLLs either.  It will take some tinkering on my part.

--- End quote ---

Please don't do so on my behalf, but it would be very nice to just have an exe :)

I have pretty much totally converted my ancient -listinfo parser for -listxml now.  There may be problems with it, and for the moment it will probably only work 100% with Mame v0.108 (I haven't examined other -listxml outputs enough to know all the differences).  Seems to work very well so far tho...


--- Quote from: MustardTent on August 24, 2006, 11:14:26 am ---Hey Min, just wanted to let you know that it works for me with 1.62b10 (I know you made your xml2info changes to b11...just wanted to be clear).

--- End quote ---

Good point, sorry I wasn't clear on that...

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

Go to full version