Homebrew Graphical Hello World for 3.0.0

vgmoose

Well-Known Member
OP
Member
Joined
Jan 31, 2016
Messages
360
Trophies
1
Website
github.com
XP
3,063
Country
United States
Updated to work with all firmwares now!

There are better ways to display text on screen now, but this program should still serve as a simple demo for people who want to get started.



I am in the process of porting some of my Wii U Homebrew to the Switch. While doing so, I found that I needed to be able to graphically display text on screen. I put the font drawing code into an easy to read hello world program, so that if people on 3.0.0 want to learn some simple programing, this may be a good start.

Link and instructions: https://github.com/vgmoose/sdl-hello-world

I can help provide support in this thread if people have issues getting this setup on their Switch/computer.

Also note that as of this time of writing, these instructions may change or become outdated as new stuff comes out. Particularly, drawing text this way isn't a great solution but it should be okay for a quick demo.
 
Last edited by vgmoose, , Reason: updated to 5.x

EvilG31

Member
Newcomer
Joined
Dec 31, 2017
Messages
21
Trophies
0
Age
35
XP
62
Country
United States
hello ! I use pegaswitch for the first time and when I type
evalfile usefulscripts/SetupNew.js
I get :
'no output'
why ?

Hey - I think you asked this in another thread too. 'no output' is normal - and you must run that or NROs won't load when you use runnro. (at least, that's what happened in my case.)

I figure the more threads we have a solution in, the better.
 
  • Like
Reactions: Xyphoseos

vgmoose

Well-Known Member
OP
Member
Joined
Jan 31, 2016
Messages
360
Trophies
1
Website
github.com
XP
3,063
Country
United States
For posterity, I have updated this program to work with 5.x. It also now supports both libtransistor and libnx, and you should be able to compile and run it with either! The readme is updated with instructions in case anyone wants to give this a shot.

Download: https://github.com/vgmoose/sdl-hello-world/releases
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: The cybertruck is a death trap.