Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: spystyle on July 16, 2004, 08:41:28 pm

Title: Successor to SortInfo.exe ?
Post by: spystyle on July 16, 2004, 08:41:28 pm
Here's a n00b question, but I'm not so familiar with the software aspects of MAME, just building cabs ...

I use SortInfo.exe to sort my roms, but it's pretty inaccurate, what do you fellas recommend as it's successor?

Thanks,
Craig



Title: Re:Successor to SortInfo.exe ?
Post by: SirPoonga on July 16, 2004, 10:27:35 pm
Inaccurate as in how?
Title: Re:Successor to SortInfo.exe ?
Post by: screaming on July 16, 2004, 10:29:20 pm
Here's a n00b question, but I'm not so familiar with the software aspects of MAME, just building cabs ...

I use SortInfo.exe to sort my roms, but it's pretty inaccurate, what do you fellas recommend as it's successor?

Thanks,
Craig
http://spystyle.arcadecontrols.com

  Unfortunately, Sortinfo is only as accurate as MAME is. There's not much you can do, really, except talk to the MAME devs.

-Steve
Title: Re:Successor to SortInfo.exe ?
Post by: SirPoonga on July 16, 2004, 10:59:46 pm
What screaming sai, I was just trying to see what you thought was inaccurate.
Title: Re:Successor to SortInfo.exe ?
Post by: spystyle on July 16, 2004, 11:08:41 pm
Inaccurate as in how?

I built a 3 button cab and sortinfo identified a bunch of 3 button games as 4 button games, and it identifies Mappy as an 8-way game, ect.


Title: Re:Successor to SortInfo.exe ?
Post by: SirPoonga on July 16, 2004, 11:41:19 pm
yeah, that's coming from mame.  What many of the driver programmers did was create a button macro that covered all the games in the driver.  Soa  3 button game will have 4 buttons defined because it is using the same macro as the rest of the games in the driver, one being a 4 button game.

Then there is the issue of some controls aren't right, like 2way joys and dotron having a "trackball".  Many many other examples.  This is why the controls.dat project started.
Title: Re:Successor to SortInfo.exe ?
Post by: southpaw13 on July 16, 2004, 11:42:00 pm
There is always going to be mistakes.  The sad story is that sortinfo doesn't work after Mame 76.  If anyone knows a fix, PLEASE post it!
Title: Re:Successor to SortInfo.exe ?
Post by: jerryjanis on July 20, 2004, 08:30:37 pm
There is always going to be mistakes.  The sad story is that sortinfo doesn't work after Mame 76.  If anyone knows a fix, PLEASE post it!

What is the problem?  I didn't notice any problem running it on version 82.1.  (using Wine under Linux if it matters - I don't imagine that it would make it work better).  I use it to generate my little database searching tool:
Here it is (http://jstookey.com/arcade/sortinfo/index.php?num_switches=2&do_search=1&switch0=players&operator0=%3E%3D&switchvalue0=2&boolean0=AND&switch1=control&operator1=%3D&switchvalue1=trackball)
Title: Re:Successor to SortInfo.exe ?
Post by: JoyMonkey on July 20, 2004, 09:03:38 pm
SortInfo didn't like a lot of the recent Mame releases. I'm not sure why.
For example, it wouldn't work with .81, but it worked fine with .83.

But since the -listinfo command has been permanently removed from all future builds of Mame (from .84 onward), SortInfo will never work directly with a Mame executable again.
I haven't tried using the Xml2info utility, so I'm not sure how good the listinfo it produces is, or if SortInfo likes it.
Title: Re: Successor to SortInfo.exe ?
Post by: spystyle on July 12, 2005, 08:37:48 am
*bump*

Is there a successor to sortinfo.exe yet?

Also, is there a way to make it work with MAME versions beyond .84?

Thanks,
Craig
Title: Re: Successor to SortInfo.exe ?
Post by: JoyMonkey on July 12, 2005, 09:06:46 am
I haven't had any problems with .84 or above - converting the listxml to the old listinfo format with xml2info does do the trick.
I think Screaming did put together a utility with the same (if not better) functionality as SortInfo that works directly with the newer Mame versions. I can't remember what it's called or where to get it right now. Must search...


Edit: Here's Screaming's ListGen thread I was thinking of:
http://forum.arcadecontrols.com/index.php?topic=36762.msg335037#msg335037
Title: Re: Successor to SortInfo.exe ?
Post by: spystyle on July 27, 2005, 07:24:47 pm
Thank you
Title: Re: Successor to SortInfo.exe ?
Post by: spystyle on September 30, 2005, 09:24:35 pm
OK, I got SortInfo to work with the new versions of MAME :)

MAME 0.141 :)

Here is the bat file :

(mame executable) -listxml > gamelist.xml
xml2info2 < gamelist.xml > gamelist.txt

So you need the file "xml2info2.exe"

example 1 :

MameUI32 -listxml > gamelist.xml
xml2info2 < gamelist.xml > gamelist.txt

example 2 :

MAMEpp -listxml > gamelist.xml
xml2info2 < gamelist.xml > gamelist.txt

example 3 :

MAME -listxml > gamelist.xml
xml2info2 < gamelist.xml > gamelist.txt

example 4 :

MAME64 -listxml > gamelist.xml
xml2info2 < gamelist.xml > gamelist.txt

So I guess we can continue to use Sortinfo forever ?

Cheers!
Craig