xboxscene.org forums

OG Xbox Forums => Software Forums => Emulators => Topic started by: Poobah on September 23, 2006, 03:41:00 AM

Title: For Those With Sets Of Roms In 7z Archives
Post by: Poobah on September 23, 2006, 03:41:00 AM
(I apologise if this is considered too non-Xbox-related, but I was in need of a program like this when I wanted to get all the PAL SNES ROMs from my computer (in GoodMerged 7z archives) into a convenient format (ZIP) so that I could play them on the Xbox, and extracting everything would use up far more HDD space than I had available. It also would take hours to manually go through each game and work out which version I want. I've seen a lot of other people with similar situations here, so perhap this program could help until the 7z format is more widely supported.)

Download here. (45 Kilobytes)
Get the source code here.

This program allows you to select a folder that contains 7-Zip archives. It then goes through each one, performs optional filters to skip unwanted things such as bad dumps, allows the user to choose which files to use, extracts the chosen files, and optionally re-archives each one using either ZIP or JMA. This program makes it very convenient to convert a large amount of GoodMerged 7-Zip archives into formats that emulators can read.

Features and reasons to use:
Requirements:
Please take a look at the following screenshots to get an idea of what the program is capable of and how it works:
(IMG:http://img234.imageshack.us/img234/7360/ungoodmergezi3.th.png)(IMG:http://img68.imageshack.us/img68/6488/ungoodmergeoptions1ky6.th.png)(IMG:http://img227.imageshack.us/img227/3384/ungoodmergeoptions2nh1.th.png)(IMG:http://img68.imageshack.us/img68/7569/ungoodmergeoptions3qd6.th.png)

As you can see in the first screenshot, it filters down the original list of 277 files from Super Mario World.7z to a mere 14 files. The hacked dumps are present because they are the only variants available. (For all the program knows, "Super Mario World Coning Edition" could have been a re-release of Super Mario World.) As the third screenshot shows, there is an option to remove all hacked dumps, which would result in Super Mario World being filtered down from 277 files to just 1, but this is disabled by default because there's an extremely small chance that a hacked dump of a game may be the only version available.

I'm happy with this program, and have added all the useful filtering options I could think of. It is very fast at going through a large amount of archives with the default settings (which are what most English speakers would prefer), and filters out just about everything that is unwanted.

I've added a "show all items" button for users who are worried about what was filtered out. If you don't trust the filters, just try going through a few archives and then have a look at the batch file to see if it chose what you wanted.
Title: For Those With Sets Of Roms In 7z Archives
Post by: nes6502 on September 23, 2006, 09:42:00 AM
That's a very cool utility. Thanks.
Title: For Those With Sets Of Roms In 7z Archives
Post by: enderandrew on September 23, 2006, 09:48:00 AM
Just this week I went through my GoodNES collection (11,000 roms) and deleted all the bad dumps, overdumps, etc and redundant roms, and I am organizing them and zipping them one by one.  I was wondering if there was a good way to individually zip thousands of roms.  I'll have to look at this.
Title: For Those With Sets Of Roms In 7z Archives
Post by: nes6502 on September 23, 2006, 09:16:00 AM
QUOTE(enderandrew @ Sep 23 2006, 04:19 PM) View Post

Just this week I went through my GoodNES collection (11,000 roms) and deleted all the bad dumps, overdumps, etc and redundant roms, and I am organizing them and zipping them one by one.  I was wondering if there was a good way to individually zip thousands of roms.  I'll have to look at this.


1) Install Winrar
2) Select all your roms
3) Right click any one of the selected games
4) Choose "Add to archive"
5) On the General tab click "Zip" as the type.
6) On the files tab check "Put each file to separate archive"
7) Click ok

All 11,000 files will be individually zipped one right after another.
Title: For Those With Sets Of Roms In 7z Archives
Post by: VampX on September 23, 2006, 09:19:00 AM
QUOTE(enderandrew @ Sep 23 2006, 05:19 PM) View Post

Just this week I went through my GoodNES collection (11,000 roms) and deleted all the bad dumps, overdumps, etc and redundant roms, and I am organizing them and zipping them one by one.  I was wondering if there was a good way to individually zip thousands of roms.  I'll have to look at this.



Dude.. i made an entire faq on how to do all of that super fast.. sad.gif



IPB Image
Title: For Those With Sets Of Roms In 7z Archives
Post by: enderandrew on September 23, 2006, 12:29:00 PM
QUOTE(nes6502 @ Sep 23 2006, 04:23 PM) *

1) Install Winrar
2) Select all your roms
3) Right click any one of the selected games
4) Choose "Add to archive"
5) On the General tab click "Zip" as the type.
6) On the files tab check "Put each file to separate archive"
7) Click ok

All 11,000 files will be individually zipped one right after another.


Thanks.  I don't have WinRar installed because 7-zip does everything I need, as is legally free.  Despite the fact that I enjoy emulation as a means of software preservation (I only emulate old systems) I'm not a fan of piracy.  I have yet to meet a person who registered Winrar.  People always ask why I don't just crack it.  I tell them that I prefer to run open-source, legal, free software.

