Main > Software Forum
Aaron removes xml2info as of u12 (in other words, we are screwed)
Minwah:
--- Quote ---Added multiple input controls in -listxml output for games with more
than one type. Added pedal control type. Added more info on analog
controls as defined in the driver: minimum, maximum, sensitivity,
keydelta, and reverse. This required the 'control' attribute in the
XML to be moved into an element. There can now be more than one
'control' element in the input secction. [uRebelScum]
--- End quote ---
This does sound good :)
Going OT but does anyone know if sensitivity etc. can be set (& work) in ctrlr files? Last time I tried (~v0.101) this didn't work...
As for XML, I don't like it but as we have no choice no point moaning about it...
Buddabing:
XML parsers don't have to be slow. My XML parser takes 2-3 seconds on my crappy 1 GHz laptop.
Keep in mind that a special-purpose XML parser written just for the -listxml output will always outperform a general-purpose XML parser like expat.
It is important to me that other people's code runs well. Therefore, once v0.107 comes out, I will write some code to make my listxml parser available as a DLL, so that it will be usable to any Windows progam. I will also make it available as a plain library for linux users.
youki:
--- Quote ---Keep in mind that a special-purpose XML parser written just for the -listxml output will always outperform a general-purpose XML parser like expat.
--- End quote ---
Totally correct , that the solution i often choose in my job when i have performance and memory issue with parsers.
But you can really do that, if you are sure that the XML won't change to often. Otherwize each time one XML object or a property will be added, you will have to update your Parser. (mainly if you go very far in optimization).
--- Quote ---I will write some code to make my listxml parser available as a DLL
--- End quote ---
Great!
Minwah:
--- Quote ---I will write some code to make my listxml parser available as a DLL
--- End quote ---
--- Quote ---Great!
--- End quote ---
Ditto! :)
krick:
I'm almost finished writing an XLS transform stylesheet that transforms the mame XML output to the info format.
I've never written a single XLS file before and this has only taken me about a day to learn.
You can get windows binaries (DLLs) here for the XSLT transformation processor and other libraries that it's dependent on...
http://www.zlatkovic.com/libxml.en.html
I'll put the XLS on my website when I'm done...
http://mame.3feetunder.com/xml2info/
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version