pokepinball/INSTALL.md
2017-07-07 22:46:11 +02:00

1.5 KiB

Linux

Dependencies:

sudo apt-get install make gcc bison git python python-setuptools
sudo easy_install pip

The assembler used is rgbds.

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.

git clone git://github.com/huderlem/pokepinball.git
cd pokepinball
git submodule init
git submodule update

To build pokepinball.gbc:

make

This will take a few second the first time you build because it needs to process all of the graphics.

To remove all generated files by the build process:

make clean

To compare the built pokepinball.gbc to the original ROM:

make compare

OS X

In the shell, run:

xcode-select --install

Then follow the Linux instructions.

Windows

It's recommended that you use a virtual machine running Linux or OS X.

If you insist on Windows, use Cygwin (32-bit).

Dependencies are downloaded in the installer rather than the command line. Select the following packages:

  • make
  • git
  • python
  • python-setuptools

The latest pokepinball-compatible version of rgbds is 0.3.0. To install, put each of the files in the download in C:\cygwin\usr\local\bin.

Then set up the repository. In the Cygwin terminal:

https://github.com/pret/pokepinball.git
cd pokepinball

To build, follow the Linux instructions.