Hacking Can't Compile Luma 3DS

  • Thread starter Thread starter dpad_5678
  • Start date Start date
  • Views Views 1,959
  • Replies Replies 12

dpad_5678

Ape weak on own. Ape strong in unity.
Member
Joined
Nov 19, 2015
Messages
2,219
Reaction score
1,932
Trophies
1
XP
2,914
Country
United States
So I'm trying to compile Luma..... for a..... secret project ( ͡° ͜ʖ ͡°)
I've installed all of the dependacies like armips and firmtool. I've also placed armips.exe and makerom.exe in System32 so I can globally execute them from CMD.

Running MAKE from CMD gets me this:

C:\Users\User\Desktop\Luma3DS-7.1\Luma3DS-7.1\ng\Luma3DS>make
make[1]: Entering directory `/c/Users/User/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS/sysmodules/loader'
make[1]: armips: Command not found
make[1]: *** [build/romfsredir.bin] Error 127
make[1]: Leaving directory `/c/Users/User/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS/sysmodules/loader'
make: *** [build/loader.cxi] Error 2



And running MAKE from Git Bash gets me this:


User@DESKTOP-U70CG97 MINGW64 ~/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS (master)
$ make
0 [main] make 12556 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
make: *** [build/loader.cxi] Error 5

User@DESKTOP-U70CG97 MINGW64 ~/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS (master)
$

Any help/memes is/are greatly appreciated :)
 
put armips.exe in the same dir as makefile, then open command prompt in that same dir and run make
 
put armips.exe in the same dir as makefile, then open command prompt in that same dir and run make
Just tried, no dice. It seems to be looking for armips.exe in some other directory because I keep getting make[1]: armips: Command not found. I put it in both the directory with makefile and System32.
 
Just tried, no dice. It seems to be looking for armips.exe in some other directory because I keep getting make[1]: armips: Command not found. I put it in both the directory with makefile and System32.
Try following this
http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path

--------------------- MERGED ---------------------------

You can also add it to an already existing PATH location like C:\devkitPro\devkitARM\bin or whatever. I havent' tried this myself but it should work.
 
Try following this
http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path

--------------------- MERGED ---------------------------

You can also add it to an already existing PATH location like C:\devkitPro\devkitARM\bin or whatever. I havent' tried this myself but it should work.
I put both armips.exe and makerom.exe in the folder you specified, but now I get the following:

C:\Users\User\Desktop\Luma3DS-7.1\Luma3DS-7.1\ng\Luma3DS>make
make[1]: Entering directory `/c/Users/User/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS/sysmodules/loader'
make[1]: Leaving directory `/c/Users/User/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS/sysmodules/loader'
make[1]: Entering directory `/c/Users/User/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS/sysmodules/rosalina'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -g -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -fomit-frame-pointer -ffunction-sections -fdata-sections -I/c/devkitPro/libctru/include -Iinclude -DARM11 -D_3DS -c -o build/3dsx.o source/3dsx.c
source/3dsx.c: In function 'Ldr_CodesetFrom3dsx':
source/3dsx.c:247:26: error: 'RUNFLAG_APTCHAINLOAD' undeclared (first use in this function)
pst->runFlags |= RUNFLAG_APTCHAINLOAD;
^~~~~~~~~~~~~~~~~~~~
source/3dsx.c:247:26: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [build/3dsx.o] Error 1
make[1]: Leaving directory `/c/Users/User/Desktop/Luma3DS-7.1/Luma3DS-7.1/ng/Luma3DS/sysmodules/rosalina'
make: *** [build/rosalina.cxi] Error 2
 
I put both armips.exe and makerom.exe in the folder you specified, but now I get the following:
Ok, after doing this it seemed to encounter a problem with Rosalina. I was able to compile Luma 7.1 just fine after doing this..... weird.
 
Oh man I had to wipe my pc so I had to setup my 3ds environment again and followed this old guide for aureinand ;)
https://gbatemp.net/threads/tutorial-how-to-sync-compile-aureinand.420787/
Great guide
It compiles almost anything 3ds wise
Oh man I had to wipe my pc so I had to setup my 3ds environment again and followed this old guide for aureinand ;)
https://gbatemp.net/threads/tutorial-how-to-sync-compile-aureinand.420787/
Great guide
It compiles almost anything 3ds wise
Unfortunately everything the guide told me to update/install I already had. I can compile Luma 7.1 just fine. I get the following error with Luma 8.0 and Luma 8.1:

C:\Users\User\Desktop\Luma3DS>make
make[1]: Entering directory `/c/Users/User/Desktop/Luma3DS/sysmodules/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/User/Desktop/Luma3DS/sysmodules/loader'
make[1]: Entering directory `/c/Users/User/Desktop/Luma3DS/sysmodules/rosalina'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -g -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -fomit-frame-pointer -ffunction-sections -fdata-sections -I/c/devkitPro/libctru/include -Iinclude -DARM11 -D_3DS -c -o build/3dsx.o source/3dsx.c
source/3dsx.c: In function 'Ldr_CodesetFrom3dsx':
source/3dsx.c:247:26: error: 'RUNFLAG_APTCHAINLOAD' undeclared (first use in this function)
pst->runFlags |= RUNFLAG_APTCHAINLOAD;
^~~~~~~~~~~~~~~~~~~~
source/3dsx.c:247:26: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [build/3dsx.o] Error 1
make[1]: Leaving directory `/c/Users/User/Desktop/Luma3DS/sysmodules/rosalina'
make: *** [build/rosalina.cxi] Error 2
 

Site & Scene News

Popular threads in this forum