Homebrew [Release] pkmn-chest, a Pokémon bank for the Nintendo DS(i)

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
The website is offline, and the screenshots are broken... That's not a very good sell.
Oh, oops, I just redesigned the whole website recently and I guess I forgot to update the links and images, I just fixed now.
yeayy i will trimy it now !!!!
I hope everything's properly fixed, I don't have a flashcard to test with myself, so I can only test with DS mode nds-bootstrap, it was all seemed good there though so I think it should all be working :yay: (hopefully :P)
 
  • Like
Reactions: Jayro

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
I hope everything's properly fixed, I don't have a flashcard to test with myself, so I can only test with DS mode nds-bootstrap, it was all seemed good there though so I think it should all be working :yay: (hopefully :P)
These all perfectly works !! thanks !
and bye-bye to self-transfer :rofl2:
one of the best thing is i cant move gen 5 pokemon to gen 4 which is obviously not exists in its database (sprites, infos, etc...)

i attached 4 files of screen shot using my DSi XL :D
 

Attachments

  • IMG_20191228_162607.jpg
    IMG_20191228_162607.jpg
    693.4 KB · Views: 319
  • IMG_20191228_162519.jpg
    IMG_20191228_162519.jpg
    536.8 KB · Views: 251
  • IMG_20191228_162528.jpg
    IMG_20191228_162528.jpg
    817.8 KB · Views: 257
  • IMG_20191228_162536.jpg
    IMG_20191228_162536.jpg
    666.3 KB · Views: 269
  • Like
Reactions: Pk11
v1.1

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
New release for the new decade!
Pokémon Chest v1.1 is now available!

:download: Download .nds or .cia
:arrow: GitHub Release
:arrow: Download Center

What's new:
  • Added Party Pokémon management from within the box screen
    • This means you can now move Pokémon to / from the party
    • Also removed the Party menu from the X Menu
  • You can now type using the buttons
    • Controlled with D-Pad + face buttons with L/R for modifiers
    • Letter arrangement and 4 / 8 direction modes configurable in settings
  • You can now type Hangul
    • The input should work exactly the same as macOS 10.14's 2-Set Hangul input, including combining things into groups of 3+ letters, but as many of the more complex letter groups aren't in the font they won't show, once you type the next letter to split it out it'll show back up, though (ex. `퐄` won't show, but on typing `ㅔ` it'll split to `포케`)
  • A preview of the flick character is now shown on 10-key keyboards
  • The missing letters from Lithuanian and Russian have been added
    • Cyrillic was completely redesigned to better match the style of the Latin letters
  • You can now browse in subdirectories when injecting from pk* files
  • You can now edit the items in your bag!
  • You can now filter Pokémon based on types, stats, etc
  • You can now sort Pokémon based on types, stats, etc
  • Added a notice to close and reopen the console if saving freezes
Changes:
  • Changing `つ`'s form now goes `つ`→`っ`→`づ` instead of `つ`→`づ`→`っ`
  • Slot-1 isn't scanned when a flashcard is being used
    • Fixes some flashcards such as the R4i Gold 3DS Plus
  • The kerning on many characters have been improved
  • Light background lists now have dark backgrounds so as not to need two graphics for lists
  • Config has been changes to use a `.json` file instead of a `.ini`
    • This means your settings from v1.0 won't be able to be loaded
  • Switched background graphics to use 256 color layers and graphics
    • This means flashcards and DSi SD can now both use all graphics as it freed up a lot of RAM
  • Added Indonesian translation
Bug fixes:
  • Fixed type images being in the wrong language sometimes
  • Fixed non-base stats being in the wrong order
  • Fixed the last move / Pokémon / item / etc not showing in lists sometimes
  • Fixed now clearing the release Pokémon prompt when clicking with touch
Side notes:
  • Nightly builds are available in the extras repo & releases.
  • Report any bugs you find here or in this thread, and you can join our Discord server here.
  • Happy new year :toot:!
 
Last edited by Pk11,
  • Like
