2013-04-05 04:25:47 +00:00
# Getting Started
Compiling requires a certain Pokemon Crystal ROM:
2013-04-04 20:15:10 +00:00
```
Pokemon - Crystal Version (UE) (V1.0) [C][!].gbc
md5: 9f2922b235a5eeb78d65594e82ef5dde
```
Save it as `baserom.gbc` in the repository.
Feel free to ask us on nucleus.kafuka.org #skeetendo if something goes wrong (remember to tell where)!
2013-04-05 04:25:47 +00:00
Don't know how to use IRC? Try [mibbit ](http://chat.mibbit.com/?server=nucleus.kafuka.org&channel=#skeetendo ).
2013-04-04 20:15:10 +00:00
2013-04-05 04:25:47 +00:00
## Linux
2012-06-02 20:27:24 +00:00
```bash
sudo apt-get install make gcc bison git python python-setuptools
# unittest2 is required if using python2.6
sudo easy_install unittest2
2013-02-08 02:39:25 +00:00
sudo easy_install pip
2012-06-02 20:27:24 +00:00
# download rgbds source code
git clone git://github.com/bentley/rgbds.git
# compile rgbds
cd rgbds
make
sudo make install
# check if rgbasm is installed now
which rgbasm
# download pokecrystal
2013-02-03 20:54:08 +00:00
git clone git://github.com/kanzure/pokecrystal.git
2012-06-02 20:27:24 +00:00
cd pokecrystal
2013-02-08 02:39:25 +00:00
# install python requirements
pip install -r requirements.txt
2013-04-05 04:25:47 +00:00
```
2013-02-08 02:39:25 +00:00
2013-04-05 04:25:47 +00:00
To compile the ROM from ASM source:
```
2013-01-11 08:32:39 +00:00
make clean & & make
2012-06-02 20:27:24 +00:00
```
2013-04-05 04:25:47 +00:00
That will take between 3 and 15 seconds, depending on your computer. If you see
`cmp baserom.gbc pokecrystal.gbc` as the last line, the build was successful! Rejoice!
2012-06-02 20:27:24 +00:00
2013-04-05 04:25:47 +00:00
## Windows
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
Set up [GitHub for Windows ](http://windows.github.com/ ) and clone this repository.
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
If you haven't already, get [Python 2.7 ](http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi ) ([64-bit](http://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi)).
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
Extract the following files from the [RGBDS ](https://github.com/downloads/bentley/rgbds/rgbds-0.0.1.zip ) package into the repository:
`rgbasm.exe`
`rgbds.exe`
`rgbfix.exe`
`rgblink.exe`
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
Install [make ](http://gnuwin32.sourceforge.net/downlinks/make.php ) for Windows.
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
To compile the ROM from ASM source, run `pokecrystal.bat` .
2012-06-02 20:27:24 +00:00
That will take between 3 and 15 seconds, depending on your computer. If you see
2013-04-05 04:25:47 +00:00
`FC: no differences encountered` , the build was successful! Rejoice!
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
Now you may try messing around with `main.asm` , or just do whatever you wanted to.
2012-06-02 20:27:24 +00:00
2013-04-04 20:15:10 +00:00
# Contributions are welcome!
2012-06-02 20:27:24 +00:00