Join also our Discord channel! Click here.

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

Re: Star Stable Online - CSA & TGA files

Post by ikskoks » Sun Jan 10, 2021 1:38 am

Hello. I have made some progress regarding encrypted TGA files.

The most important news is that the game has debug symbols in the newest
2.6.0 release
, so debugging may be easier from now on.

I was also able to partially figure out file format which can be found on the wiki
http://wiki.xentax.com/index.php/Star_Stable_Online_TGA

It seems that SSO developers have used some functions from crunch library
https://github.com/BinomialLLC/crunch
so the code there may be used to match types/names from game code.
Here is the package with crunch executables
https://drive.google.com/file/d/1zrXWHn ... sp=sharing


And here is the instruction on how to proceed to get converted textures (but still encrypted though):
1. Register at starstable.com and download installer (v2.6.0 or newer)
2. Login to game (game will download CSA and CSAHEADER files at first launch)
3. Use this script https://aluigi.altervista.org/bms/star_ ... online.bms
with quickbms to unpack CSA archives.
4. Delete 25 bytes from the beginning of TGA file and change extension to CRN
5. Use crunch on CRN file like this

Code: Select all

crunch.exe -file  <CRN_FILE>
6. crunch will output DDS file which is still unreadable unfortunately,
but I hope that someone else will be able to crack this

Samyy360
ultra-n00b
Posts: 6
Joined: Sun Jan 10, 2021 6:46 pm

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Thu Jan 14, 2021 4:19 am

i dnt know how to do the 4 5 and 6 one pls explain more detail

Samyy360
ultra-n00b
Posts: 6
Joined: Sun Jan 10, 2021 6:46 pm

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Thu Jan 14, 2021 4:59 am

I GOT! i got that code turns to files in pmt and pte, but how i turn them to pictures?

liza3
ultra-n00b
Posts: 2
Joined: Mon Jan 18, 2021 8:39 pm
Been thanked: 1 time

Re: Star Stable Online - CSA & TGA files

Post by liza3 » Mon Jan 18, 2021 8:42 pm

Do you found my modifyed bms file in VgResource?

liza3
ultra-n00b
Posts: 2
Joined: Mon Jan 18, 2021 8:39 pm
Been thanked: 1 time

Re: Star Stable Online - CSA & TGA files

Post by liza3 » Wed Jan 20, 2021 10:25 pm

I'm copying my message here:

Hello! I modified the bms file (I wrote 1 instead of 0 Xd) and with this star stable online bms, quickbms will extract the pte, pmt and more sso files.

I'll send the new bms (I only tried with the csaheader files, but unpacked the same as the csa actually):
https://drive.google.com/file/d/16f9qMSo...sp=sharing
And I'm sending one pte file from the folder :

https://drive.google.com/file/d/1qhrk3mU...sp=sharing

...And you can open the pme files!
You do not have the required permissions to view the files attached to this post.

Samyy360
ultra-n00b
Posts: 6
Joined: Sun Jan 10, 2021 6:46 pm

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Sat Jan 23, 2021 2:54 am

liza3 wrote:
Wed Jan 20, 2021 10:25 pm
I'm copying my message here:

Hello! I modified the bms file (I wrote 1 instead of 0 Xd) and with this star stable online bms, quickbms will extract the pte, pmt and more sso files.

I'll send the new bms (I only tried with the csaheader files, but unpacked the same as the csa actually):
https://drive.google.com/file/d/16f9qMSo...sp=sharing
And I'm sending one pte file from the folder :

https://drive.google.com/file/d/1qhrk3mU...sp=sharing

...And you can open the pme files!
it is works ty but i need the textures now

Samyy360
ultra-n00b
Posts: 6
Joined: Sun Jan 10, 2021 6:46 pm

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Sat Jan 23, 2021 3:33 am

i cant open with the texture pte file ,., aaaa

Post Reply