Reactions: Zense and cimo95

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
Hey, how about adding custom background and music, like, user can choose their own theme for font colors, top and bottom background images and even bgm :yaynds:
 
  • Like
Reactions: Pk11

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
Hey, how about adding custom background and music, like, user can choose their own theme for font colors, top and bottom background images and even bgm :yaynds:
Hmm, loading custom files should be pretty easy, making the themes would be a bit annoying since I use a special image format to make loading in 256 color mode on the DS easier. (this is the converter I made for 16 color BMP files (which only works on unix-based systems iirc))

I'll try add that within the next few days or so, if other people (especially on windows where my converter doesn't work iirc ;P) are going to be making images for it I should probably rewrite that converter though :P
 

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
Hmm, loading custom files should be pretty easy, making the themes would be a bit annoying since I use a special image format to make loading in 256 color mode on the DS easier. (this is the converter I made for 16 color BMP files (which only works on unix-based systems iirc))

I'll try add that within the next few days or so, if other people (especially on windows where my converter doesn't work iirc ;P) are going to be making images for it I should probably rewrite that converter though :P
(yeah using unix system is easier for homebrew writting B-))

what kind of color map do you use? a 555 or 565?
it'll be great if it also available for windows, at least, i can port it to pascal so i can made the windows pc tool to build the theme maker that match with your alhorythm of course, but for easiest use, better use normal zlib first :O

i have made image converter for Twilight Menu++'s DSi Theme top screen wallpaper, it use X1 R5 G5 B5, which is a 555 16 bit image :unsure:, so if you would, i can help with it :D

edit : whoa, after i read the script, it seems you directly store the image into nds file (thats too expert for me :lol: ) . keep a file with theme packed and extract them first to temp folder then use it when pkmn-chest running, it would be easier for me, :wacko:
 
Last edited by cimo95,
  • Like
Reactions: Pk11

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
(yeah using unix system is easier for homebrew writting B-))

what kind of color map do you use? a 555 or 565?
it'll be great if it also available for windows, at least, i can port it to pascal so i can made the windows pc tool to build the theme maker that match with your alhorythm of course, but for easiest use, better use normal zlib first :O

