greentea Posted November 30, 2009 Posted November 30, 2009 I've been looking over the guides and talking with some people. I'm concerned about how they can tell which formula the Pokemon was generated with. From what I know, certain formulae (Wild NDS, Common GBA etc), toss out results from the PRNG. If it tosses out two or three, how do you know? The value isn't stored anywhere, it's just a garbage value. Could someone help explain this to me? I understand the coding behind it, just not how I'm supposed to apply the PRNG to get results. Like how Pokemon X is from formula Z.
codemonkey85 Posted December 4, 2009 Posted December 4, 2009 This is something I had to look into for one of my program ideas. When I get to my source code, I'll look it up again and get back to you on that. Otherwise, I would advise hopping on the IRC research chat and asking there.
greentea Posted December 5, 2009 Author Posted December 5, 2009 Cool. I'm hoping to ultimately achieve something like in Legal.exe, where it determines the algorithm used to generate the Pokemon. Cool thing to do that doesn't seem too difficult if you know all the stuff to do (which someone knows). Just a matter of knowing what to do.
codemonkey85 Posted December 5, 2009 Posted December 5, 2009 Okay, first off there's this: The Process of PID and IV Creation of Non-Bred Pokemon, by X-Act: X-Act explains the different "methods", which are basically all sequential PRNG calls, in which one call at some point is "ignored". Some IRNG stuff is discussed here: All Generation PRNG Help / Information, by mingot: the IRNG is part of what you need to understand to get the method used to create a Pokémon. To be honest, if you can get in touch with mingot, he's your best bet at explaining this crazy stuff.
greentea Posted December 5, 2009 Author Posted December 5, 2009 Well, I'll take a whirl at it when I get back from work. I'm sure I'll end up contacting him eventually, but lets see how far I get first. Thanks.
greentea Posted December 6, 2009 Author Posted December 6, 2009 X-Act always says, given the seed _____, but in my case, I want to determine the original seed, you know, work backwards.
codemonkey85 Posted December 7, 2009 Posted December 7, 2009 That's what the section on the IRNG is for. Truthfully, I tried to write a program to do this, but I was almost completely unsucessful. I definitely suggest giving mingot a holler. EDIT: D'oh, that's how rusty I am. Forget the IRNG, that's apparently for eggs.
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