Help us keep the site up! Got some change to spare? Why not donate a few bits and buy us a coffee. Image

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: 1165
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 555 times
Been thanked: 290 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by ikskoks » Thu Jan 06, 2022 10:39 pm

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: 12
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys » Thu Jan 06, 2022 11:15 pm

Just put the file in .crn and drag it to crunch.exe right?

Samyy360
beginner
Posts: 33
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Thu Jan 06, 2022 11:17 pm

its not working, crn and crunch are in desktop but none dds texture

Samyy360
beginner
Posts: 33
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Thu Jan 06, 2022 11:18 pm

WAIT WAIT OMG IT WORKS, ITS JUST DRAG .CRN TO CRUNCH UNITY YAYYY THANK YALL

dpu8xhys
n00b
Posts: 12
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys » Thu Jan 06, 2022 11:28 pm

hahahahah you're welcome :D

Samyy360
beginner
Posts: 33
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » 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)

User avatar
ikskoks
Moderator
Posts: 1165
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 555 times
Been thanked: 290 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by ikskoks » Fri Jan 07, 2022 1:17 pm

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 this script (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: 12
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys » Fri Jan 07, 2022 5:41 pm

Thanks for your help!

Samyy360
beginner
Posts: 33
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Fri Jan 07, 2022 8:24 pm

okok, this reimport mode isnt working, is not packing anything

locknut
ultra-n00b
Posts: 8
Joined: Tue Jan 04, 2022 2:50 pm
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by locknut » Sat Jan 08, 2022 12:40 pm

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: 1165
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 555 times
Been thanked: 290 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by ikskoks » Sat Jan 08, 2022 1:07 pm

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
ultra-n00b
Posts: 8
Joined: Tue Jan 04, 2022 2:50 pm
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by locknut » Sat Jan 08, 2022 1:42 pm

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: 12
Joined: Thu Jul 01, 2021 8:21 pm
Has thanked: 16 times

Re: Star Stable Online - CSA & TGA files

Post by dpu8xhys » Sat Jan 08, 2022 5:04 pm

I just started the quickbms using the script "star_stable_online.bms" I don't have any .tga files because it seems that someone had the idea to modify the script by changing a number (1 instead of 0), results that we have the .pte files (and others)

Maybe I'm doing it wrong, don't hesitate to correct me if it's the case

Samyy360
beginner
Posts: 33
Joined: Sun Jan 10, 2021 6:46 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Sun Jan 09, 2022 6:48 pm

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

Pollaris
ultra-n00b
Posts: 8
Joined: Wed Dec 09, 2020 2:34 am

Re: Star Stable Online - CSA & TGA files

Post by Pollaris » Sun Jan 09, 2022 9:33 pm

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