1. New to the forums? Check out our Mentorship Program!
    Our mentors will answer your questions and help you become a part of the community!
  2. Welcome to Smogon Forums! Please take a minute to read the rules.

Programming PPRNG (Mac & iOS)

Discussion in 'Technical Projects' started by chiizu, Mar 29, 2011.

  1. ΩDonut

    ΩDonut don't glaze me bro
    is a Programmeris a Forum Moderatoris a Community Contributoris a Pokemon Researcheris a Contributor to Smogon
    Moderator

    Joined:
    Aug 23, 2006
    Messages:
    3,727
    Yes. DSi\3DS support includes all flavors of the DSi, including the DSiXL.
  2. Sidd

    Sidd

    Joined:
    Mar 14, 2009
    Messages:
    820
    Is there anything like this that we could use for RSEFRLG?

    Thanks for the great program!!!
  3. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    PPRNG has no support for 3rd gen at the moment, aside from the coincidental fact that you can generate Method 1 frames with a seed of 0 in the Gen 4 seed inspector.

    It is unlikely that I will be able to add 3rd Gen support anytime soon, because my time is limited these days and overall only a very small number of people will ever make use of the 3rd gen stuff. I would suggest trying to use RNG Reporter in mono, as OmegaDonut has put a lot more effort into 3rd gen support than I will be able to.

    If someone wants to step up and volunteer to work on 3rd Gen support (or any other missing functionality, for that matter), I'm certainly open to that.
  4. Trizzy07

    Trizzy07

    Joined:
    Mar 4, 2012
    Messages:
    9
    Is there a step by step tutorial on youtube for using it because I am having a tremendous struggle with it?
  5. religiousjedi

    religiousjedi #ZELDA!!!!!!!!!!!!!!!!
    is a Forum Moderatoris a Contributor to Smogon
    Moderator

    Joined:
    Oct 9, 2010
    Messages:
    1,741
    Good suggestion would be to type PPRNG over on YouTube?
  6. astralboy

    astralboy

    Joined:
    Apr 12, 2012
    Messages:
    1
    When I enter my DS hardware specifications, I notice the DS Phat setting doesn't save.

    I select DS Phat from the menu and save the settings, but when I return to the settings it goes back to being unselected. Will this make it impossible to use the program, or do I have nothing to worry about?

    For the record, I've had no luck so far with finding the desired Pokémon, so I wondered if this was the source of the problem.
  7. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    Thanks for the bug report. There is no difference for RNGing between DS Phat and DS Lite, so you can just choose DS Lite for now until this is fixed.
  8. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    A new version has been released. Check the first post as always.
  9. Prog89

    Prog89

    Joined:
    Apr 17, 2012
    Messages:
    23
    PPRNG Help

    Can I catch roamers and stationary (& maybe riolu & Togepi egg) in Platinum with the last version of PPRNG?
    If yes, there is a guide for these methods?

    (Sorry for my bad english)
  10. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    You can do roamers, stationaries, gifts (those eggs you mentioned are gifts, which use Method 1), and wild captures in Gen 4. PPRNG doesn't currently support Gen 4 breeding, though that is the next big thing on the list.

    There isn't any guide specifically for Gen 4 on PPRNG as far as I know, but the general Smogon guide is here (may be slightly out of date), and there is a Gen 4 PRNG help thread as well.
  11. Prog89

    Prog89

    Joined:
    Apr 17, 2012
    Messages:
    23
    Thank you for your kind reply!
    So the method J in RNG is "stationary encounter" in PPRNG (for roamers and stationary both), am I right?

    Do I need to use ZoomgTimer for these methods?
  12. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    Method 1: For roamers, gifts, and a few special cases
    Method J: For wild encounters (including stationaries) on Diamond, Pearl, and Platnum
    Method K: For wild encounters on Heart Gold and Soul Silver

    You will need a timer such as ZomgTimer to effectively RNG abuse in Gen 4 games.
  13. Loach

    Loach

    Joined:
    Apr 19, 2012
    Messages:
    5
    Just signed up for the update. PPRNG is amazing, but I'm desperately needing breeding support for Gen IV. RNG Reporter 9.92 is the latest version I can get running with mono on the Macbook, has anyone has been able to run 9.95 on their mac?

    chiizu if you programmed PPRNG thanks a bunch! It's so much better when I RNG for wild pokemon than RNG Reporter.
  14. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    9.95 won't run under Mono because it uses some custom controls that Mono can't emulate / handle. Best to stick with 9.92 since nothing significant has changed related to Gen 4 breeding as far as I am aware. As for PPRNG, I am currently working on Gen 4 breeding support but I can't make any promises as to when it will be finished.

    I appreciate the positive feedback, thanks!
  15. Prog89

    Prog89

    Joined:
    Apr 17, 2012
    Messages:
    23
    Thank you! I tried and it works!
    But, is there a method to change the year of research in 4th?
  16. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    You don't change the year when searching. Once you have found a result that you like, you double-click it to open the seed inspector, and you can then choose the year from the 'Time / Adjacents' tab.
  17. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    Version 1.11.0 has been released, finally supporting breeding in Gen 4.
  18. Prog89

    Prog89

    Joined:
    Apr 17, 2012
    Messages:
    23
    This is amazing!!
    I noticed some differences from the manipulation of Egg's PID in RNG:
    If I search a shiny egg with no taps & 0 coin flips, I have to do only 10 coin flips to advance the frame, am I right?

    I saved the game in the daycare with the coin flips app opened, hit the right delay e made 10 coin flips. Than i put the parents in the daycare but the nature was always wrong.
  19. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    I have compared the output of the Egg PID search in RNG Reporter and PPRNG for DPPt, and they are the same.

    If there is no Taps column showing, then you only need to do 10 coin flips plus whatever additional coin flips are shown. If the Taps column is showing, you must change to the happiness checker after doing the coin flips, even if it says 0 taps. Just changing to the happiness checker affects the RNG. Also, you need to have 6 Pokemon in your party when taps are used (even if it is 0 taps).

    If you continue to have problems, post a screenshot so that I can see the details.
  20. Prog89

    Prog89

    Joined:
    Apr 17, 2012
    Messages:
    23
    Now I understand which is my mistake, I had only 5 pkmn in my party, I just tried with 6 and the egg was shiny, thank you!

    I said it's different from the RNG because in PPRNG we don't need to capture a pkmn and write stats, day & hour to calculate the initial seed. With PPRNG I think is easier (with the help of Zoomg Timer), I appreciated this thing!
  21. Loach

    Loach

    Joined:
    Apr 19, 2012
    Messages:
    5
    Gen IV breeding support, sweet! That was much earlier than expected. I might have found a bug though. The Egg IV Seed Searcher doesn't bring anything up for me when I click the tab from the main menu. Other than that, thanks for the quick update!
  22. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    What OS version are you on?

    Please look in the Console application located in Applications/Utilities to see if there is any log from PPRNG there when you click the button to open the window.
  23. Loach

    Loach

    Joined:
    Apr 19, 2012
    Messages:
    5
    I'm on OS X 10.6.8

    When I click on the Egg IV Seed Searcher, and then hit the Expose button to see all of my windows, it has a spot listed for it, but it's totally invisible to me and it doesn't highlight it in blue when I hover the mouse over it.

    If I go to my Console, and click on the Egg IV Searcher tab in PPRNG, I'm not getting a log. If I hit the Expose button, the log says this:

    May 4 13:41:40 xxx-xxx-MacBook-Pro com.apple.Dock.agent[94]: Fri May 4 13:41:40 xxx-xxx-MacBook-Pro.local Dock[94] <Error>: kCGErrorIllegalArgument: CGSSetWindowTransformAtPlacement: Singular matrix [0.000 0.000 0.000 0.000]

    Not sure if that's any help.
  24. chiizu

    chiizu PPPPPPPPPPPPPPPPP RNG
    is a Programmeris a Pokemon Researcher

    Joined:
    Nov 12, 2010
    Messages:
    418
    I'm on 10.6.8, so I'm not sure why you are having an issue while I am not. Still, I found one issue related to the Gen 4 Egg IV window, so I've made an update. Please try that out and let me know how it goes.
  25. Loach

    Loach

    Joined:
    Apr 19, 2012
    Messages:
    5

    Sorry for the delay, had finals I was working on. chiizu the latest update fixed the problem, everything works great now, thanks so much for working on it!

Users Viewing Thread (Users: 0, Guests: 1)