Here's the file I'm trying to extract: https://mega.nz/#!v1xUgIhB!P8FZpIj-wk26 ... XvovkEa5Z4
And here's the script that I'm using:
Code: Select all
endian little
goto 1
idstring "KPX"
get FOLDERS long
get FILES long
get NAMESTABLESIZE long
math FOLDER_BASE = 16
math FILE_BASE = 0x0480
math NAME_BASE = 0x8454
goto FILE_BASE
for i = 0 < FILES
get OFFSET long
get FLAG long
get NULL long
get SIZE long
get NULL long
get NAMEOFF long
get NULL long
get ZSIZE long
savepos TEMP
math NAMEJUMP = NAME_BASE
math NAMEJUMP += NAMEOFF
goto NAMEJUMP
get NAME string
log NAME OFFSET SIZE
goto TEMP
next i