My First Switch Homebrew.
Today I played some more with the Switch Devkit
aka Devkitpro.
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.
The installation was not that easy, but in the end I got the example files compiled.
Look at that nice build log:
What would borat say?
Just need to install everything by pacman -Sy ….
Check this pastbin to check what i have installed:
https://pastebin.com/Ncrb349n
So after that, it was time for some “hello world” testing.
is it not a beauty 😀
Real “Hello World” screenshot (made in Vakantie park Aqua Delta I was bored)
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:
Like i said it’s just a few examples thrown together.
Audio SDL2 and SDL2 PNG example (not include in switch example pack link below)
And my own music again Electragazan sounds a bit 8 bit (a bit) 🙂
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
by I-EAT-CHEEZE-YO
This is the final release.
Now has scores for player 1 and 2.
2 Player support.
New Splash screen.
If you find bugs create a new issue and ill try to fix them.
So remade in memory of my old
a new version for the Nintendo Switch. (more info on Wii Pong Game)
Switch Pong!
Just A Splash screen 😀 #needsasplashscreen
Need to dig up the original graphics to make a true remake,
but this is the first demo game I made for my switch.
Only one game type best of 10
maybe I will add more in the future when i revisid this.
my Binary download & Source code if you like to check it out.
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
Cheers. Dc