Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Renaming 300+ ROMs?  (Read 6384 times)

0 Members and 1 Guest are viewing this topic.

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Renaming 300+ ROMs?
« 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

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re:Renaming 300+ ROMs?
« Reply #1 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

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.

stuzza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 499
  • Last login:May 13, 2025, 09:19:19 pm
  • I'm a llama!
    • ScreenshotArchive
Re:Renaming 300+ ROMs?
« Reply #2 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.

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re:Renaming 300+ ROMs?
« Reply #3 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

TalkingOctopus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1722
  • Last login:July 16, 2024, 06:54:08 am
  • @!#?@!
    • My Arcade
Re:Renaming 300+ ROMs?
« Reply #4 on: October 01, 2003, 09:13:05 pm »
Try downloading GoodGen again here:

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.

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re:Renaming 300+ ROMs?
« Reply #5 on: October 02, 2003, 01:30:59 pm »
Try downloading GoodGen again here:

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

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re:Renaming 300+ ROMs?
« Reply #6 on: October 02, 2003, 11:11:18 pm »
Try downloading GoodGen again here:

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.

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re:Renaming 300+ ROMs?
« Reply #7 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!

wboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 176
  • Last login:November 03, 2005, 05:09:19 pm
  • I'm a llama!
Re:Renaming 300+ ROMs?
« Reply #8 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

pmc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:December 20, 2023, 07:43:02 am
    • website
Re:Renaming 300+ ROMs?
« Reply #9 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!