install: get pip and be less vague about the base rom

This commit is contained in:
yenatch 2013-06-25 19:51:04 -04:00
parent 3d0314b562
commit 03b407a0c4

View File

@ -46,15 +46,20 @@ cd /away/we/go
## Getting up and running ## Getting up and running
We need a couple more things. We need a couple more things to be able to compile.
If you're feeling lazy, just paste these commands into your terminal.
```bash ```bash
apt-cyg install python make git wget apt-cyg install make git wget python python-setuptools
easy_install pip
``` ```
**rgbds** will let you compile Game Boy roms. **rgbds** will let you compile Game Boy roms.
```bash ```bash
cd ~
# download rgbds binaries # download rgbds binaries
wget http://diyhpl.us/~bryan/irc/pokered/rgbds/rgbds.zip wget http://diyhpl.us/~bryan/irc/pokered/rgbds/rgbds.zip
unzip rgbds.zip unzip rgbds.zip
@ -68,27 +73,29 @@ echo "export PATH=$PATH" >> ~/.bashrc
Set up the **pokecrystal** repository: Set up the **pokecrystal** repository:
```bash ```bash
cd ~
git clone https://github.com/kanzure/pokecrystal git clone https://github.com/kanzure/pokecrystal
cd pokecrystal cd pokecrystal
# install python requirements # install python requirements
pip install -r requirements.txt pip install -r requirements.txt
# use hexdump to diff binary files
git config diff.hex.textconv hexdump
# download the base rom
``` ```
## Don't forget baserom.gbc!!
Make sure you downloaded a base rom. Name it **baserom.gbc**.
Now you should be able to build **pokecrystal.gbc** for the first time. Now you should be able to build **pokecrystal.gbc** for the first time.
This compiles a new rom from the source code, with any patches filled in from the base rom.
```bash ```bash
make make
``` ```
This ought to take between **3 and 15 seconds**, depending on your computer. This ought to 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! If you see `cmp baserom.gbc pokecrystal.gbc` as the last line, the build was successful!
Your first compile processes every source file at once. After that, only modified source files have to be reprocessed, so compiling again should be a few seconds faster.
# Linux # Linux