SpongeBob SquarePants Battle for Bikini Bottom .CSN

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

SpongeBob SquarePants Battle for Bikini Bottom .CSN

Post by lemurboy12 »

https://puu.sh/Dbkd3.CSN

I need a script that extracts model files, which all start like this.

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

Re: SpongeBob SquarePants Battle for Bikini Bottom .CSN

Post by aluigi »

I don't think it's an archive.
There are some matching offsets but the number of files is wrong and there are many parts of the file which aren't covered.

Example script:

Code: Select all

idstring "CTSN"
get DUMMY long
get DUMMY long
get DUMMY long
get INFO_SIZE long
get DUMMY_SIZE long
get DUMMY_SIZE long
get DUMMY long
get DUMMY long
get DUMMY long
get FILES long
get ZERO long
getdstring NAME 0x20
for i = 0 < FILES
    get FLAGS long
    get SOME_CRC long
    get SIZE long
    get OFFSET long
    log "" OFFSET SIZE
next i