pokeSlow - Gen 1 Virtual Console Pokemon Editor

Discussion in '3DS - Homebrew Development and Emulators' started by zaksabeast, May 24, 2016.

  1. zaksabeast
    OP

    zaksabeast GBAtemp Regular

    Member
    285
    415
    May 24, 2016
    United States
    About pokeSlow:
    pokeSlow is an open source homebrew (GitHub here) that uses @Gocario's PHBankGB to edit Pokemon. I created this in my spare time within the past week as a stress reliever. My goal was to quickly make a first generation Pokemon editor for the 3DS (I decided to speedrun my coding like I do my games as a way to test myself). As such, I decided to edit PHBankGB's box 1 data as a way to easily access the Gen 1 VC Pokemon.

    Optimizations can be made and more boxes can be edited with modification to the code, however my goal was to just create an easy editor in a short period of time, and that goal has been completed for now.

    What pokeSlow can do:
    - edit the species, attacks, level, IVs, and EVs of Pokemon saved in the first box of PHBankGB's bank.
    - Import a Gen 1 .pkm file located on the SD card at "/pk/bank/pokemon.pkm".
    - convert all Pokemon in the first box to Slowpokes for nothing more than pure amusement.

    pokeSlow also creates a backup of PHBankGB's bank file upon loading in the same directory called "bankgb.bak". In case of error, revert to that.

    Main Menu:
    pokeSlow uses a text based user interface with the following options on the main menu:
    1. Change a Pokemon's Species
    2. Change a Pokemon's Attacks
    3. Edit the Level of a Pokemon
    4. Max a Pokemon's IVs
    5. Max a Pokemon's EVs
    6. Convert All Pokemon to Slowpokes
    7. Import pokemon.pkm from SD
    8. Exit
    Use the D-Pad to choose an option, and the "A" button to select it.

    A Note About Gen 1 IVs and EVs:
    In the first generation, IVs only go up to 15, and EVs go up to 65535 each (about 255 squared). Unlike future generations, EVs can each be maxed, instead of the 510 point limit per Pokemon.

    Glitch Pokemon - I don't recommend this
    There have been problems with editing Mew into the game. My theory is this has to do with Mew's coding in the game, as it wasn't coded like a regular Pokemon. Due to this, any attempts to change a species to Mew will result in a Rhydon.

    The alternative to get a Mew is using the pokemon.pkm injector with a Mew obtained from a save. Getting a Mew from the Mew Glitch won't result in a bad Pokemon, because of the way the Mew is called into battle (unlike Missingno). This can be done on the VC games. A copy of the 1999 Toys R' Us NA Mew (backed up from a cartridge) can be found attached. Remember to rename the attached Mew to "pokemon.pkm" and place it on the SD card where the PHBankGB's bank file is ("/pk/bank/").

    With this feature, those experienced enough can get a GlitchDex. Though, please don't try this if you don't have knoweldge on the various glitches in the game, as some are extremely dangerous.

    Disclaimer:
    I'm not responsible for any damage done using this homebrew; always keep a backup. This was a "just for fun" project that I figured others may like to use as well.

    Side Note:
    I definitely listened to the First Pokemon Movie's theme while coding much of this, as well as the Third Movie's theme to get me pumped for Johto Classics.

    Updates:
    v1.0: Initial Release
    v1.0.1: Fixed a Memory Error
    v1.1.0: Added the ability to import a Gen 1 .pkm from the SD, and disabled editing a species to Mew

    Credits:
    Thanks to @Gocario for PHBankGB, xem for the fun 3DS Homebrew Tutorial on GitHub, and the Citra development team for their emulator, Citra.
     

    Attached Files:

    Last edited by zaksabeast, Jun 8, 2016


  2. DKB

    DKB FUCK OFF

    Member
    1,241
    1,169
    May 29, 2015
    United States
    New York City, Manhattan
    lol pokeSlow
     
    Minnow likes this.
  3. zaksabeast
    OP

    zaksabeast GBAtemp Regular

    Member
    285
    415
    May 24, 2016
    United States
    Haha, the name pokeSlow came because of the first editing function I coded into the homebrew; the All Pokemon to Slowpoke converter. The gen 1 index number of Slowpoke is 0x25, and I was editing my fresh caught Pidgey (0x24). I added 1 to the species by mistake, and decided to make the error permanent by turning all Pokemon into Slowpokes, because I found it amusing.

    The function is still called "pokeSlow();". XD
     
  4. Temptress Cerise

    Temptress Cerise Miss Magic~ <3

    Member
    2,181
    1,421
    May 1, 2016
    United States
    Amusing, I actually thought it was more of a joke, that you speedrun coded this. But nice backstory on the name. :)

    Edit: Guess I'll try this out tomorrow, thanks for making this!
     
    Last edited by Temptress Cerise, May 25, 2016
    gnmmarechal and zaksabeast like this.
  5. zaksabeast
    OP

    zaksabeast GBAtemp Regular

    Member
    285
    415
    May 24, 2016
    United States
    Hahaha, yeah I can see that. XD Thanks! I'm hoping this can be useful for some. :) I honestly enjoy having a level 14 Aerodactyl with Blizzard as its two attacks. Having a surfing Pikachu should be fun too.
     
  6. SterneSchreien

    SterneSchreien Naughty One

    Member
    152
    65
    Jan 4, 2016
    Canada
    127.0.0.1
    I'm sold.
     
    loco365, NCorp. and zaksabeast like this.
  7. Kaphotics

    Kaphotics badc0ded

    Member
    610
    460
    Sep 10, 2010
    United States
    Nice work :)
     
    zaksabeast likes this.
  8. TechyTurtle

    TechyTurtle GBAtemp Regular

    Member
    294
    53
    Jan 23, 2016
    United States
    MY ASS!
    yo we can get mews now in sun and moon that are legit since we can create these pokemon nd transfer them to sun and moon
     
  9. DKB

    DKB FUCK OFF

    Member
    1,241
    1,169
    May 29, 2015
    United States
    New York City, Manhattan
    ...You can't even get mew legit in those games.
     
  10. TechyTurtle

    TechyTurtle GBAtemp Regular

    Member
    294
    53
    Jan 23, 2016
    United States
    MY ASS!
    you can with that mew event in oras but that's it. since r,b,y pokemon can go to sun and moon we can get legit mews
     
  11. zaksabeast
    OP

    zaksabeast GBAtemp Regular

    Member
    285
    415
    May 24, 2016
    United States
    I've actually been wondering about that. Say Nintendo wanted to do a special "Gen 1" event through the E-shop or some other method. It probably won't happen, but in the case it did, Mews could be transferred over! I was also considering a hidden feature in this tool where a copy of a legit event Mew (found online from a save with the Toys 'R Us release of Mew to the Gen 1 games) would be injected into a slot of the PHBankGB. (At that point however, it would only be considered "legal" and not "legit" by standard terms of the Pokemon Community.)

    I've also been wondering about how EVs will be converted from Gen 1 to Gen 7. If all EVs can be maxed out in Gen 1, will there be new game mechanics to compensate for this? I figure they'll just reset the EVs when transferring Pokemon, but I'm hopefully wishing otherwise. :)
     
  12. TechyTurtle

    TechyTurtle GBAtemp Regular

    Member
    294
    53
    Jan 23, 2016
    United States
    MY ASS!
    Yo I Got mew but it has no owner how can I fix this? WIN_20160524_19_34_54_Pro.jpg
     
  13. DKB

    DKB FUCK OFF

    Member
    1,241
    1,169
    May 29, 2015
    United States
    New York City, Manhattan
    The only reason I'm saying that is because of all of the checksums and things like that, I'm not sure if it'd be possible to use a glitch and get a mew and transfer it over.
     
  14. TechyTurtle

    TechyTurtle GBAtemp Regular

    Member
    294
    53
    Jan 23, 2016
    United States
    MY ASS!
    it probably will I mean Big N is mostly worried about sun and moon and it might be hard to tell what is a legit pokemon in red and blue and yellow. Seriously though someone help figure out to fill the owner section:blink:
     
  15. caffVic

    caffVic Member

    Newcomer
    29
    8
    May 16, 2016
    If you just do the Mew glitch you catch it in-game. I think that is as clean as it gets. I bet they will not let the Mews from RBY pass to the bank since not a single Mew from the VC could be catch "legally"...

    EDIT: To summarize my point. Have fun and don't worry about Mew in particular.
     
    Last edited by caffVic, May 25, 2016
  16. TechyTurtle

    TechyTurtle GBAtemp Regular

    Member
    294
    53
    Jan 23, 2016
    United States
    MY ASS!
    yo major update mew has weird ass effect and broke the game. It creates glitches and all sprite are retarted.

    — Posts automatically merged - Please don't double post! —

    when you go to pokemon in start section, it returns to normal
     
  17. zaksabeast
    OP

    zaksabeast GBAtemp Regular

    Member
    285
    415
    May 24, 2016
    United States
    EDIT:
    I found the error and fixed it. Download version 1.0.1 in the attached files for the fixed homebrew.

    Original:
    I need a few details about this, since I can't recreate the error. How did you edit the Mew in your game? Since this program is an editor and not a genner, it won't edit Pokemon that don't exist. Since all Pokemon in the box already have a trainer name that doesn't get rewritten, I'd like to know the steps you took to get this Mew.

    The game not working properly with such a Mew makes sense, considering it looks like it's missing a significant chunk of the data structure.

    I'll try recreating it using other methods, but getting your input will be helpful.
     
    Last edited by zaksabeast, May 25, 2016
  18. VaiCorunthians

    VaiCorunthians GBAtemp Fan

    Member
    457
    214
    Oct 7, 2014
    Brazil
    :grog::grog::grog::grog:

    Great! One more tool to Pokemon games :D
     
    zaksabeast likes this.
  19. zaksabeast
    OP

    zaksabeast GBAtemp Regular

    Member
    285
    415
    May 24, 2016
    United States
    Thanks! Kaphotics, you helped me in 2012 with one of my first projects. At the time, I was looking into editing GBA Pokemon saves, and your help gave me what I needed to complete that project. I very much appreciate your work, and enjoy your kindness to take time to comment here. Stay awesome! :)

    Haha thank you! I'm happy to see someone happy about my method-of-choice to escape from troubles every now and then. :grog:
     
  20. Queno138

    Queno138 Ravens

    Member
    2,412
    782
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    The only Mews that are legit for the VC games,
    are the Japanese Event Mew on the Japanese VC games.

    http://bulbapedia.bulbagarden.net/w..._distributions_in_Generation_I#Game_Freak_Mew

    Nintendo could easily prevent any non-japanese Mew from being poketransported.

    (also what bulbapedia doesn't show you, is that the Mew is actually Nicknamed (name doesn't terminate after Myuu)
    and the Gefuri isn't directly terminated too. they could easily block bad recreations, if they really wanted to)
     
    Lucky16 likes this.