MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM
How to create a list of specific information from Mame.exe
10/23/11 04:01 AM


Hi all,

I am wanting to create a list of 'x & y resolution' data only of all games. Don't need to include game names or anything else.

For example:
100x120
102x124
160x120
200x150
etc....

I would also like this list to be sorted from biggest to smallest if possible?

I was going to use the -listinfo but it wasn't working for me so I am trying -listxml. I have tried editing the 'stylesheet' but I don't know how to get it to give me only the information I need.

Here's the main part of what I have at the moment but I need to cut it down more, can someone tell me how to change it to get what I need; (or any other way to get what I need)

Here is my current editing attempt of a stylesheet for xml2info.xsl:
http://pastebin.com/z94nrLfT

I am trying to do some calculations for an 'aperture.png' that can be used for all output resolutions that are a multiplication of original game resolutions. If I can at a quick glance get a look at all game resolutions this will help greatly.

Any help appreciated, thankyou.

*** Having trouble pasting the code to this post, anyhelp on how to do that as it's not showing up? ***
Edit: added code using pastebin


Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/

Edited by jclampy (10/23/11 04:43 AM)







Entire thread
Subject Posted by Posted on
* How to create a list of specific information from Mame.exe jclampy 10/23/11 04:01 AM
. * Re: How to create a list of specific information from Mame.exe StilettoAdministrator  10/23/11 05:40 AM
. * Re: How to create a list of specific information from Mame.exe jclampy  10/23/11 06:02 AM
. * Re: How to create a list of specific information from Mame.exe krick  10/23/11 07:28 AM
. * Re: How to create a list of specific information from Mame.exe jclampy  10/23/11 08:07 AM
. * Re: How to create a list of specific information from Mame.exe RobbbertModerator  10/23/11 12:00 PM
. * Re: How to create a list of specific information from Mame.exe Roman  10/23/11 02:14 PM
. * Re: How to create a list of specific information from Mame.exe krick  10/23/11 05:22 PM
. * Re: How to create a list of specific information from Mame.exe Roman  10/24/11 04:26 PM
. * Re: How to create a list of specific information from Mame.exe mogli  10/29/11 11:43 PM
. * Re: How to create a list of specific information from Mame.exe redk9258  10/29/11 11:53 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 560 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1820