First you extract all the files from the original archive (in case you have not done yet, obviously).
Then you run quickbms from command-line with the -V option and the redirect to an output text file:
Code: Select all
quickbms.exe -l -V witcher3.bms blob.bundle > info.txt
Open info.txt and search the name of the file you want to import using zlib, for example animations\animals\wolf\wolf_animation.w2anims
Code: Select all
. 00061320 getdstr NAME "animations\animals\wolf\wolf_animation.w2anims" 256
61 6e 69 6d 61 74 69 6f 6e 73 5c 61 6e 69 6d 61 animations\anima
6c 73 5c 77 6f 6c 66 5c 77 6f 6c 66 5f 61 6e 69 ls\wolf\wolf_ani
6d 61 74 69 6f 6e 2e 77 32 61 6e 69 6d 73 00 00 mation.w2anims..
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
. 00061420 getdstr HASH "" 16
6d 82 34 0d 40 c7 39 c4 6a af 5e bf 05 84 a0 37 m.4.@.9.j.^....7
. 00061430 get ZERO 0x00000000 4
. 00061434 get SIZE 0x00234014 4
. 00061438 get ZSIZE 0x000b646f 4
. 0006143c get OFFSET 0x0090e000 4
. 00061440 get TSTAMP 0x7df46c00 8
. 00061448 getdstr ZERO "" 16
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
. 00061458 get DUMMY 0x5d02e792 4
. 0006145c get ZIP 0x00000003 4
0090e000 2310164 animations\animals\wolf\wolf_animation.w2anims
The hexadecimal number on its left (0006145c) is the offset of the field in the archive.
Open the archive with a hex editor and go at offset 0x0006145c.
Replace the byte 03 with 01 and save it.
Now delete all the extracted files except animations\animals\wolf\wolf_animation.w2anims for testing the reimporting.
Run reimport.bat
That's all