Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Star Stable Online - CSA & TGA files

Read or post about compression. And decompression. Or ask questions how to decompress your files.
User avatar
ikskoks
Moderator
Posts: 1668
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 648 times
Been thanked: 431 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post 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.
dpu8xhys
n00b
Posts: 13
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys »

.
Last edited by dpu8xhys on Sun Sep 04, 2022 3:25 pm, edited 1 time in total.
Samyy360
advanced
Posts: 43
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 »

its not working, crn and crunch are in desktop but none dds texture
Samyy360
advanced
Posts: 43
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 »

WAIT WAIT OMG IT WORKS, ITS JUST DRAG .CRN TO CRUNCH UNITY YAYYY THANK YALL
dpu8xhys
n00b
Posts: 13
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys »

.
Last edited by dpu8xhys on Sun Sep 04, 2022 3:25 pm, edited 1 time in total.
Samyy360
advanced
Posts: 43
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 »

is it easy to pack and compress the textures back into the game? (textures made by me for example)
User avatar
ikskoks
Moderator
Posts: 1668
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 648 times
Been thanked: 431 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post 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.
dpu8xhys
n00b
Posts: 13
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys »

.
Last edited by dpu8xhys on Sun Sep 04, 2022 3:25 pm, edited 1 time in total.
Samyy360
advanced
Posts: 43
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 »

okok, this reimport mode isnt working, is not packing anything
locknut
advanced
Posts: 57
Joined: Tue Jan 04, 2022 2:50 pm
Has thanked: 1 time
Been thanked: 32 times

Re: Star Stable Online - CSA & TGA files

Post 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.
User avatar
ikskoks
Moderator
Posts: 1668
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 648 times
Been thanked: 431 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post 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
locknut
advanced
Posts: 57
Joined: Tue Jan 04, 2022 2:50 pm
Has thanked: 1 time
Been thanked: 32 times

Re: Star Stable Online - CSA & TGA files

Post 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.
dpu8xhys
n00b
Posts: 13
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys »

.
Last edited by dpu8xhys on Sun Sep 04, 2022 3:26 pm, edited 1 time in total.
Samyy360
advanced
Posts: 43
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 »

Samyy360 wrote: Fri Jan 07, 2022 8:24 pm okok, this reimport mode isnt working, is not packing anything
anyone? help
Pollaris
n00b
Posts: 15
Joined: Wed Dec 09, 2020 2:34 am
Been thanked: 6 times

Re: Star Stable Online - CSA & TGA files

Post 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?
Post Reply