diff options
author | yenatch <yenatch@gmail.com> | 2013-06-25 19:51:04 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-06-25 20:32:29 -0400 |
commit | 03b407a0c4bb58b85c5403c01ce995f40c46e79f (patch) | |
tree | 55289233c15976121c7bc078361bee430e734145 | |
parent | 3d0314b562ba5bf35e2b17c3d32b421e50c19ae1 (diff) |
install: get pip and be less vague about the base rom
-rw-r--r-- | INSTALL.md | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/INSTALL.md b/INSTALL.md index a1e15aa67..689a7cf8b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -46,15 +46,20 @@ cd /away/we/go ## 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 -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. ```bash +cd ~ + # download rgbds binaries wget http://diyhpl.us/~bryan/irc/pokered/rgbds/rgbds.zip unzip rgbds.zip @@ -68,27 +73,29 @@ echo "export PATH=$PATH" >> ~/.bashrc Set up the **pokecrystal** repository: ```bash -cd ~ git clone https://github.com/kanzure/pokecrystal cd pokecrystal # install python requirements pip install -r requirements.txt +``` -# use hexdump to diff binary files -git config diff.hex.textconv hexdump +## Don't forget baserom.gbc!! -# download the base rom -``` +Make sure you downloaded a base rom. Name it **baserom.gbc**. 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 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! -If you see `cmp baserom.gbc pokecrystal.gbc` as the last line, the build was successful! Rejoice! +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 |