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 »

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
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 »

i dnt know how to do the 4 5 and 6 one pls explain more detail
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 »

I GOT! i got that code turns to files in pmt and pte, but how i turn them to pictures?
liza3
ultra-n00b
Posts: 6
Joined: Mon Jan 18, 2021 8:39 pm
Been thanked: 5 times

Re: Star Stable Online - CSA & TGA files

Post by liza3 »

Do you found my modifyed bms file in VgResource?
liza3
ultra-n00b
Posts: 6
Joined: Mon Jan 18, 2021 8:39 pm
Been thanked: 5 times

Re: Star Stable Online - CSA & TGA files

Post by liza3 »

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
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 »

it is works ty but i need the textures now
aria123
ultra-n00b
Posts: 6
Joined: Sun Jan 24, 2021 12:54 pm
Been thanked: 4 times

Re: Star Stable Online - CSA & TGA files

Post by aria123 »

yes i was able to watch the pme files with 3d converter,but how do i watch a pte file ?thanks in advance
User avatar
kapibarcia
beginner
Posts: 28
Joined: Fri Sep 25, 2020 4:28 pm
Location: Poland
Has thanked: 7 times
Been thanked: 5 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia »

aria123 wrote: Sun Jan 24, 2021 1:24 pm yes i was able to watch the pme files with 3d converter,but how do i watch a pte file ?thanks in advance
You can't because they're still encrypted. For now we don't know how to decrypt them.
zla kapibara!!!!#8536
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 »

i got tga but gimp and others cant open them (they are the textures .. i think ..) https://drive.google.com/file/d/11akFhI ... sp=sharing
User avatar
kapibarcia
beginner
Posts: 28
Joined: Fri Sep 25, 2020 4:28 pm
Location: Poland
Has thanked: 7 times
Been thanked: 5 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia »

Because they're encrypted. If you want to open them you need to use crunch. Sadly after using crunch they're still encrypted, but now you can open them. We're still trying to figure out how to decrypt them.
zla kapibara!!!!#8536
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 »

i tried to decrypt but they are not encrypted
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 »

here is one texture on pte format https://drive.google.com/file/d/1BS7OpR ... sp=sharing
butjust have 1 app that ope that, and we need to pay for this app open, how can i change the pte format to another one that i can see.
User avatar
kapibarcia
beginner
Posts: 28
Joined: Fri Sep 25, 2020 4:28 pm
Location: Poland
Has thanked: 7 times
Been thanked: 5 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia »

As I said you need to use crunch. It will still be encrypted but you'll be able to open it. Some of the old textures can be opened without crunch, but you need open them in hex editor (HxD), remove everything up until the beginning of the "DDS" word, and rename the extension to .dds, or open them in 3d Object Converter, and convert to .dds (you can also open .pme files in it).
zla kapibara!!!!#8536
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 »

this crunch is crunch.exe? how i use ?
User avatar
kapibarcia
beginner
Posts: 28
Joined: Fri Sep 25, 2020 4:28 pm
Location: Poland
Has thanked: 7 times
Been thanked: 5 times
Contact:

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia »

4. Delete everything from the beginning to the beginning of "Hx" word, and change extension to .crn
5. Move the .crn file on the crunch file, or move the crunch file on the .crn file.
6. crunch will output DDS file. You'll be able to open it, but it will be "pixelated".

You can download crunch.exe from here: https://drive.google.com/file/d/1zrXWHn ... sp=sharing
(thanks to ikskoks)
zla kapibara!!!!#8536
Post Reply