My First Switch Homebrew.
I din’t expect to write homebrew for my Switch this early but it happen quite fast.
Have set a goal for my self to make some homebrew for al my modded consoles.
So I found my self installing DevKitPro on my OSX 10.14.6 Mac.
What would borat say?
Just need to install everything by pacman -Sy ….
Check this pastbin to check what i have installed:
After a few hours of copy and past work.
I made a hello world combining audio sdl and time example:
Used some of my own music Bartclub: music for the mind (freak sounds)
“Music for the Mind aka Helloween”
Binary download. (New Icon)
Now after some more googling and searching and I found a few homebrew sources to compile.
But sadly there where some broken Makefiles and because
I just started my journey into Switch develpement these things made my progress halt.
But in the end i made a nice small demo in SDL 2 to get me started.
I wanted graphics in my demo so i guessed I needed to learn some SDL2
Made a Icon 😀 for it
Here is a 30 second preview captured by the Switch of the Demo:
Binary Download build version for your Switch.
(Place .nro in new folder on you SD:/Switch/ folder)
My source code of the demo: my github page
But i need to give credit to Chris Karcz my version is a pimped up verion of his version.
You can find his demo on github too.
But the makefile is’t updated so I gotten compile errors in my version it’s fixed or replace this:
LIBS := -lSDL2_mixer -lSDL2 \
-lpng -lz -ljpeg -lglad -lEGL -lglapi -ldrm_nouveau \
-lmikmod -lvorbisidec -logg -lmpg123 -lmodplug -lstdc++ \
-lnx -lm -lfreetype -lbz2 `aarch64-none-elf-pkg-config SDL2_ttf SDL2_image SDL2_gfx –libs SDL2_mixer`
Next Up Pong 😀
I founda nice SDL2 Switch version of Pong on Github
So remade in memory of my old
a new version for the Nintendo Switch. (more info on Wii Pong Game)
This is heavy modded version of the I-EAT-CHEEZE-YO version
follow the link to the original source code.
Now it’s time to think up a real Swich app that is usefull. LoL