Hacking Luma3DS - Noob-proof 3DS Custom Firmware

Status
Not open for further replies.

stl25

Well-Known Member
Member
Joined
Feb 3, 2008
Messages
1,012
Trophies
1
Location
Here, there and everywhere
XP
839
Country
United States
Anyone having issues with Pokemon games. Booting without Bios screen Emerald and Fire Red both have issues where the the top of the screen gets cut off and appears at the bottom of the screen. Same games tested on another 3DS with ReiNand with patched AGB Firm on sysNAND and emuNAND and both games have no screen issue I described above.
 

Dartz150

Yet another Onii-chan
Member
Joined
May 5, 2010
Messages
2,306
Trophies
2
Age
31
Location
Over your head
XP
4,389
Country
Mexico
Anyone having issues with Pokemon games. Booting without Bios screen Emerald and Fire Red both have issues where the the top of the screen gets cut off and appears at the bottom of the screen. Same games tested on another 3DS with ReiNand with patched AGB Firm on sysNAND and emuNAND and both games have no screen issue I described above.

THIS are the tricks I said before, the tricks the BIOS is useful for. Some games refuse to boot properly on bare metal, or on unmodified enviroments like emulators or, in this case, 3DS proccesed. That's why in many emulators out there there is always the option to inlude the BIOS boot as there are roms that rely on them to boot properly and w/o issues.
 

artur3004

Well-Known Member
Member
Joined
Mar 31, 2015
Messages
486
Trophies
0
Age
28
XP
314
Country
Gambia, The
I want to compile AuReiNand, but I need armips, bin2c and makerom for ubuntu 64bit. Where can I find them?
 

Enaske

Well-Known Member
Member
Joined
May 25, 2015
Messages
233
Trophies
0
Age
33
XP
144
Country
Do we have 10.7 Support yet on any CFW? Only saw 10.4 currently I run 10.5 with the real ReiNand so woundering.
 

Aurora Wright

Well-Known Member
OP
Member
Joined
Aug 13, 2006
Messages
1,549
Trophies
3
XP
4,353
Country
Italy
Anyone having issues with Pokemon games. Booting without Bios screen Emerald and Fire Red both have issues where the the top of the screen gets cut off and appears at the bottom of the screen. Same games tested on another 3DS with ReiNand with patched AGB Firm on sysNAND and emuNAND and both games have no screen issue I described above.
SD cluster size.
 

artur3004

