Important information: this site is currently scheduled to go offline indefinitely by end of the year.

QuickBMS Script quick fix?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
SecretAgent2001
ultra-n00b
Posts: 9
Joined: Tue Oct 18, 2016 4:18 am

QuickBMS Script quick fix?

Post by SecretAgent2001 »

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-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
Help is appreciated.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: QuickBMS Script quick fix?

Post by Acewell »

looks like aluigi has seen these types before here
http://zenhax.com/viewtopic.php?f=9&t=3533&p=19442
you should post there your sample so he can update the script :)
SecretAgent2001
ultra-n00b
Posts: 9
Joined: Tue Oct 18, 2016 4:18 am

Re: QuickBMS Script quick fix?

Post by SecretAgent2001 »

Posted a thread on zenhax just then. You can view it here: http://zenhax.com/viewtopic.php?f=9&t=4731
Post Reply