Zipzack Posted March 30 Posted March 30 Hi, lately I have been trying to understand how to decrypt a Pokémon straight from an ultra sun save. I have tried reading the code (I found Pokecrypto.cs which helped a lot) but I still don't understand it fully. I managed to reorder the 4 blocks but cant decrypt them. If anyone has some information about the decryption process I'd be very grateful. Thanks! 0382 - カイオーガ - 37E17273EC0F.ek7Fetching info...
Zipzack Posted March 30 Author Posted March 30 For the decryption, I need to get the encyption constant, decrypt 2 bytes and then run it through the LCG for the new seed and so on?
Kaphotics Posted March 30 Posted March 30 Refer to CryptArray for how encryption/decryption works. You advance the RNG seed, and the top 16 bits are used to xor the data.
Zipzack Posted March 30 Author Posted March 30 Ok ok i understand, and does the decryption start from 0x00 or 0x08?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now