Well-Known Member
Member
Joined
Mar 31, 2015
Messages
486
Trophies
0
Age
28
XP
314
Country
Gambia, The
Here are all the dependencies you need, precompiled for 64 bit linux (Literally copied the binaries I use):
https://mega.nz/#!HhgyyQTL!vSGbYm7vLaJfJMhG8HdwiIP7_zrh_rQfAOxwOWyI_Ww
thanks but next problem...
Code:
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
arm-none-eabi-as -mlittle-endian -mcpu=arm946e-s -march=armv5te  -mthumb -mthumb-interwork -o build/fatfs/sdmmc/delay.o source/fatfs/sdmmc/delay.s
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/ff.o source/fatfs/ff.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/diskio.o source/fatfs/diskio.c
ARMIPS64 Assembler v0.8.0 (Apr  3 2016 19:41:48) by Kingcom
Done.
ARMIPS64 Assembler v0.8.0 (Apr  3 2016 19:41:48) by Kingcom
Done.
make[1]: Entering directory '/home/artur/3ds/AuReiNand/injector'
patcher.c
arm-none-eabi-gcc -MMD -MP -MF /home/artur/3ds/AuReiNand/injector/build/patcher.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/home/artur/3ds/AuReiNand/injector/include -I/opt/devkitPro/libctru/include -I/home/artur/3ds/AuReiNand/injector/build -DARM11 -D_3DS -c /home/artur/3ds/AuReiNand/injector/source/patcher.c -o patcher.o
loader.c
arm-none-eabi-gcc -MMD -MP -MF /home/artur/3ds/AuReiNand/injector/build/loader.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/home/artur/3ds/AuReiNand/injector/include -I/opt/devkitPro/libctru/include -I/home/artur/3ds/AuReiNand/injector/build -DARM11 -D_3DS -c /home/artur/3ds/AuReiNand/injector/source/loader.c -o loader.o
/home/artur/3ds/AuReiNand/injector/source/loader.c: In function 'loader_LoadProcess':
/home/artur/3ds/AuReiNand/injector/source/loader.c:200:3: error: unknown type name 'CodeSetInfo'
   CodeSetInfo codesetinfo;
   ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:249:24: error: request for member 'name' in something not a structure or union
     memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
                        ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:250:16: error: request for member 'program_id' in something not a structure or union
     codesetinfo.program_id = progid;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:251:16: error: request for member 'text_addr' in something not a structure or union
     codesetinfo.text_addr = vaddr.text_addr;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:252:16: error: request for member 'text_size' in something not a structure or union
     codesetinfo.text_size = vaddr.text_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:253:16: error: request for member 'text_size_total' in something not a structure or union
     codesetinfo.text_size_total = vaddr.text_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:254:16: error: request for member 'ro_addr' in something not a structure or union
     codesetinfo.ro_addr = vaddr.ro_addr;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:255:16: error: request for member 'ro_size' in something not a structure or union
     codesetinfo.ro_size = vaddr.ro_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:256:16: error: request for member 'ro_size_total' in something not a structure or union
     codesetinfo.ro_size_total = vaddr.ro_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:257:16: error: request for member 'rw_addr' in something not a structure or union
     codesetinfo.rw_addr = vaddr.data_addr;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:258:16: error: request for member 'rw_size' in something not a structure or union
     codesetinfo.rw_size = vaddr.data_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:259:16: error: request for member 'rw_size_total' in something not a structure or union
     codesetinfo.rw_size_total = data_mem_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:260:11: warning: implicit declaration of function 'svcCreateCodeSet' [-Wimplicit-function-declaration]
     res = svcCreateCodeSet(&codeset, &codesetinfo, (void *)shared_addr.text_add
           ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:263:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
       res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descr
             ^
/opt/devkitPro/devkitARM/base_rules:84: recipe for target 'loader.o' failed
make[2]: *** [loader.o] Error 1
Makefile:103: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/artur/3ds/AuReiNand/injector'
Makefile:74: recipe for target 'build/patches.h' failed
make: *** [build/patches.h] Error 2
Geez, I don't know what's the problem now. compiling other stuff like rxtools or fbi works like a charm.
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,975
Country
United States
thanks but next problem...
Code:
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
arm-none-eabi-as -mlittle-endian -mcpu=arm946e-s -march=armv5te  -mthumb -mthumb-interwork -o build/fatfs/sdmmc/delay.o source/fatfs/sdmmc/delay.s
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/ff.o source/fatfs/ff.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mlittle-endian -mcpu=arm946e-s -march=armv5te -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math   -c -mthumb -mthumb-interwork -Wno-unused-function -o build/fatfs/diskio.o source/fatfs/diskio.c
ARMIPS64 Assembler v0.8.0 (Apr  3 2016 19:41:48) by Kingcom
Done.
ARMIPS64 Assembler v0.8.0 (Apr  3 2016 19:41:48) by Kingcom
Done.
make[1]: Entering directory '/home/artur/3ds/AuReiNand/injector'
patcher.c
arm-none-eabi-gcc -MMD -MP -MF /home/artur/3ds/AuReiNand/injector/build/patcher.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/home/artur/3ds/AuReiNand/injector/include -I/opt/devkitPro/libctru/include -I/home/artur/3ds/AuReiNand/injector/build -DARM11 -D_3DS -c /home/artur/3ds/AuReiNand/injector/source/patcher.c -o patcher.o
loader.c
arm-none-eabi-gcc -MMD -MP -MF /home/artur/3ds/AuReiNand/injector/build/loader.d -flto -Wall -O2 -mword-relocations -ffast-math -ffunction-sections -fdata-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/home/artur/3ds/AuReiNand/injector/include -I/opt/devkitPro/libctru/include -I/home/artur/3ds/AuReiNand/injector/build -DARM11 -D_3DS -c /home/artur/3ds/AuReiNand/injector/source/loader.c -o loader.o
/home/artur/3ds/AuReiNand/injector/source/loader.c: In function 'loader_LoadProcess':
/home/artur/3ds/AuReiNand/injector/source/loader.c:200:3: error: unknown type name 'CodeSetInfo'
   CodeSetInfo codesetinfo;
   ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:249:24: error: request for member 'name' in something not a structure or union
     memcpy(&codesetinfo.name, g_exheader.codesetinfo.name, 8);
                        ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:250:16: error: request for member 'program_id' in something not a structure or union
     codesetinfo.program_id = progid;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:251:16: error: request for member 'text_addr' in something not a structure or union
     codesetinfo.text_addr = vaddr.text_addr;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:252:16: error: request for member 'text_size' in something not a structure or union
     codesetinfo.text_size = vaddr.text_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:253:16: error: request for member 'text_size_total' in something not a structure or union
     codesetinfo.text_size_total = vaddr.text_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:254:16: error: request for member 'ro_addr' in something not a structure or union
     codesetinfo.ro_addr = vaddr.ro_addr;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:255:16: error: request for member 'ro_size' in something not a structure or union
     codesetinfo.ro_size = vaddr.ro_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:256:16: error: request for member 'ro_size_total' in something not a structure or union
     codesetinfo.ro_size_total = vaddr.ro_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:257:16: error: request for member 'rw_addr' in something not a structure or union
     codesetinfo.rw_addr = vaddr.data_addr;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:258:16: error: request for member 'rw_size' in something not a structure or union
     codesetinfo.rw_size = vaddr.data_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:259:16: error: request for member 'rw_size_total' in something not a structure or union
     codesetinfo.rw_size_total = data_mem_size;
                ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:260:11: warning: implicit declaration of function 'svcCreateCodeSet' [-Wimplicit-function-declaration]
     res = svcCreateCodeSet(&codeset, &codesetinfo, (void *)shared_addr.text_add
           ^
/home/artur/3ds/AuReiNand/injector/source/loader.c:263:13: warning: implicit declaration of function 'svcCreateProcess' [-Wimplicit-function-declaration]
       res = svcCreateProcess(process, codeset, g_exheader.arm11kernelcaps.descr
             ^
/opt/devkitPro/devkitARM/base_rules:84: recipe for target 'loader.o' failed
make[2]: *** [loader.o] Error 1
Makefile:103: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/artur/3ds/AuReiNand/injector'
Makefile:74: recipe for target 'build/patches.h' failed
make: *** [build/patches.h] Error 2
Geez, I don't know what's the problem now. compiling other stuff like rxtools or fbi works like a charm.
You need to update ctrulib.
 

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
32
Location
Seinegald
XP
2,840
Country
Iraq
Can all this compiling AuReiNand be put in another thread !!

i also would prefer that, and i think my homie @fr3quency has even made a compiling thread, so maybe people should post there their issues?

but then again, i believe some are connected to recent aurei updates and so they might prefer an answer from the OP Aurora herself?
 
  • Like
Reactions: fr3quency

rockbmi

Well-Known Member
Member
Joined
Jul 31, 2007
Messages
610
Trophies
1
Age
36
XP
2,349
i also would prefer that, and i think my homie @fr3quency has even made a compiling thread, so maybe people should post there their issues?

but then again, i believe some are connected to recent aurei updates and so they might prefer an answer from the OP Aurora herself?
Well she hardly ever replies to compiling posts, as the general user usually waits till she releases an official release.
 
Status
Not open for further replies.
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Seasons in the abyss lol