Homebrew [WIP] PHBank - Pokémon Homebrew Bank

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France


PHBank is a homebrew which allows to manage a local bank for XY and ORAS Pokémon games, just like the Pokébank, but as a free offline service.
This homebrew is not intended to cheat (not even cloning). It's just a storage solution.

The source code is available under the GPLv3 license on github, and the resources are available on github too.

What this Homebrew can do:
  • Work on o3ds and n3ds!
  • Navigate through the PC boxes of a XY/ORAS save and the Bank boxes.
  • Display a more specific resume per Pokémon (like IVs/EVs).
  • Select one Pokémon (with stylus or buttons) and move it to another slot/box.
  • Select some Pokémon (with buttons) and move them to another box.
  • Swap an entire box content to another one (pc <-> bank).
  • Autocomplete the Pokédex when importing Pokémon to a gamesave.
  • Prompt a dialog to save/exit/backup during the homebrew execution.
  • Export/Import the savedata directly to/from the game, without the need of external tools (/main).
  • Load/Save the bankdata to/from the bank, located in the SD card (/pk/bank/bank).

How to install it:
  • Just extract the archive at (to?) the root of your SD card.
  • It must contains:
    • The PHBank files /3ds/PHBank/[PHBankFiles].
    • The cia installer in /cia/PHBank.cia
    • The data files /pk/[DataFiles].

How to import from <= [v1.1.4-beta-a]:
  • Install PHBank normally, see above.
  • Copy the bank file from /pkbank/bank to /pk/bank/bank.
  • You can delete the /pkbank/ folder.

Controls:
Everywhere
  • DPad/CPad: Move the cursor inbox, change box, change pc/bank.
  • L/R: Change the current box.
  • LZ/RZ: Switch from PC to Bank and vice versa (can be done with Pad and/or stylus too).
  • Touchscreen:
    • Move the cursor inbox.
    • Change the current box.
    • Switch PC/Bank.
    • Drag & Drop Pokémon.
    • Change the selection mode.
  • Start: Open the savexit menu, for exiting or backing up.
  • Select: Switch the selection mode (Single -> Quick -> Multiple).
In Single selection mode (Red):
  • A: Select Pokémon / Move Pokémon if one is already selected.
  • B: Cancel selection.
In Quick selection mdoe (Blue):
  • A: Select Pokémon / Move Pokémon if one is already selected.
  • B: Cancel selection.
  • Y: Swap the current PC box content with the current Bank box content.
In Multiple selection mdoe (Blue):
  • Y: Activate the box selector (TODO: transform it as a button on screen).
Todo List:
  • Wonder box ;)
  • Display more specific information per Pokémon (Tabs for contest/met/etc).
  • Enhance more the GUI.
  • When moving Pokémon with the DPad/A, switch the held Pokémon.

Nota Bene:
  • I only tested this homebrew with Pokémon Alpha Sapphire on a cartridge on a n3ds (9.3+).
  • Not cheat, no kidding.

Screenshots said:
scr_27_TOP_LEFT.png

scr_27_BOTTOM.png


scr_26_TOP_LEFT.png

scr_26_BOTTOM.png


scr_24_TOP_LEFT.png

scr_24_BOTTOM.png


TODO: update screenshots


