kep-hack/INSTALL.md
2015-10-25 03:21:27 -04:00

61 lines
1.2 KiB
Markdown

# Linux
sudo apt-get install make gcc bison git python python-pip
sudo pip install pypng
git clone https://github.com/bentley/rgbds
cd rgbds
sudo make install
cd ..
git clone --recursive https://github.com/pret/pokered
cd pokered
To build **pokered.gbc** and **pokeblue.gbc**:
make
To build them individually:
make red
make blue
# 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/pokered
cd pokered
make
# Windows
To build on Windows, use [**Cygwin**](http://cygwin.com/install.html). Use the default settings.
Then get the most recent version of [**rgbds**](https://github.com/bentley/rgbds/releases/).
Extract the archive and put `rgbasm.exe`, `rgblink.exe` and `rgbfix.exe` in `C:\cygwin\usr\local\bin`.
In the **Cygwin terminal**:
install $(lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg) /bin
apt-cyg install make git python gettext
lynx -source bootstrap.pypa.io/get-pip.py | python
pip install pypng
git clone --recursive https://github.com/pret/pokered
cd pokered
make