diff options
author | garak <garakmon@gmail.com> | 2018-08-11 21:06:27 -0400 |
---|---|---|
committer | garak <garakmon@gmail.com> | 2018-08-11 21:06:27 -0400 |
commit | 5d899d00e02553db75aa4a7e30e44190170ff45d (patch) | |
tree | f89b5106627b66edd7ab524b57b41c0bdbae57d1 | |
parent | 96ab357bedfb7d4e07a52b518e2bd02375b1f5f5 (diff) |
tone down INSTALL steps
-rw-r--r-- | INSTALL.md | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/INSTALL.md b/INSTALL.md index 3eb980eb6..0fa9af8e7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -37,47 +37,31 @@ You can then build pokeemerald using `make` in the MSYS environment provided wit Installing pokeemerald on a Mac requires macOS >= 10.12 (Sierra or higher). -To get pokeemerald up and running, run the following commands in Terminal: +Download a [devkitPRO pacman](https://github.com/devkitPro/pacman/releases/tag/v1.0.0) + +Run the following commands in Terminal: -Make sure you have the right compilers. ``` xcode-select --install -``` - -Download a [devkitPRO pacman](https://github.com/devkitPro/pacman/releases/tag/v1.0.0) package (`.pkg`) and install using the native Installer. - -This will install the devkitPRO package in `/opt/devkitpro`. - -You must install devkitARM using -``` sudo dkp-pacman -S devkitARM -``` -Then set environment variables - -``` export DEVKITPRO=/opt/devkitpro echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc export DEVKITARM=$DEVKITPRO/devkitARM echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc -``` +echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile -Now download and install the game's compiler from <https://github.com/pret/agbcc>. You should download and unpack the `.zip` and move the folder to the same folder holding pokeemerald. +git clone https://github.com/pret/pokeemerald +git clone https://github.com/pret/agbcc -``` -cd /PATH/TO/agbcc/ +cd agbcc/ ./build.sh -./install.sh /PATH/TO/pokeemerald -``` +./install.sh ../pokeemerald -Build the necessary tools -``` -cd /PATH/TO/pokeemerald +cd ../pokeemerald ./build_tools.sh ``` -And finally the ROM should be ready to build -``` -make -``` + +And build the ROM with `make -j4`. |