This script injects a .sav file from English bootleg versions of Pokemon on Gameboy / Gameboy Color cartridges, into the relevant .gbc ROM file.
Reproduction (bootleg) Pokemon games from Generation I & II can be purchased on AliExpress.
These cartridges don't save the game data into the SRAM, and they don't have a battery like authentic cartridges.
They come with ROMs that are patched to save the game somewhere in the ROM, along with the ROM data.
This is different from authentic cartridges, and for this reason it is not possible to just backup or write a save file using GBxCart RW.
My script takes the .sav file (for either Pokemon Crystal / Yellow / Red / Blue), and then injects it into the ROM (should be extracted to PC beforehand).
Now, it is possible to re-write any save file into the ROM.
- You will need to run this script in Linux, I haven't tested it on WSL (Windows Subsystem for Linux).
- You will need some way to extract the .gbc ROM file from the cartridge, I suggest getting a GBxCart RW, a knock-off RGR from AliExpress, or something similar.
- IMPORTANT NOTE: To get a functional ROM you will need to signal the dumping software (e.g. FlashGBX) to over-dump the ROM (tell the software to backup 4mb instead of what size is automatically detected).
- Some Gameboy emulator to generate a .sav file (optional, maybe you want to inject some other .sav file)
- No installation required - just copy the "bootleg_sav_inj" file to your machine.
Place the bootleg_sav_inj file in a folder along with the .sav file you want to inject, and with the .gbc file you want to inject into.
No need to plug in any hardware! The script works on the files, you inject them later with software like FlashGBX.
Open terminal and type the following:
sudo ./bootleg_sav_inj <save_filename_here> <rom_filename_here>Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
This software is was developed by paucake as a hobby project. There is no direct / indirect afflilation with Nintendo, AliExpress, or any other company or developer. This software is provided as-is and the developer is not responsible for any damage that is caused by the use of it. Use at your own risk! You are encouraged to read the script yourself to make sure you are comfortable with what is running on your machine.
Isaac - ledgermeister@protonmail.ch