Tutorial  Updated

How to Sync & Compile Luma3DS

There were some users that wanted to compile Luma3DS themselves but run into problems. There is already a guide that explains how to sync and compile rxTools, so most of the stuff here is stolen from this guide: https://gbatemp.net/threads/noob-proof-guide-to-compile-rxtools-source.392242/ (thanks btw @capito27. Your guide helped me compile rxTools back then and made me understand some of this shi-- stuff. :P).

I try to keep the guide simple is both glossary/terms and images. That means I will use the same picture over and over as well as the same sentence to keep it noob-friendly.


Follow the guide TO THE LETTER. Double check and triple check. IT JUST WORKS!™
Seriously, if it won't work with the first try you did something wrong. "You're holding it wrong™".


So, you want to sync & compile Luma3DS. Here's what you have to do:



Start here:
  1. Navigate to "C:\" and create a new folder with the name "Nintendo3DS" or whatever you like. Now open this folder that you created.
    !!!!!!!!!! TIP: Don't add spaces in THAT folder's name. For example: if you want the folder to be named "Nintendo 3DS" then you will have to name it "Nintendo3DS" or "Nintendo_3DS(the difference is that there is NO space) !!!!!!!!!!

  2. Create 2 new folders inside with the names "Programs" and "Sources"
    Programs = the folder in which you install all the needed programs
    Sources = the folder in which you will sync the code.
    It should look like this:
    0m09obS.jpg


    !!!!!!!!!! Now install all of the following programs to "C:\Nintendo3DS\Programs" !!!!!!!!!!

  3. Download Git for your operating system from here: https://git-scm.com/downloads (When you install it, just click on "Next" to everything it says).

  4. Download latest Python 3.x from here: https://www.python.org/downloads/

  5. Install devkitPro from here: https://sourceforge.net/projects/devkitpro/

  6. Download MinGW from here: https://sourceforge.net/projects/mingw/ When installation is over, it will show you a window and ask you which package to install. Choose "mingw32-base" and "msys-base", wait for the installation to finish and close the window.

  7. After you are done installing the programs from STEP 3, 4, 5 & 6, your "C:\Nintendo3DS\Programs" should look like this:
    u0xe5hs.png


  8. Go to Luma3DS's GitHub page which can be found here: https://github.com/AuroraWright/Luma3DS and download "armips" from the description at the bottom. (If you're clueless, just press on your keyboard CTRL+F and type "armips").
    Place the file inside "C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin"

  9. Download Visual C++ Redistributable 2015 x86 (EVEN IF YOU HAVE A x64(64-bit) OS) from Microsoft: https://www.microsoft.com/en-us/download/details.aspx?id=48145

  10. Download the latest MAKEROM.EXE for your OS from here: https://github.com/Steveice10/buildtools/tree/master/3ds, rename it to just "makerom.exe" and paste it in "C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin"

  11. You will have to edit your PATH. Don't freak out, it's easy:
    Right click on your Computer ICON --> Properties --> Advanced system settings --> Environment Variables... --> System variables --> FIND "Path" --> Edit.
    If you did it right, you should be looking at this window:
    WtSoNQG.png


    Now add the locations that are inside the red rectangle THEY HAVE TO BE AT THE TOP!

  12. Navigate to "C:\Nintendo3DS\Sources\" - As I said at the beginning of the guide, this is the folder that we will sync in everything we need in order to compile Luma3DS (Luma3DS will also be synced in this folder)

  13. We need to sync & compile CTRULIB first.

  14. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  15. Now type "git clone --recursive https://github.com/smealum/ctrulib.git"
    This is how it should look like:
    FnrpK09.jpg


  16. Navigate to "C:\Nintendo3DS\Sources\ctrulib\libctru"

  17. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  18. Now simply type "make" and wait to compile.
    This is how it should look like:
    0WCy9eK.jpg


  19. Navigate to "C:\Nintendo3DS\Sources\ctrulib" and COPY the folder with the name "libctru"
    This is how it looks like:
    8tl66hU.jpg


  20. Navigate to "C:\Nintendo3DS\PROGRAMS\devkitPro". In here, you will see an OLDER version of the "libctru" folder. First rename this folder to "OLD_libctru" and THEN paste the folder you had previously copied.
    If you did it right, you must be looking at this:
    1IWTNSS.png


  21. Go back to "C:\Nintendo3DS\Sources\". You will have to sync firmtool. https://github.com/TuxSH/firmtool
    On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg
  22. Now type "git clone --recursive https://github.com/TuxSH/firmtool"
    Open the folder you just synced. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg
  23. Now type "pip install cryptography" and when it's done type "pip install git+https://github.com/TuxSH/firmtool.git"
  24. Navigate to 'C:\Nintendo3DS\Sources"
    It time to sync Luma3DS. You're 95% done.

  25. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  26. Now type "git clone --recursive https://github.com/AuroraWright/Luma3DS.git", press enter and wait for it to sync the sources.
    This is how it should look like:
    9aoQ11K.png


  27. After it is done, you will see a newly created folder named "Luma3DS". Open this new folder.
    This is how it should look like:
    tvNBEBv.png


  28. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  29. Now simply type "make" and wait for it to do its job.
    This how it should look like:
    VFOyBSW.jpg


  30. After you type the "make" command, you will see a NEW folder named "out" inside Luma3DS's folder(C:\Nintendo3DS\Sources\Luma3DS\out)
    This is how it looks like:
    JqntHlx.jpg




