2.2 KiB
The source files are assembled into a rom using rgbds. These instructions explain how to set up the tools required to build.
If you run into trouble, ask on irc (freenode#pret).
NOTICE
Currently the repository requires prebuilt copies of Pokémon Gold and Pokémon Silver. You can find their MD5sums in README.md. Due to legal issues, we are unable to provide direct links to these ROMs, but a quick Google search should point you in the right direction.
You will need to rename the GOLD ROM to baserom-gold.gbc and the SILVER ROM to baserom-silver.gbc in order to build the respective version of the game.
Linux
Python 2.7 is required.
sudo apt-get install make gcc bison git python
git clone https://github.com/bentley/rgbds
cd rgbds
sudo make install
cd ..
git clone --recursive https://github.com/pikalaxalt/pokegold
cd pokegold
To build pokegold.gbc:
make gold
To build pokesilver.gbc:
make silver
To build both ROMs:
make
Mac
In Terminal, run:
xcode-select --install
git clone https://github.com/bentley/rgbds
cd rgbds
sudo make install
cd ..
git clone --recursive https://github.com/pikalaxalt/pokegold
cd pokegold
To build pokegold.gbc:
make gold
To build pokesilver.gbc:
make silver
To build both ROMs:
make
Windows
To build on Windows, install Cygwin with the default settings.
In the installer, select the following packages: make git python gettext
Then get the most recent version of rgbds.
Extract the archive and put rgbasm.exe, rgblink.exe and rgbfix.exe in C:\cygwin64\usr\local\bin.
In the Cygwin terminal:
git clone --recursive https://github.com/pikalaxalt/pokegold
cd pokegold
To build pokegold.gbc:
make gold
To build pokesilver.gbc:
make silver
To build both ROMs:
make
notes
- If
gettextno longer exists, grablibsasl2-3ca-certificates.