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

Status
Not open for further replies.

nastys

Well-Known Member
Member
Joined
Aug 5, 2014
Messages
1,732
Trophies
1
Age
26
Location
Earth
XP
1,810
Country
Italy
The newest nightly builds work with Ninjhax 1.X?
Yes! :)
I am aware 2.X is not compatible yet due to insufficient privileges (kernel exploit).
If there is ever a Kernel exploit for 9.0-9.9, will there be a compatible .3DSX for homebrew 2.X?
Pasta/rxTools is the only thing so far that is keeping me from updating the HBL to 2.0 :P
I believe so.
 
  • Like
Reactions: Margen67

obs123194

Well-Known Member
Member
Joined
Mar 9, 2014
Messages
787
Trophies
0
Age
29
XP
953
Country
United States
Or you can use shodokuhax or a f'd flash cart via mset
The newest nightly builds work with Ninjhax 1.X?

I am aware 2.X is not compatible yet due to insufficient privileges (kernel exploit).
If there is ever a Kernel exploit for 9.0-9.9, will there be a compatible .3DSX for homebrew 2.X?
Pasta/rxTools is the only thing so far that is keeping me from updating the HBL to 2.0 :P[/QUOT
The newest nightly builds work with Ninjhax 1.X?

I am aware 2.X is not compatible yet due to insufficient privileges (kernel exploit).
If there is ever a Kernel exploit for 9.0-9.9, will there be a compatible .3DSX for homebrew 2.X?
Pasta/rxTools is the only thing so far that is keeping me from updating the HBL to 2.0 :P
 

nastys

Well-Known Member
Member
Joined
Aug 5, 2014
Messages
1,732
Trophies
1
Age
26
Location
Earth
XP
1,810
Country
Italy
This is my first test build. ;)

https://www.dropbox.com/sh/i3502su25zxginx/AAD6qoGclWvJlYvX6hfs70k_a?dl=0

The script has compiled, zipped and uploaded to Dropbox. Some more stuff is coming. As I said, only test. Will build every hour if the repo has changed.

I'm not done yet, ok? ;)

Edit,
Updated zip, new structure.. hm
There's something wrong with the structure...
Schermata del 2015-08-17 21:21:19.png
 
  • Like
Reactions: Orkna

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
I made a new PDF file that explains crearly where to put the files. Please use the following structure in the next nightly builds if you want to include it:

*.zip:
IMPORTANT.pdf
To-SD-Card/
rxTools.dat.README.txt
<everything that is in the release folder>​

Added to my build script :)
 
  • Like
Reactions: nastys

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Care to pm me your script?
I'll just post it here. It's just a batch script.

Code:
echo off
Title = Building rxTools...
echo Building...
cd "%USERPROFILE%\Desktop"
set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
set year=%date:~-2%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
set day=%date:~0,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
set build_date=%month%-%day%-%year%_%hour%-%min%
RD /S /Q rxTools
if not exist "%ProgramFiles%\7-Zip\7z.exe" echo Unable to find 7-zip! File compression will fail.
set PATH=%PATH%;%ProgramFiles%\7-Zip\7z.exe;
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
for /f %%d in ('git rev-parse --short HEAD') do set sha1=%%d
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\*.%sha1%.zip" (
    REM Change this to whatever you want.
    echo Latest version already online. Compilation aborted.
    pause >nul
    goto :EOF
)
echo Building...
make release
if exist "rxTools*.%sha1%.zip" del /f "rxTools*.%sha1%.zip"
if exist "..\rxTools.dat.README.txt" (
    echo Copying README.txt to the release directory...
    copy /y "..\rxTools.dat.README.txt" "release"
)
rename "release" "To-SD-Card"
echo Compressing...
7z.exe a -tzip "rxTools_%build_date%.%sha1%.zip" "To-SD-Card" ..\IMPORTANT.pdf -mx1
rename "To-SD-Card" "release"
set /p q=Upload to Dropbox? Y/N: %=%
if "%q%"=="n" goto :EOF
if "%q%"=="N" goto :EOF
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\rxTools*.%sha1%.zip" (
    echo Latest version already online. Removing...
    del /f "rxTools_%build_date%.%sha1%.zip"
) else (
    echo Moving to Dropbox...
    move "rxTools_%build_date%.%sha1%.zip" "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\"
)
echo Done.
pause >nul

It's Windows only. Save it as a .bat file.
 

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
I'll just post it here. It's just a batch script.

