Spongebob: Lights, camera, pants! (XBOX)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Spongebob: Lights, camera, pants! (XBOX)

Post by Mygoshi »

Last edited by Mygoshi on Sat Jan 12, 2019 2:18 pm, edited 2 times in total.
ThatTrueStruggle
Posts: 20
Joined: Tue Nov 17, 2015 12:11 am

Re: Spongebob: Light, camera, pants! (XBOX)

Post by ThatTrueStruggle »

I wrote this:

Code: Select all

idstring "kcap"
get unk1 long
get unk2 long
get unk3 long
get fileNameTable long
get fileCount long
get dummy long

for i = 0 < fileCount
   get fileOffsets[i] long
   get fileSizes[i] long
   get unkfileNameTableNumbers[i] long
next i

goto fileNameTable
for i = 0 < fileCount
   get fileNames[i] string
next i

for i = 0 < fileCount
   log fileNames[i] fileOffsets[i] fileSizes[i]
next i


Make sure that the pak file is joined together. I didn't test much :P
If anyone can write a better script, please do :)
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Spongebob: Light, camera, pants! (XBOX)

Post by Mygoshi »

Thanks!