Homebrew [WIP] PHBank - Pokémon Homebrew Bank

Shadik09

Member
Newcomer
Joined
Jan 7, 2016
Messages
10
Trophies
0
Age
33
XP
123
Country
United States
To change the simple 2D art, you can edit the files into the /pk/romfs/ folder, since the app load these files on startup.
I tried to load another spritesheet (I made some cropping on too) for the top screen pokémon icon, but that wasn't working due to the size. I might have another solution that I'll try later.


EDIT: Well
View attachment 43073


Hey @Gocario That came out real good!
Thanks for answer, already working on some custom wallpapers.
box_backgrounds.png

Now, I wasn't able to add the sprites sheet you posted. I guess is because it isn't formatted as the original one and when it tries to access a point it doesn't find it and gives me a 000x20 error.
If that is the case i'm going to work on formatting the sprite sheet to load it properly. That Yveltal looks great.

Some Screenshots attached.
42526-73dd13e7778a8498d33a50162c30bb2e.jpg

42527-ed5faf49fb13cbbbc427eec9a2bcaec3.jpg

42528-87f329673d8ddcb00eef48f246d21b50.jpg


BTW, do you know if it is possible to take a screenshot of the 3DS of any running app? or you do it trough Citra?
 

Attachments

  • IMG_4194.JPG
    IMG_4194.JPG
    389.2 KB · Views: 383
  • IMG_4195.JPG
    IMG_4195.JPG
    504.4 KB · Views: 341
  • IMG_4196.JPG
    IMG_4196.JPG
    468.7 KB · Views: 327

supercarotte

Well-Known Member
Member
Joined
May 21, 2015
Messages
691
Trophies
0
Age
30
XP
948
Country
France
Hey @Gocario That came out real good!
Thanks for answer, already working on some custom wallpapers.
View attachment 43127

Now, I wasn't able to add the sprites sheet you posted. I guess is because it isn't formatted as the original one and when it tries to access a point it doesn't find it and gives me a 000x20 error.
If that is the case i'm going to work on formatting the sprite sheet to load it properly. That Yveltal looks great.

Some Screenshots attached.
42526-73dd13e7778a8498d33a50162c30bb2e.jpg

42527-ed5faf49fb13cbbbc427eec9a2bcaec3.jpg

42528-87f329673d8ddcb00eef48f246d21b50.jpg


BTW, do you know if it is possible to take a screenshot of the 3DS of any running app? or you do it trough Citra?

That looks great indeed ! You can take screenshots of anything launched through HBL by pressing the Home button, for CIA programs it depends which c
Cfw you're using but usually there is a plugin that allow you to take screenshots.
 

Leslie White

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
230
Trophies
0
Age
36
Location
Paris
XP
300
Country
France
Hi Gocario ! do you think it would be possible to add a feature allowing to rename the boxes from the bank ? As there are 100 of them, it could be helpful to find our pokemon faster ; thx for the answer
 

Xenosaiga

Time to switch it up
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
34
Location
The Shadows
XP
1,080
Country
United States
Hi Gocario ! do you think it would be possible to add a feature allowing to rename the boxes from the bank ? As there are 100 of them, it could be helpful to find our pokemon faster ; thx for the answer
If I remember correctly your boxes are named whatever they were in the game. As for the bank boxes... I think they can be renamed through hex editing.
 

KingBot

Active Member
Newcomer
Joined
Feb 6, 2016
Messages
44
Trophies
0
Age
31
XP
102
Country
Germany
Awesome Homebrew. Thank you very much. I absolutely do not going to use it to clone my pokemon. Maybe just try ? No I won´t.
;)
 

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France
Now, I wasn't able to add the sprites sheet you posted. I guess is because it isn't formatted as the original one and when it tries to access a point it doesn't find it and gives me a 000x20 error.
If that is the case i'm going to work on formatting the sprite sheet to load it properly. That Yveltal looks great.
I had to program something else, it's not romfs-only.
BTW, do you know if it is possible to take a screenshot of the 3DS of any running app? or you do it trough Citra?
Homebrew: HOME, then scrtool
CFW: NTR-CFW?
Hi Gocario ! do you think it would be possible to add a feature allowing to rename the boxes from the bank ? As there are 100 of them, it could be helpful to find our pokemon faster ; thx for the answer
Yeah, it's on my todo list, atm the names are already read/write to the bank file (the same for the background id), I just have to add a way to modify them within the app.
I absolutely do not going to use it to clone my pokemon. Maybe just try ? No I won´t.
Ye ye
 
  • Like
Reactions: Leslie White

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
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.
Awesome app dude. Been watching the progress on it for a while and plan to put it to use to get all my pokemon into one game. My only concern though.. you say it completes the pokedex when you import pokemon. Does it do this automatically, or do you have the option? Cause if it's going to auto complete my pokedex I don't think I'm going to use it.
 

pbanj

The "friendly" neighborhood sandwich
Member
Joined
Dec 29, 2014
Messages
2,759
Trophies
1
Location
in a ziploc
Website
pbanjin.space
XP
1,693
Country
United States
Awesome app dude. Been watching the progress on it for a while and plan to put it to use to get all my pokemon into one game. My only concern though.. you say it completes the pokedex when you import pokemon. Does it do this automatically, or do you have the option? Cause if it's going to auto complete my pokedex I don't think I'm going to use it.
I think it means it auto adds the Pokemon u are putting into the game. Not auto finishes it.

Also no need to quote the first post.
 

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
I think it means it auto adds the Pokemon u are putting into the game. Not auto finishes it.

Also no need to quote the first post.
Thanks for the info. Btw, when I'm on my phone its easier to quote than tag. Not like it takes much space on the page as the op is collapsed.
 

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
804
Country
France
Does it do this automatically, or do you have the option? Cause if it's going to auto complete my pokedex I don't think I'm going to use it.
If you transfer Mudkip from the Bank to the PC, the Mudkip entry will be added in the Pokédex of the save.
The forms are well handled by that too. :)
 

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
If you transfer Mudkip from the Bank to the PC, the Mudkip entry will be added in the Pokédex of the save.
The forms are well handled by that too. :)
Worked perfectly. Finished getting legendaries in X and had no problem moving everything to OR. Great work. Thank you.
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
So far, it has worked great. I was playing Pokemon Y with the all items cheat to see if it would give me Dive HM and it did not so I moved my Blastoise from Y to AS then learned Dive then sent it back to Y and it worked (although Y treats Dive as a TM so you can overwrite it without the Move Deleter, which is interesting). As an added bonus, this does not strip pokemon of all items like Pokemon Bank does.

Nintendo treats Pokemon Bank like an Airport on high security with the TSA making you remove all items before getting through security (and confiscating any items you can't fit in your bag should it be full).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/wZgjSNb-o4c?si=ajt4Lgq_LTYcXxs2 +1