Jump to content

Recommended Posts

Posted

I have a project in mind. In scope, it's rather ambitious. I wish to recreate Pokemon generations 1-5 in Minecraft. But more than that, I want the mod I'm building to be able to export a 100% valid readable save that can be loaded into an emulator or cartridge, and pick up right where you left off with no errors. Before you go and tell me that what I'm planning is insane and impossible... Trust me... I'm aware. For now, all I need is this:

PKHeX is able to check a game and a Pokemon, and generate every possible Pokemon of that type within that game. I want to understand that process. From RNG value to final mon. Every step in the code. Every step in the process. Everything else in the save export process can be figured out later. But the pokemon generation needs to be right from the start. And in order to do that, I need to understand how it does it. I've been studying save file formats and I understand a fair bit. I just need a point in the right direction.

I'm starting in Generation 3 with the Gen 1 remakes. Kanto only for now. I might do the Sevii Isles later, but maybe not since I have other plans for how to handle later generation pokemon.

Posted

That's fair. In the time since I posted this, I've already got a working generator that produces actual legal mons. Except for Meowth. Works on others. But not Meowth. Every time I try to gen a Meowth, it defaults to thinking that it's supposed to be the Egg Pokémon Present Meowth and insists that the fateful encounter flag should be enabled. Even though the exact same PSID and IVs work on others. (Yes, I also made sure the other checks were correct.) Oddly enough, if I set the Met at level to 0, it accepts the Meowths as legal too. I think it might be a bug with PKHeX. I double and triple checked my gen method.

Posted
44 minutes ago, Darth Novii said:

I think it might be a bug with PKHeX.

I think not.

Manually making things requires a laundry list of considerations to be done right, and you likely don't fully understand what all the values need to be. Use the encounter database, and compare the verbose report to what you're manually making.

Posted

Again. You are correct. I had the wrong level range. lol Lesson learned. Use serebii for all information. The gen process I'm using DOES work though. As long as I'm not an idiot. Thank you for bothering to respond in the first place.

A more extensive answer to your first post. I would completely agree that asking someone to write a novel on how the process works would be unreasonable. My HOPE, was that the novel had already been written by someone and I'd just missed it in my extensive searching. But alas, I was able to find the answer on my own, which I was always willing to do. Just figured I'd put feelers out for any resources I'd missed.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...