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

Status
Not open for further replies.

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
Ok thanms for the report. I'll check it :)

@WhoAmI? Many users report error during boot on n3ds from mset with your builds. Do you have updated CakeHax? :)

Every time I build rxTools, I literally delete the old directory and repull the entire repo again.


You should make a batch script (if you're on windows) or another automation script on another OS, so anything is done with just one simple command.

You mean a pretty script similar to this? :3

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%
REM echo hour=%hour%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
REM echo min=%min%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
REM echo secs=%secs%
set year=%date:~-2%
REM echo year=%year%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
REM echo month=%month%
set day=%date:~0,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
REM echo day=%day%
set build_date=%month%-%day%-%year%_%hour%-%min%
RD /S /Q rxTools
set PATH=%PATH%;C:\Program Files\7-Zip;
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" (
    echo Latest version already online. Compilation aborted.
    pause >nul
    exit
)
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"
)
echo Compressing...
7z.exe a -tzip "rxTools_%build_date%.%sha1%.zip" release -mx1
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
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,777
Trophies
2
Age
48
Location
Japan
XP
3,677
Country
United States
Nice nintendo implemented gba mode into n3ds even though there were no ambassador n3ds?
Ambassador certificates and ambassador games get transferred during a system transfer. In effect, my N3DS IS an ambassador 3DS. Legit.

Great working AlbertoSonic but not working mset n3ds on latest source code

Cakehax update but rxtools don't support it.

To fix it , need to change makefile."@dd if=rxtools/rxtools.bin of=$@ seek=272 conv=notrunc" to "@dd if=rxtools/rxtools.bin of=$@ seek=160 conv=notrunc"
Or use old Cakehax.
Just used the command "git pull". I'm assuming that this will update my entire tree to the latest without starting from scratch, correct? The above quote hasn't been applied yet. Not sure how it works out though. I use mset on my N3DS for GW, so I don't want to mess with it just to see if this works. I have CN for rxtools and will more than likely stick to GW on my N3DS until out of region DLC starts working on CFW.
 
Last edited by urherenow,
  • Like
Reactions: Zidapi

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
Every time I build rxTools, I literally delete the old directory and repull the entire repo again.




You mean a pretty script similar to this? :3

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%
REM echo hour=%hour%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
REM echo min=%min%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
REM echo secs=%secs%
set year=%date:~-2%
REM echo year=%year%
set month=%date:~3,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
REM echo month=%month%
set day=%date:~0,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
REM echo day=%day%
set build_date=%month%-%day%-%year%_%hour%-%min%
RD /S /Q rxTools
set PATH=%PATH%;C:\Program Files\7-Zip;
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" (
    echo Latest version already online. Compilation aborted.
    pause >nul
    exit
)
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"
)
echo Compressing...
7z.exe a -tzip "rxTools_%build_date%.%sha1%.zip" release -mx1
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

Yeah, something like that :D

But compared to my Elite batch scripting, yours look like WAYYY Super Elite above that.
Here my batch script i use:
(assuming you use drive D: like i do, else change the driveletter in the batch script.)

Code:
@echo off
cls
d:
cd\
if not exist d:\rxTools goto gitclone else goto rename

:rename
if not exist d:\rxToolsBackup goto backup else goto delall

:delall
echo .
echo ..
echo ... Found older folders of rxTools! and rxToolsBackup
echo ... I will now delete d:\rxToolsBackup and backup
echo ... your d:\rxTools folder to d:\rxToolsBackup.
echo ... If rxToolsBackup folder already exist, it will be deleted.
echo ... IF YOU DON'T want to delete the old backup folder, abort now (ctrl-c)
echo ... if you want to continue press any key!
echo ..
echo .
pause
rmdir rxToolsBackup /S /Q
goto backup

:backup
echo .
echo ..
echo ... rxTools folder will now be backupped to d:\rxToolsBackup!
echo ..
echo .
ren rxTools rxToolsBackup
echo .
echo ..
echo ... Ready to gitclone latest release!
echo ..
echo .
goto :gitclone

:gitclone
git clone --recursive https://github.com/roxas75/rxTools.git
echo .
echo ..
echo ... Ready to compile latest rxTools!
echo ..
echo .
goto compile

:compile
cd rxTools
make release
echo .
echo ..
echo ... Ready to download firmware.bin!
echo ..
echo .
goto firmware

:firmware
d:
cd\
cd rxTools\release\Tools
cdn_firm.py
echo .
echo ..
echo ... Moving firmware.bin to rxTools\system\
echo ..
echo .
move firmware.bin d:\rxTools\release\rxTools\system\
goto end

:end
echo .
echo ..
echo ... rxTools compiled and ready to use!
echo ... Enjoy latest nightly build of rxTools!
echo ...
echo ... Keep in mind the nightlies are alpha and are in NO way stable!!!
echo ... nobody but YOU YOURSELF are responsible if anything goes wrong with your system!!!
echo ..
echo .
pause
 
Last edited by DjoeN,
  • Like
Reactions: WhoAmI?

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,426
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,793
Country
United States
Great another submodule I'll have to delete and reclone all of rxTools when ever it gets an update. :P

For some damn reason Github won't sync submodules correctly. When a change occurs it syncs everything else then sees a submodule as different and thinks I changed it since it seems to not have downloaded the changes for the submodule(s). One of my only problems with the Github app right now.
 

Rasa39

Pervert Deluxe
Member
Joined
Aug 16, 2015
Messages
453
Trophies
0
XP
2,632
Country
United Kingdom
Can anyone help me compile the latest version?

I followed the instructions on the github page and installed everything for Windows, but every time I try to compile it with make I get the following error:

make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3) error

Now I know this is the error mentioned on the page, I've moved all paths with parenthesis to the end of my PATH like it says, but I still get the error.

I realise I'm probably not the first noob to ask about this kind of id, but any help would be appreciated.
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Great another submodule I'll have to delete and reclone all of rxTools when ever it gets an update. :P

For some damn reason Github won't sync submodules correctly. When a change occurs it syncs everything else then sees a submodule as different and thinks I changed it since it seems to not have downloaded the changes for the submodule(s). One of my only problems with the Github app right now.
Open a command prompt in your local repo and run:
Code:
git submodule update --init --recursive
 
  • Like
Reactions: urherenow
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: Well start walking towards them +1