Code:
echo off
Title = Building rxTools...
echo Building...
cd "%USERPROFILE%\Desktop"
set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
set year=%date:~-2%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
set day=%date:~0,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
set build_date=%month%-%day%-%year%_%hour%-%min%
RD /S /Q rxTools
if not exist "%ProgramFiles%\7-Zip\7z.exe" echo Unable to find 7-zip! File compression will fail.
set PATH=%PATH%;%ProgramFiles%\7-Zip\7z.exe;
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
for /f %%d in ('git rev-parse --short HEAD') do set sha1=%%d
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\*.%sha1%.zip" (
    REM Change this to whatever you want.
    echo Latest version already online. Compilation aborted.
    pause >nul
    goto :EOF
)
echo Building...
make release
if exist "rxTools*.%sha1%.zip" del /f "rxTools*.%sha1%.zip"
if exist "..\rxTools.dat.README.txt" (
    echo Copying README.txt to the release directory...
    copy /y "..\rxTools.dat.README.txt" "release"
)
rename "release" "To-SD-Card"
echo Compressing...
7z.exe a -tzip "rxTools_%build_date%.%sha1%.zip" "To-SD-Card" ..\IMPORTANT.pdf -mx1
rename "To-SD-Card" "release"
set /p q=Upload to Dropbox? Y/N: %=%
if "%q%"=="n" goto :EOF
if "%q%"=="N" goto :EOF
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\rxTools*.%sha1%.zip" (
    echo Latest version already online. Removing...
    del /f "rxTools_%build_date%.%sha1%.zip"
) else (
    echo Moving to Dropbox...
    move "rxTools_%build_date%.%sha1%.zip" "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\"
)
echo Done.
pause >nul

It's Windows only. Save it as a .bat file.

Great. Thanks. Same commands for git in Linux so I can steal some stuff if I need it. ;-)
 

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
  • Like
Reactions: nastys

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Hey! Here it is! @nastys You can update the Linux part and whatever else ;) Windows and Linux, COMBINE! :D

Code:
#!/bin/bash

goto :windows
# The console will show an error about "goto" not existing. Just ignore it.
echo Linux! :D
echo Building...
build_date=`date +"%m-%d-%y"`
rm -R -f rxTools
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
sha1=`git rev-parse --short HEAD`
echo Building...
make release
echo Compressing...
zip -r rxTools_$build_date.zip release
if ! [[ -f "/home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip" ]]; then
    echo Moving to Dropbox...
    mv rxTools_$build_date.zip /home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip
else
    echo Latest version already online. Removing...
    rm -f rxTools_$build_date.zip
fi
echo Done
read -p "Press [Enter] to exit."
exit
:windows
echo off
cls
Title = Building rxTools...
echo Building...
pause >nul
cd "%USERPROFILE%\Desktop"
set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
set year=%date:~-2%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
set day=%date:~0,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
set build_date=%month%-%day%-%year%_%hour%-%min%
RD /S /Q rxTools
if not exist "%ProgramFiles%\7-Zip\7z.exe" echo Unable to find 7-zip! File compression will fail.
set PATH=%PATH%;%ProgramFiles%\7-Zip\7z.exe;
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
for /f %%d in ('git rev-parse --short HEAD') do set sha1=%%d
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\*.%sha1%.zip" (
    REM Change this to whatever you want.
    echo Latest version already online. Compilation aborted.
    pause >nul
    goto :EOF
)
echo Building...
make release
if exist "rxTools*.%sha1%.zip" del /f "rxTools*.%sha1%.zip"
if exist "..\rxTools.dat.README.txt" (
    echo Copying README.txt to the release directory...
    copy /y "..\rxTools.dat.README.txt" "release"
)
rename "release" "To-SD-Card"
echo Compressing...
7z.exe a -tzip "rxTools_%build_date%.%sha1%.zip" "To-SD-Card" ..\IMPORTANT.pdf -mx1
rename "To-SD-Card" "release"
set /p q=Upload to Dropbox? Y/N: %=%
if "%q%"=="n" goto :EOF
if "%q%"=="N" goto :EOF
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\rxTools*.%sha1%.zip" (
    echo Latest version already online. Removing...
    del /f "rxTools_%build_date%.%sha1%.zip"
) else (
    echo Moving to Dropbox...
    move "rxTools_%build_date%.%sha1%.zip" "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\"
)
echo Done.
pause >nul
 
  • Like
Reactions: nastys

Xelnok

Well-Known Member
Newcomer
Joined
Feb 5, 2013
Messages
51
Trophies
0
Age
36
XP
142
Country
United States
I've been away from the 3ds scene for a few months. I have rxtools 2.4 on my 3ds, (the website link I used to use isn't working anymore).

