SaltedNeos Posted May 9, 2023 Posted May 9, 2023 Hey, so I got bored earlier and decided to mess about with gen 5 roamer editing, long story short, I RNG'd a Roamer ages ago, was curious if the game kept its data, it doesn't but it led me to messing with the data of the active roamer. Basically found out that the data PKHex currently shows on a roamer in the block data only accounts for the Pokemon in the slot for Thundurus, and that there's a second slot after that which is used for Tornadus with the exact same structure. Of course with only one roamer per version usually only one gets used, and that's the one that your version normally gets, so as is with PKHeX, if Black version with an active Tornadus roaming checks the encounter block for their roamer, they get no information because PKHeX seems to only account for the slot for Thundurus. The highlighted part here is the Thundurus slot which PKHeX currently accounts for, the red is the Tornadus slot. Side note, having both active at the same time is kinda buggy, but PKHeX currently doesn't support setting them to roaming manually anyways. I guess I'm asking if it'd be possible to add the second roamer slot to the encounter block data for gen 5?
Kaphotics Posted May 9, 2023 Posted May 9, 2023 Added on latest: https://github.com/kwsch/PKHeX/commit/3bde807bf2e7a3337db62bf19fc9ae98d6374e13 1
SaltedNeos Posted May 13, 2023 Author Posted May 13, 2023 (edited) On 5/9/2023 at 4:16 PM, Kaphotics said: Added on latest: https://github.com/kwsch/PKHeX/commit/3bde807bf2e7a3337db62bf19fc9ae98d6374e13 Okay, it might not be identical after all, when I said identical, I also assumed PKHeX started at the FFs and not the beginning for some reason. I wanted to verify this before the next compiled release update, but couldn't get it to build for some reason. That's my mistake. Basically, the highlighted and red parts were the parts which were identical. As is, it looks like the data is 0x04 bytes offset on the second roamer due to the first 4 bytes. Sorry for any potential confusion. The Capture unknown and the last location are the parts that are shared based on what uses what, in the gen 5 roamer core in PKHeX. Edited May 13, 2023 by SaltedNeos Actually looked at the gen 5 roamer core to find which parts are shared.
SaltedNeos Posted June 9, 2023 Author Posted June 9, 2023 In case the update got missed, bumping this. The first 4 bytes on Roamer 2 are causing it to be offset, I wasn't clear enough when I said which part of the roamer object was identical. I'm pretty sure based on what I was reading in the PKHeX Core roamer file in the GitHub that it means that the Last Location and Capture Unknown are shared between them, but other then that the rest of the roamer object is duplicated. I'm aware that the new home support is absolutely is and should be a priority, I do however want to make sure that this bug is known for after that is done.
Kaphotics Posted June 11, 2023 Posted June 11, 2023 On 6/9/2023 at 12:34 PM, SaltedNeos said: In case the update got missed, bumping this. The first 4 bytes on Roamer 2 are causing it to be offset, I wasn't clear enough when I said which part of the roamer object was identical. I'm pretty sure based on what I was reading in the PKHeX Core roamer file in the GitHub that it means that the Last Location and Capture Unknown are shared between them, but other then that the rest of the roamer object is duplicated. I'm aware that the new home support is absolutely is and should be a priority, I do however want to make sure that this bug is known for after that is done. revised: https://github.com/kwsch/PKHeX/commit/6964d48adb652b4a13826a61d9ec00fe39388f7e 1
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