Extracting .hvg Star Wars: Ep III - RotS (2005) [XBOX]
Posted: Wed Apr 22, 2020 8:26 am
Hello, could someone help me extract .hvg audio files which are in .pak files, with bms script. I have samples at your disposal. I try to do something but I can't find.
.hvg samples: https://www.mediafire.com/file/xr3wlubr ... s.zip/file
And this is my code:
Thank you ![Satisfied :]](./images/smilies/%5Bcolon%5D%5D.gif)
.hvg samples: https://www.mediafire.com/file/xr3wlubr ... s.zip/file
And this is my code:
Code: Select all
findloc OFFSET binary "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
do
goto OFFSET
get DUMMY long
findloc NEXT_OFFSET binary "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" 0 ""
if NEXT_OFFSET == ""
get SIZE asize
else
math SIZE = NEXT_OFFSET
endif
math SIZE -= OFFSET
string NAME p "%08x.hvg" OFFSET
log NAME OFFSET SIZE
math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""