diff options
author | yenatch <yenatch@gmail.com> | 2018-03-04 13:29:26 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2018-03-04 13:29:26 -0500 |
commit | 918c1eec852e1b9d0fb438c6208d8144d7933dbf (patch) | |
tree | 8437f07dcc36ff15e2c828b41bb707ac0e5cd906 | |
parent | 214702b4e0a49c843099cb67a3fd2251d59a1566 (diff) |
Use cygwin instead of msys. pokeruby-tools is no longer needed to build.
-rw-r--r-- | INSTALL.md | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/INSTALL.md b/INSTALL.md index dfd992f2f..7a50a844c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,26 +4,56 @@ Install [**devkitARM**](http://devkitpro.org/wiki/Getting_Started/devkitARM). Make sure that there is an environment variable called DEVKITARM with the path of the directory before the "bin" directory containing "arm-none-eabi-as", "arm-none-eabi-cpp", "arm-none-eabi-ld" and "arm-none-eabi-objcopy". -Then get the compiler from https://github.com/pret/agbcc and run the following commands. +Then run the following commands. - ./build.sh - ./install.sh PATH_OF_POKERUBY_DIRECTORY + git clone https://github.com/pret/pokeruby + git clone https://github.com/pret/agbcc -Then in the pokeruby directory, build the tools. + cd agbcc + ./build.sh + ./install.sh ../pokeruby + cd ../pokeruby ./build_tools.sh -Finally, build the rom. +To build **pokeruby.gba**: make + # Windows -Install [**devkitARM**](http://devkitpro.org/wiki/Getting_Started/devkitARM). +Install [**devkitARM**](http://devkitpro.org/wiki/Getting_Started/devkitARM) to the default directory (C:/devkitpro). + +Then download [**Cygwin**](http://cygwin.com/install.html): **setup-x86_64.exe** for 64-bit Windows, **setup-x86.exe** for 32-bit. + +Run the Cygwin setup and leave the default settings. At "Select Packages", set the view to "Full" and choose to install the following: + +- `make` +- `git` +- `gcc-core` +- `gcc-g++` +- `libpng-dev` + +In the **Cygwin terminal**, enter these commands: + + export DEVKITARM=/cygdrive/c/devkitpro/devkitARM + echo export DEVKITARM=/cygdrive/c/devkitpro/devkitARM >> ~/.bashrc + + git clone https://github.com/pret/pokeruby + git clone https://github.com/pret/agbcc + + cd agbcc + ./build.sh + ./install.sh ../pokeruby + + cd ../pokeruby + ./build_tools.sh + +To build **pokeruby.gba**: -Then get the compiled tools from https://github.com/pret/pokeruby-tools. Copy the `tools/` folder over the `tools/` folder in your pokeruby directory. + make -j`nproc` -You can then build pokeruby using `make` in the MSYS environment provided with devkitARM. # Compiling Sapphire and later revisions |