| Main > Software Forum |
| Sorting out SNAP files. |
| (1/2) > >> |
| chris2922:
I have a snap.zip file for MAME 0.89 (5428files) I am using MAME 0.36 in a DOS cab im building using ARCADEOS (700ish games). I would like to remove the PNG files from the 0.89 set that were added after 0.36. I was hoping clrmamepro would be able to do this, but it appears it cant. Does anyone know of a way of only keeping the PNG files that have matching files in the roms directory? |
| Farmboy90:
I would just write a script that compared the names of the roms to the names of the images and have it move/delte the ones that don't match. Come to think of it, I think someone already did this.... Let me see if I can search around and find it. |
| chris2922:
Ill have a look too now i know what im after. Im not able to write a script myself so i hope it turns up. Let me know if you find it. |
| BASSOFeeSH:
How about using "generic_artwork_renamer"? I think Howard Castro wrote it, but I'm sure a quick forum search will turn something up. I used it to rename console snaps, but I seem to remember that it might be useful in trimming unwanted/unneeded snaps as well. |
| JoyMonkey:
Here's how you'd write that script... You could use something like PrintFolders to make a list of the contents of you 0.36 roms folder. Then edit the file in a text editor; do a find&replace to rename .zip to .png C:\036SNAPS\ , then add the word COPY to the start of each line (you could do this with a little macro in most text editors like Crimson Enditor or Ulta Edit). So now you've got a text file full of lines like COPY pacman.png C:\036SNAPS\ for each 0.36 rom. Save the file in your snaps folder, call it RUNME.BAT. Make a folder on your C drive called 036SNAPS. Run the RUNME.BAT that you created and it'll copy the png's for every 0.36 rom you've got into the C:\036SNAPS folder. |
| Navigation |
| Message Index |
| Next page |