Congratulation, you have successfully compiled Luma3DS! Now transfer the boot.firm file that you FINALLY created to your 3DS and have fun. :)

Credits go to @Aurora Wright for creating Luma3DS, @TuxSH, @Supster131, @astronautlevel and @Madridi for helping me out with every noob question I had and, of course, @capito27 for creating the original guide to compile rxTools(it really really helped me and sparked my desire to learn about all this stuff. Thanks a lot @capito27 !). And of course to all those that have helped build what we have now on our 3DS systems. If anyone feels I left them out, PM me so I can add your name here. <3




-----------> This guide can also be used to compile GodMode9/Decrypt9/SafeB9SInstsller if you ever wish to do so; you just need to replace the git page with the one where GodMode9/Decrypt9/SafeB9SInstsller is found in.
 
Last edited by fr3quency,

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
First of all THANKS for the tut!
Without the kind members of GBAtemp who wrote tut's like that it woud be much harder to get the stuff running ;)

My problem is that the installation of MinGW have the path C:\Nintendo3DS\PROGRAMS\MinGW\
but everything after that is missing from the installation you describe in the OP :(
I have many files installed but not the specified "msys" folder ...... did i do something wrong or have the changed the installation of MinGW ?

(i'am on windows 7 in VMWare)

SykvhHe.png



NEVERMIND!
If you install MinGW you have to chose 2 packages :)
The second one is: msys-base and everything is fine!

Like it that EVERYONE found that out without asking and i'am the first who asked for it!
But anyway thats ONE step thats missing in your NICE tut ;)
One of my friends that followed my tutorial told me the same thing. I never ticked anything to install "msys", it always installed itself automatically(I've tried 2 times and it installed automatically). I'll fix it when I'll edit the post after I see what's been changed the 2 weeks that I've been away. Thanks for reminding me!
 
A

a9lh-1user

Guest
No hurry!
Enjoy your vacation first and then we will see :)
I only installed it in Windows 7 and Windows 8.1 and both needed too choose it to install it.

Have Fun :)
 
  • Like
Reactions: fr3quency

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
Soooooo, I saw that Luma3DS now has a "developer" branch. If you want to sync this branch, you will have to type in CMD "git clone -b developer --single-branch https://github.com/AuroraWright/Luma3DS.git"


BUT! that won't sync CakeBrah and CakeHax which are needed for the compilation. I have found a 'dirty' way to override this, and that is to sync the main branch of Luma3DS to a different folder(different folder is necessary because both branches will create the same folder when synced).

