Alarm Clock 3DS

From GameBrew
Revision as of 13:12, 30 April 2020 by HydeWing (talk | contribs)

Template:Infobox 3DS homebrew

DEAD, OBSOLETE, UNSUPPORTED
Alarm Clock for 3DS

NOTE: BROKEN IN 2.5.
A lot of homebrew seems to have broken on 2.5, including lpp-3ds, and Rinnegatamante said he won't update it until the bugs are fixed, so... welp.
Maybe I'll try and port this to C++ some day.


UPDATE: lpp-3ds is being worked on to fix the bugs. I'll upload a new build when the problems are solved.

I present you a revolutionary piece of homebrew, an Alarm Clock!!!
If for some reason you don't have a phone or any other device with waking-up capabilities, you can use this thing!
Controls
A:
Turn on the alarm using the selected alarm time/Select file on file explorer.
B: Turn off the alarm and stop it if it's playing.
Y: Open alarm explorer.
X: Hide/show all UI elements (there's no way to turn off the screens as of yet); touching the screen will show the UI again too.
D-Pad Up/Down: Change alarm hour/Scroll on file explorer.
D-Pad Left/Right: Change alarm minutes.
L/R: Change clock color.
Select: Open background image explorer.
Start: Quit.

Alternatively, there's touchscreen controls for alarm-related features.

Setup
Put any WAV/OGGs you'd like to use on the "alarms" folder, located on the app's directory (as of 1.3.2 an alarm comes included).
Put PNGs (I think JPG is supported too) to use as background images on the "backgrounds" folder, located on the app's directory (1.4+ only).

Known Issues
-Selecting an alarm on 1.4 (except for the initial selection) freezes the app.

Changelog
-1.4: You can now set a background image for the top screen. However, for some reason it crashes when selecting an alarm file (the initial alarm select still works though) since I added the background feature, so depending on your priorities you might want to use 1.3.2 until this problem is solved.
-1.3.2: An alarm WAV now comes included. Updated lpp-3ds build.
-1.3.1: Improved/fixed audio loading speeds, and large files don't crash the 3DS anymore (thanks <a href="https://gbatemp.net/members/356821/" class="username" data-user="356821, @Rinnegatamante">@Rinnegatamante</a> once again).
-1.3: Added OGG support. Note that they take a long time to load (probably over 10 times the loading time of a WAV), so while it may seem crashed, it (most likely) isn't. I'm hoping to fix this in a future update.
-1.2: An "alarm.wav" isn't needed anymore. On startup the file explorer opens up to select a WAV from the "alarms" folder. If there's only one, it doesn't open and instead that one is used. If there's none, you're prompted to exit.
-1.1: Added support for selecting WAVs (thanks <a href="https://gbatemp.net/members/356821/" class="username" data-user="356821, @Rinnegatamante">@Rinnegatamante</a> for the script) and color switching for the clock on the top screen. Read Controls for instructions (note: an initial alarm.wav is still needed).
-1.0.2: Fixed so you can ACTUALLY change the names to whatever the hell you want (thanks <a href="https://gbatemp.net/members/371815/" class="username" data-user="371815, @ddraco">@ddraco</a>).
-1.0.1 (I guess?): Lets you change the name of the .3dsx and its directory to whatever the hell you want.

TODO
-Add sleep mode support and/or screen turn off when lpp-3ds R4 is finished.
-Config file (for alarm file, clock color, background image, etc.).
-Clean up code.
Might consider:
-Browse the whole SD instead of just one folder.
-Show only the appropriate formats on the file explorers.

Please post bugs, ideas, suggestions, etc.!

Advertising: