Homebrew [Released] Some developer tools for the privileged among us

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,483
Trophies
2
Age
47
Location
Japan
XP
3,158
Country
United States
You quoted his link to his bootstrap branch of Decrypt9 that compiles to .3dsx and runs on the N3DS via ninjahax.
:ohnoes:
:blink:
:wacko:

Holy crap. I feel stupid, but also super hyped! I really needed this (or think I do... guess I'll find out after work when I have time to play with it.)

Edit: Good start. Compiled right off the bat with no errors or missing/outdated dependencies. Gotta get my butt back to work now. (lunch break)

Edit2: But.. it didn't compile to a .3dsx. I have an .elf, a launcher.dat, and a .bin.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,102
Trophies
3
Age
41
Website
Visit site
XP
2,627
Country
Slightly off topic- but can somebody pretty please do this and release a .3ds version of decrypt9 that will run on N3DS? Or really any way of running Decrypt9 on N3DS. Also, can this be used somehow to make rxtools work on N3DS?
You quoted his link to his bootstrap branch of Decrypt9 that compiles to .3dsx and runs on the N3DS via ninjahax.
Yeah but he wants a .3DS build, which I assume he plans on running in Gateway Mode.

But, I'm pretty sure we as users don't have enough privileges under Gateway's emuNAND to run something like Decrypt9.

I assume it requires full ARM9 access which we don't have in Gateway Mode.
 

Oishikatta

Well-Known Member
Member
Joined
Oct 30, 2014
Messages
971
Trophies
0
XP
593
Country
United States
:ohnoes:
:blink:
:wacko:

Holy crap. I feel stupid, but also super hyped! I really needed this (or think I do... guess I'll find out after work when I have time to play with it.)

Edit: Good start. Compiled right off the bat with no errors or missing/outdated dependencies. Gotta get my butt back to work now. (lunch break)

Edit2: But.. it didn't compile to a .3dsx. I have an .elf, a launcher.dat, and a .bin.


https://gbatemp.net/threads/creating-a-north-american-non-xl-new-3ds.381775/page-9#post-5426381

Yeah but he wants a .3DS build, which I assume he plans on running in Gateway Mode.

But, I'm pretty sure we as users don't have enough privileges under Gateway's emuNAND to run something like Decrypt9.

I assume it requires full ARM9 access which we don't have in Gateway Mode.


I think he just missed the x.
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,369
Country
United States
duh, i don't seem to get it working...

Code:
C:\TDM-GCC-64\bootstrap>make
firmlaunch.s utils.s
payload.bin
bootstrap.c
arm-none-eabi-gcc -MMD -MP -MF /c/TDM-GCC-64/bootstrap/build/bootstrap.d -g -Wal
l -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=m
pcore -mfloat-abi=hard -I/c/TDM-GCC-64/bootstrap/include -I/C/TDM-GCC-64/devkitP
ro/libctru/include -I/c/TDM-GCC-64/bootstrap/build -DARM11 -D_3DS -DARM_ARCH -w
-c /c/TDM-GCC-64/bootstrap/./bootstrap.c -o bootstrap.o
In file included from c:/TDM-GCC-64/bootstrap/bootstrap.c:8:0:
c:/TDM-GCC-64/bootstrap/utils.h:6:5: error: conflicting types for 'svcBackdoor'
 int svcBackdoor(int (*func)(void));
     ^
In file included from c:/TDM-GCC-64/devkitPro/libctru/include/3ds.h:9:0,
                 from c:/TDM-GCC-64/bootstrap/bootstrap.c:1:
c:/TDM-GCC-64/devkitPro/libctru/include/3ds/svc.h:239:8: note: previous declarat
ion of 'svcBackdoor' was here
 Result svcBackdoor(s32 (*callback)(void));
        ^
make[1]: *** [bootstrap.o] Error 1
make: *** [build] Error 2

C:\TDM-GCC-64\bootstrap>
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,504
Trophies
2
XP
14,433
Country
Micronesia, Federated States of
duh, i don't seem to get it working...

Code:
C:\TDM-GCC-64\bootstrap>make
firmlaunch.s utils.s
payload.bin
bootstrap.c
arm-none-eabi-gcc -MMD -MP -MF /c/TDM-GCC-64/bootstrap/build/bootstrap.d -g -Wal
l -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=m
pcore -mfloat-abi=hard -I/c/TDM-GCC-64/bootstrap/include -I/C/TDM-GCC-64/devkitP
ro/libctru/include -I/c/TDM-GCC-64/bootstrap/build -DARM11 -D_3DS -DARM_ARCH -w
-c /c/TDM-GCC-64/bootstrap/./bootstrap.c -o bootstrap.o
In file included from c:/TDM-GCC-64/bootstrap/bootstrap.c:8:0:
c:/TDM-GCC-64/bootstrap/utils.h:6:5: error: conflicting types for 'svcBackdoor'
int svcBackdoor(int (*func)(void));
    ^
In file included from c:/TDM-GCC-64/devkitPro/libctru/include/3ds.h:9:0,
                from c:/TDM-GCC-64/bootstrap/bootstrap.c:1:
c:/TDM-GCC-64/devkitPro/libctru/include/3ds/svc.h:239:8: note: previous declarat
ion of 'svcBackdoor' was here
Result svcBackdoor(s32 (*callback)(void));
        ^
make[1]: *** [bootstrap.o] Error 1
make: *** [build] Error 2
 
C:\TDM-GCC-64\bootstrap>
Looks like you should remove svcbackdoor's definition from that project. It was recently added to libctru so no need to redefine it.
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,369
Country
United States
Looks like you should remove svcbackdoor's definition from that project. It was recently added to libctru so no need to redefine it.

Got it working after i removed it from utils.h and utils.s,
but in the end, the produced .3dsx blackscreens.

Now everything is fine ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Hope they made lots of spaget