Thanks to @suloku for all his work on the project.
Thanks to @Kaphotics & @Asia81 (and PKHex's contributors) for the save functions (offset, algorithms) and the data (personal, text).
Thanks to @Slashcash & @Stracker (and PCHex/PCHex++'s contributors) for their help.
Thanks to @Xenosaiga and @ihaveamac for being the cia build.
Thanks to @xerpi (and SF2D/SFTD/SFIL's contributores) for the graphic library.
Thanks to @profi200 and other people on #3dsdev who helped me.
Thanks to @smealum and @yellows8 for the exploits.

Merci !

Disclaimer: I'm not responsible if you lose or corrupt your save by using this homebrew. It mays contain bugs even within the normal intended use. Use it at your own risk.
ALWAYS MAKE A BACKUP! (Hold L while launching homebrew or/and use tvds/svdt)


>>> Download link <<<

TODO: Update the changelog

Alpha v0.1:

- Inital αlpha-release.
Alpha v0.3:
- Box transfer.
- Pokédex auto-completion (ORAS).
- Reorder input by Selection mode.
- Icon changed.
Alpha v0.3a:
- Fix with Pokédex A-C.
Alpha v0.3b:
- Fix a problem with the names (FS_Streams).
Alpha v0.3c:
- Maybe a fix for digital games load file.
Beta v1.0:
- Don't wanna list...
Beta v1.0.1:
- Added a GUI, is that enough?
Beta v1.0.2:
- Fixed the previous buggy touchscreen.
- Double tap to select (double mean, tap again while in the slot).
Beta v1.0.3:
- Fixed some issues with save from SD.
- Added a start-key menu.
Beta v1.0.4:
- Implemented Drag&Drop.
Beta v1.0.5 (removed):
- Integrated Filters use & fix.
- More displayed informations.
Beta v1.0.5-a:
- Fix the move filter.
Beta v1.0.6:
- Very basic box selector.
Beta v1.0.6-a:
- Improved the basic box selector DPad controls.
Beta v1.0.6-b:
- Completed the navigation in box selector.
Beta v1.1.0:
- Added a PoC of the top screen display.
Beta v1.1.0-a:
- Speed EV problem fixed.
- Improved some bad changes.
- Eggs are now well displayed.
- Remapped savexit keys, and background color.
- Box count.
Beta v1.1.1:
- Changed an intern structure (viewPkm).
- 1 Byte character support (not very good).
- Updated smdh.
Beta v1.1.2:
- Changed Texture loading.
- Level & stats fixed.
- Better filter functions.
- Names enhanced.
Beta v1.1.3:
- Pokémon sprite icon on top screen.
- Shiny / Kalos born / Pokérus cured icons on top screen.
Beta v1.1.4:
- Fixed nickname display. (@Sukiyami)
- Attacked a small animation to the cursor.
Beta v1.1.4-a
- Some dex modification.
Beta v2.0.1:
- Alot of changes, I'm lazy to write it.
 
Last edited by Gocario,

uberpubert69

Well-Known Member
Member
Joined
Sep 14, 2008
Messages
231
Trophies
0
XP
311
Country
United States
Yeah man this is amazing! I only got 150 days left of my Pokemon Bank Subscription and I didn't plan on renewing. Now I have a free alternative! Thank you so much, keep up the good work! :grog:

I could test for you if this works on Pokemon Y if you wish. Don't know if it's safe or not though.
 
Last edited by uberpubert69,
  • Like
Reactions: The Minish LAN

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France
Yeah man this is amazing! I only got 150 days left of my Pokemon Bank Subscription and I didn't plan on renewing. Now I have a free alternative! Thank you so much, keep up the good work! :grog:

I did this because my bank will expired in 100 days... :D

wow, sounds amazing. Going to test it out this weekend. Could it would for gateway?

If you tell me how, I could.

is it illegal to steal pokemon banks interface for this homebrew? lol do that if possible plz

I guess it's already illegal to read/write the save...
I'm planning to do a GUI somelike the Pokébank anyway! :3
 

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France
  • Like
Reactions: The Minish LAN

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Not even once, but 100's of times
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
  • BigOnYa @ BigOnYa:
    You ever try soaper powder/qauludes? I did once and like a dumbass drank beer on top of taking, I woke up laying in my backyard in the pouring rain, it knocked me out. I have not seen it around in many many years.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No never tried a lot of things but never that lol
  • Psionic Roshambo @ Psionic Roshambo:
    I did pass out one time on a floor after taking a bunch of Ambien lol thought it would help me sleep and did it lol
  • Psionic Roshambo @ Psionic Roshambo:
    Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest pill bottle I have ever seen lol
    Psionic Roshambo @ Psionic Roshambo: Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest...