Hacking [Release] rxTools - Roxas75 3DS Toolkit [fw 2.0 - 9.2]

  • Thread starter Thread starter Roxas75
  • Start date Start date
  • Views Views 3,310,406
  • Replies Replies 19,240
  • Likes Likes 151
Status
Not open for further replies.
Yay! Thanks to @nastys we were able to compile devkitPro for the Raspberry Pi :D rxTools builds on it:

Screenshot_2015-09-10-14-45-07.png
 
  • Like
Reactions: Margen67
Could devkitPro be compiled for android too? I wanna use an old tablet as a compiler.
Yes, I did it on a tablet.

EDIT: some people are way too paranoid about these instructions, especially some DKP devs who think they're "bogus" and ignore and delete any comments about it. If you're one of them, either use a VM, extract the archive to your home folder or build it yourself.

ARMv7
Install Ubuntu Vivid ARMHF in a 3772 MB image by using Linux Deploy, then run it and connect to it via VNC.
Download these files: https://mega.nz/#F!BxBzEQwJ!CaC_WHOZx5lJNe7gFA8ThQ
Extract devkitpro.tar.bz2 and extralibs.tar.bz2 in / as root (pun intended)
It should look like this:
/
opt
devkitpro
devkitARM​

Some dependencies are missing from the package. You can find them in dependencies.tar.bz2. Open each directory (don't worry, they're a few) and run sudo make install to install them or copy the needed binaries to /opt/devkitpro/devkitARM/bin.
When done, run the following commands in LXTerm:
Code:
echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
echo "export PATH=$PATH:/opt/devkitpro/devkitARM/bin" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install build-essential  imagemagick git
cd
git clone --recursive https://github.com/roxas75/rxTools.git
cd rxTools
make release
If any dependencies are missing, install them by using sudo apt-get install.

ARMv6 (e.g. Raspberry Pi)/any CPU
  1. sudo apt-get install build-essential autoconf automake bison flex libncurses5-dev gcc libgmp-dev libmpfr-dev libmpc-dev libfreeimage3 libfreeimage-dev zlib1g zlib1g-dev libusb-dev mesa-common-dev texinfo imagemagick git
  2. git clone https://github.com/devkitPro/buildscripts
  3. Edit build-devkit.sh to skip the first if (change if [ 1 -eq 1 ] to if [ 0 -eq 1 ])
  4. sudo ./build-devkit.sh
  5. First option, install to /opt/devkitpro
  6. It will take several hours before it stops, throwing an error...
  7. cd .devkitARM
  8. cd 3dstools-1.0.3
  9. sudo ./configure
  10. sudo make install
  11. cd general-tools-1.0.0
  12. sudo ./configure
  13. sudo make install
  14. cd grit-0.8.12
  15. sudo ./configure
  16. sudo make install
  17. cd ndstool-1.50.3
  18. sudo ./configure
  19. sudo make install
  20. Extract extralibs.tar.bz2 to / as root (pun intended) and replace any files
  21. echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
    echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
    echo "export PATH=$PATH:/opt/devkitpro/devkitARM/bin" >> ~/.bashrc
    source ~/.bashrc
  22. cd
  23. git clone --recursive https://github.com/roxas75/rxTools.git
  24. cd rxTools
  25. make release (if it fails because a dependency is missing, install it, enter make clean and try again)
  26. If it works, backup your devkitpro folder... If it doesn't, log out and try to build rxTools again.
 
Last edited by nastys,
Yes, I did it on a tablet.

ARMv7
Install Ubuntu Vivid ARMHF in a 3772 MB image by using Linux Deploy, then run it and connect to it via VNC.
Download these files: https://mega.nz/#F!BxBzEQwJ!CaC_WHOZx5lJNe7gFA8ThQ
Extract devkitpro.tar.bz2 and extralibs.tar.bz2 in / as root (pun intended)
It should look like this:
/
opt
devkitpro
devkitARM​

Some dependencies are missing from the package. You can find them in dependencies.tar.bz2. Open each directory (don't worry, they're a few) and run sudo make install to install them or copy the needed binaries to /opt/devkitpro/devkitARM/bin.
When done, install the dependencies needed by rxTools and run the following commands in LXTerm:
Code:
echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
echo "export PATH=$PATH:/opt/devkitpro/bin" >> ~/.bashrc
source ~/.bashrc
cd
git clone --recursive https://github.com/roxas75/rxTools.git
cd rxTools
make install

ARMv6 (e.g. Raspberry Pi)
Install these packages:
  1. sudo apt-get install build-essential autoconf automake bison flex libncurses5-dev gcc libgmp-dev libmpfr-dev libmpc-dev libfreeimage3 libfreeimage-dev zlib1g zlib1g-dev libusb-dev mesa-common-dev texinfo imagemagick git
  2. git clone https://github.com/devkitPro/buildscripts
  3. Edit build-devkit.sh to skip the first if (change if [ 1 -eq 1 ] to if [ 0 -eq 1 ])
  4. sudo ./build-devkit.sh
  5. First option, install to /opt/devkitpro
  6. It's going to take several hours before it stops throwing an error...
  7. cd .devkitARM
  8. cd 3dstools-1.0.3
  9. sudo ./configure
  10. sudo make install
  11. cd general-tools-1.0.0
  12. sudo ./configure
  13. sudo make install
  14. cd grit-0.8.12
  15. sudo ./configure
  16. sudo make install
  17. cd ndstool-1.50.3
  18. sudo ./configure
  19. sudo make install
  20. Extract extralibs.tar.bz2 to / as root (pun intended) and replace any files
  21. echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
    echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
    echo "export PATH=$PATH:/opt/devkitpro/bin" >> ~/.bashrc
    source ~/.bashrc
  22. cd
  23. git clone --recursive https://github.com/roxas75/rxTools.git
  24. cd rxTools
  25. make install (if it fails because a dependency is missing, install it, enter make clean and try again)
  26. If it works, backup your devkitpro folder... If it doesn't, log out and try to build rxTools again.

And if it's some weird non-arm one?
 
  • Like
Reactions: Margen67
  • Like
Reactions: Margen67
Just wanted to ask what Beta is the latest one?
and how stable is it?

I am seriously thinking about switching my 16 GB SD that I use for GW to make it the main SD of the N3DS and install all of my games as CIAs.
That combined with Ironhax will make my N3DS quite a handy device in all points of view. :P
 
If you use n3ds and latest nightly, try to rename 0004013820000002.bin to 0004013820000002orig.bin
I'll add it to the READMEs :D
If anyone wants my devkitPro folder for a Raspberry Pi, I can supply it if anyone's interested. I had to do some weird copy and paste stuff, to get it all working (such as the rule files). Again, thank you nastys! :D
You're welcome ;)
 
  • Like
Reactions: WhoAmI?
Installation data suit always appears after booting rxtools. I guess this isn't normal, does it mean i have a bad firmware.bin? It's around 900kb afaik, also i didnt download with phyton 2.7 but on that cakes thread i downloaded from nint server and renamed the file isnt that ok? Do i need to download with python?

Lastly, how can i install phyton on windows? There are 4 files but i have no idea about running it.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum