pokered/INSTALL.md

74 lines
1.5 KiB
Markdown
Raw Normal View History

2013-12-08 21:02:25 +00:00
# Linux
Dependencies:
2013-12-09 01:13:10 +00:00
2013-12-08 21:02:25 +00:00
sudo apt-get install make gcc bison git python python-setuptools
sudo easy_install pip
2013-12-08 21:02:25 +00:00
The assembler used is [**rgbds**](https://github.com/bentley/rgbds).
2013-12-08 21:02:25 +00:00
git clone git://github.com/bentley/rgbds.git
cd rgbds
sudo mkdir -p /usr/local/man/man{1,7}
sudo make install
cd ..
rm -rf rgbds
Set up the repository.
2013-12-08 21:02:25 +00:00
git clone git://github.com/iimarckus/pokered.git
cd pokered
git submodule init
git submodule update
sudo pip install -r extras/requirements.txt
To build **pokered.gbc** and **pokeblue.gbc**:
2013-12-08 21:02:25 +00:00
make
2013-12-08 21:02:25 +00:00
This should take about 10 seconds. Subsequent builds are faster.
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
# OS X
2013-12-08 21:02:25 +00:00
2014-11-07 07:13:35 +00:00
In the shell, run:
xcode-select --install
Then follow the Linux instructions.
2013-12-08 21:02:25 +00:00
# Windows
2013-12-08 21:02:25 +00:00
It's recommended that you use a virtual machine running Linux or OS X.
2013-12-08 21:02:25 +00:00
If you insist on Windows, use [**Cygwin**](http://cygwin.com/install.html) (32-bit).
2013-12-08 21:02:25 +00:00
Dependencies are downloaded in the installer rather than the command line.
Select the following packages:
* make
* git
* gettext
* python
* python-setuptools
2013-12-08 21:02:25 +00:00
2015-01-24 14:14:23 +00:00
The latest version of **rgbds** is [**0.2.2**](https://github.com/bentley/rgbds/releases/download/v0.2.2/rgbds-0.2.2-win32.zip). To install, put `rgbasm.exe`, `rgblink.exe` and `rgbfix.exe` in `C:\cygwin\usr\local\bin`.
Then set up the repository. In the **Cygwin terminal**:
git clone git://github.com/iimarckus/pokered.git
cd pokered
git submodule init
git submodule update
2014-11-06 21:24:32 +00:00
easy_install pypng
To build:
2013-12-08 21:02:25 +00:00
make
2013-12-08 21:02:25 +00:00