Homebrew I want to learn how to code

funkey100

Member
OP
Newcomer
Joined
Feb 26, 2012
Messages
11
Trophies
0
XP
1
Country
United States
I really want to learn how to code a DS game. I know it takes time but I'm willing to spend it. I have code blocks installed and I'm wondering if I need to learn C or C++, and after I learn one of them, how to code a DS game with them.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
PAlib is not recommended at all. It is old and very outdated, hasn't been updated in years. It doesn't work with the latest homebrew SDK and libraries for NDS. Just learn C or C++ (doesn't matter) and install devkitPro, look at the examples and learn from there.

Due to changes in libnds, it's now actually more complicated to code with PAlib (which was originally meant to simplify DS programming) than it is with C/C++.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,831
Trophies
3
Location
Gaming Grotto
XP
29,873
Country
Poland
If you want to move onto the project relatively quickly, it is recommended that you learn C and pick a graphics library, such as NightfoxLib - it will facilitate your work. The best way to learn is to learn via development.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
There are NDS examples included with devkitPro. You can also download any open source NDS homebrew and look at it's source. Only problem with that is that a lot are old and won't even compile with the latest libs etc. But if you look through all the examples you should be able to work out a bit of it, then as Foxi4 suggested, find a graphics lib to use.
 
  • Like
Reactions: 1 person

Kiiro_Yakumo

Kitsune
Member
Joined
Apr 14, 2009
Messages
396
Trophies
1
Location
Gensokyo
Website
clash-of-gods.netau.net
XP
387
Country
Poland
If you want to move onto the project relatively quickly, it is recommended that you learn C and pick a graphics library, such as NightfoxLib - it will facilitate your work. The best way to learn is to learn via development.
C will prevail! *cough*
By default devkitpro if I remember correctly use C, it is possible to use C++ but come on :P
 

funkey100

Member
OP
Newcomer
Joined
Feb 26, 2012
Messages
11
Trophies
0
XP
1
Country
United States
If you want to move onto the project relatively quickly, it is recommended that you learn C and pick a graphics library, such as NightfoxLib - it will facilitate your work. The best way to learn is to learn via development.
C will prevail! *cough*
By default devkitpro if I remember correctly use C, it is possible to use C++ but come on :P
What do you mean?
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
If you want to move onto the project relatively quickly, it is recommended that you learn C and pick a graphics library, such as NightfoxLib - it will facilitate your work. The best way to learn is to learn via development.
C will prevail! *cough*
By default devkitpro if I remember correctly use C, it is possible to use C++ but come on :P
It doesn't "use" either by default. It is just a set of tools and some libraries. It will compile C++ or C code, with no preference given to either.
 

funkey100

Member
OP
Newcomer
Joined
Feb 26, 2012
Messages
11
Trophies
0
XP
1
Country
United States
OK. I've started coding and making some programs. I'm just asking if the tutorials I'm taking are good and teach me the things I need to know to code .nds files. (http://www.cprogramming.com/tutorial/c++-tutorial.html) If those tutorials aren't good, please tell me a simple tutorial site.

Thanks!
 

thiefb0ss

Well-Known Member
Member
Joined
Feb 26, 2012
Messages
158
Trophies
0
Location
Moscow
Website
thiefboss.blogspot.com
XP
29
Country
Serbia, Republic of
I really want to learn how to code a DS game. I know it takes time but I'm willing to spend it. I have code blocks installed and I'm wondering if I need to learn C or C++, and after I learn one of them, how to code a DS game with them.
I have the same problem I've always wanted to make Wii homebrew but I don't know how the file system works and Team Twiizers never posted anything on how they did it.
 

WiiUBricker

News Police
Banned
Joined
Sep 19, 2009
Messages
7,827
Trophies
0
Location
Espresso
XP
7,520
Country
Argentina
I really want to learn how to code a DS game. I know it takes time but I'm willing to spend it. I have code blocks installed and I'm wondering if I need to learn C or C++, and after I learn one of them, how to code a DS game with them.
I have the same problem I've always wanted to make Wii homebrew but I don't know how the file system works and Team Twiizers never posted anything on how they did it.
There are a few tutorials here.
 

thiefb0ss

Well-Known Member
Member
Joined
Feb 26, 2012
Messages
158
Trophies
0
Location
Moscow
Website
thiefboss.blogspot.com
XP
29
Country
Serbia, Republic of
I really want to learn how to code a DS game. I know it takes time but I'm willing to spend it. I have code blocks installed and I'm wondering if I need to learn C or C++, and after I learn one of them, how to code a DS game with them.
I have the same problem I've always wanted to make Wii homebrew but I don't know how the file system works and Team Twiizers never posted anything on how they did it.
There are a few tutorials here.
I want to kiss you. You have no idea how long I have been searching for thats. :yay:
 

stinkoman

Magnificent Bastard
Member
Joined
Dec 23, 2008
Messages
1,227
Trophies
1
Location
Hell.
XP
555
Country
United States
Buy a book on C
It isn't really that hard
Unless you're a tard.

I put it in haiku form, and it even rhymes. That should make it easier to understand what everyone else has already said.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Nothing special about it other than it's more comfortable than the Lite for people with beefy...