Homebrew [WIP] PHBank - Pokémon Homebrew Bank

xan3000

New Member
Newbie
Joined
Jan 30, 2016
Messages
4
Trophies
0
Age
31
XP
62
Country
Venezuela
Curious, will developer take interest in adding the 'National Dex' features from the January update into the PHBank when that update comes out?

Since the games won't have the National Dex, in order to people to pay for the Bank, I do wonder if PHBank will take interest to have something like it? :P
 

Sketchy1

gbatemp's shadiest warez dealer
Member
Joined
Aug 9, 2016
Messages
1,553
Trophies
0
Age
25
XP
651
Country
United States
Is it possible to transfer Items with this?
Also is it possible to use downloaded XY/ORAS or just cartidges?
Yes, but if I'm not mistaken, you'll need this installed as a CIA before you can use it on the dlc copies and as long as the pokemon being transferred is holding an item, item transfers should have no problem (but don't go transferring slobronite or sablenite to x/y or you run the risk of getting a corrupt save)
 
Last edited by Sketchy1,

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France
Curious, will developer take interest in adding the 'National Dex' features from the January update into the PHBank when that update comes out?

Since the games won't have the National Dex, in order to people to pay for the Bank, I do wonder if PHBank will take interest to have something like it? :P
The encryption stuff on the gen7 is a bit problematic, I don't really have time to work on it atm.
And I don't really know how to work with the regional/national dexes in these games
Is it possible to transfer Items with this?
Also is it possible to use downloaded XY/ORAS or just cartidges?
Yeah, items are bringed alongs with the Pokémon while banking them.
Yes, but if I'm not mistaken, you'll need this installed as a CIA before you can use it on the dlc copies and as long as the pokemon being transferred is holding an item, item transfers should have no problem (but don't go transferring slobronite or sablenite to x/y or you run the risk of getting a corrupt save)
There is a filter supposed to contain the new items/forms/moves/abilities in the bank and blocking the transfer to the older game.
 
  • Like
Reactions: MSco

EventAssistant

Well-Known Member
Member
Joined
Jul 20, 2016
Messages
572
Trophies
0
XP
1,448
Country
Italy
The encryption stuff on the gen7 is a bit problematic, I don't really have time to work on it atm.
And I don't really know how to work with the regional/national dexes in these games

I'm working on gen7 encryption, I'm in a very good point of development right now (only have to code RSA algorithm and make tests when my cart arrives). If I reach to get save encryption working, you'll be free to use it if at some point you have enough time to update your project
 

Reaga

Well-Known Member
Member
Joined
Jul 31, 2013
Messages
1,153
Trophies
1
Age
32
XP
1,432
Country
United States
I have a quick question but that concerns me, will Pokémon Homebrew Bank be compatible with Sun and Moon?
At some point, probably. But legally speaking the games aren't even out yet, and while the datamine has given devs some insight it'll be hard to program for full support before release without risking getting yourself caught for piracy.

Also, it may not be a priority for the dev, especially this time of year when holidays are rolling around and if they're a college student finals are coming up.
 

TheUnhingedOne

Active Member
Newcomer
Joined
Aug 27, 2016
Messages
30
Trophies
0
Location
United States
XP
114
Country
United States


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.




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.
How do I import my bank file from normal bank to here? Also, can't seem to get this work, 11.2 basehaxx/ninjhax
 

tsunasawad

Member
Newcomer
Joined
Sep 20, 2016
Messages
12
Trophies
0
Age
32
XP
61
Country
Colombia
I hope you can do it Gocario, i got almost every pokemon and i kept in the phbank, anyway if you can't i guess i have to use the pkhex
 

Rehv

Well-Known Member
Newcomer
Joined
Sep 14, 2013
Messages
53
Trophies
0
Age
34
XP
181
Country
Brazil
Quick FAQ:

You can check if there is any update here (hint: none atm). I checked/compiled/messed with the code myself, but it would take some time to build knowledge on the code so I gave up for now.

EventAssistant is going to work eventually, so everyone asking WHERE IS BANK SUPPORT FOR GEN 7 can check here regularly to see if there is any update regarding Sun/Moon.

If you absolutely don't wanna wait then export your save and edit with PkHex. If you don't want to remove the sd card everytime, use FTPd (comes with the homebrew starter kit).
 
  • Like
Reactions: EventAssistant

EventAssistant

Well-Known Member
Member
Joined
Jul 20, 2016
Messages
572
Trophies
0
XP
1,448
Country
Italy
Read-only support for gen7 is coming today on EventAssistant. Bank instead will support storing gen7 mons, but basically they'll be only copies (at the end nothing will be saved in the game, due to the read-only support).

What does this mean? If you want to backup a few gen7 mons for the future, my integrated bank will work between ten hours or so.

Help in completing crypto support is still required, I'm at a good point btw. Message me if you know how to help me.
 

Giodude

GBAtemp's official rock
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
Read-only support for gen7 is coming today on EventAssistant. Bank instead will support storing gen7 mons, but basically they'll be only copies (at the end nothing will be saved in the game, due to the read-only support).

What does this mean? If you want to backup a few gen7 mons for the future, my integrated bank will work between ten hours or so.

Help in completing crypto support is still required, I'm at a good point btw. Message me if you know how to help me.
In the future, if reading and writing becomes availble, can it import from gen 6?
 

TheUnhingedOne

Active Member
Newcomer
Joined
Aug 27, 2016
Messages
30
Trophies
0
Location
United States
XP
114
Country
United States
Read-only support for gen7 is coming today on EventAssistant. Bank instead will support storing gen7 mons, but basically they'll be only copies (at the end nothing will be saved in the game, due to the read-only support).

What does this mean? If you want to backup a few gen7 mons for the future, my integrated bank will work between ten hours or so.

Help in completing crypto support is still required, I'm at a good point btw. Message me if you know how to help me.
Can't seem to get EventAssistant to launch on my n3DS 11.2... Am I doing something wrong?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-