![]() |
[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. |
YEAHAAAAA THX SO MUCH ^^
|
well damn, my secret is out...
|
^^
EP5 run ^^ now i wait for the US EP5 Version ^^ |
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.
|
If this is what im looking for it's beautiful :O
|
Good job, just like all your releases / guides.
|
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.
|
Quote:
|
Awesome thank you for this awesome tools
|
I guess pushedx is going to get about 100 thanks :)
|
he gets the thanks for getting lilpro to release his easier ones lol.
|
i love you so much!~!~pushedx
|
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? |
Soooo.. how does this basically help players ingame O.o some examples? =P
|
it doesnt really helps player, it owuld on some privatserver ( nos hack )
but beside that it mostly helps other developer for collecting itemdata skilldata and so on. Its also usefull for privatserver. |
#request move to Development section. :p
|
tried to use lph's edited version of this to decrypt NpcQuest.SData to allow gatekeeper for new maps wouldnt decrypt though just encrypt :(
|
1- the tool encrypt and decrypt sdata.
as indicatd in the README whose purpose is TO BE READ <<Usage: ShaiyaSdataTool decrypt <file.sdata> ... [<file.sdata>] Attempts to decrypt the files. New files are generated upon success. Usage: ShaiyaSdataTool encrypt <file.sdata> ... [<file.sdata>] Attempts to encrypt the files. New files are generated upon success.>> 2- meantime there is no "new maps" that requires a new gatekeeper; soccer should be set to AH gatekeeper, map 71 to 74 use portals. |
thats the problem the gatekeeper in apulune does not allow access to the 71 to 74 maps it says a message something like not enough to use this portal and yes i have enough gold and such to do so through searching threads the only solution i found was to decrypt the S.Data in the files i dont beleive lph's release didnt have a readme was pretty self explainitory
|
Quote:
- the client NpcQuest.sdata (gate-keeper section) shall be consistent with the server PSM_CLient/bin/data/NpcQuest.sdata (same file but ciphered in client & in plain for server) - the gate-keeper information must be valid. that said, the expected way to access these maps is: 71: portal at Servus' Colony, map 68 72: portal at Queen Caput, map 69 73: portal in Dentatus section (top North) of map 70 (+927.8 +40.4 +1590.2) 74: portal in Ales section of map 70 (+721.8 +8.4 +309.8) |
| All times are GMT +1. The time now is 14:12. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.