Well it actually works, but I get error when trying to extract Music.packed, first file has space in its file name. Could that be an issue? Data00 for example worked fine.
And change ofset to offset didn't work
EDIT: So English.packed didn't work either, and there was no space in filename....Hmm what could it be? quickbms -l parameter does however work for all files, including English.packed and Music.packed. But extracting works with Data00.packed, and I imagine with Data01.packed as well...
Here's verbose log:
Code: Select all
QuickBMS generic files extractor 0.4.7
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
- open input file English.packed
- open script los.bms
READLINE 1 idstring BFPK
READLINE 2 get version long
>set version (0) to version
READLINE 3 get files long
>set files (1) to files
READLINE 4 savepos TMP
>set TMP (2) to TMP
READLINE 5 for i = 0 < files
>set i (3) to i
>set 0 (4) to 0x00000000
>set i (3) to i
>set files (1) to files
READLINE 6 goto TMP
>set TMP (2) to TMP
READLINE 7 get NSIZE long
>set NSIZE (5) to NSIZE
READLINE 8 getdstring name NSIZE
>set name (6) to name
>set NSIZE (5) to NSIZE
READLINE 9 get size long
>set size (7) to size
READLINE 10 get offset long
>set offset (8) to offset
READLINE 11 savepos TMP
>set TMP (2) to TMP
READLINE 12 goto offset
>set offset (8) to offset
READLINE 13 get zsize long
>set zsize (9) to zsize
READLINE 14 savepos OFFSET
>set offset (8) to offset
READLINE 15 if zsize == size
>set zsize (9) to zsize
>set size (7) to size
READLINE 16 log name offset size
>set name (6) to name
>set offset (8) to offset
>set size (7) to size
READLINE 17 else
READLINE 18 clog name offset zsize size
>set name (6) to name
>set offset (8) to offset
>set zsize (9) to zsize
>set size (7) to size
READLINE 19 endif
READLINE 20 goto TMP
>set TMP (2) to TMP
READLINE 21 next i
>set i (3) to i
- set output folder ./Test/
offset filesize filename
------------------------------
.start_bms start: -1 0 0
00000000 1 idstring BFPK
00000004 2 get version long
>set version (0) to 0x00000000
00000008 3 get files long
>set files (1) to 0x00000246
0000000c 4 savepos TMP
>set TMP (2) to 0x0000000c
- variable i seems uninitialized, I use its name
>get i (3) i
>get 0 (4) 0x00000000
>set i (3) to 0x00000000
.start_bms start: 6 0 0
0000000c 5 for i = 0 < files
>get i (3) 0x00000000
>get files (1) 0x00000246
condition < is met
0000000c 6 goto TMP
>get TMP (2) 0x0000000c
>get TMP (2) 0x0000000c
0000000c 7 get NSIZE long
>set NSIZE (5) to 0x00000029
00000010 8 getdstring name NSIZE
>get NSIZE (5) 0x00000029
>set name (6) to sounds/voices/english/babba_off_msg_1.ogg
00000039 9 get size long
>set size (7) to 0x000076f7
0000003d 10 get offset long
>set offset (8) to 0x00008e17
00000041 11 savepos TMP
>set TMP (2) to 0x00000041
00000041 12 goto offset
>get offset (8) 0x00008e17
>get offset (8) 0x00008e17
00008e17 13 get zsize long
>set zsize (9) to 0x5367674f
00008e1b 14 savepos OFFSET
>set offset (8) to 0x00008e1b
00008e1b 15 if zsize == size
>get zsize (9) 0x5367674f
>get size (7) 0x000076f7
condition == is not met
.start_bms start: 17 1 0
.start_bms end: 17 1 0 (ret 18)
.start_bms start: 19 0 0
00008e1b 18 clog name offset zsize size
>get name (6) sounds/voices/english/babba_off_msg_1.ogg
>get offset (8) 0x00008e1b
>get zsize (9) 0x5367674f
>get size (7) 0x000076f7
00008e1b 30455 sounds/voices/english/babba_off_msg_1.ogg
Error: incomplete input file number 0, can't read 1362753026 bytes.
anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted
Note that if both the scripts and your files are correct then it's possible
that the script needs a newer version of QuickBMS, in which case download it:
http://aluigi.org/quickbms