SpongeBob HeroPants .assets

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 HeroPants .assets

Post by lemurboy12 »

http://puu.sh/ftmGH.zip

The game clearly runs on Unity, but nothing can read any of the archives correctly.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SpongeBob HeroPants .assets

Post by aluigi »

It's a Unity archive.
Take a look here:
viewtopic.php?f=9&t=36
viewtopic.php?f=9&t=12
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SpongeBob HeroPants .assets

Post by aluigi »

Ah, instead the reS archive is a raw container of RIFF files in sequence.
If you need a script:

Code: Select all

findloc OFFSET string "RIFF"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET string "RIFF" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: SpongeBob HeroPants .assets

Post by lemurboy12 »

Image

Using the Unity script just gives me this.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SpongeBob HeroPants .assets

Post by aluigi »

Script updated to version 0.1.1.
The problem was just caused by different endianess.
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: SpongeBob HeroPants .assets

Post by lemurboy12 »

Image

nope, still having the same problem
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SpongeBob HeroPants .assets

Post by aluigi »

My fault. I re-modified it before the upload.
Now version 0.1.1a :)
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: SpongeBob HeroPants .assets

Post by lemurboy12 »

It works now! Thanks.