I've created this script to extract the sounds of the iOS application Angry Birds GO!, but some flaws with it include getting the file names muddled up and some of the sounds not playing. Can someone fix it for me?
Here's the file I'm trying to extract: https://mega.nz/#!v1xUgIhB!P8FZpIj-wk26NhdiMHIfKoRoZ6bpZix9SXvovkEa5Z4
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
Help is appreciated.