Setting Up Your Developer Environment.
Warning
ADMINISTRATOR PERMISSIONS ARE REQUIRED IN ORDER TO FOLLOW THIS GUIDE PROPERLY.
How???
Basic requirements
- devkitPro.
- Coding IDE (e.g Visual Studio Code.)
Installing devKitPro
After downloading the installer, run it as administrator and click next.
Only check the 3ds package (or more systems if you are actually interested in making homebrew apps for them).
Making your first project
You'll have to download the swagrbew hello world template.
Unzip the folder, then enter your coding ide.
Before starting, here are a few things to know:
consoleInit()
initializes the console's top screen. you can initialize the bottom screan instead by replacingGFX_TOP
byGFX_BOTTOM
.printf()
prints text to either the top or bottom screen (depending on consoleInit's config).\n
will make the nextprintf()
statement print on a new line.
Try Your First Homebrew App
Open the template's folder in a terminal, then run make
. You can now either laod the file using citra or a homebrewed 3ds!