Main > Software Forum

Want to use ListGen to create a batch file to move roms

<< < (2/2)

edge:
Budda / NOP,
I finally had some time to play around with your utilities.  Thank you both!

I was able to run both successfully, extracting the trackball games out into a textfile.

Comparing the 2 output results, I noticed a difference:
ListGen extracted 169 roms.
RL extracted 190 roms.

The 21 roms that differ are:
borntofi
cabalbl
combasc
combascb
dcheese
gtg
gtg2j
kick
kicka
peggle
pegglet
rampartj
ramprt2p
tehkanwc
trackflc
trackfld
trog
trog3
trogp
trogpa6
wc90t

From that list, can you tell why those extra 21 roms were pulled by RL? 

Buddabing:

--- Quote from: edge on August 19, 2006, 12:12:18 pm ---Budda / NOP,
I finally had some time to play around with your utilities.  Thank you both!

I was able to run both successfully, extracting the trackball games out into a textfile.

Comparing the 2 output results, I noticed a difference:
ListGen extracted 169 roms.
RL extracted 190 roms.

The 21 roms that differ are:
borntofi
cabalbl
combasc
combascb
dcheese
gtg
gtg2j
kick
kicka
peggle
pegglet
rampartj
ramprt2p
tehkanwc
trackflc
trackfld
trog
trog3
trogp
trogpa6
wc90t

From that list, can you tell why those extra 21 roms were pulled by RL? 



--- End quote ---

It looks like ListGen will only pick games where the first control is "trackball". ListGen was written when there was only one possible value for control. Now, of course, that doesn't apply, so ListGen needs a revision.

borntofi - trackball=second control
cabalbl - not a trackball game according to v0.107 listxml
combasc - not a trackball game
combascb - not a trackball game
dcheese - trackball = first control, this should have made the list (?)
gtg - not a trackball game according to listxml - someone should submit a code change
gtg2j - not a trackball game
kick - not a trackball game
kicka - not a trackball game
peggle - not a trackball game
pegglet - not a trackball game according to listxml
rampartj - not a trackball game
pamprt2p - not a trackball game
tehkanwc - trackball = second control
trackflc - not a trackball game
trackfld - not a trackball game
trog - not a trackball game
trog3 - not a trackball game
trogp - not a trackball game
trogpa6 - not a trackball game
wc90t - not a trackball game

This example illustrates the importance of the controls.dat project.

HTH,
Buddabing

Tilzs:
I wrote a perl script to move roms out that I don't have controls for. Trackball was one of them
According to listxml this is the list of them

NOP:
yep, this is certainly a case of garbage in:garbage out



--- Quote ---pegglet - not a trackball game according to listxml

--- End quote ---

Here's the XML (again, this is my working copy from mame103)

   <game name="pegglet" cloneof="peggle" romof="peggle">
      <description>Peggle (Trackball, v1.0)</description>
      <year>1991</year>
      <manufacturer>Strata/Incredible Technologies</manufacturer>
      <rom name="trakball.u5" size="65536" crc="d2694868" sha1="9945a308550c9d89a647d80257e3ab14f793ac6f" region="cpu1" offset="4000"/>
.
.
.
      <video screen="raster" orientation="vertical" width="240" height="350" aspectx="3" aspecty="4" refresh="60.000000"/>
      <sound channels="1"/>
      <input players="1" control="dial" coins="3" service="yes"/>
      <driver status="good" color="good" sound="good" palettesize="256"/>
   </game>


RL will find anything between <game> and </game> and trackball obviously shows up there, even though it doesn't really seem like it should.

You could change the search criteria to  "control=dial"  (RL ignores quotes) to clean up some of the false positives.



--- Quote ---rampartj - not a trackball game
pamprt2p - not a trackball game
trackflc - not a trackball game
trackfld - not a trackball game
trog - not a trackball game
trog3 - not a trackball game
trogp - not a trackball game
trogpa6 - not a trackball game
--- End quote ---

These didn't show up when I ran a search for "trackball" 
Again, I'm using an older 103 xml file, which may explain it, but it seems weird that the data would get worse as the revision incremented.

Navigation

[0] Message Index

[*] Previous page

Go to full version