Homebrew [WIP] PHBankGB - Pokémon Homebrew Bank GB (R/B/Y)

Gocario

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


PHBankGB is a homebrew which allows to manage a local bank for Red/Blue/Yellow, and in the future will handle the japanese titles.

The source code will be available later, and the resources are available on github too.

What this Homebrew can do:
  • Work on o3ds and n3ds, with a CFW!
  • Navigate through the PC boxes of a 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.
  • Autocomplete the Pokédex when importing Pokémon to a gamesave.
  • Export/Import the savedata directly to/from the game, without the need of external tools (/sav.dat).
  • Load/Save the bankdata to/from the bank, located in the SD card (/pk/bank/bankgb).

How to install it:
  • Just extract the archive at (to?) the root of your SD card.
  • It must contains:
    • The cia installer /cia/PHBankGB.cia
    • The data files /pk/[DataFiles].
  • Install /cia/PHBankGB.cia using FBI/BBM/etc.

Controls:
Movement
  • 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.
    • Drag & Drop Pokémon.
    • /!\ Don't move any Pokémon to a locked slot, it will be lost /!\
  • Start: Save and return to the title selector.
Selection
  • A: Select Pokémon / Move Pokémon if one is already selected.
  • B: Cancel selection.
Todo List:
  • Implement the multiple selection...
  • Fix the touch screen locked slot bug.
  • Build a move database for the max PP.
  • When moving Pokémon with the DPad/A, switch the held Pokémon.
  • Add an export feature, to export to Gen VI.
Please report any bug you find.

Screenshots said:
ss+(2016-03-09+at+09.18.25).png

Thanks to @suloku for all his work on the project.
Thanks to @Kaphotics, @SciresM (and #projectpokemon) for their help.
Thanks to @Chamber_ @Solo993 @BlueEmerald @Lake @Neslug @Pikachu25 @Ryta from hax.iimarck.us for the pokémon icons.
Thanks to @xerpi (and SF2D/SFIL's contributors) for the graphic library.
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! (use JKSM or SDF)


Alpha v1.0.1:
- Inital αlpha-release.
Alpha v1.0.1-a:
- Rewrite the drag and drop checks.
Alpha v1.0.1-b/c/d:
- Bug fixes.

Alpha v1.0.2:
- Bug fixes.
Alpha v1.0.2-a:
- Save read from sdmc
 

Attachments

  • PHBankGB-1.0.1-alpha-d.rar
    560.9 KB · Views: 1,704
  • PHBankGB-1.0.2-alpha.rar
    1 MB · Views: 1,808
  • PHBankGB-v1.0.2-beta-a.rar
    1.5 MB · Views: 6,817
Last edited by Gocario,

Patxinco

Riding a Shooting Star
Member
Joined
Apr 18, 2011
Messages
830
Trophies
0
XP
1,702
Country
Spain
Ow well, error summoned:
Problem happened: 0x4
PHBankVersion: 010001a0
Can't start the viewer

Something that i did wrong?
 

Patxinco

Riding a Shooting Star
Member
Joined
Apr 18, 2011
Messages
830
Trophies
0
XP
1,702
Country
Spain
Well, something gone wrong transfering from red to yellow
 

Attachments

  • IMAG0649.jpg
    IMAG0649.jpg
    481.4 KB · Views: 1,912
  • IMAG0648.jpg
    IMAG0648.jpg
    730.5 KB · Views: 1,646
  • IMAG0647.jpg
    IMAG0647.jpg
    620.5 KB · Views: 1,613
  • IMAG0645.jpg
    IMAG0645.jpg
    892.2 KB · Views: 1,672
  • IMAG0646.jpg
    IMAG0646.jpg
    733.4 KB · Views: 1,680

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
783
Country
France
Well, something gone wrong transfering from red to yellow
Which games? Which Region? Which Languages?
Could you reproduce that?
Can you reproduce that while transfering from red to bank, saving, from bank to red only?
Can you reproduce that while transfering from yellow to bank, saving, from bank to yellow only?
 

Patxinco

Riding a Shooting Star
Member
Joined
Apr 18, 2011
Messages
830
Trophies
0
XP
1,702
Country
Spain
Which games? Which Region? Which Languages?
Could you reproduce that?
Can you reproduce that while transfering from red to bank, saving, from bank to red only?
Can you reproduce that while transfering from yellow to bank, saving, from bank to yellow only?
OK, by order:
1/2/3. Red/Yellow Spanish Version (Legit, redownloaded from eShop) (but strangely Yellow showed me "Gualdo" as a possible name for my starter
4. I don't even know how it happened, dunno how to reproduce, but i made a backup of the bank archive, so they should be ok in that one.
5/6. I'll try.

@Gocario Well, dunno how, but now they are all ok, no bugs so far, the only thing i could think of being a problem, could be that i didn't catch any pokemon before transfering the pokemons to Yellow version.
Soo, had the pokedex, but didn't catch any pokemon before, maybe is just that.
 
Last edited by Patxinco, , Reason: Results

Patxinco

Riding a Shooting Star
Member
Joined
Apr 18, 2011
Messages
830
Trophies
0
XP
1,702
Country
Spain
@Patxinco, would you mind sending me your clean backups?
Well, there's gonna be a problem, didn't thought of transfering back the bugged pokes to the bank, and deleted from Yellow directly, i could send you the backup that used to transfer to Yellow the first time if that helps.
 

Attachments

  • BankGB.rar
    1.1 KB · Views: 463

Gocario

GBAFail'd
OP
Member
Joined
Sep 5, 2015
Messages
640
Trophies
0
Location
Bourg Palette
XP
783
Country
France
Any plans on supporting FR/LG?
There is no FR/LG VC release afaik.
Moves aren't displaying correctly for me.
NijEuFr.png

YhUQvoe.png
Well, moves names are shifted by one, I'll fix that. ;)
Well, there's gonna be a problem, didn't thought of transfering back the bugged pokes to the bank, and deleted from Yellow directly, i could send you the backup that used to transfer to Yellow the first time if that helps.
Does it fix itself? Or there is still problem?
Also "no Pokémon caught" can lead to a problem..? Can you try again with a further progress?
When I said the backup, I was speaking about the sav.dat that you should dump using JKSV/SDF. :3
 
  • Like
Reactions: Michu

Patxinco

Riding a Shooting Star
Member
Joined
Apr 18, 2011
Messages
830
Trophies
0
XP
1,702
Country
Spain
Does it fix itself? Or there is still problem?
Also "no Pokémon caught" can lead to a problem..? Can you try again with a further progress?
When I said the backup, I was speaking about the sav.dat that you should dump using JKSV/SDF. :3
When transfered again for second time, they showed correctly, as they should.
I think that no pokemon caught was a problem, but i could try to make a new game and dump sav.dat before and try to do it again same way i did. This will take a time, i'll report later on.

Edit: Bank files are in my last post.
 
General chit-chat
Help Users
    AliceCE @ AliceCE: all colors kick off, and everything is rendered in black and white