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:


















VirusScans:


Download:
(binary + source + screens)Enjoy! Please feel free to leave any feedback or comments on this project.






