elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   Shaiya PServer Development (https://www.elitepvpers.com/forum/shaiya-pserver-development/)
-   -   [Release] Sdata Encryptor/Decryptor (w/ source) (https://www.elitepvpers.com/forum/shaiya-pserver-development/711369-release-sdata-encryptor-decryptor-w-source.html)

pushedx 08/25/2010 19:48

[Release] Sdata Encryptor/Decryptor (w/ source)
 
1 Attachment(s)
Hello Shaiya section! I decided to take a little break from Silkroad and wanted to have a look at this game. I've only had it for less than a day, but so far the game seems pretty straightforward to reverse. So, here's my first release, a tool to encrypt/decrypt the Sdata files. I've noticed there aren't any public versions around and the methods don't seem to be publicly known, so hopefully this helps out some with the servers and all those that need it.

I am using ShaiyaUS client version 113. If the code does not work as-is for other versions or languages, then you probably will need to update the keys and possibly the CRC table. The US client is not packed nor uses any protection, so finding this information there was pretty easy. I've included two reference screenshots in Olly that should help anyone capable to find the information, so refer to that if you need to!

Important Note: I've not actually tested this in a live client or server. However, I did run it on the original files and as you will see in the screenshots, the generated output matches the source files exactly. This should mean it will work, but I've not been able to actually test it in that environment. So if you have a server that uses files compatible with this tool's version, please let me know how it goes! There are no 'unknown' fields in the decryption/encryption process, so I'm not expecting anything to break. I took care of the CRC generation as well as the proper 16 byte alignment for encryption/decryption, so I think that's all there is.

Of course though, if you do modify a file, make sure it's still valid. Trying to use a malformed data file will probably result in some errors, so check that first if you think something is not working right. As I just mentioned, if there were any potential problems with the tool, they should be noticeable on the original source files, but since it all matches up, I really think it's correct.

Screens:
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

VirusScans:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Download:
[Only registered and activated users can see links. Click Here To Register...](binary + source + screens)

Enjoy! Please feel free to leave any feedback or comments on this project.

Shaiya Xtreme 08/25/2010 20:47

YEAHAAAAA THX SO MUCH ^^

lilprohacker 08/25/2010 21:40

well damn, my secret is out...

Shaiya Xtreme 08/25/2010 21:48

^^

EP5 run ^^ now i wait for the US EP5 Version ^^

lilprohacker 08/25/2010 22:11

1 Attachment(s)
To make it easier to use for everyone, I remade it to separate files. Now all you have to do is 'Drag the file on top of the EXE'. This way you don't need to make any bat files or use cmd prompt.

AriezOMG 08/26/2010 09:26

If this is what im looking for it's beautiful :O

wurstbrot123 08/27/2010 15:45

Good job, just like all your releases / guides.

shinru2004 08/27/2010 18:55

lol.... well i guess good things do come to those who wait. Great job pushedx, oh and push's version works by dragging the file to it as is.

lilprohacker 08/27/2010 19:01

Quote:

Originally Posted by shinru2004 (Post 6578427)
lol.... well i guess good things do come to those who wait. Great job pushedx, oh and push's version works by dragging the file to it as is.

no it doesn't, it requires to to specify which way you want it to go, encrypt/decrypt as a argument before the file name.

jamessimpler 08/27/2010 20:27

Awesome thank you for this awesome tools

nXu 08/30/2010 02:21

I guess pushedx is going to get about 100 thanks :)

AriezOMG 08/30/2010 10:57

he gets the thanks for getting lilpro to release his easier ones lol.

shen1l 08/30/2010 13:29

i love you so much!~!~pushedx

(GM)Psycho 11/09/2010 22:19

I have the decrypted file, but it still is not at all in anyway in english so I am able to know what I am editing. I've read a tutorial and I can find the same locations in Hex but what I saw in the tutorial was in english. Here is a picture



[Only registered and activated users can see links. Click Here To Register...]

can anyone tell me what I am doing wrong?

Vaara 11/11/2010 00:32

Soooo.. how does this basically help players ingame O.o some examples? =P


All times are GMT +1. The time now is 00:46.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.