What all do I need to get rxtools working to update the emunand firmware? Is there a different website link the loads the firmware or is there a different way to access it now?

Thanks.
 

nastys

Well-Known Member
Member
Joined
Aug 5, 2014
Messages
1,732
Trophies
1
Age
26
Location
Earth
XP
1,810
Country
Italy
Hey! Here it is! @nastys You can update the Linux part and whatever else ;) Windows and Linux, COMBINE! :D

Code:
#!/bin/bash

goto :windows
# The console will show an error about "goto" not existing. Just ignore it.
echo Linux! :D
echo Building...
build_date=`date +"%m-%d-%y"`
rm -R -f rxTools
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
sha1=`git rev-parse --short HEAD`
echo Building...
make release
echo Compressing...
zip -r rxTools_$build_date.zip release
if ! [[ -f "/home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip" ]]; then
    echo Moving to Dropbox...
    mv rxTools_$build_date.zip /home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip
else
    echo Latest version already online. Removing...
    rm -f rxTools_$build_date.zip
fi
echo Done
read -p "Press [Enter] to exit."
exit
:windows
echo off
cls
Title = Building rxTools...
echo Building...
pause >nul
cd "%USERPROFILE%\Desktop"
set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
set year=%date:~-2%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
set day=%date:~0,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
set build_date=%month%-%day%-%year%_%hour%-%min%
RD /S /Q rxTools
if not exist "%ProgramFiles%\7-Zip\7z.exe" echo Unable to find 7-zip! File compression will fail.
set PATH=%PATH%;%ProgramFiles%\7-Zip\7z.exe;
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
for /f %%d in ('git rev-parse --short HEAD') do set sha1=%%d
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\*.%sha1%.zip" (
    REM Change this to whatever you want.
    echo Latest version already online. Compilation aborted.
    pause >nul
    goto :EOF
)
echo Building...
make release
if exist "rxTools*.%sha1%.zip" del /f "rxTools*.%sha1%.zip"
if exist "..\rxTools.dat.README.txt" (
    echo Copying README.txt to the release directory...
    copy /y "..\rxTools.dat.README.txt" "release"
)
rename "release" "To-SD-Card"
echo Compressing...
7z.exe a -tzip "rxTools_%build_date%.%sha1%.zip" "To-SD-Card" ..\IMPORTANT.pdf -mx1
rename "To-SD-Card" "release"
set /p q=Upload to Dropbox? Y/N: %=%
if "%q%"=="n" goto :EOF
if "%q%"=="N" goto :EOF
if exist "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\rxTools*.%sha1%.zip" (
    echo Latest version already online. Removing...
    del /f "rxTools_%build_date%.%sha1%.zip"
) else (
    echo Moving to Dropbox...
    move "rxTools_%build_date%.%sha1%.zip" "%USERPROFILE%\Dropbox\3DS\rxTools\rxTools_NIghtlies\"
)
echo Done.
pause >nul
Here is the optimized and updated Linux script ;)
Code:
#!/bin/bash

export DEVKITPRO=/opt/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM
export PATH=$PATH:$DEVKITARM/bin

CLOUD_DIR="/home/nastys/MEGAsync/rxTools-nightly/"
BUILD_DIR="/home/nastys/rxNightly"

cd $BUILD_DIR

build_date=`date +"%d-%m-%Y_%H.%M"`
if [ -d $BUILD_DIR/rxTools ]; then
  cd $BUILD_DIR/rxTools
  git pull origin master
  git submodule update --init --recursive
else
  git clone --recursive https://github.com/roxas75/rxTools
  cd $BUILD_DIR/rxTools
fi
sha1=`git rev-parse --short HEAD`

if ! ls $CLOUD_DIR/rxTools_*$sha1*_unstable.zip 1> /dev/null 2>&1; then
  echo Cleaning...
  make clean
  echo Building...
  make release
  echo Compressing...
  ln -s $BUILD_DIR/rxTools.dat.README.txt $BUILD_DIR/rxTools/release/rxTools.dat.README.txt
  ln -s $BUILD_DIR/IMPORTANT.txt $BUILD_DIR/rxTools/IMPORTANT.txt
  ln -s $BUILD_DIR/IMPORTANT.pdf $BUILD_DIR/rxTools/IMPORTANT.pdf
  ln -s "$BUILD_DIR/Where do I put firmware.bin?.txt" "$BUILD_DIR/rxTools/Where do I put firmware.bin?.txt"
  ln -s "$BUILD_DIR/IT DOESN'T WORK!!!11!!!1!.txt" "$BUILD_DIR/rxTools/IT DOESN'T WORK!!!11!!!1!.txt"
  cd $BUILD_DIR/rxTools
  zip -9 -r $BUILD_DIR/rxTools_$sha1$build_date.zip release IMPORTANT.txt IMPORTANT.pdf "Where do I put firmware.bin?.txt" "IT DOESN'T WORK!!!11!!!1!.txt"
  rm $BUILD_DIR/rxTools/release/rxTools.dat.README.txt $BUILD_DIR/rxTools/IMPORTANT.txt $BUILD_DIR/rxTools/IMPORTANT.pdf "$BUILD_DIR/rxTools/Where do I put firmware.bin?.txt" "$BUILD_DIR/rxTools/IT DOESN'T WORK!!!11!!!1!.txt"
  echo Moving to the cloud...
  mv $BUILD_DIR/rxTools_$sha1$build_date.zip "$CLOUD_DIR/rxTools_$build_date""CEST_$sha1""_unstable.zip"
else
  echo Latest version already online.
fi
#!/bin/bash

CLOUD_DIR="$HOME/MEGAsync/rxTools-nightly"

build_date=`date +"%m-%d-%y"`
if [ -d rxTools ]; then
cd rxTools
git pull origin master
git submodule update --init --recursive
else
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
fi
sha1=`git rev-parse --short HEAD`

if ! ls $CLOUD_DIR/rxTools_*.$sha1.zip 1> /dev/null 2>&1; then
echo Cleaning...
make clean
echo Building...
make release
echo Compressing...
ln -s ../../rxTools.dat.README.txt release/
ln -s ../IMPORTANT.pdf .
ln -s ../IMPORTANT.txt .
zip -9 -r rxTools_$build_date.zip release IMPORTANT.pdf IMPORTANT.txt
rm release/rxTools.dat.README.txt IMPORTANT.pdf
echo Moving to the cloud...
mv rxTools_$build_date.zip "$CLOUD_DIR/rxTools_$build_date.$sha1.zip"
else
echo Latest version already online.
fi

EDIT: script updated.
I almost forgot to say that it's better to start the script with these two files in the same folder:

EDIT2: script updated again.

EDIT3&4: updated IMPORTANT.txt.

EDIT5: script updated again.

EDIT6: new version, with @Orkna's improvements :)

EDIT7: fixed レイシュカク

EDIT8: added Where do I put firmware.bin?.txt

EDIT9: path updated (rxTools/system → rxTools/sys) and added IT DOESN'T WORK!!!11!!!1!.txt
 

Attachments

  • rxTools.dat.README.txt
    919 bytes · Views: 185
  • nightly-important-info-v2.zip
    40.1 KB · Views: 72
  • rxTools-nightly-info-v2.odg.zip
    126.7 KB · Views: 109
Last edited by nastys,

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
I have updated mine. I like to keep the folder names and structure direct as cloned from git.

I will build every hour IF the repo has changed within the latest hour. ;)

Why move everything to SD when you only need the rxTools-folder?
 
  • Like
Reactions: WhoAmI? and nastys

kontrolaltdelete

Task Manager
Member
Joined
Aug 16, 2015
Messages
146
Trophies
0
Age
33
XP
183
Country
United States
I am way over my head here what with all you guys compiling the nightlies, but I'd like to install a somewhat solid nightly build here. Even though I'm the elephant in the room here, is there such a thing right now? I have a N3DS on 9.0 and want to try this out.
 

nastys

Well-Known Member
Member
Joined
Aug 5, 2014
Messages
1,732
Trophies
1
Age
26
Location
Earth
XP
1,810
Country
Italy
I have updated mine. I like to keep the folder names and structure direct as cloned from git.

I will build every hour IF the repo has changed within the latest hour. ;)

Why move everything to SD when you only need the rxTools-folder?
Good point. I'll restore its original name (to-SD-card → release) ;)
The structure inside that folder is the same, except that there is rxTools.dat.README.txt.

EDIT: script updated.
 
  • Like
Reactions: WhoAmI?

mocalacace

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
327
Trophies
1
Location
127.0.0.1
XP
960
Country
United States
I am running firmware 4.5 Sysnand and am having trouble booting. I have the mset (not DG) exploit installed and I have very low success booting rxTools. 90% of the time I just get white screen or the topscreen freezes with the clock in the top right. The other 10% of the time I can load into rxtools and boot emunand. I thought this was supposed to have better boot success than the old palantine cfw?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/FdYTKAVSsXY?si=9E-2AU0JN-4hRZi3