summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-12-08 21:40:18 -0500
committeryenatch <yenatch@gmail.com>2013-12-08 21:43:39 -0500
commit81c6bed27d4251c90ebff8475398c69e22781966 (patch)
tree4fb8521c23e2fa6f1b526220e2bbcb7045e67073
parent20c01389cc8b5cbea59796ee0825fcd877c15fef (diff)
init.sh for lazy installs
-rw-r--r--INSTALL.md18
-rwxr-xr-xinit.sh16
2 files changed, 20 insertions, 14 deletions
diff --git a/INSTALL.md b/INSTALL.md
index bcba15d1..d687288c 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -12,27 +12,17 @@ Linux dependencies. OSX users already have these after installing Xcode.
sudo apt-get install make gcc bison git python python-setuptools
-Install **rgbds**, a Game Boy assembler:
- git clone git://github.com/bentley/rgbds.git
- cd rgbds
- make
- sudo make install
-
- cd ..
-
-Set up the pokered repository:
+Set up the **pokered** repository:
git clone git://github.com/iimarckus/pokered.git
cd pokered
- git submodule init
- git submodule update
+ ./init.sh
- sudo easy_install pip
- pip install -r extras/requirements.txt
+Copy the Pokémon Red rom to this directory. Name it **baserom.gbc**.
-Put your base rom in the pokered repository. Name it "baserom.gbc".
+Now **pokered.gbc** can be built from source.
make red
diff --git a/init.sh b/init.sh
new file mode 100755
index 00000000..a0cc1ccd
--- /dev/null
+++ b/init.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# install rgbds
+git clone git://github.com/bentley/rgbds.git && \
+cd rgbds && \
+make && \
+sudo make install && \
+cd .. && \
+rm -rf rgbds
+
+# set up the submodule (extras/)
+git submodule init && \
+git submodule update && \
+sudo easy_install pip && \
+pip install -r extras/requirements.txt
+