ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Aug 21, 2017 9:42 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Aug 06, 2017 3:48 am 

Joined: Sun Aug 06, 2017 3:43 am
Posts: 2
(I originally posted this thread on xentax)
Quote:
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:
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.


Top
   
PostPosted: Sun Aug 06, 2017 8:30 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6457
Script 0.1.1 (added correct compression algorithm):
http://aluigi.org/bms/xpk2.bms


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited