The rules have been updated, read them now: Rules!

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: 824
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 473 times
Been thanked: 216 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
n00b
Posts: 17
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
n00b
Posts: 17
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
n00b
Posts: 17
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
n00b
Posts: 17
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

aria123
ultra-n00b
Posts: 1
Joined: Sun Jan 24, 2021 12:54 pm

Re: Star Stable Online - CSA & TGA files

Post by aria123 » 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

kapibarcia
n00b
Posts: 11
Joined: Fri Sep 25, 2020 4:28 pm
Has thanked: 3 times

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia » Sun Jan 24, 2021 3:36 pm

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.

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

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Mon Jan 25, 2021 2:50 am

kapibarcia wrote:
Sun Jan 24, 2021 3:36 pm
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.
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

kapibarcia
n00b
Posts: 11
Joined: Fri Sep 25, 2020 4:28 pm
Has thanked: 3 times

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia » Mon Jan 25, 2021 9:24 am

Samyy360 wrote:
Mon Jan 25, 2021 2:50 am
kapibarcia wrote:
Sun Jan 24, 2021 3:36 pm
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.
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
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.

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

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Wed Jan 27, 2021 2:33 am

kapibarcia wrote:
Mon Jan 25, 2021 9:24 am
Samyy360 wrote:
Mon Jan 25, 2021 2:50 am
kapibarcia wrote:
Sun Jan 24, 2021 3:36 pm


You can't because they're still encrypted. For now we don't know how to decrypt them.
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
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.
i tried to decrypt but they are not encrypted

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

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Wed Jan 27, 2021 3:35 am

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.

kapibarcia
n00b
Posts: 11
Joined: Fri Sep 25, 2020 4:28 pm
Has thanked: 3 times

Re: Star Stable Online - CSA & TGA files

Post by kapibarcia » Wed Jan 27, 2021 2:39 pm

Samyy360 wrote:
Wed Jan 27, 2021 3:35 am
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.
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).

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

Re: Star Stable Online - CSA & TGA files

Post by Samyy360 » Wed Jan 27, 2021 3:54 pm

kapibarcia wrote:
Wed Jan 27, 2021 2:39 pm
Samyy360 wrote:
Wed Jan 27, 2021 3:35 am
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.
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).
this crunch is crunch.exe? how i use ?

Post Reply