But for this, I will download the WinRar trial.
Title: For Those With Sets Of Roms In 7z Archives
Post by: VampX on September 23, 2006, 11:55:00 AM
QUOTE(enderandrew @ Sep 23 2006, 08:00 PM) View Post

People always ask why I don't just crack it.



haha my winrar isnt cracked either, somehow that little "please register" box isnt that anoying for me everytime i run winrar.  biggrin.gif
Title: For Those With Sets Of Roms In 7z Archives
Post by: enderandrew on September 23, 2006, 12:34:00 PM
QUOTE(VampX @ Sep 23 2006, 07:02 PM) *

haha my winrar isnt cracked either, somehow that little "please register" box isnt that anoying for me everytime i run winrar.  (IMG:style_emoticons/default/biggrin.gif)


True, but the license legally only allows you to use it for 30 days.  Most of my boxes are Linux, and I am a big proponent of legal, open-source software.

If you posted a FAQ, I somehow missed it.
Title: For Those With Sets Of Roms In 7z Archives
Post by: nes6502 on September 23, 2006, 12:25:00 PM
QUOTE(enderandrew @ Sep 23 2006, 07:05 PM) View Post

True, but the license legally only allows you to use it for 30 days.  Most of my boxes are Linux, and I am a big proponent of legal, open-source software.

If you posted a FAQ, I somehow missed it.


Then honestly, you shouldn't be involved in the emulation of anything. Old or new, classic or nextgen, game or application, it's all piracy. You can get into legal trouble just as easy for Atari 2600 roms as you can with Xbox 360 games as you can with any PC application. Sure, you're probablly less likely to get into trouble with older games, but either one fits into the definition of piracy. One just gets more attention than the other because the owners of the IP are still in a position to make money from them. There's a reason Nintendo is charging for games downloaded on the Wii. That's because there is monetary value still in those games.
Title: For Those With Sets Of Roms In 7z Archives
Post by: VampX on September 23, 2006, 12:37:00 PM
QUOTE(enderandrew @ Sep 23 2006, 08:05 PM) View Post

If you posted a FAQ, I somehow missed it.


Its in the stickied topic, Here's a link.
Title: For Those With Sets Of Roms In 7z Archives
Post by: sand_man on September 23, 2006, 07:42:00 PM
I cant seem to open it.
http://users.on.net/swcheetah/sam/UnGoodMerge.zip
"Unexpected end of archive"
Title: For Those With Sets Of Roms In 7z Archives
Post by: Poobah on September 23, 2006, 07:31:00 PM
QUOTE(sand_man @ Sep 24 2006, 11:13 AM) View Post

I cant seem to open it.
http://users.on.net/...UnGoodMerge.zip
"Unexpected end of archive"


I've re-uploaded it, and tested the archive, and it works now. Thanks for letting me know. Thanks also for showing interest. wink.gif

Regarding bulk-archiving multiple files, Windows' command-line can do that just fine:
CODE
FOR %i IN (*.nes) DO 7z a -tzip -mx9 -mm=Deflate -mpass=5 -mmt=%NUMBER_OF_PROCESSORS% "%i.zip" "%i"
That should work if the path to 7z.exe is in the PATH environment variable, otherwise you'll have to specify the full path to it. I actually made a program that generates a batch file to do this very same thing, if you would care to take a look. (It's a console program.) It generates a batch file that re-archives each file, and for each one that was archived properly, it deletes it afterwards, leaving just the zip files. The program uses the maximum compression settings, though, so it may take a while. If you don't want maximum compression, just use the Windows console command above, and change the -mx variable to use a number less than 9.
Title: For Those With Sets Of Roms In 7z Archives
Post by: uberzone on September 25, 2006, 10:05:00 AM
I tried 7zip once, only because it was free.  It was very slow and the user interface was rather poor.  I still don't understand why people swear by it.

Those of you who insist on using because its free, there is a much better alternative.

Zip Genius:  http://www.zipgenius.it/eng/index.php

Multiple format support, great UI and simple to use and best of all, free.  

I realize I sound like a commercial right now, but its only because I despise 7zip. smile.gif
Title: For Those With Sets Of Roms In 7z Archives
Post by: enderandrew on September 25, 2006, 11:12:00 AM
7zip's interface really isn't that much different from WinRar.  And 7-zip is slow because it uses a better compression technique.  The files end up smaller.  If you don't want to use a slow form of compression, then adjust the settings.
Title: For Those With Sets Of Roms In 7z Archives
Post by: Poobah on March 08, 2007, 02:51:00 AM
Sorry for bumping up this old post. I just thought I should mention that I've updated this program. Here is the change log and some screenshots. The most significant change is that it now supports all ROM sets, whether or not they're GoodMerged.

(The URL's the same as in the first post, but here's the link again.)

Version 1.1:
Title: For Those With Sets Of Roms In 7z Archives
Post by: wafflezone on March 10, 2007, 05:38:00 PM
What a great program. I hope you don't mind me linking it on my xbox modding wiki http://wiki.hellowafflezone.com/
Title: For Those With Sets Of Roms In 7z Archives
Post by: TheFritoB on June 03, 2007, 10:40:00 AM
Awesome! Thanks for the update!