I'll post a detailed how-to and when I find a way on how to sync BOTH the developer branch AND the needed files(CakeBrah and CakeHax), I'll make a new post.

1)Let's say you are in "C:\Nintendo3DS\Sources" or wherever you sync the sources.
2)Type "git clone -b developer --single-branch https://github.com/AuroraWright/Luma3DS.git" - This will create a "Luma3DS" folder. ---> "C:\Nintendo3DS\Sources\Luma3DS" - This is the DEVELOPER branch.
3)Create a NEW folder in "C:\Nintendo3DS\Sources" - you don't have to name it but if you want to, name it whatever you want.
4)Open that NEW FOLDER.
5)Now type inside the NEW FOLDER "git clone --recursive https://github.com/AuroraWright/Luma3DS.git"
6)This will create a "Luma3DS" folder inside the NEW FOLDER. ---> "C:\Nintendo3DS\Sources\New folder\Luma3DS" - This is the MAIN branch.
7)Open the Luma3DS folder inside the NEW FOLDER.
8)Copy the folders "CakeBrah" and "CakeHax".
9)Paste those folders in "C:\Nintendo3DS\Sources\Luma3DS" - This is the DEVELOPER branch.
10)Open a CMD window and type "make"



Voila. This is for those that want to sync and compile the DEVELOPER branch. If you are happy/want to use the MAIN branch, you DON'T HAVE TO do the above stuff.

Please be kind as I'm new to this stuff, so this is the "dirty" workaround I found for the time being. Anyone with the knowledge, feel free to tell us a way so we don't have to sync both the developer and main branches.
 
Last edited by fr3quency,

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
Guide (FINALLY!) updated to reflect the change in Luma3DS's name(previously known as (Au)Reinand).

If someone wishes to sync & compile the DEVELOPER branch of Luma3DS, here's my post in which I explain how to do it: http://gbatemp.net/threads/tutorial-how-to-sync-compile-aureinand.420787/page-8#post-6315624



If you have followed this guide and wish to compile more stuff, here's what you have to do:

1) Sync citrus. Using a command prompt window, and inside the right folder in which you sync your sources(the one in which you sync Luma3DS), type "git clone --recursive https://github.com/Steveice10/citrus.git".
Then open the folder, open a new command prompt window and type "make". You will get an "output" folder. Copy the "include" and "lib" folders. Now create a folder named "citrus" inside "C:\Nintendo3DS\Programs\devkitPro" and paste the folders that you copied inside it.



2) You can also sync buildtools in order to get bannertool.exe
To do so, inside the right folder in which you sync your sources(the one in which you sync Luma3DS), type "git clone --recursive https://github.com/Steveice10/buildtools.git".

You won't have to type "make" inside a comamnd prompt window with this one. Simply navigate to "C:\Nintendo3DS\Sources\buildtools\3ds" and copy the "bannertool32.exe" or "bannertool64.exe" file depending on the architecture of your OS. Then paste the .exe inside "C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin" and RENAME it to "bannertool.exe"



3) Download the info-zip binaries for your OS(either 32-bit or 64-bit) http://www.willus.com/archive/zip64/ and paste them ALL inside "C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin"




Decrypt9WIP and AuroraWright's arm9loaderhax can be built WITHOUT those 3 things above. (I believe other arm9loaderhax versions can be built as well but take it with a grain of salt)


With those 3 things above, you can compile FBI, CTRXplorer, TWLSaveTool(a tool to backup your DS games) and maybe some more.


To compile JKSM, you need additional stuff which I tried to learn how to compile them, but each stuff requires additional stuff and that's it. When and if I learn how to do it, I'll make a new post.


In the meantime, have fun compiling those stuff yourself and don't be afraid to experiment.
 
Last edited by fr3quency,

Andyiguess

Member
Newcomer
Joined
Jul 6, 2017
Messages
5
Trophies
0
Age
23
XP
52
Country
United States
(posting in hopes that this guide still applies)
I've been trying to compile the latest Luma, but can't seem to get around this error.
Vz7U8we.png


