A collection of pokewalker-related scripts.
- img_to_bin.py -- Converts a 64x48 or 64x96 image (2 images that animate) into the format used by the pokewalker
- slice_image.py -- Slices up the image into the 2 shades and into a 64x8 chunks
- img_to_txt.py -- Converts the image into a binary string
- txt_to_bin.py -- Converts the binary string into raw sprite format used by the pokewalker
- bin_to_img.py -- Does the reverse
- sprite_dump.py -- Runs bin_to_img.py over a dumped a/2/5/6 package to get all the sprites.
- Pillow -- For image processing (basically all of the image-related scripts)
- Ndspy -- For rom/narc traversal (scrape.py)
Just install them with pip.
Getting custom sprites onto the pokewalker:
- Get a 64x48 4 color image where the colors are #000000, #404040, #808080 and #FFFFFF
- Run img_to_bin.py to convert it into a binary file.
- Use Tinke to replace the desired sprite at a/2/5/6 (id is the pokedex id minus 1, so Bulbasaur is 0 for example)
- Save your ROM and run it via TWiLightMenu while having a cart that has IR plugged into slot 1.
- Send the Pokemon whose sprite you replaced to the walker.
- Done.
There's a demo of a custom sprite on a walker here.
Note: For problems with getting the IR to work with custom roms you should ask the people that made it, I really can't help you with that. You can try this or this.
If you can, use a legit HGSS cart for the IR, since that's pretty much always going to work. Also only HG was checked so far.
Dumping sprites from a/2/5/6:
- Get your backup of HGSS.
- Open it up in Tinke and navigate to a/2/5/6.
- Extract the package.
- Run sprite_dump.py over it.