Homebrew [Release] Hello World

JoostinOnline

Certified Crash Test Dummy
OP
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
This is just a template for anyone who wants to get started on text-based 3DS homebrew, and doesn't care about it looking good. It is the bare minimum for running an app, but notes are included. It is of no use to people who don't want develop apps.

Download

How to use
You need some basic knowledge of C of course, but I've included some notes in the code. Here are some commands:
  • make: build a 3dsx (NINJHAX) and cia (Gateway) executable.
  • make clean: delete the previously built files.
  • make run: Runs the homebrew file in 3dmoo so you can at least know if it works.
How to make it look nicer
Using printf is easy, but it's not pretty. Using colors can change that. I made a file to easily do just that.
  1. Save this as color.h in the source folder.
  2. Add #include "color.h" to the top of your source file.
  3. Use SET_COLOR(x) whenever you want to switch the font/background color, where x is any one of the colors listed in color.h
PS: I'm aware that another Hello World app exists, but it is far more complex and uses a custom font.
 
Last edited by JoostinOnline,

JoostinOnline

Certified Crash Test Dummy
OP
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
It's because you have a space in one of the folder names. Change "ctrulib-master (1)" to "ctrulib-master", or anything else without spaces. Run "make clean" before "make install", just to be safe.

Btw, to copy everything in command prompt, right-click on the text, choose Select All, right-click again, then paste it anywhere.
 

flarn2006

Well-Known Member
Member
Joined
Apr 6, 2014
Messages
394
Trophies
0
Age
30
XP
523
Country
United States
  • Like
Reactions: JoostinOnline

JoostinOnline

Certified Crash Test Dummy
OP
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
DyAFdi7.png
George?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Nintendo becomes responsible for 2024s virus