pokered/INSTALL.md

61 lines
1.2 KiB
Markdown
Raw Normal View History

2013-12-08 21:02:25 +00:00
# Linux
2015-10-25 07:20:24 +00:00
sudo apt-get install make gcc bison git python python-pip
sudo pip install pypng
2013-12-08 21:02:25 +00:00
2015-10-25 07:21:27 +00:00
git clone https://github.com/bentley/rgbds
cd rgbds
sudo make install
cd ..
2013-12-08 21:02:25 +00:00
2015-10-25 07:21:27 +00:00
git clone --recursive https://github.com/pret/pokered
2013-12-08 21:02:25 +00:00
cd pokered
To build **pokered.gbc** and **pokeblue.gbc**:
2013-12-08 21:02:25 +00:00
make
2013-12-08 21:02:25 +00:00
To build them individually:
2013-12-08 21:02:25 +00:00
make red
make blue
2013-12-08 21:02:25 +00:00
2015-02-07 19:20:25 +00:00
# Mac
2013-12-08 21:02:25 +00:00
2015-10-25 07:20:24 +00:00
In **Terminal**, run:
2014-11-07 07:13:35 +00:00
xcode-select --install
2015-02-07 19:20:25 +00:00
sudo easy_install pypng
2014-11-07 07:13:35 +00:00
2015-10-25 07:21:27 +00:00
git clone https://github.com/bentley/rgbds
2015-02-07 19:20:25 +00:00
cd rgbds
sudo make install
cd ..
2013-12-08 21:02:25 +00:00
2015-10-25 07:21:27 +00:00
git clone --recursive https://github.com/pret/pokered
2015-02-07 19:20:25 +00:00
cd pokered
2013-12-08 21:02:25 +00:00
2015-02-07 19:20:25 +00:00
make
2013-12-08 21:02:25 +00:00
2015-02-07 19:20:25 +00:00
# Windows
2013-12-08 21:02:25 +00:00
2015-10-25 07:20:24 +00:00
To build on Windows, use [**Cygwin**](http://cygwin.com/install.html). Use the default settings.
2015-02-07 19:20:25 +00:00
Then get the most recent version of [**rgbds**](https://github.com/bentley/rgbds/releases/).
2015-10-25 07:20:24 +00:00
Extract the archive and put `rgbasm.exe`, `rgblink.exe` and `rgbfix.exe` in `C:\cygwin\usr\local\bin`.
2015-02-07 19:20:25 +00:00
In the **Cygwin terminal**:
2015-10-25 07:20:24 +00:00
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
2015-10-25 07:21:27 +00:00
git clone --recursive https://github.com/pret/pokered
2015-02-07 19:20:25 +00:00
cd pokered
2013-12-08 21:02:25 +00:00
make