From 5d899d00e02553db75aa4a7e30e44190170ff45d Mon Sep 17 00:00:00 2001 From: garak Date: Sat, 11 Aug 2018 21:06:27 -0400 Subject: [PATCH] tone down INSTALL steps --- INSTALL.md | 38 +++++++++++--------------------------- 1 file 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 . 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`.