[Tutorial] How to Sync & Compile Luma3DS

Discussion in '3DS - Tutorials' started by fr3quency, Mar 27, 2016.

  1. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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!
     
  2. a9lh-1user

    a9lh-1user GBAtemp Fan

    Member
    327
    129
    Apr 1, 2016
    Gambia, The
    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 :)
     
    fr3quency likes this.
  3. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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, Jun 20, 2017
    SirBeethoven and a9lh-1user like this.
  4. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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, Aug 21, 2016
    SirBeethoven and Grim Ripper like this.
  5. ofayto

    ofayto Member

    Newcomer
    16
    1
    Jun 17, 2017
    Japan
    Not trying to revive an old thread, just wanna say thanks for the tut!
    Will try it once in back
     
    fr3quency likes this.
  6. Andyiguess

    Andyiguess Newbie

    Newcomer
    5
    0
    Jul 6, 2017
    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.
    [​IMG]

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

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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:
    [​IMG]

    and

    [​IMG]
     
    Last edited by fr3quency, Jul 6, 2017
  8. Andyiguess

    Andyiguess Newbie

    Newcomer
    5
    0
    Jul 6, 2017
    United States
    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.
     
  9. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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
     
  10. Andyiguess

    Andyiguess Newbie

    Newcomer
    5
    0
    Jul 6, 2017
    United States
    Thanks, and sure thing. Luma compiled and is working flawlessly.
     
  11. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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, Jul 9, 2017
    Ricken likes this.
  12. Biff627

    Biff627 GBAtemp Maniac

    Member
    1,090
    400
    Aug 15, 2015
    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
     
  13. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    Automated builds available at http://buildbot.orphis.net/armips/

    Sent from my Nexus 5 using Crapatalk
     
    Last edited by fr3quency, Jul 10, 2017
    Biff627 likes this.
  14. dpad_5678

    dpad_5678 GBAtemp's Memelord

    Member
    1,694
    1,252
    Nov 19, 2015
    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!

     
  15. Andyiguess

    Andyiguess Newbie

    Newcomer
    5
    0
    Jul 6, 2017
    United States
    I've used the precompiled version for my n3ds so far, but I can check.

    Self compiled for o3ds was fine though.
     
  16. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    795
    347
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    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.
     
  17. Andyiguess

    Andyiguess Newbie

    Newcomer
    5
    0
    Jul 6, 2017
    United States
    Just used this on a different pc and it compiled first try.
     
  18. SkyQueen

    SkyQueen Arch3DS Developer || B0MBrHax

    Member
    218
    98
    Apr 23, 2016
    Japan
    Seteguya-ku, Tokyo, Japan
    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?
     
  19. tloberif

    tloberif Advanced Member

    Newcomer
    50
    3
    Mar 29, 2016
    Brazil