Skip to content
This repository was archived by the owner on Aug 21, 2022. It is now read-only.

2: Installing RSGL3DS and compiling 3DS code

EimaMei edited this page Jul 8, 2021 · 1 revision

Note: For Windows, you'll need to download make for the compilation. Do your own research to find the best option for you, as I don't use Windows so I can't really tell you which is the best alternative for it. Sorry!

If you prepared everything you'll need to use RSGL3DS, then you're almost done! You now only need to download this repository with these steps in detail:

Step 1: Downloading the Repository

Simple, just download and then unzip it!

Step 2: Running Make

It's time to run Makefile! Open command prompt (or terminal if you're on a Unix OS) and then type cd <the path to the folder, where you downloaded RSGL3DS/3DS> (eg. if my download went to Downloads, I would need to do cd /Users/eimamei/Downloads/RSGL-3DS-main/3DS/ on Unix). Then run the command make. It'll output this:

main.cpp
linking RSGL.elf
built ... RSGL.3dsx

This is good, it means you've compiled the main.cpp example code. In the 3DS folder, you'll see 3 new files, these being:

  • RSGL.3dsx
  • RSGL.elf
  • RSGL.smdh

And that's basically it for the compiling example code. Next section will be for debugging code on Citra and the 3ds. However, if you already know the best way to debug code efficiently, then on section 4 and onwards, it'll be a documentation on what you can do with RSGL 3DS!