Sega Ages DATA.CCF

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Koto
Posts: 3
Joined: Tue Sep 01, 2020 3:07 pm

Sega Ages DATA.CCF

Post by Koto »

Hi,

Sega Ages Vol. 25: Gunstar Heroes: Treasure Box has a lot of artworks and unique information about Gunstar Heroes, Dynamite Headdy and Alien Soldier.

I have been messing around with the ISO and I think all that files (Along with the roms) are located in DATA.CCF.

Unfortunatly, I have no idea about how could I extract all its content. I'd be very grateful if someone could help me with it.

Here is the file: https://mega.nz/file/JR5nkDDZ#BSMAT0wvg ... trmL1rNXZQ

Thanks in advance
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Ages DATA.CCF

Post by aluigi »

I update the script just today:
http://aluigi.org/bms/sega_ages_2500.bms
Koto
Posts: 3
Joined: Tue Sep 01, 2020 3:07 pm

Re: Sega Ages DATA.CCF

Post by Koto »

aluigi wrote:I update the script just today:
http://aluigi.org/bms/sega_ages_2500.bms


I have totally forgotten about this, and to my surprise, yesterday I found the script in your site!

Thank you for that :D, it works flawlessly.

Would you have any idea about how to get the images from .IMA files?

See ya
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Ages DATA.CCF

Post by aluigi »

Upload one of these IMA files so we can analyze the content (I doubt it's something easy but who knows).
Koto
Posts: 3
Joined: Tue Sep 01, 2020 3:07 pm

Re: Sega Ages DATA.CCF

Post by Koto »

Here it is! Thank you

See ya
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sega Ages DATA.CCF

Post by aluigi »

I guess it's some sort of custom image format containing compressed data, it then contains chunks like IMA, STAT and PALE.

So the first step is the decompression but currently I don't know what's the exact algorithm (no lzss or lzo) and I didn't check the others.

The following is the basic script for decompression that will work when someone will figure out the exact algorithm:

Code: Select all

comtype ??? # didn't check the algorithm!
idstring "SHR\0"
get ZSIZE long
get SIZE long
savepos OFFSET
math ZSIZE - 4
get NAME basename
clog NAME OFFSET ZSIZE SIZE