Does anyone know what these .raw textures are?
Does anyone know what these .raw textures are?
https://mega.nz/#!bxMiVRCA!bpq0pMSYQ44w ... 9vFY8cJsPk
Photoshop has trouble opening them, and the ones that do open are just a black and white noise pattern.
These are from an android game.
Photoshop has trouble opening them, and the ones that do open are just a black and white noise pattern.
These are from an android game.
- Acewell
- VIP member

- Posts: 1329
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2683 times
- Been thanked: 841 times
Re: Does anyone know what these .raw textures are?
what is the game name?
15 byte little-endian header followed by zlib compressed texture data
header
2 bytes - unk (always 0x7bd)
2 bytes - width
2 bytes - height
1 byte - format
4 bytes - uncompressed size of texture data
4 bytes - compressed size of texture data
this bms script will decompress all but one of your *.raw samples
the script also places a temporary 9 byte header in each file
2 bytes - width
2 bytes - height
1 byte - format
4 bytes - data size
to decompress "champ_result_640_960.raw" and "champ_result_640_960.raw1" you have to
append the data of *.raw1 to the *.raw file, then you can run the result through the bms script.
there is still the issue of figuring out the various formats, but at least this is a start
15 byte little-endian header followed by zlib compressed texture data
header
2 bytes - unk (always 0x7bd)
2 bytes - width
2 bytes - height
1 byte - format
4 bytes - uncompressed size of texture data
4 bytes - compressed size of texture data
this bms script will decompress all but one of your *.raw samples
Code: Select all
get NAME filename
string NAME + "_dec"
get COMPRESSIONTYPE short
get WIDTH short
get HEIGHT short
get FORMAT byte
get SIZE long
get ZSIZE long
savepos OFFSET
set MEMORY_FILE binary "\x00\x00\x00\x00\x00\x00\x00\x00\x00"
putVarChr MEMORY_FILE 0x0 WIDTH short
putVarChr MEMORY_FILE 0x2 HEIGHT short
putVarChr MEMORY_FILE 0x4 FORMAT byte
putVarChr MEMORY_FILE 0x5 SIZE long
log NAME 0 9 MEMORY_FILE
append
if COMPRESSIONTYPE == 0x7bd
comtype zlib_noerror
clog NAME OFFSET ZSIZE ZSIZE
elif COMPRESSIONTYPE == 0x8bd
comtype zstd
clog NAME OFFSET ZSIZE SIZE
endif
append
2 bytes - width
2 bytes - height
1 byte - format
4 bytes - data size
to decompress "champ_result_640_960.raw" and "champ_result_640_960.raw1" you have to
append the data of *.raw1 to the *.raw file, then you can run the result through the bms script.
there is still the issue of figuring out the various formats, but at least this is a start
Last edited by Acewell on Fri Jun 21, 2019 12:09 am, edited 2 times in total.
Re: Does anyone know what these .raw textures are?
These are for https://www.catsthegame.com/
I saw another topic of the zeptolab .raw files you posted in and I got them open with offzip and trial and error of guessing the width and height of the image and opening them as .raw with photoshop! Is there an easier way to open them without having to input the width and height manually?
I saw another topic of the zeptolab .raw files you posted in and I got them open with offzip and trial and error of guessing the width and height of the image and opening them as .raw with photoshop! Is there an easier way to open them without having to input the width and height manually?
- Acewell
- VIP member

- Posts: 1329
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2683 times
- Been thanked: 841 times
[Android] CATS: Crash Arena Turbo Stars
here is Noesis python script to open the textures decompressed by the bms script
supports RGBA8888, BGR565, ABGR4444
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Fri Apr 28, 2017 4:28 am, edited 2 times in total.
Re: Does anyone know what these .raw textures are?
This is some wizardry! I can only assume though the stickers are weird colors due to them doing something with the colors in-game?
http://i.imgur.com/92NntxJ.png
And anyways, thank you so much!
http://i.imgur.com/92NntxJ.png
And anyways, thank you so much!
- Acewell
- VIP member

- Posts: 1329
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2683 times
- Been thanked: 841 times
Re: Does anyone know what these .raw textures are?
what color are they in the game? do you have a reference photo for comparison?Mikeee wrote:This is some wizardry! I can only assume though the stickers are weird colors due to them doing something with the colors in-game?
http://i.imgur.com/92NntxJ.png
i might need to switch the color channels around in the script.
Re: Does anyone know what these .raw textures are?
http://i.imgur.com/2jrLlxl.jpgAceWell wrote: what color are they in the game? do you have a reference photo for comparison?
i might need to switch the color channels around in the script.
- Acewell
- VIP member

- Posts: 1329
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2683 times
- Been thanked: 841 times
-
tontonGrim
- n00b
- Posts: 15
- Joined: Sun Jun 16, 2019 6:40 pm
Re: Does anyone know what these .raw textures are?
Hello Acewell !,
i'm french, and two years later, i would like too extract sprite from this game
I used your bms script and your neosis script, but i have problems.
in zip joined, you have, yout bms script, your neosis script, a exemple of raw file and the bms result and neosis result.
Can you help me !
Thank you very much
i'm french, and two years later, i would like too extract sprite from this game
I used your bms script and your neosis script, but i have problems.
in zip joined, you have, yout bms script, your neosis script, a exemple of raw file and the bms result and neosis result.
Can you help me !
Thank you very much
You do not have the required permissions to view the files attached to this post.
- Acewell
- VIP member

- Posts: 1329
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2683 times
- Been thanked: 841 times
Re: Does anyone know what these .raw textures are?
the compression on your new sample is zstd instead of zlib,
i have modified the bms script here to decompress both types now.
https://forum.xentax.com/viewtopic.php? ... 06#p130078
i have modified the bms script here to decompress both types now.
https://forum.xentax.com/viewtopic.php? ... 06#p130078
-
tontonGrim
- n00b
- Posts: 15
- Joined: Sun Jun 16, 2019 6:40 pm
Re: Does anyone know what these .raw textures are?
Hello Acewell!
Thank you for your return, I was looking forward to it!
It works ! thank you very much !
Little question, in the APK file, there are .pb files and .zst files (see my zip file)
Do you know what these files correspond to? is it animations, prefab or other? can I integrate them into Unity or extract them with another particular tool?
Thank you again for your help !
Thank you for your return, I was looking forward to it!
It works ! thank you very much !
Little question, in the APK file, there are .pb files and .zst files (see my zip file)
Do you know what these files correspond to? is it animations, prefab or other? can I integrate them into Unity or extract them with another particular tool?
Thank you again for your help !
You do not have the required permissions to view the files attached to this post.
- Acewell
- VIP member

- Posts: 1329
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2683 times
- Been thanked: 841 times
Re: Does anyone know what these .raw textures are?
i don't see any zst files in the zip, the zps files aretontonGrim wrote: ↑Fri Jun 21, 2019 3:46 pmLittle question, in the APK file, there are .pb files and .zst files (see my zip file)
Do you know what these files correspond to? is it animations, prefab or other? can I integrate them into Unity or extract them with another particular tool?
text files and i don't know what the pb files are for, sorry.

