Page 8 of 20

Re: Star Stable Online - CSA & TGA files

Posted: Thu Jan 06, 2022 10:39 pm
by ikskoks
It should be outputted in the same directory as CRN file, but maybe you don't have write permission in this directory.
Try to move CRN file to your desktop and use crunch_unity there.

Re: Star Stable Online - CSA & TGA files

Posted: Thu Jan 06, 2022 11:15 pm
by dpu8xhys
.

Re: Star Stable Online - CSA & TGA files

Posted: Thu Jan 06, 2022 11:17 pm
by Samyy360
its not working, crn and crunch are in desktop but none dds texture

Re: Star Stable Online - CSA & TGA files

Posted: Thu Jan 06, 2022 11:18 pm
by Samyy360
WAIT WAIT OMG IT WORKS, ITS JUST DRAG .CRN TO CRUNCH UNITY YAYYY THANK YALL

Re: Star Stable Online - CSA & TGA files

Posted: Thu Jan 06, 2022 11:28 pm
by dpu8xhys
.

Re: Star Stable Online - CSA & TGA files

Posted: Thu Jan 06, 2022 11:50 pm
by Samyy360
is it easy to pack and compress the textures back into the game? (textures made by me for example)

Re: Star Stable Online - CSA & TGA files

Posted: Fri Jan 07, 2022 1:17 pm
by ikskoks
Samyy360 wrote: Thu Jan 06, 2022 11:50 pm is it easy to pack and compress the textures back into the game? (textures made by me for example)
Well, that depends on how good are your skills with game modding. If you can use quickbms and crunch
without issues then it should be easy.

Let's say you have already extracted DDS texture from the game using information from this topic.
Now you need to import file without crashing the game, so your steps should look
probably something like this:

1. Edit your DDS texture in GIMP
2. Convert DDS to CRN with crunch_unity
3. Convert CRN texture to TGA/PTE with my script (use reimport mode)
4. Pack data to CSA archive using script from aluigi (use reimport mode) https://aluigi.altervista.org/bms/star_ ... online.bms
5. Launch the game and test your changes

And in theory it should work now.

Re: Star Stable Online - CSA & TGA files

Posted: Fri Jan 07, 2022 5:41 pm
by dpu8xhys
.

Re: Star Stable Online - CSA & TGA files

Posted: Fri Jan 07, 2022 8:24 pm
by Samyy360
okok, this reimport mode isnt working, is not packing anything

Re: Star Stable Online - CSA & TGA files

Posted: Sat Jan 08, 2022 12:40 pm
by locknut
ikskoks wrote: Thu Jan 06, 2022 9:29 pm As far as I know PTE and TGA are (almost?) the same file formats. Both are containers for CRN files used by crunch.
Not really, TGA is simply the standard Targa file format (https://en.wikipedia.org/wiki/Truevision_TGA) and has nothing to do with PTE or CRN. The references to TGA-files in the CSA-files are just the original names of the files before they were converted to DDS and packed. If you look closer at the paths for the TGA-files you will see path like these:

Code: Select all

Z:\StarStableOnline\Media\GUI\Button_LoA.tga
\\Pixel\share1\StarStableOnline\Media\Characters\Birds\Bird_2.tga
U:\StarStableOnline\Media\Items\BrownPackage\BrownPackage.tga
So these are just the names of the images as they appeared for the game designer, just ignore them... I don't know why they are in the files at all, maybe simply to assist during debugging.

Re: Star Stable Online - CSA & TGA files

Posted: Sat Jan 08, 2022 1:07 pm
by ikskoks
Yeah, of course, I know that "real" TGA file format is different. We have this on our wiki http://wiki.xentax.com/index.php/TGA_Image

I menat TGA\PTE from Star Stable Online (for some reason quickbms script from aluigi extracts those files as TGA, not PTE, maybe that's the real source of confusion here?)

Btw, article with SSO TGA\PTE file format is here http://wiki.xentax.com/index.php/Star_S ... ne_TGA_PTE

Re: Star Stable Online - CSA & TGA files

Posted: Sat Jan 08, 2022 1:42 pm
by locknut
Yes, exactly. The script tries to save the files with the source name (.tga) instead of the true name (.pte). The true name is only in the csaheader-file.

Re: Star Stable Online - CSA & TGA files

Posted: Sat Jan 08, 2022 5:04 pm
by dpu8xhys
.

Re: Star Stable Online - CSA & TGA files

Posted: Sun Jan 09, 2022 6:48 pm
by Samyy360
Samyy360 wrote: Fri Jan 07, 2022 8:24 pm okok, this reimport mode isnt working, is not packing anything
anyone? help

Re: Star Stable Online - CSA & TGA files

Posted: Sun Jan 09, 2022 9:33 pm
by Pollaris
We actually know how to convert .dds files but there is still a problem about converting them into games files. C.C Creations once did a software for SSO to change textures. It named "Pimp my horse" or something like that. It doesn't work for me anymore. Maybe someone would like to fix this software?