The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: Rip on May 09, 2006, 01:11:19 pm
-
I have just completed a vertical 1 joy, 3 button cab. The machine has minimal specs (PII 500).
I am looking for a tool that'll generate a rom list (for use in the Game Launcher front end) filtered based on specific criteria
- 1989 or older
- 8 way joy
- 0,1,2 or 3 buttons
- no spinner or trackball
Ideally, in addition to the rom list, the tool would also copy the roms (and dependant parent roms etc) from a complete set directory to a subset directory (this is ideal but not necessary)
Any ideas or tips?
Thanks,
John
-
Uh, MSieve (http://pi.logiqx.com/msieve/index.html) is real close to that. You could use one of the list formats to build a .bat to do the copy/move thing, but it doesn't use the year. I am not planning in updating it anytime soon, as I'm quite burned from programming for now.
If you can filter out the games by year from an XML output, with some other method (I'm thinking in a smart use of DatUtil and a spreadsheet?) then you can use MSieve for the rest.
Also note that the control output in the XML is incomplete. For controllers, it only lists the first. So a game could use a joystick and a dial, but MAME only lists a joystick.
-
Uh, MSieve (http://pi.logiqx.com/msieve/index.html) is real close to that. You could use one of the list formats to build a .bat to do the copy/move thing, but it doesn't use the year. I am not planning in updating it anytime soon, as I'm quite burned from programming for now.
If you can filter out the games by year from an XML output, with some other method (I'm thinking in a smart use of DatUtil and a spreadsheet?) then you can use MSieve for the rest.
Also note that the control output in the XML is incomplete. For controllers, it only lists the first. So a game could use a joystick and a dial, but MAME only lists a joystick.
Sweet. Just what I need.
I've been a Borland tools developer for 14 years. I did Delphi development from 1992 to 1999. I still fire up D5 every now and then to make some minor changes to an app we still sell. It was a great a language but never quite got the mindshare it deserved. I saw the writing on the wall in 1999 and jumped over to Java.
Thanks,
John
-
FWIW, I decided to use off-the-shelf XQL (XML Query Language) tools to parse and process mame's XML game list. The following XQL query did the trick:
<html>
<ul>
{
for $x in doc("games.xml")/mame/game
where
$x/video/@orientation='vertical' and
$x/year<=1989 and
string-length($x/@cloneof)=0 and
(
$x/input/@control='joy2way' or
$x/input/@control='joy4way' or
$x/input/@control='joy8way'
) and
(
$x/input/@buttons<=3 or
string-length($x/@buttons)=0
)
order by $x/description
return <li>{data($x/@name)}</li>
}
</ul>
</html>
This gives me all original, vertical, joystick + 0,1,2,3 buttons games that were made prior to 1990