ctrmus
ctrmus copied to clipboard
Allow disabling autoplay
I am considering adding a toggle to disable autoplay and exposing it through a simple terminal-style settings menu, allowing users to change basic settings. Since there’s currently no way to change settings, it’s better to add a basic version now for functionality rather than wait for a full GUI implementation, which will take longer. If we switch to citro2d later, this menu can be upgraded to use buttons and touch input.
Implementation idea:
Format:
- Toggled settings are represented by a checkbox:
[ ]and[x]. Eg:[ ] Enable autoplay,[x] Enable autoplay - Settings where it's possible to select one of multiple values are represented by
( )and(*). Eg:Previous/Next: (*) ZL/ZR, ( ) L/R, ( ) None - The currently selected setting is denoted by
>. Eg:>[ ] Enable autoplayor>Previous/Next: (*) ZL/ZR, ( ) L/R, ( ) None
Controls
- Press
Yto open settings menu, which can be exited by pressingYorB(if a GUI is added this could be removed and the settings menu could just be accessed through a small button on the bottom screen) - List of settings appears on bottom screen, and it can be navigated by pressing
UporDown - Pressing
LeftorRighton a multiselect setting changes the selected setting to the left/right - Pressing
Aon a toggleable setting toggles it from checked to unchecked or unchecked to checked
Extra Details:
- Save settings in json file when user changes a setting, create a folder at
sdmc:/3ds/ctrmus/to store this. The file could probably be calledsettings.jsonorconfig.json. Read from this json file upon startup to load settings.