pokecrystal-board/INSTALL.md
2016-01-31 18:42:32 -05:00

1.4 KiB

The source files are assembled into a rom using rgbds. These instructions explain how to set up the tools required to build.

Linux

Python 2.7 is required.

sudo apt-get install make gcc bison git python python-pip
pip install pypng

git clone https://github.com/bentley/rgbds
cd rgbds
sudo make install
cd ..

git clone --recursive https://github.com/pret/pokecrystal
cd pokecrystal

To build pokecrystal.gbc:

make

Mac

In Terminal, run:

xcode-select --install
sudo easy_install pypng

git clone https://github.com/bentley/rgbds
cd rgbds
sudo make install
cd ..

git clone --recursive https://github.com/pret/pokecrystal
cd pokecrystal

To build pokecrystal.gbc:

make

Windows

To build on Windows, use Cygwin. Use the default settings.

In the installer, select the following packages: make git python python-setuptools gcc-core libsasl2-3 ca-certificates

Then get the most recent version of rgbds. Extract the archive and put rgbasm.exe, rgblink.exe and rgbfix.exe in C:\cygwin\usr\local\bin.

In the Cygwin terminal:

lynx -source bootstrap.pypa.io/get-pip.py | python
pip install pypng

git clone --recursive https://github.com/pret/pokecrystal
cd pokecrystal

To build pokecrystal.gbc:

make