i have made image converter for Twilight Menu++'s DSi Theme top screen wallpaper, it use X1 R5 G5 B5, which is a 555 16 bit image :unsure:, so if you would, i can help with it :D
The files are:
4 bytes ".GFX" (header to identify that its the right format)
2 bytes width
2 bytes height
width*height bytes bitmap (indexed, 8bpp)
2 bytes palette size
2 bytes palette offset (the palette can be offset in the bitmap so as to make draws easier, this tells the app which palette slot to start at, in the repo the .txt files by the .bmp's tell it how much to offset that image by)
palette size*2 bytes palette (16 bits per color, ABGR5 (ABBBBBGGGGGRRRRR), A = alpha = 1 show, 0 transparent)

If you'd like to make a windows app for making themes that'd be cool :yay:
I'll probably have it read all the files in the positions they're currently stored in NitroFS:

├── arrowBlue.gfx
├── arrowRed.gfx
├── arrowYellow.gfx
├── ballSheet.gfx
├── box
│ ├── b2w2
│ │ ├── 16.gfx
│ │ ├── 17.gfx
│ │ ├── 18.gfx
│ │ ├── 19.gfx
│ │ ├── 20.gfx
│ │ ├── 21.gfx
│ │ ├── 22.gfx
│ │ └── 23.gfx
│ ├── bw
│ │ ├── 0.gfx
│ │ ├── 1.gfx
│ │ ├── 10.gfx
│ │ ├── 11.gfx
│ │ ├── 12.gfx
│ │ ├── 13.gfx
│ │ ├── 14.gfx
│ │ ├── 15.gfx
│ │ ├── 16.gfx
│ │ ├── 17.gfx
│ │ ├── 18.gfx
│ │ ├── 19.gfx
│ │ ├── 2.gfx
│ │ ├── 20.gfx
│ │ ├── 21.gfx
│ │ ├── 22.gfx
│ │ ├── 23.gfx
│ │ ├── 3.gfx
│ │ ├── 4.gfx
│ │ ├── 5.gfx
│ │ ├── 6.gfx
│ │ ├── 7.gfx
│ │ ├── 8.gfx
│ │ └── 9.gfx
│ ├── chest.gfx
│ ├── dp
│ │ ├── 0.gfx
│ │ ├── 1.gfx
│ │ ├── 10.gfx
│ │ ├── 11.gfx
│ │ ├── 12.gfx
│ │ ├── 13.gfx
│ │ ├── 14.gfx
│ │ ├── 15.gfx
│ │ ├── 16.gfx
│ │ ├── 17.gfx
│ │ ├── 18.gfx
│ │ ├── 19.gfx
│ │ ├── 2.gfx
│ │ ├── 20.gfx
│ │ ├── 21.gfx
│ │ ├── 22.gfx
│ │ ├── 23.gfx
│ │ ├── 3.gfx
│ │ ├── 4.gfx
│ │ ├── 5.gfx
│ │ ├── 6.gfx
│ │ ├── 7.gfx
│ │ ├── 8.gfx
│ │ └── 9.gfx
│ ├── hgss
│ │ ├── 16.gfx
│ │ ├── 17.gfx
│ │ ├── 18.gfx
│ │ ├── 19.gfx
│ │ ├── 20.gfx
│ │ ├── 21.gfx
│ │ ├── 22.gfx
│ │ └── 23.gfx
│ └── pt
│ ├── 16.gfx
│ ├── 17.gfx
│ ├── 18.gfx
│ ├── 19.gfx
│ ├── 20.gfx
│ ├── 21.gfx
│ ├── 22.gfx
│ └── 23.gfx
├── boxBgTop.gfx
├── boxButton.gfx
├── font.nftr (This is the font file in nintendo's NFTR format)
├── icon.gfx
├── infoBox.gfx
├── keyboardKana.gfx
├── keyboardKey.gfx
├── keyboardQWE.gfx
├── listBg.gfx
├── menuBg.gfx
├── menuButton.gfx
├── menuButtonBlue.gfx
├── menuIconSheet.gfx
├── party.gfx
├── pokemon.combo.gfx (This is all the Pokémon sprites in the same gfx format, but concatnated into a single file in national dex order)
├── search.gfx
└── shiny.gfx
 
Last edited by Pk11,
  • Like
Reactions: cimo95

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
Wow so they're in ABGR15 which also used in YSMenu text color :O, perfect !
i must try to seek each of item then :unsure:
btw, is a .gfx file is actually a bitmap or else?

i ask your permission to explore the nds file so i can map the address :lol::grog::grog:
 
  • Like
Reactions: Pk11

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
Wow so they're in ABGR15 which also used in YSMenu text color :O, perfect !
Yeah, that's what the DS uses for 16-bit bitmaps / index palettes, so its the easiest color format to work with on the DS.

i must try to seek each of item then :unsure:
I'm not really sure what you mean with this? :unsure:
Find where the files are in the .nds?
It's just in NitroFS so there's a few tools that can mount the nds and explore it, or if you just build the app it'll build all the images to the nitrofiles/graphics/ directory.

btw, is a .gfx file is actually a bitmap or else?
.gfx is the format I described:
The files are:
4 bytes ".GFX" (header to identify that its the right format)
2 bytes width
2 bytes height
width*height bytes bitmap (indexed, 8bpp)
2 bytes palette size
2 bytes palette offset (the palette can be offset in the bitmap so as to make draws easier, this tells the app which palette slot to start at, in the repo the .txt files by the .bmp's tell it how much to offset that image by)
palette size*2 bytes palette (16 bits per color, ABGR5 (ABBBBBGGGGGRRRRR), A = alpha = 1 show, 0 transparent)
It has the size, bitmap, and palette
i ask your permission to explore the nds file so i can map the address :lol::grog::grog:
Feel free to mess with it to try swap up the graphics or so, the easiest way is just to edit the .bmp files and rebuild it.
I'm not sure why you'd need to find the addresses in the rom or so since you can just build the app with different images :P
 
  • Like
Reactions: cimo95

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
Yeah, that's what the DS uses for 16-bit bitmaps / index palettes, so its the easiest color format to work with on the DS.
Perfect, so i can work with it now :D

I'm not really sure what you mean with this? :unsure:
Find where the files are in the .nds?
It's just in NitroFS so there's a few tools that can mount the nds and explore it, or if you just build the app it'll build all the images to the nitrofiles/graphics/ directory.
So that :wtf:, i will look for it then, and of course im using a NitroExplorer, i wonder if there's CLI version of it :unsure:

.gfx is the format I described:
Yes, yes i just understand now sorry :lol:

Feel free to mess with it to try swap up the graphics or so, the easiest way is just to edit the .bmp files and rebuild it.
I'm not sure why you'd need to find the addresses in the rom or so since you can just build the app with different images
No, no.. i just thought that the address mapping is more easier until i realized that .nds itself is a packed file so its very hard to seek :rofl:, i, better, reading your script from beginning and (since im weak on C / C++) i will try to look for how to make user change the theme easier, I thought this because its extremely funny, since this tool si massively change how people exchange their pokemons

For example, you just need to play Black and White on the same console to exchange Reshiram and Zekrom, etc... this tool is help alot, so i think the developers need add more and more features in it !. Like... online exchange maybe? wow thats beyond Pokemon Banks :wtf::wtf::wtf::wtf::wtf:
 
  • Like
Reactions: Pk11

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
In my latest commit I added (WIP) custom theme support, it only does images right now (not text colors), but I added a selector in the settings menu and all the image loading should be working fine (though it only loads the new images after a reboot currently)
Ex: of a very high effort edit
image.png


Auto build: https://github.com/Universal-Team/extras/releases/tag/v20200101-082103

Edit: (I'll probably do the text colors and stuff tomorrow, I've got to get to sleep for now today :P)
 
  • Like
Reactions: banjo2

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
You better get sleep soon man,
this options is good, i'll keep watching on your update !!

sleep in peace :rofl2::toot:
 

Pk11

A catgirl with a DSi
OP
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,896
Country
United States
You better get sleep soon man,
this options is good, i'll keep watching on your update !!

sleep in peace :rofl2::toot:
I've got loading colors for text (and other things that use solid colors) in the latest commit (auto build), and I also threw together a quick guide on the wiki (the theme.json page has an example of what it needs).

Oh and it now reloads the images and colors when you choose a theme so you don't need to reboot the app anymore to reload the theme :P

Edit: Updated the auto build link since I accidentally made it skip the Pokémon sprites in the previous build :unsure:
 
Last edited by Pk11,

cimo95

Stupid troubleshooter
Member
Joined
Oct 30, 2019
Messages
158
Trophies
0
Location
null
XP
615
Country
Antarctica
I've got loading colors for text (and other things that use sonzlid colors) in the latest commit (auto build), and I also threw together a quick guide on the wiki (the theme.json page has an example of what it needs).

Oh and it now reloads the images and colors when you choose a theme so you don't need to reboot the app anymore to reload the theme :P
Thats super cool !! i will try it soon !! :grog:
 
  • Like
Reactions: Pk11

boyfriendcoma

Well-Known Member
Newcomer
Joined
Jun 15, 2014
Messages
51
Trophies
0
XP
411
Country
United States
Oh gosh, @Pk11, I can't begin to tell you how much time and energy this has begun to save me. I was using pkhex on an old old Mac and wanted to cry, but this has been wonderful.

My first attempt at "dumping" a box or chest seemed to do nothing, there were no visual changes to speak of, nor migration of pkmn from chest to box or otherwise. My hope was to migrate an entire box from a save, to the chest, to a different save. I'm sure this isn't meant to be a one-by-one process, (which is all I could think to do), so I'm hoping you might fill me in on the solution, or direct me to instructions as the readme file had none.

I'm using this on an R4i 3ds gold + card with a DSi xl, if that makes any difference. Thanks for any help, and especially for all your hard work!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: how are you doing @K3Nv2