pokecon Posted November 12, 2012 Share Posted November 12, 2012 Having some encrypted Pokemon files, 136 bytes after 0x400 will match that encrypted pkm file After that 136 byte, starting second encrypted pkm file will no longer match (except the first 8 byte) Do anyone know what could go wrong or how it works after? By the way, it is on a Black 2 save. Link to comment Share on other sites More sharing options...
codemonkey85 Posted November 13, 2012 Share Posted November 13, 2012 Are you reseeding the PRNG with the next Pokémon's checksum? Or are you just continuing the PRNG based on whatever seed you got from the previous Pokémon? Link to comment Share on other sites More sharing options...
pokecon Posted November 13, 2012 Author Share Posted November 13, 2012 I copy the file content of the second encrypted .pkm file and paste it after the first 136 byte. I am not sure if I am suppose to do that Should I get the second non encrypted pkm file content and encrypt it by continuing the PRNG? Link to comment Share on other sites More sharing options...
codemonkey85 Posted November 14, 2012 Share Posted November 14, 2012 No, you should not. Which game is this for? Link to comment Share on other sites More sharing options...
pokecon Posted November 14, 2012 Author Share Posted November 14, 2012 Black 2 Link to comment Share on other sites More sharing options...
codemonkey85 Posted November 15, 2012 Share Posted November 15, 2012 I don't know if you're doing this manually or programmatically, but if you are doing it programmatically(which I highly recommend), then I would create a struct to contain all the data if I were you. It makes accessing that data much easier, without having to remember offsets and junk. In which case, feel free to peruse the PKMDS source code in my signature, which does all of this (and more). Otherwise, I have no idea what you're doing wrong. Link to comment Share on other sites More sharing options...
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