A short Cookie Clicker-like app for the 3DS Family homebrew. Built using devkitPro in C.
Link: github.com/GabrielRRussell/CookieCollector-3DS-/
This application was created when I was first learning how to program using the language C.
Grab a release file from the releases page, or compile the code yourself. Place the 3DSX and SDMH in /root/3DS/games/CookieCollector/. Make sure /3ds/data/CookieCollector/ exists, or it may not start up.
Your files should look like this:
/root
/3DS
/games
/CookieCollector3DS
CookieCollector3DS.3dsx
CookieCollector3DS.smdh
/data
/CookieCollector
user.txt
Run the CookieCollector.3DSX file in the New-HBMenu, from an entrypoint of your choice. This supports Rosalina. You can select a title of your choice to run this 3DSX from, as a CIA build does not exist at the moment.
Clone the repo, and unzip it somewhere. CD to the root of the repo, and run 'make'. Once it has finished, it will produce an ELF and a 3DSX file of the same name. Grab the SDMH from the release page, and then use that instead of the generated one.
This assumes you have installed the necessary libraries and DevkitPro.
Credits to:
The Machinump's for making readable timer code.
LiquidFenrir on the homebrew discord for suffering through my mistakes and helping me with my mental sanity when it came to saving a file
Swiftloke and Realtime on the homebrew discord for helping me understand fopen more.
Sono for explaining and helping me understand so many different concepts in C.
EXTRA Thank you to Pillows2 / RyanTV for making me the icon for the game! Looks super pretty!