The goal of this library is to provide a quick and simple way to implement a basic CLI (Command-line interface) in your Nintendo 3DS homebrew application.
If you don't want to lose time implementing a GUI at the early stages of your project, this is for you.
- Check that you have the usual 3DS dependencies:
devkitARM
andlibctru
. - Clone this repo:
git clone https://github.com/rafaelcgs10/cli3DS
. - Run:
cd cli3DS
- Run:
make
- Run:
sudo make install
. Since you run this command withsudo
, then the environment variableDEVKITPRO
must have been set system wide. This command will copyinclude/cli3DS.h
to$(DEVKITPRO)/libctru/include/
andlib/libcli3DS.a
to$(DEVKITPRO)/libctru/lib/
, plus it willchmod 644
them. You could do this using your own hands though.
Look the example in the example
folder to see how to use this library. Also, check the README.md
file there too.
- Abstract options as a class.
- Pagination for dealing with long lists of options.
- Multiple menus navegation.
- Options can be selectable.
- Splash screen for processing selected options.
- Manage multiple screens.
Feel free to help me out with those tasks!