Sega Genesis Classic Collection Gold Edition

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
WhoKnows
Posts: 7
Joined: Sat Feb 06, 2016 12:00 am

Sega Genesis Classic Collection Gold Edition

Post by WhoKnows »

Yesterday I found out about the Sega Classics Script here:
http://aluigi.altervista.org/bms/sega_classics.bms
and was excited to try it out on my .Pak files.

However I was using the script on the files in this:
http://www.amazon.com/Sega-Genesis-Collection-Gold-Edition-Pc/dp/B004GGO1JA
and unfortunately the resulting bin files were unusable with improper names, most likely because I think it's is a slightly different format compared to the downloadable versions on STEAM and DotEmu, although the pak files still start with "PSCD" when viewed with a Hex Editor. As a test I used the script on the one downloadable Sega classic game I had and it worked just fine producing a properly named file.

Could anyone provide some help on adapting the script to work with Gold edition(which is on DVD) since I think it may just be compressed/encypted with an older software that needs different keys. I don't know what information to provide to start with so any help would be appreciated.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Genesis Classic Collection Gold Edition

Post by aluigi »

If you can provide a sample file, I will take a look at it.
WhoKnows
Posts: 7
Joined: Sat Feb 06, 2016 12:00 am

Re: Sega Genesis Classic Collection Gold Edition

Post by WhoKnows »

This is my sample from the DVD Gold Collection but its technically the full Rom(but encrypted). But its the same Rom as the one I have from DotEMU which I got for free at the time I got it which I guess I could also provide if needed. Extracted it should ideally be Space Harrier II
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Genesis Classic Collection Gold Edition

Post by aluigi »

Can you upload also the executable?
Apparently the encryption (or the key) is different, just that.
WhoKnows
Posts: 7
Joined: Sat Feb 06, 2016 12:00 am

Re: Sega Genesis Classic Collection Gold Edition

Post by WhoKnows »

I can get you more files, one being called Sega.x64 and the other Sega.x86. But the other EXE SegaClassics.exe is too big to upload but a NO DVD version can be downloaded(There is only 1 that I know of but I'm not sure posting links to that page would be allowed.) The last exe is uninstall and shouldn't be needed.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Genesis Classic Collection Gold Edition

Post by aluigi »

Exactly as I guessed :)
set KEY binary "\x6B\x83\xBB\x95\xAB\xAF\xAB\x81\xAB\x6B\xC3\xC7\x2B"

Unfortunately I don't see a difference in the format between Gold and non-Gold (I don't have the files, I just try to remember) so I don't know a reliable way to guess the key.
I guess I will just make a new script.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Genesis Classic Collection Gold Edition

Post by aluigi »

WhoKnows
Posts: 7
Joined: Sat Feb 06, 2016 12:00 am

Re: Sega Genesis Classic Collection Gold Edition

Post by WhoKnows »

The new script worked great. All 46 games extracted perfectly with proper names and worked in an emulator I tested on my mac.

Thank You.
cyanic
Posts: 13
Joined: Wed Aug 13, 2014 1:44 am

Re: Sega Genesis Classic Collection Gold Edition

Post by cyanic »

I wrote a program to create .pak files, if anyone's interested. See GitHub: https://github.com/GMMan/PscdPack

This version was designed for the Steam version, so it doesn't use gold edition's key. If you want to use it with gold edition, change MainForm.cs:149 from "PscdFormat.ClassicsKeyBytes" to "PscdFormat.ClassicsGoldKeyBytes".