Homebrew [WIP] PHBank - Pokémon Homebrew Bank

whostolemywaffle

Well-Known Member
Member
Joined
Aug 2, 2016
Messages
436
Trophies
0
Age
38
XP
584
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.
it says the execution ended
 

EventAssistant

Well-Known Member
Member
Joined
Jul 20, 2016
Messages
572
Trophies
0
XP
1,448
Country
Italy
I have to say it's a bit sad recommending to use another software rather than the one suggested in the OP. Hopefully @Gocario, even if he doesn't want to continue his work anymore, can fix the code in the github repo to be compilable, at least. Maybe someone will eventually add more compatibility in a near future to this software, too.
 

Rayan92

Well-Known Member
Newcomer
Joined
Nov 1, 2015
Messages
91
Trophies
0
XP
122
Country
Hey guys sorry to sound like a noob..but I'm running cfw aureinand 11.2 and Sysnand 9.2

trying to get pokemon moon cia. will it work no issue?

Also will pkhex work too? What is PKSM sorry ive been out of the loop for a while
 

doctor221b

Member
Newcomer
Joined
Apr 14, 2017
Messages
6
Trophies
0
Age
24
XP
42
Country
United States
I am trying to download this homebrew to my 3ds sd card and its not working could someone exlain how to download it? ive never done this before
 

hobbledehoy899

Well-Known Member
Member
Joined
Nov 13, 2015
Messages
2,874
Trophies
1
XP
2,192
Country
Antarctica
I am trying to download this homebrew to my 3ds sd card and its not working could someone exlain how to download it? ive never done this before
You have to have a CFW installed and a way to install .cia packages in order to use this.

Are you having problems extracting the compressed Roshal Archive file it comes in?
 
Last edited by hobbledehoy899,

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States
You have to have a CFW installed and a way to install .cia packages in order to use this.
No you don't. There is a .3dsx HomeBrew build supplied as well.
I am trying to download this homebrew to my 3ds sd card and its not working could someone exlain how to download it? ive never done this before
Download the program with the link in the OP. Copy both the "3DS" folder and the "pk" folder to the root of your SD card. Let it replace any files asked.
Load Homebrew and find the program, make sure you're connected to the internet, then load it.
 

doctor221b

Member
Newcomer
Joined
Apr 14, 2017
Messages
6
Trophies
0
Age
24
XP
42
Country
United States
how do you get to the .3dsx file and what is the OP?, also how do you get the pk folder? thank you for replying


No you don't. There is a .3dsx HomeBrew build supplied as well.

Download the program with the link in the OP. Copy both the "3DS" folder and the "pk" folder to the root of your SD card. Let it replace any files asked.
Load Homebrew and find the program, make sure you're connected to the internet, then load it.
 

doctor221b

Member
Newcomer
Joined
Apr 14, 2017
Messages
6
Trophies
0
Age
24
XP
42
Country
United States
how do you do that?

--------------------- MERGED ---------------------------

You have to extract the contents
sorry, put my reply in the wrong place but haw do you extract the contents?

--------------------- MERGED ---------------------------

You have to have a CFW installed and a way to install .cia packages in order to use this.

Are you having problems extracting the compressed Roshal Archive file it comes in?
what is a roshal archive file?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    Sweet Baby Rays is like baseline for a decent/good bbq sauce, but nothing outright incredible
    +1
  • Sicklyboy @ Sicklyboy:
    Stubbs is a pretty damn good sauce that I think you'll find on most grocery shelves as I don't think it's regional
  • Sicklyboy @ Sicklyboy:
    This shit though
  • Sicklyboy @ Sicklyboy:
    Best bbq sauce I've ever bought on a grocery store shelf
  • Sicklyboy @ Sicklyboy:
    smokey flavor that reminds me of beef jerkey on top of a really rich kind of bbq sauce. Heat level that is a nice zing, not overwhelming, but it tingles all the way down your throat
    +1
  • K3Nv2 @ K3Nv2:
    50% closer to getting my teeth fixed
    +4
  • K3Nv2 @ K3Nv2:
    I'm at the grace gods of my insurance fucking me over
  • K3Nv2 @ K3Nv2:
    I was like is this the way out, oh probably there's a giant exit sign
  • BigOnYa @ BigOnYa:
    We all should have free health, dental, vision care, and make the college kids pay for the schooling, f that college forgiveness plan our govt doing now, its really not fair for all others in the past that had to pay for they're schooling anyways (like me, with 2 kids I paid to send to college in the past)
  • mthrnite @ mthrnite:
    whynotboth.jpg
    +2
  • BigOnYa @ BigOnYa:
    True, very true
  • Sicklyboy @ Sicklyboy:
    I think we should outlaw healthcare entirely because the fact that people can get healthcare today is unfair to those in the past that couldn't
    +2
  • BigOnYa @ BigOnYa:
    Lol
  • mthrnite tempBOT: @ mthrnite
    smacks Sicklyboy around a bit with a large leech
  • Sicklyboy @ Sicklyboy:
    Howdy @mthrnite , great to see you :D
  • mthrnite @ mthrnite:
    hola mi hermano
  • cearp @ cearp:
    @Sicklyboy - the comparison would be forgiving all medical debt, not making healthcare illegal!
  • cearp @ cearp:
    Although I still don't agree, medical debt is rarely a choice, whereas enrolling in university is certainly a choice
  • mthrnite @ mthrnite:
    we need more smart cats tho for reals
  • Sicklyboy @ Sicklyboy:
    College costs, college loans, book prices, the entire thing is predatory, oft touted as essential to a successful life for my generation and the ones since, and completely unaffordable without putting you through an insane financial hardship for literal decades in many situations.
  • Sicklyboy @ Sicklyboy:
    Many of the same issues can be seen for the insanely predatory healthcare and health insurance system in the US
  • mthrnite @ mthrnite:
    ^this
  • Sicklyboy @ Sicklyboy:
    It's important for society to be healthy and educated. If those things can't happen because all of the institutions that prop up those industries make it unattainable for all but a small portion of society, then your society is largely going to be disease ridden, dying, and uneducated in very short order.
  • K3Nv2 @ K3Nv2:
    Issue is it's too rich of a coperation already with bad sugar diets causing diabetes and killing teeth a new set of teeth around 90k
    K3Nv2 @ K3Nv2: Issue is it's too rich of a coperation already with bad sugar diets causing diabetes and killing...