Dependencies:
sudo apt-get install make gcc bison git
sudo easy_install pip
The assembler used is rgbds.
git clone https://github.com/rednex/rgbds
cd rgbds
sudo mkdir -p /usr/local/man/man{1,7}
sudo make install
cd ..
rm -rf rgbds
Set up the repository.
git clone https://github.com/huderlem/carrotcrazy
cd carrotcrazy
Install libpng
becaause tools/metasprite.c
depends on it for image processing.
This project is incomplete and requires the user to provide an original Looney Tunes: Carrot Crazy GBC ROM. Name this file baserom.gbc
and place it in the root carrotcrazy
directory.
To build carrotcrazy.gbc
:
make
This will take a few seconds 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 carrotcrazy.gbc
to the original ROM:
make compare
In the shell, run:
xcode-select --install
Then follow the Linux instructions.
To build on Windows, install Cygwin with the default settings.
Dependencies are downloaded in the installer rather than the command line. Select the following packages:
- make
- git
- gcc-core
- libpng-devel
The latest compatible version of rgbds is 0.4.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:
git clone https://github.com/huderlem/carrotcrazy.git
cd carrotcrazy
To build carrotcrazy.gbc
:
make