Page 1 of 1

CollarxMalice compressed character sprites

Posted: Wed Aug 16, 2023 7:05 pm
by guranoa
Hello (if anyone is even reading this topic) there's game called CollarxMalice the game uses a .tid file format for the textures while the backgrounds can be easily converted into a png using dds2png the same cannot be said about the chracter sprites first of all there compressed into a .CL3 wich you need to use a bms script to extract it after extracting it the actual .tid appears from the extracted .CL3 file putting the extracted .tid into dds2png gives me an error. Here's the sample: https://mega.nz/file/lEAC1B7I#8vDbX96ey ... 74Pgmwu25c

(If anyone responds i'll be happy).

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 8:36 am
by piken
I'm not familiar with dds2png or bms scripts, but I can at least confirm there are graphics in the file. It uses DXT5 (also called BC3) compression, which uses 4x4 blocks of alpha and b5g6r5 pixels. The texture is 2048x2048 and starts at 0x80:

https://www.reedbeta.com/blog/understan ... c3-and-bc5
https://learn.microsoft.com/en-us/windo ... ession#bc3

You can extract it using the Raw Texture Cooker by daemon1.

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 9:22 am
by guranoa
Does rawtex support .tid files or did you converted into a dds file?

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 9:56 am
by guranoa
Dosen't extract in my case.

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 10:51 am
by guranoa
Can you try to extract it in rawtexcmd? Cause in my case it dosen't recongnize the file

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 12:16 pm
by nudgenudgenudge
This version of dds2png can convert that tid file to a png file.
http://www.mediafire.com/file/j3jkhfobv ... 28.7z/file

This may be useful if you need to convert from dds to tid files.
http://www.mediafire.com/file/mtkg8shu2 ... 28.7z/file
Compression formats supported by dds2tid are only dxt1(bc1), dxt3(bc2) and dxt5(bc3).

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 3:07 pm
by guranoa
nudgenudgenudge wrote: Thu Aug 17, 2023 12:16 pm This version of dds2png can convert that tid file to a png file.
http://www.mediafire.com/file/j3jkhfobv ... 28.7z/file

This may be useful if you need to convert from dds to tid files.
http://www.mediafire.com/file/mtkg8shu2 ... 28.7z/file
Compression formats supported by dds2tid are only dxt1(bc1), dxt3(bc2) and dxt5(bc3).
Nah still dosen't work unless you change the name of the .tid file.

Re: CollarxMalice compressed character sprites

Posted: Thu Aug 17, 2023 5:17 pm
by nudgenudgenudge
The program works fine in my environment with Windows 10 22H2 and the language is Japanese.
So it seems that the problem is caused by the language setting of Windows and the character code used for the file name.
The name of the tid file looks strange, so maybe the file name changed when you extracted the tid file from cl3.

It won't help you solve the problem, but this is the tool I use to extract the files from the cl3 file.
http://www.mediafire.com/file/hz0s2tajz ... 28.7z/file

It might be a good idea to create a batch file that first changes the file name temporarily,
converts the tid file to a png file with dds2png,
and finally restores the original file name.