I'm not sure what I could've done wrong and any input would be greatly appreciated.
 

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
(posting in hopes that this guide still applies)
I've been trying to compile the latest Luma, but can't seem to get around this error.
Vz7U8we.png


I'm not sure what I could've done wrong and any input would be greatly appreciated.

Hello. This guide still applies as I used it today to sync and compile Luma3DS, GodMode9, FBI etc on another laptop.

You could try using latest armips: http://buildbot.orphis.net/armips/ and download makerom from here: https://github.com/Steveice10/buildtools/tree/master/3ds (rename makerom64 or makerom86 depending on your pc's CPU architecture to just makerom and put those files into xxxxxxxx\devkitPro\devkitARM\bin\).

Right click on your "Computer Icon > Properties > Advanced System Settings > Environment Variables" and be sure your PATH is like that:
WtSoNQG.png


and

 
Last edited by fr3quency,

Andyiguess

Member
Newcomer
Joined
Jul 6, 2017
Messages
5
Trophies
0
Age
23
XP
52
Country
United States
Hello. This guide still applies as I used it today to sync and compile Luma3DS, GodMode9, FBI etc on another laptop.

You could try using latest armips: http://buildbot.orphis.net/armips/ and download makerom from here: https://github.com/Steveice10/buildtools/tree/master/3ds (rename makerom64 or makerom86 depending on your pc's CPU architecture to just makerom and put those files into xxxxxxxx\devkitPro\devkitARM\bin\).

Right click on your "Computer Icon > Properties > Advanced System Settings > Environment Variables" and be sure your PATH is like that:
WtSoNQG.png


and


THANK YOU SO MUCH!
I'd just simply not renamed makerom. Sorry to bother you with a silly little mistake like that. I guess I need to work on my attention to detail.
 

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
THANK YOU SO MUCH!
I'd just simply not renamed makerom. Sorry to bother you with a silly little mistake like that. I guess I need to work on my attention to detail.
Refresh the page as I updated slightly the guide in a hurry to address some extra things the current Luma3DS needs. Just a side note, since a month ago I wasn't able to boot Luma3DS even though it compiled with no errors on Windows. I hope you have a better luck or use this guide to learn how this stuff works or as a step to build FBI, GodMode9 etc. If you need any help on compiling other stuff do not hesitate to PM me.


Sent from my Nexus 5 using Crapatalk
 

Andyiguess

Member
Newcomer
Joined
Jul 6, 2017
Messages
5
Trophies
0
Age
23
XP
52
Country
United States
Refresh the page as I updated slightly the guide in a hurry to address some extra things the current Luma3DS needs. Just a side note, since a month ago I wasn't able to boot Luma3DS even though it compiled with no errors on Windows. I hope you have a better luck or use this guide to learn how this stuff works or as a step to build FBI, GodMode9 etc. If you need any help on compiling other stuff do not hesitate to PM me.


Sent from my Nexus 5 using Crapatalk

Thanks, and sure thing. Luma compiled and is working flawlessly.
 

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
Thanks, and sure thing. Luma compiled and is working flawlessly.
What the... really? xD I don't have a screwdriver with me so I was afraid to transfer the file to the n3DS.

Sent from my Nexus 5 using Crapatalk
 
Last edited by fr3quency,
  • Like
Reactions: Ricken

Lumince

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
2,343
Trophies
1
XP
3,747
Country
United States
Old thread, but could anyone hook me up with armips? I had to format my pc and I cant find it in the desc... I cant find it at all xD
 

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
Last edited by fr3quency,
  • Like
Reactions: Lumince

dpad_5678

Ape weak on own. Ape strong in unity.
Member
Joined
Nov 19, 2015
Messages
2,219
Trophies
1
XP
2,880
Country
United States
Getting this error when trying to compile Luma 8.x. I can compile Luma 7.x just fine, though. If someone can help out that'd be great, thanks!

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
 

Andyiguess

