ZeptoLab's .raw.zst / .pb
-
- Posts: 19
- Joined: Mon Mar 20, 2017 1:21 pm
ZeptoLab's .raw.zst / .pb
Hi, i'm looking for help with ripping images from ZeproLab's game C.A.T.S.
Backgrounds and sounds are in pretty basic formats, but images use some new, strange format ".raw.zst" (.raw file openers cannot read it), could someone help me to open it and convert into more understandable format, like .PNG or .DDS, please?
Also, each image has a .pb files, i'm sending those too, i'm not sure what's their purpose, but maybe they'll come handy.
http://www.mediafire.com/file/p9aq0ievl ... 0files.rar
Backgrounds and sounds are in pretty basic formats, but images use some new, strange format ".raw.zst" (.raw file openers cannot read it), could someone help me to open it and convert into more understandable format, like .PNG or .DDS, please?
Also, each image has a .pb files, i'm sending those too, i'm not sure what's their purpose, but maybe they'll come handy.
http://www.mediafire.com/file/p9aq0ievl ... 0files.rar
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: ZeptoLab's .raw.zst / .pb
here is bms script to decompress zst files
and a Noesis python script to open the resulting raw files
*script updated August 6, 2020*
Code: Select all
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm
comtype zstd
idstring "\xbd\x08"
get WIDTH short
get HEIGHT short
get FORMAT byte //0 = rgba8888, 1 = rgb565, 2 = rgba4444, 3 = rgb565
get SIZE long
get ZSIZE long
savepos OFFSET
get NAME basename
string NAME - ".raw"
string NAME + "_dcmp.raw"
append
log NAME 0x2 0x5 //5 byte header - width, height, format
clog NAME OFFSET ZSIZE SIZE
append
and a Noesis python script to open the resulting raw files
*script updated August 6, 2020*
Last edited by Acewell on Fri Aug 07, 2020 12:52 am, edited 1 time in total.
-
- Posts: 19
- Joined: Mon Mar 20, 2017 1:21 pm
Re: ZeptoLab's .raw.zst / .pb
BMS script didn't worked.
Code: Select all
- select the BMS script or plugin to use
- select the input archives/files to extract, type * or "" for whole folder and
subfolders
- select the output folder where extracting the files
- open input file E:\QBMS\CATS\GOLD_BODY.raw.zst
- open script E:\QBMS\CATSFiles.bms.txt
- set output folder E:\QBMS\CATS
offset filesize filename
--------------------------------------
00000002 5 GOLD_BODY.raw
0000000f 524288 GOLD_BODY.raw
Info: algorithm 478
offset 0000000f
input size 0x0000673a 26426
output size 0x00080000 524288
result 0xfffffffe -2
Error: the uncompressed data (-2) is bigger than the allocated buffer (524288)
Last script line before the error or that produced the error:
14 clog NAME OFFSET ZSIZE SIZE
Press RETURN to quit
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: ZeptoLab's .raw.zst / .pb
SeriousNorbo wrote:BMS script didn't worked.
of course it works on your samples, i don't see any named GOLD_BODY.raw.zst,
you have to upload anything that doesn't work so i can examine and add support.
-
- Posts: 19
- Joined: Mon Mar 20, 2017 1:21 pm
Re: ZeptoLab's .raw.zst / .pb
that "GOLD_BODY" was one of the files i sent earlier, just renamed.
Here are results of three other files which i uploaded:
Every of them created a .RAW file with size of 1kb which Noesis couldn't read.
EDIT: one of them had different error:
Here are results of three other files which i uploaded:
Code: Select all
- open input file E:\QBMS\CATS\chainsaw_1536_2048.raw.zst
- open script E:\QBMS\CATSFiles.txt
- set output folder E:\QBMS\CATS
offset filesize filename
--------------------------------------
00000002 5 chainsaw_1536_2048.raw
0000000f 667392 chainsaw_1536_2048.raw
Info: algorithm 478
offset 0000000f
input size 0x0000de19 56857
output size 0x000a2f00 667392
result 0xfffffffe -2
Error: the uncompressed data (-2) is bigger than the allocated buffer (667392)
Last script line before the error or that produced the error:
14 clog NAME OFFSET ZSIZE SIZE
Press RETURN to quit
Code: Select all
- open input file E:\QBMS\CATS\balloon_gun_1536_2048.raw.zst
- open script E:\QBMS\CATSFiles.txt
- set output folder E:\QBMS
offset filesize filename
--------------------------------------
00000002 5 balloon_gun_1536_2048.raw
0000000f 1207552 balloon_gun_1536_2048.raw
Info: algorithm 478
offset 0000000f
input size 0x000295e9 169449
output size 0x00126d00 1207552
result 0xfffffffe -2
Error: the uncompressed data (-2) is bigger than the allocated buffer (1207552)
Last script line before the error or that produced the error:
14 clog NAME OFFSET ZSIZE SIZE
Press RETURN to quit
Code: Select all
- open input file E:\QBMS\CATS\wheel_ultimate_1536_2048.raw.zst
- open script E:\QBMS\CATSFiles.txt
- set output folder E:\QBMS\CATS
offset filesize filename
--------------------------------------
00000002 5 wheel_ultimate_1536_2048.raw
0000000f 2565312 wheel_ultimate_1536_2048.raw
Info: algorithm 478
offset 0000000f
input size 0x0001fc98 130200
output size 0x002724c0 2565312
result 0xfffffffe -2
Error: the uncompressed data (-2) is bigger than the allocated buffer (2565312)
Last script line before the error or that produced the error:
14 clog NAME OFFSET ZSIZE SIZE
Press RETURN to quit
Every of them created a .RAW file with size of 1kb which Noesis couldn't read.
EDIT: one of them had different error:
Code: Select all
- open input file E:\QBMS\CATS\body_texture_dragon_1536_2048.raw.zst
- open script E:\QBMS\catss.txt
- set output folder E:\QBMS\CATS
offset filesize filename
--------------------------------------
0000000000000002 5 body_texture_dragon_1536_2048.raw
000000000000000f 678496 body_texture_dragon_1536_2048.raw
Error: the uncompressed data (4294967294) is bigger than the allocated buffer (6
78496)
Last script line before the error or that produced the error:
14 clog NAME OFFSET ZSIZE SIZE
Press RETURN to quit
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: ZeptoLab's .raw.zst / .pb
as i said already, the script works fine for me on all your samples
make sure you have a new version of Quickbms, tested with 0.8.4.
it is not complex script, i see no reason for not working.
make sure you have a new version of Quickbms, tested with 0.8.4.
it is not complex script, i see no reason for not working.
-
- Posts: 19
- Joined: Mon Mar 20, 2017 1:21 pm
Re: ZeptoLab's .raw.zst / .pb
Oh, right, i was using outdated version of QuickBMS.
I tried on 0.8.4 and it worked.
Thanks for help.
I tried on 0.8.4 and it worked.
Thanks for help.
-
- Posts: 1
- Joined: Sun Jun 16, 2019 4:21 pm
Re: ZeptoLab's .raw.zst / .pb
Hello, (i'm french)
I would like to do the same thing as SeriousNorbo.
I tried your proposition, but I have another error message:
(it seems that the files are in another version (he have not zst extension) , can you help me?)
i joined files exemple at this post
##################################################
QuickBMS generic files extractor and reimporter 0.10.0
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Apr 28 2019 - 07:25:07)
quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts
- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on
- select BMS script. type ? for using the content of clipboard like a script
- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file D:\Downloads\com.zeptolab.cats.google_2019-05-16\assets\mr_640x960\game\vehicle_body\body_texture_cork_1.raw
- open script D:\Downloads\quickbms\cats.txt
Error: invalid datatype octet at line 7
Last script line before the error or that produced the error:
7 get FORMAT octet // 0 = rgba8888, 1 = bgr565, 2 = rgba4444
Press ENTER or close the window to quit
#######################################################
thank you very much for your help
I would like to do the same thing as SeriousNorbo.
I tried your proposition, but I have another error message:
(it seems that the files are in another version (he have not zst extension) , can you help me?)
i joined files exemple at this post
##################################################
QuickBMS generic files extractor and reimporter 0.10.0
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Apr 28 2019 - 07:25:07)
quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts
- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on
- select BMS script. type ? for using the content of clipboard like a script
- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file D:\Downloads\com.zeptolab.cats.google_2019-05-16\assets\mr_640x960\game\vehicle_body\body_texture_cork_1.raw
- open script D:\Downloads\quickbms\cats.txt
Error: invalid datatype octet at line 7
Last script line before the error or that produced the error:
7 get FORMAT octet // 0 = rgba8888, 1 = bgr565, 2 = rgba4444
Press ENTER or close the window to quit
#######################################################
thank you very much for your help
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: ZeptoLab's .raw.zst / .pb
use the bms script and Noesis python script from this thread on your samples.
https://forum.xentax.com/viewtopic.php? ... 25#p130078
https://forum.xentax.com/viewtopic.php? ... 25#p130078
-
- Posts: 19
- Joined: Mon Mar 20, 2017 1:21 pm
Re: ZeptoLab's .raw.zst / .pb
After recent update some files cannot be viewed.
Files have now .raw extension and QBMS output files will have no extension, but renaming them back to .raw will let you view them in Noesis.
But sadly, some files can't be viewed even after doing this, could you update the script, please?
I attached two files that not work in any way, and one that after renaming works fine.
Files have now .raw extension and QBMS output files will have no extension, but renaming them back to .raw will let you view them in Noesis.
But sadly, some files can't be viewed even after doing this, could you update the script, please?
I attached two files that not work in any way, and one that after renaming works fine.
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am