Donkey Kong Country: Tropical Freeze WiiU

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Donkey Kong Country: Tropical Freeze WiiU

Post by AlphaTwentyThree »

Hi there! I just wrote a script for the pak files of this game but it's somehow wrong as the file sizes don't match.
Here's a sample: http://*USE_ANOTHER_FILEHOSTING*/bb4841d ... iscData.7z
And here's my script:

Code: Select all

idstring "RFRM"
endian big
goto 0x54
for
   get ZERO long
   if ZERO != 0
      cleanexit
   endif
   get SIZE long
   getDstring TYPE 4
   get CRC long
   get UNK1 long
   get UNK2 long
   get UNK3 long
   get ZERO long
   get OFFSET long
   math OFFSET += 0x14
   math SIZE -= 0x14
   get NAME basename
   string NAME p= "%s/%s_0x%08x.%s" TYPE NAME CRC TYPE
   log NAME OFFSET SIZE
next

Where's the error?
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Donkey Kong Country: Tropical Freeze WiiU

Post by AlphaTwentyThree »

Any help is highly appreciated! :)