Hello, everyone, as requested by some of you, here is a noob-proof guide to compiling the source of RxTools, located here.
For now, this guide is solely directed at Windows Users, i might make another guide for Mac OS and Unix users.
please note that the sources won't be anywhere as stable as the released version, as such, this thread is more directed at devs that want to edit RxTools source code and test it, it is most likely useless to the end user !
1. First of all, you'll want to install git and grab a copy of the latest RxTools source code :
3. Then you'll want to install devkitpro :
4. Then you'll want to install armips :
5. Then you'll need to install MinGW :
https://mega.nz/#F!sZkyQKAC!0cBRXqyQOPnoWyh00DtAcQ
7. Then you'll need to install the Visual C++ runtime libraries, if you don't have them already :
Tired of deleting and recloning repos every time you want to update? Place this simple .bat file into devkitPro\msys\bin (hopefully, this is among the first directories in your path). Inside of the project's folder (e.g. /rxTools or /FBI) , simply type "update". It's always wise to "make clean" before "make", so you can add those two lines if you wish for a one stop shop at building the latest of anything. Any errors would be because of outdated dependencies, such as ctrulib...
https://gbatemp.net/attachments/update-zip.47034/
If you see that I missed anything or am not clear about something, please tell me or urherenow so we can fix it, thanks for the time you took reading this and i hope to have been of help
-Capito27
-urherenow's note - Please also look at README.md in the source. This may mention requirements that might not have been covered in this guide, especially when building projects other than rxTools.
-An updated version of Gnu Make is required for the current and future releases of FBI. I suggest you rename your current one (usually in devkitPro/msys/bin) in case you need to revert later, and replace it with one of these: http://www.equation.com/servlet/equation.cmd?fa=make
Also for the final .zip when building FBI (if the error bugs you) go to ftp://ftp.info-zip.org/pub/infozip/win32/ and grab zip.exe from one of the bottom two packages, and also drop it into devkitPro/msys/bin. Edit: while the newer make.exe (I linked to 4.1) is required for FBI, it looks like other projects still require 3.81. Had to revert to build Godmode9. Tool incompatibilities between projects make me
EDIT: Latest FBI now builds clean with gnu32 make v3.81. Just clone and "make install" the latest ctrulib source first. Will leave the above note up for reference in case other path issues arise, as something to try...
EDIT2: Newer projects like firmtool REQUIRE Python 3.5+. I got it working on windows with 3.6.1 Windows x86-64 executable installer: https://www.python.org/downloads/release/python-361/
For now, this guide is solely directed at Windows Users, i might make another guide for Mac OS and Unix users.
please note that the sources won't be anywhere as stable as the released version, as such, this thread is more directed at devs that want to edit RxTools source code and test it, it is most likely useless to the end user !
1. First of all, you'll want to install git and grab a copy of the latest RxTools source code :
Go here, and click the icon for your OS (we are using Windows in this guide) and install git. Create a folder somewhere where you will store your source code and from a command prompt in that directory, type "git clone --recursive https://github.com/roxas75/rxTools.git"
2. Then you'll need to install Python 2.7 (SEE EDIT2 AT THE BOTTOM):
Go here, press "download Python 2.7.10", install the software downloaded
3. Then you'll want to install devkitpro :
Go here, press "Download", wait 5 seconds for the file to start downloading, execute it and follow the steps (without modifing any default settings), once the setup is completed you can come back to this thread.
4. Then you'll want to install armips :
Go here, press "download file now", open the downloaded archive (which contains 3 files), you'll want to copy "armips.exe" from the archive to this directory : "X:\devkitPro\msys\bin" ("X" is your hard drive asigned letter).
5. Then you'll need to install MinGW :
Go here, press "Download", execute the installed file, press "install", "continue", wait for the install to be completed, right click the package "mingw32-base", choose "mark for installation", open the "installation" tab and choose "apply changes", wait for the install to be finished then you can close the window.
6. Then you'll need to install Image Magick. The current version (6.9.3 as of this writing) hangs on font.bin, so you will need to grab an older version from here:
https://mega.nz/#F!sZkyQKAC!0cBRXqyQOPnoWyh00DtAcQ
7. Then you'll need to install the Visual C++ runtime libraries, if you don't have them already :
Download this (as you can see, this is the offical microsoft link, it is just more convenient to share the file that way) and install it.
8. Then you'll need to check your "Path" variable :
start a command prompt (simply type CMD on your start menu and press enter) and then type the command "path", you'll get a response like this
EDIT: devkitPro tools do not like spaces or "(" in the path, so it is important to move all of these items to the beginning of your path. Please adjust to match your installation locations and ensure you don't have duplicate entries, but the beginning of your path should look something like what's in the spoiler above (and in the same order).
To check/fix your path:
Finally you should be able to compile the RxTools source : open the rxTools folder we cloned at the begining, hold "SHIFT" and right click anywhere in the folder and press "open a comand prompt here" (or something along those lines) and then type "make release", it should compile properly now !PATH=C:\devkitPro\msys\bin;C:\Program Files\ImageMagick-6.9.1-Q16;C:\MinGW\bin;x:\devkitPro\devkitARM\bin;C:\Python27\;C:\Python27\Scripts;X:\devkitPro\devkitARM\arm-none-eabi\bin;
To check/fix your path:
right-click your computer icon->proprieties-> advanced system settings ->environment variables -> scroll untill you see the "path" variable -> double-click it -> add/move whatever paths you need to, in order to closely match the above spoiler.
Tired of deleting and recloning repos every time you want to update? Place this simple .bat file into devkitPro\msys\bin (hopefully, this is among the first directories in your path). Inside of the project's folder (e.g. /rxTools or /FBI) , simply type "update". It's always wise to "make clean" before "make", so you can add those two lines if you wish for a one stop shop at building the latest of anything. Any errors would be because of outdated dependencies, such as ctrulib...
https://gbatemp.net/attachments/update-zip.47034/
If you see that I missed anything or am not clear about something, please tell me or urherenow so we can fix it, thanks for the time you took reading this and i hope to have been of help
-Capito27
-urherenow's note - Please also look at README.md in the source. This may mention requirements that might not have been covered in this guide, especially when building projects other than rxTools.
-An updated version of Gnu Make is required for the current and future releases of FBI. I suggest you rename your current one (usually in devkitPro/msys/bin) in case you need to revert later, and replace it with one of these: http://www.equation.com/servlet/equation.cmd?fa=make
Also for the final .zip when building FBI (if the error bugs you) go to ftp://ftp.info-zip.org/pub/infozip/win32/ and grab zip.exe from one of the bottom two packages, and also drop it into devkitPro/msys/bin. Edit: while the newer make.exe (I linked to 4.1) is required for FBI, it looks like other projects still require 3.81. Had to revert to build Godmode9. Tool incompatibilities between projects make me
EDIT: Latest FBI now builds clean with gnu32 make v3.81. Just clone and "make install" the latest ctrulib source first. Will leave the above note up for reference in case other path issues arise, as something to try...
EDIT2: Newer projects like firmtool REQUIRE Python 3.5+. I got it working on windows with 3.6.1 Windows x86-64 executable installer: https://www.python.org/downloads/release/python-361/
Last edited by urherenow,