Member
Newcomer
Joined
Jul 6, 2017
Messages
5
Trophies
0
Age
23
XP
52
Country
United States
What the... really? xD I don't have a screwdriver with me so I was afraid to transfer the file to the n3DS.

Sent from my Nexus 5 using Crapatalk
I've used the precompiled version for my n3ds so far, but I can check.

Self compiled for o3ds was fine though.
 

fr3quency

Well-Known Member
OP
Member
Joined
Jan 11, 2016
Messages
811
Trophies
0
Age
32
Location
Wherever my imagination decides.
Website
fr3quency.deviantart.com
XP
823
Country
Greece
Getting this error when trying to compile Luma 8.x. I can compile Luma 7.x just fine, though. If someone can help out that'd be great, thanks!
You shouldn't face any problems if you follow the guide TO THE LETTER. Trust me, I use my guide to set up the environment every time I format or I'm using a new PC.
 

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,542
Trophies
2
XP
7,718
Country
Japan
There were some users that wanted to compile Luma3DS themselves but run into problems. There is already a guide that explains how to sync and compile rxTools, so most of the stuff here is stolen from this guide: https://gbatemp.net/threads/noob-proof-guide-to-compile-rxtools-source.392242/ (thanks btw @capito27. Your guide helped me compile rxTools back then and made me understand some of this shi-- stuff. :P).

I try to keep the guide simple is both glossary/terms and images. That means I will use the same picture over and over as well as the same sentence to keep it noob-friendly.


Follow the guide TO THE LETTER. Double check and triple check. IT JUST WORKS!™
Seriously, if it won't work with the first try you did something wrong. "You're holding it wrong™".


So, you want to sync & compile Luma3DS. Here's what you have to do:



