Nicktoons MLB .BIG and .TEX

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

Nicktoons MLB .BIG and .TEX

Post by lemurboy12 »

http://puu.sh/dMxii.zip

This game uses two formats, .big and .tex. .tex is obviously for textures, and .big is probably models.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Nicktoons MLB .BIG and .TEX

Post by Ekey »

Code: Select all

# Nicktoons (BIG/TEX format)
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

goto 0xC
get FILES long
goto 0x18

for i = 0 < FILES
    get NOFF long
    get ZSIZE long
    get OFFSET long
    get TYPE long
    get FLAG long
    savepos TEMP
    goto NOFF
    get NAME string
   
   if FLAG == 0
     log NAME OFFSET ZSIZE
   else
     math ZSIZE -= 4
     goto OFFSET
     get SIZE long
     reverselong SIZE
     savepos OFFSET
     clog NAME OFFSET ZSIZE SIZE
    endif
    goto TEMP
next i