1. Welcome to the Digiex Download Center, you are welcome to download anything you like here, no registration is required! We offer direct download links with no captchas or wait times.
    We do our best to ensure no content infringes copyrights, and provide a DMCA Takedown Request Form to request the removal of content from Digiex

Pokemon GEN 2 & 3 PCNY Distribution Machine Save Downloads

Discussion in 'Pokemon Save Games' started by Professor Oak, Mar 4, 2020.

  1. Boyki

    Boyki New Member

    Joined:
    Mar 26, 2020
    Messages:
    4
    Likes Received:
    0

    I tried this but it still does not recognize te save file. Maybe the problem is that I am not injecting the save on a retail cartridge but on my supercard sd?
     
  2. Lexi

    Lexi Well-Known Member

    Joined:
    Dec 31, 2018
    Messages:
    59
    Likes Received:
    10
    Would you mind sending screenshots of what you've done?(please spoiler the screenshots) You may have made a small mistake and not realized it. The reason I suggest this is because these types of things can be very fragile to mistakes. I don't think you specified which console you're using homebrew on, which I suspect may effect it. Like I think you need to treat a 3DS differently than you would a Switch since the 3DS has official virtual console versions. Also are you using English roms? I'm almost positive in gen 2 you can't use foreign roms with English saves unlike gen 3.
     
  3. Boyki

    Boyki New Member

    Joined:
    Mar 26, 2020
    Messages:
    4
    Likes Received:
    0
    I think I found the issue. I am running the english rom from my gba flashcard. Issue is however it does not have a RTC built in or emulation option. Im looking for a patch maybe that can help. Any suggestions?
     
  4. Lexi

    Lexi Well-Known Member

    Joined:
    Dec 31, 2018
    Messages:
    59
    Likes Received:
    10
    Some flashcards don't have the ability to run RTC saves. You might have some luck loading the save in emulator, changing some of your settings then manually saving in game. Though I suspect it is less likely to work in gen 2 than gen 3 as in gen 3 if the battery that keeps the dies you don't your save while in gen 2 losing one makes you lose both. If it doesn't work you may have to get a different flashcard. I think there are patched versions of gen 2 games that don't require RTC but I suspect those saves aren't compatible and would be quite hard to find.
     
  5. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    11,413
    Likes Received:
    3,417
    Location:
    Yorkshire, England
    No problem, I have re-uploaded the save.

    Out of curiosity is it defiantly the last 3 lines that have to be deleted for the save to work on a retail cart? (my battery is now dead so can't test this).

    On the VC versions of the game i remember leaving the 00080000 offset and just deleting the last two.
     
  6. Boyki

    Boyki New Member

    Joined:
    Mar 26, 2020
    Messages:
    4
    Likes Received:
    0
    I managed to find a patch but wasnt able to get it working. Such a bummer.
     
  7. Deoxyz

    Deoxyz Retired Preservationist

    Joined:
    Dec 24, 2016
    Messages:
    220
    Likes Received:
    206
    I definitely remember having to only delete two lines in the past, but I've been seeing three lately for whatever reason. Maybe because I was using a different emulator than I typically used in the past.

    All I know is the PCNY flag is the very last line of the savefile, so that is how I know where to cut it off.
     
    InsaneNutter likes this.
  8. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    11,413
    Likes Received:
    3,417
    Location:
    Yorkshire, England
    That's good enough for me, its possible even the emulator used for the VC versions of the games is handing the RTC emulation slightly different to actual hardware would handle the RTC.
     
  9. Lexi

    Lexi Well-Known Member

    Joined:
    Dec 31, 2018
    Messages:
    59
    Likes Received:
    10
    Out of curiosity are these gen 2 events region locked to English only. Or are they also distributeable to European languages too? If it is distributeable to European languages, could it be tested what happens if its attempted on the german alpha version of gold?
     
  10. Gridelin

    Gridelin Well-Known Member

    Joined:
    Dec 29, 2016
    Messages:
    48
    Likes Received:
    27
    The software only works with English games unfortunately
     
    Lexi likes this.
  11. Sabresite

    Sabresite Member

    Joined:
    Mar 16, 2017
    Messages:
    5
    Likes Received:
    10
    @Deoxyz - here is the "Normal Mew" from PCNY website itself:
    https://web.archive.org/web/20021011204306/http://www.pokemon.com/events/events4.asp

    Some information about the RNG and inner workings of the software:

    Gen 2 and Gen 3 uses roughly the same method. The RNG is a modified version of the GBA Pokemon RNG where instead of 0x6073 it uses 12345.
    A pokemon is selected from the list by creating a random number and modulo by the sum of the weights (1000).
    The number is compared against the weight and decremented by the weight until it is at or below 0. The entry that makes it go to zero or lower is the chosen entry.
    Once the pokemon is selected, the DVs are randomized by the RNG. If it is shiny then all of the DVs are fixed except for the ones that cause it to be random where the chosen value is taken from another table.

    Gen 3 is the same for pokemon selection. After that it looks like they pasted in GBA Pokemon code to essentially generate a pokemon. They added the regular GBA Pokemon RNG for that purpose.
    The OT Gender and game origin is taken from the save file (default behavior for events).
    To make the PID never shiny the PID-High = PID-Low ^ TID ^ SID ^ Rand (which I knew before having the software also)
    I have to double check how shiny PIDs are made, I forgot.

    One thing that is interesting (which I knew before we had access to the software) is that the seeds for each pokemon was linear. I calculated that the RNG was called 60/sec and concluded that the software was running on a loop.
    We confirmed this is the case. On every loop the software checks to see if a cart is inserted and if so, does the generation process, sends a signal back to the GC and waits for another insert.
    During this loop both the RNG made for Gen 2, and the Gen 3 RNG are advanced by 1.

    This has a profound effect. The statistical chance of a pokemon occurring is bias against when a kid inserts the cart to redeem. In the logs and through simulation tests we have seen a bias of up to 10% over 1000 redemptions.

    A small tidbit about the generation process. We believe eggs could have been distributed in gen 3 as well. I might make a campaign just to show off that functionality since it seems fun. :)
     
    Deoxyz, Lexi and InsaneNutter like this.
  12. Deoxyz

    Deoxyz Retired Preservationist

    Joined:
    Dec 24, 2016
    Messages:
    220
    Likes Received:
    206
    @Sabresite Thanks a bunch for that link! It's awesome to see official documentation. It definitely appears like there was an oversight when they created the campaign data, because a normal Mew just seems to make more sense than an unprecedented shiny Mew distribution, and being ONLY shiny.

    [​IMG]
     

Share This Page