Main > Software Forum

ListGen updated Feb 21, 2006

(1/2) > >>

Buddabing:
Hello,

I've updated my ListGen utility. There were two changes.

1) ListGen would not parse newer -listxml files created by the most recent versions of MAME. This is fixed.

2) I've added two fields to my database which might help some people. They are called is_in_controls_dat and parent_in_controls_dat. You'll need to make sure controls.xml is in the same directory with your ListGen executable, or these options will always fail.

For example, if you want to only generate a list of games that have controls.dat entries you could put the following in your filter.sql:


--- Code: ---select * from gamedata where is_in_controls_dat='1' or parent_in_controls_dat='1';

--- End code ---

This SQL statement generates 996 list entries when the parent_in_controls_dat is not set, and 2475 list entries when it is. (Using BuddaMAME v0.104)

You may see a warning that "unknown option -gamelist", depending on what MAME version you are using. This is because MAMEdev took this option out recently.

Please inform me of any bugs or requested features.

Regards,
Buddabing

EDIT: Link

SirPoonga:

--- Quote from: Buddabing on February 21, 2006, 02:37:33 pm ---This SQL statement generates 996 list entries when the parent_in_controls_dat is not set, and 2475 list entries when it is. (Using BuddaMAME v0.104)

--- End quote ---
That does not compute.

Buddabing:

--- Quote from: SirPoonga on February 21, 2006, 02:47:24 pm ---That does not compute.


--- End quote ---

It computes quite well for the older version of controls.xml that I was using.  ;D

For the latest version (v0.101.3), is_in_controls_dat generates 1054 list entries and is_in_controls_dat or parent_in_controls_dat generates 2598 list entries.

There are 1059 entries in the controls.xml, less the five entries that aren't games (hng64, nss, neogeo, playch10, and trvwhiz), that leaves 1054.



SirPoonga:
ahhh, better :)

cdbrown:
I just downloaded the listgen although I don't think it's been updated.  I checked listgen.exe and it still has a date 10/07/05.  I thought something was strange when I copied over the original files and they came up with the same date and timestamp.

Navigation

[0] Message Index

[#] Next page

Go to full version