The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: pmc on October 01, 2003, 11:03:18 am

Title: Renaming 300+ ROMs?
Post by: pmc on October 01, 2003, 11:03:18 am
I have 300 or more (I really don't even know) Sega Genesis ROMs that all have filenames like: sonic.zip or goldnaxe2.zip.

I have a zillion screen snapshops (thanks Stuzza!) with names like "Sonic the Hedgehog (U).png" or "Golden Axe 2 (J).png".

Mamewah doesn't match the snapshot art to the ROM because the fileneames don't match. Further, I have to pick games from a Mamewah gamelist of DOS filenames instead of meaningful names.

So I know there are tools for mass renaming files, but is there one that will let me match screenshot file to ROM (en masse) and then rename the latter file to the former name but replace the suffix with .ZIP? Seems crazy to either manually rename all the files and it seems crazier to replace a perfectly good set of ROMs just to get good filenames!

Any suggestions?

Oh.... and while I'm here, does anyone know how to get scanlines to work in full-screen mode with wgens? It works in windowed mode, but switches to "double" in fullscreen mode. It's just too damn clean looking for my likes.

TIA.

- pmc
Title: Re:Renaming 300+ ROMs?
Post by: pmc on October 01, 2003, 12:28:36 pm
So five threads down I bump into this reference:

http://www.mameworld.net/easyemu/gtguide.htm#section2 (http://www.mameworld.net/easyemu/gtguide.htm#section2)

And I assume that will solve the renaming problem (assuming that naming convention is standard enough that the tools will let me make a 1/1 match between rom file and snap file without much gyration.
Title: Re:Renaming 300+ ROMs?
Post by: stuzza on October 01, 2003, 08:01:01 pm
Yep, you're right, all you need to do is use GoodGEN to rename your rom set.  The snapshots you downloaded from my site all use the goodtools naming format so will match 100% to your romset once renamed.
Title: Re:Renaming 300+ ROMs?
Post by: pmc on October 01, 2003, 09:09:33 pm
Yep, you're right, all you need to do is use GoodGEN to rename your rom set.  The snapshots you downloaded from my site all use the goodtools naming format so will match 100% to your romset once renamed.

Hmmmm...... OK. But when I run "goodgen scan"  it responds with:

Unable to open GoodGen.db

Which is the database it's supposed to create on the first scan. So it looks like I have the right program but I'm a bit stuck. The directory is not write protected. It's gotta be something obvious...

It's actually 847 ROMs. A few more than 300.  ;D
Title: Re:Renaming 300+ ROMs?
Post by: TalkingOctopus on October 01, 2003, 09:13:05 pm
Try downloading GoodGen again here:

http://www.zophar.net/utilities/goodutil.html (http://www.zophar.net/utilities/goodutil.html)

Run goodGen from the command prompt.

Also you want to use the rename command.  The scan command does not change anything.
Title: Re:Renaming 300+ ROMs?
Post by: pmc on October 02, 2003, 01:30:59 pm
Try downloading GoodGen again here:

http://www.zophar.net/utilities/goodutil.html (http://www.zophar.net/utilities/goodutil.html)

Run goodGen from the command prompt.

Also you want to use the rename command.  The scan command does not change anything.

I'll do that. I did originally get it from Zophar's Domain last night and the download, ZIP file and install went fine. Scan doesn't work, but maybe rename will. I was just following the instructions.  :P

I'll post back if it doesn't work (I have nowhere else to go!!!).

Thanks.

- pmc
Title: Re:Renaming 300+ ROMs?
Post by: pmc on October 02, 2003, 11:11:18 pm
Try downloading GoodGen again here:

http://www.zophar.net/utilities/goodutil.html (http://www.zophar.net/utilities/goodutil.html)

Run goodGen from the command prompt.

Also you want to use the rename command.  The scan command does not change anything.

Same error with "rename" as scan. Any other ideas? I'll try to do it on another machine.
Title: Re:Renaming 300+ ROMs?
Post by: pmc on October 02, 2003, 11:38:50 pm
hmmm..... OK. Same error message appears but the rename command works despite this.  I'm in business. Thanks!
Title: Re:Renaming 300+ ROMs?
Post by: wboy on October 04, 2003, 10:34:54 am
The .db file is created the first time you run it and it find appropriate files.

It ends up containing the list of the roms you have.

if you to copy the .exe and .db to another Genesis rom directory, it would append the new files/entries to the .db
Title: Re:Renaming 300+ ROMs?
Post by: pmc on October 04, 2003, 11:49:02 am
The .db file is created the first time you run it and it find appropriate files.

It ends up containing the list of the roms you have.

if you to copy the .exe and .db to another Genesis rom directory, it would append the new files/entries to the .db


You are correct. But the scan on my machine does not generate a a .db file. I get an error instead. See earlier in this thread for exact description.  But the rename command worked so I didn't care in the end.

I'm going to try this on another PC..... OK same thing. So maybe it's normal behavior. I'm thinking that it burps if it cannot find an existing .db file. I interpretted it to mean that it cannot create one.  A goodgen.db was created after the rename. But it wasn't after a scan.

Anyway, all is well. GoodGen is a good tool for sure!