Start here:
  1. Navigate to "C:\" and create a new folder with the name "Nintendo3DS" or whatever you like. Now open this folder that you created.
    !!!!!!!!!! TIP: Don't add spaces in THAT folder's name. For example: if you want the folder to be named "Nintendo 3DS" then you will have to name it "Nintendo3DS" or "Nintendo_3DS(the difference is that there is NO space) !!!!!!!!!!

  2. Create 2 new folders inside with the names "Programs" and "Sources"
    Programs = the folder in which you install all the needed programs
    Sources = the folder in which you will sync the code.
    It should look like this:
    0m09obS.jpg


    !!!!!!!!!! Now install all of the following programs to "C:\Nintendo3DS\Programs" !!!!!!!!!!

  3. Download Git for your operating system from here: https://git-scm.com/downloads (When you install it, just click on "Next" to everything it says).

  4. Download latest Python 3.x from here: https://www.python.org/downloads/

  5. Install devkitPro from here: https://sourceforge.net/projects/devkitpro/

  6. Download MinGW from here: https://sourceforge.net/projects/mingw/ When installation is over, it will show you a window and ask you which package to install. Choose "mingw32-base" and "msys-base", wait for the installation to finish and close the window.

  7. After you are done installing the programs from STEP 3, 4, 5 & 6, your "C:\Nintendo3DS\Programs" should look like this:
    u0xe5hs.png


  8. Go to Luma3DS's GitHub page which can be found here: https://github.com/AuroraWright/Luma3DS and download "armips" from the description at the bottom. (If you're clueless, just press on your keyboard CTRL+F and type "armips").
    Place the file inside "C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin"

  9. Download Visual C++ Redistributable 2015 x86 (EVEN IF YOU HAVE A x64(64-bit) OS) from Microsoft: https://www.microsoft.com/en-us/download/details.aspx?id=48145

  10. Download the latest MAKEROM.EXE for your OS from here: https://github.com/Steveice10/buildtools/tree/master/3ds, rename it to just "makerom.exe" and paste it in "C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin"

  11. You will have to edit your PATH. Don't freak out, it's easy:
    Right click on your Computer ICON --> Properties --> Advanced system settings --> Environment Variables... --> System variables --> FIND "Path" --> Edit.
    If you did it right, you should be looking at this window:
    WtSoNQG.png


    Now add the locations that are inside the red rectangle THEY HAVE TO BE AT THE TOP!

  12. Navigate to "C:\Nintendo3DS\Sources\" - As I said at the beginning of the guide, this is the folder that we will sync in everything we need in order to compile Luma3DS (Luma3DS will also be synced in this folder)

  13. We need to sync & compile CTRULIB first.

  14. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  15. Now type "git clone --recursive https://github.com/smealum/ctrulib.git"
    This is how it should look like:
    FnrpK09.jpg


  16. Navigate to "C:\Nintendo3DS\Sources\ctrulib\libctru"

  17. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  18. Now simply type "make" and wait to compile.
    This is how it should look like:
    0WCy9eK.jpg


  19. Navigate to "C:\Nintendo3DS\Sources\ctrulib" and COPY the folder with the name "libctru"
    This is how it looks like:
    8tl66hU.jpg


  20. Navigate to "C:\Nintendo3DS\PROGRAMS\devkitPro". In here, you will see an OLDER version of the "libctru" folder. First rename this folder to "OLD_libctru" and THEN paste the folder you had previously copied.
    If you did it right, you must be looking at this:
    1IWTNSS.png


  21. Go back to "C:\Nintendo3DS\Sources\". You will have to sync firmtool. https://github.com/TuxSH/firmtool
    On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg
  22. Now type "git clone --recursive https://github.com/TuxSH/firmtool"
    Open the folder you just synced. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg
  23. Now type "pip install cryptography" and when it's done type "pip install git+https://github.com/TuxSH/firmtool.git"
  24. Navigate to 'C:\Nintendo3DS\Sources"
    It time to sync Luma3DS. You're 95% done.

  25. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  26. Now type "git clone --recursive https://github.com/AuroraWright/Luma3DS.git", press enter and wait for it to sync the sources.
    This is how it should look like:
    9aoQ11K.png


  27. After it is done, you will see a newly created folder named "Luma3DS". Open this new folder.
    This is how it should look like:
    tvNBEBv.png


  28. On your keyboard press SHIFT and right click with your mouse. The right click context menu will show you a new option "Open command window here". Click it.
    This is how it should look like:
    2NHmU8f.jpg


  29. Now simply type "make" and wait for it to do its job.
    This how it should look like:
    VFOyBSW.jpg


  30. After you type the "make" command, you will see a NEW folder named "out" inside Luma3DS's folder(C:\Nintendo3DS\Sources\Luma3DS\out)
    This is how it looks like:
    JqntHlx.jpg




Congratulation, you have successfully compiled Luma3DS! Now transfer the boot.firm file that you FINALLY created to your 3DS and have fun. :)

Credits go to @Aurora Wright for creating Luma3DS, @TuxSH, @Supster131, @astronautlevel and @Madridi for helping me out with every noob question I had and, of course, @capito27 for creating the original guide to compile rxTools(it really really helped me and sparked my desire to learn about all this stuff. Thanks a lot @capito27 !). And of course to all those that have helped build what we have now on our 3DS systems. If anyone feels I left them out, PM me so I can add your name here. <3




-----------> This guide can also be used to compile GodMode9/Decrypt9/SafeB9SInstsller if you ever wish to do so; you just need to replace the git page with the one where GodMode9/Decrypt9/SafeB9SInstsller is found in.
So i wish i knew what i was doing wrong here. I have regone over every step 5 or 6 times adn get stopped at the same part where i need to use 'make' for ctrulib when i open the cmd window in "C:\Nintendo3DS\Sources\ctrulib\libctru" then use make i get error of

C:\Nintendo3DS\Sources\ctrulib\libctru>make
Makefile:9: C:\Nintendo3DS/PROGRAMS/devkitPro/devkitARM/bin/base_rules: No such file or directory
make: *** No rule to make target `C:\Nintendo3DS/PROGRAMS/devkitPro/devkitARM/bin/base_rules'. Stop.

Any help to troubleshoot this one?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Boo I thought that was a rejection comment