ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Sep 20, 2017 12:45 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Four Last Things - vbin
PostPosted: Sun Sep 03, 2017 5:03 pm 

Joined: Wed Oct 08, 2014 1:03 pm
Posts: 18
Game:http://store.steampowered.com/app/503400/Four_Last_Things/
Image


Attachments:
00002299.ogg [317.18 KiB]
Downloaded 10 times
Top
   
PostPosted: Tue Sep 05, 2017 1:13 am 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 137
Try the quickbms scripts. Use both on the ogg file. Don't delete the NULL from end of string.
Export
Code:
goto 8
get name basename
string name += .dat
get size long
get zsize long
clog name 16 zsize size
open FDSE name
log MEMORY_FILE 0 0
get name basename
string name += .txt
goto 2160153
get files long
for i = 1 to files
get size long
getdstring string size
getdstring dummy 12
get number long
for n = 1 to number
get size long
getdstring string size
get size2 long
getdstring dummy size2
get dummy long
if size > 0
putdstring string size MEMORY_FILE
put 0x0a0d short MEMORY_FILE
endif
next n
next i
get size asize MEMORY_FILE
log name 0 size MEMORY_FILE

Import
Code:
log MEMORY_FILE3 0 8
get name basename
get name2 filename
string name += .dat
open FDSE name
get name basename
string name += .txt
open FDSE name 1
log MEMORY_FILE 0 0
get asize asize
set offset1 0
set end 0
set offset2 2160153
goto offset2
get files long
for i = 1 to files
get size long
getdstring string size
getdstring dummy 12
get number long
for n = 1 to number
savepos offset2
get size long
getdstring string size
if size > 0 && n = 2
xmath dsize "offset2 - offset1"
append
log MEMORY_FILE offset1 dsize
append
get msize asize MEMORY_FILE
goto msize MEMORY_FILE
getct string string 0x00 1
get ad short 1
strlen len string
math len += 1
put len long MEMORY_FILE
putdstring string len MEMORY_FILE
savepos offset1
get size2 long
getdstring dummy size2
get dummy long
else
get size2 long
getdstring dummy size2
get dummy long
endif
next n
next i
xmath dsize "asize - offset1"
append
log MEMORY_FILE offset1 dsize
append
get size asize MEMORY_FILE
comtype zlib_compress
clog MEMORY_FILE2 0 size size MEMORY_FILE
get zsize asize MEMORY_FILE2
goto 8 MEMORY_FILE3
put size long MEMORY_FILE3
put zsize long MEMORY_FILE3
append
log MEMORY_FILE3 0 zsize MEMORY_FILE2
append
get size asize MEMORY_FILE3
log name2 0 size MEMORY_FILE3

_________________
Texttool sources: viewtopic.php?f=12&t=645


Top
   
PostPosted: Wed Sep 06, 2017 8:50 am 

Joined: Wed Oct 08, 2014 1:03 pm
Posts: 18
Thanks a lot swuforce!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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:
cron
Powered by phpBB® Forum Software © phpBB Limited