[Tutorial] How to Sync & Compile AuReiNand

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

  1. fr3quency
    OP

    fr3quency GBAtemp Advanced Fan

    Member
    744
    319
    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
    315
    128
    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
    744
    319
    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
    744
    319
    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
    12
    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.