+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 15 of 21

Thread: [Black/White] Locating PIDRNG Frame

  1. #1

    [Black/White] Locating PIDRNG Frame

    The past couple days I have been trying to find the address of this frame on desmume using its memory search. I have been mostly searching for increases in number of changes while advancing the frame with a chatot, also tried searching for values that are different by +1 from the previous but had no luck.
    Any suggestions are welcome.

  2. #2

    Re: [Black/White] Locating PIDRNG Frame

    there's no such thing as prng frame, it's all current seed

  3. #3

    Re: [Black/White] Locating PIDRNG Frame

    So what everyone calls PIDRNG frame advancement is the change of one half of the full seed ?

  4. #4
    Can you do the Tobi? Conri's Avatar
    Join Date
    Jun 2011
    Location
    Wouldn't you like to know?
    Age
    22
    Posts
    93

    Re: [Black/White] Locating PIDRNG Frame

    If you are trying to RNG in your game by finding the frame given by the seed, I recommend RNG Reporter. It is perfect for a job like this. Just google it, and you'll find guides and even youtube videos for this, even for emulators. On RNG Reporter, it is almost always correct on the location of the starter frame the game starts on with the respective seed. Whats more, it has the pitch level of the Chatot's custom cry for each frame, making it easier to locate the frame you are on. Though for this, it takes a well trained ear. I hit my seed and frame almost every time because of this.

  5. #5

    Re: [Black/White] Locating PIDRNG Frame

    Quote Originally Posted by Conri View Post
    If you are trying to RNG in your game by finding the frame given by the seed, I recommend RNG Reporter. It is perfect for a job like this. Just google it, and you'll find guides and even youtube videos for this, even for emulators. On RNG Reporter, it is almost always correct on the location of the starter frame the game starts on with the respective seed. Whats more, it has the pitch level of the Chatot's custom cry for each frame, making it easier to locate the frame you are on. Though for this, it takes a well trained ear. I hit my seed and frame almost every time because of this.
    Thanks for the reply but I already know about all that. I am looking to find the address of this pidrng frame or seed so I can write AR to control it.
    The reason for this is that when trying to catch (and not breed) shiny and flawless (i mean 31 on every single stat) it is almost impossible to find a seed that has a flawless iv spread on frame 1. If the flawless spread is anywhere other than frame 1 you can't advance both that frame AND the one that controls nature and shininess. Whenever you would advance the iv frame by 1 the other one would have advanced by 2*128 so hitting both frames isn't possible this way.
    If I understood what Kaphotics said correctly then what I need to find is the address of the full 64bit seed.

  6. #6

    Re: [Black/White] Locating PIDRNG Frame

    why don't you just hack the Pokemon if you're going to hack the RNG with AR?

    You can't edit the mersenne twister so you won't be able to get flawless stuff without editing.

  7. #7

    Re: [Black/White] Locating PIDRNG Frame

    Quote Originally Posted by Kaphotics View Post
    You can't edit the mersenne twister so you won't be able to get flawless stuff without editing.
    Thats not the one I want to edit, I want to freeze the one that controls shininess so I can advance the iv one with steps and then separately advance the other with chatots. Is this also not possible ?
    Even if it can't be done, I'd still be content with just being able to confirm I've hit the correct seed. Ive been thinking how I could find its location, one way would be to start the rom in desmume and save state then find the seed by calibrating the parameters in rng reporter and then load state and search for the seed I found but I have no idea whether I'd ever find the parameters on an emulator.

  8. #8

  9. #9

    Re: [Black/White] Locating PIDRNG Frame

    So I take it I can't edit the PIDRNG "frame" either can I.

    EDIT: In this case do you know whether theres a location that holds the frame each rng has been advanced to ? If I could see both frames in-game (but most importantly the pidrng) I should be able to advance the iv one first by moving pokemon into my party then going to the area I want to catch my pokemon at and advance the pid separately, I need to be able to see the pid frame count because of the wandering npcs.
    Last edited by lateralus; Apr 24th, 2012 at 01:55 AM.

  10. #10

    Re: [Black/White] Locating PIDRNG Frame

    there is no such thing as a frame, when a seed is used it replaces the previous one by being advanced once by the PRNG formula. researcher is your friend.

  11. #11

    Re: [Black/White] Locating PIDRNG Frame

    EDIT: I have been comparing the prng frames (i'll be referring to the advancements as frames) I land on each time I hit the seed and go from the pokecenter to that area. Due to several wandering npcs the frame varies by a lot each time.
    Is it possible for me to get something off the memory which I could then use to see which frame within the list I am on ?

    EDIT 2: I just noticed the chatot pitches in rng reporter have numbers next to them. Im thinking those numbers should lie somewhere in memory each time, I'll start searching for them.
    Last edited by lateralus; Apr 25th, 2012 at 12:45 AM.

  12. #12

    Re: [Black/White] Locating PIDRNG Frame

    So I have found an 8 byte value at 02216224 (patched pokemon black) which changes whenever I view Chatot's summary. I assume it is related to PRNG but I still don't know what it is or how I can use it to determine the frame number on the list.

    EDIT: It looks like its the actual PID seed and I can even freeze it then unfreeze it and advance it normally which is what I initially wanted. I would prefer to be able to determine which frame I am at instead of freezing it though, any tips on how I'd do that ?
    Last edited by lateralus; Apr 25th, 2012 at 02:41 AM.

  13. #13
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    304

    Re: [Black/White] Locating PIDRNG Frame

    Find the initial value it starts with, then use that as the seed. have a program seeded with that seed and have it advance until it matches the current value, the advances it took to get to the current value is the frames.

  14. #14

    Re: [Black/White] Locating PIDRNG Frame

    Quote Originally Posted by KazoWAR View Post
    Find the initial value it starts with, then use that as the seed. have a program seeded with that seed and have it advance until it matches the current value, the advances it took to get to the current value is the frames.
    Does it necessarily have to be the initial seed or can any advancement of it be used to produce valid advancements.

  15. #15

    Re: [Black/White] Locating PIDRNG Frame

    there's no such thing as "frame"

    the seed in gen 5 is 64 bits (2 memory addresses long), UPPER_LOWER.

    when the game needs a random value, it advances it and places a new magic number in its location. that new magic number is used for the next, and another new magic number will then be the next seed. it repeats.

    seriously just look at RNG Reporter's researcher. also, freezing and editing memory locations is not called RNG abuse, it's hacking. you may be using RNG mechanics but you're hacking stuff to be the way you want it.

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
PPN Top 50