Spoiler: Demonstration Videos Please note that these videos were recorded during testing and may not be entirely accurate to the final product.



Warning: If you have already installed this patch and are reinstalling it for the new color correction, you gotta back up your save, or else you might lose all of your progress!

INSTALLATION:

Dump your copy of either Pokemon Red, Blue, Yellow, or Green using Braindump. Once complete, eject the SD card, and find a file with a title ID and .cxi extension on the SD card. Take this .cxi to a safe place and write down the title ID somewhere. Download CTRTool, and then place it into the folder with the .cxi file. While in the folder, hold the SHIFT key and right click. You will see an option in the menu that appears called 'Open command window here'. Click on it. Type the following:

ctrtool --exefs=exefs.bin --romfs=romfs.bin PUTTITLEIDHERE.cxi

ctrtool --romfsdir=romfs romfs.bin Click to expand...

Get yourself a ROM image of the game that you want to use the patch for, and then put it somewhere safe. (GBC Pokemon game ROMs aren't too hard to find online nowadays ) Download the VC Patch Pack linked above. Locate the appropriate patch for your ROM, as well as for the language of your ROM. (For example, if you're using the German version of Crystal, you'd find 'germancrystal.bin.patch'.) Extract the appropriate patch and keep it somewhere safe with the ROM. Rename the ROM to match the patch NOT INCLUDING the .patch ending. Open up the extracted RomFS of your copy of Pokemon Red/Blue/Yellow/Green. Delete all of the files in the root of the RomFS with the extension of '.patch'. (This just saves space for the long run. You can skip this step if you want to.) Place the new '.patch' file from somewhere safe into the root of the RomFS. Go into the RomFS's 'rom' folder. Delete whatever file is inside and replace it with the ROM you have from somewhere safe. If you're going to be using Pokemon Gold and Silver, listen closely. Otherwise, skip ahead to Step 15. Go back to the root of the RomFS and open up the patch file in a text editor. Go to the very last patch at the bottom of the file. Decide now whether you want to play the game in DMG (Original Gameboy) mode or GBC (Gameboy Color) mode. If you want to play DMG mode, leave the patch as is and exit. Otherwise, change the "Fixcode" to 0x80. Exit out of the RomFS entirely and move into the ExeFS.

Find the 'code.bin' within the ExeFS. Using 3DSTool, decompress the code using the following command in CMD:

3dstool -uf code.bin --compress-type blz --compress-out decompressed_code.bin Click to expand...

Using a hex editor (doesn't matter which one), go to address 0x96EB7 and change the value to 0xE1. Save, and then recompress the code using this command in CMD:

3dstool -zf decompressed_code.bin --compress-type blz --compress-out code.bin Click to expand...

Your 'code.bin' has now been fixed so that colors display properly. Go ahead and delete 'decompressed_code.bin' and copy 'code.bin' to somewhere safe.

Rebuild your RomFS using the RomFS Builder in Pack Hack. (you need to open up SetupUS.exe, and then HackingToolkit3DS.exe, and in HackingToolkit3DS.exe type RFSB) Export the newly built RomFS with a name of the last 8 digits of the Title ID you were supposed to write down earlier and the extension of '.romfs'. If you don't already have it, make a folder called 'hans' on the root of your SD, and then copy the build .romfs file into said folder. Take the 'code.bin' from earlier and rename it to the last 8 digits of the Title ID you were supposed to write down, along with the extension of '.code'. Copy this to the 'hans' folder on the SD card, as well.

Eject your SD card, put it back into the 3DS, and load up the Homebrew Launcher. Run HANS, selecting the Pokemon game that you dumped earlier. On the HANS menu, change the 'RomFS' option to 'YES', change the 'Code' option to 'YES', and then boot into the game. (You're probably going to want to save the configuration for later)

that ISO site" with the new patch already implemented, as well as professional banners and everything. So, if you're interested, keep your eyes peeled. As a small note, if all of this seems like too much work, never fear! My man @Traiver will be releasing .CIA versions of Pokemon Gold, Silver, Crystal, and Bronze onto "" with the new patch already implemented, as well as professional banners and everything. So, if you're interested, keep your eyes peeled.

TROUBLESHOOTING:

CREDITS:

@TheStoneBanana (me!) for researching and writing the new patch for Pokemon Crystal.

@Pandaxclone2, @darkalex004, and @Traiver for testing the original patch(es) to death.

@Traiver for porting my original patch to Pokemon Silver, Gold, and the Bronze ROM hack, as well as porting it to support other languages.