Homebrew How to begin homebrewing?

nathan_cpt

Active Member
OP
Newcomer
Joined
Dec 6, 2013
Messages
28
Trophies
0
Age
33
XP
72
Country
I've downloaded some homebrew utilities and apps. I'm AMAZED at how good even the simplest apps look! I would really like to contribute to this DS community. How do I begin? I have no programming skills and no software, which programming languages do I need to learn? What software do I need?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
while learning to program on the ds is not impossible - it is really difficult. you will not have the option of robust debugging tools like you have on a PC. I recommend that you learn the C programming language and write a few apps on the PC before you try your hand at the ds.

however, to answer your questions - you start here and install the devkitARM toolchains and examples. the there are a few other options but primarily you will code in C. it sounds like you may already have a flash cart, but if not look here for options.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
For my money you have two real options as far as homebrew development goes. There are a whole bunch of random languages that got interpreters, ports or compilers for the DS ( http://gbatemp.net/threads/attempting-to-list-all-programming-languages-available-for-the-ds.357792/ ) but only two or three that really matter.

C and C++
http://devkitpro.org/
A half nice tutorial can be found http://www.patater.com/manual . It is a bit out of date but will hopefully get you started.

Lua
http://microlua.xooit.fr/index.php

Lua is a far nicer to learn scripting language but there is plenty of great DS homebrew made with it (and a couple of commercial games, Puzzle quest being a good example). C and C++ are both quite hard to learn (but very common) languages that do the really good stuff everywhere on every platform. Lua is quite popular on the PC and elsewhere though.
With C and C++ there was a previous thing called palib, however it stopped being developed and we no longer suggest it to new programmers.

That said if you have really never made anything before you might do better to start on the PC.
http://programming-motherfucker.com/become.html
http://learnpythonthehardway.org/ (Python is a great language to know and learn).
http://www.youtube.com/view_play_list?p=6B940F08B9773B9F
 

bkifft

avowed Cuthwaldian
Member
Joined
Jun 10, 2010
Messages
613
Trophies
0
XP
625
Country
Gambia, The
I've downloaded some homebrew utilities and apps. I'm AMAZED at how good even the simplest apps look! I would really like to contribute to this DS community. How do I begin? I have no programming skills and no software, which programming languages do I need to learn? What software do I need?

A nice guide if you have at least some experience in programming/system architecture is http://dev-scene.com/NDS/Tutorials , although it got never finished.

More in depth is http://www.patater.com/manual , although it's quite dated and in a few points even out dated.

Also check out http://forum.gbadev.org DS section

edit: clarification: elhobbs is right, learning to code on an embedded device like the DS is not the easiest thing to do unless you manage to jig up a rig that adds a debug interface (kinda like a homemade devkit).

but to a certain extend you can run your programs on DS emulators, some of which offer debug features.
 

nathan_cpt

Active Member
OP
Newcomer
Joined
Dec 6, 2013
Messages
28
Trophies
0
Age
33
XP
72
Country
Thanks for the advice guys, looks very complicated but I have some time on my hands. Now to start getting in to it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I did see Walmart got new electric scooters now ab won't run out of juice in the middle of the parking lot
    +1
  • AncientBoi @ AncientBoi:
    :O:O:O $12. Cool
  • K3Nv2 @ K3Nv2:
    Yeah but one two ports
    +1
  • K3Nv2 @ K3Nv2:
    I'd rather spend like $15 more for double
    +1
  • K3Nv2 @ K3Nv2:
    Lol hogwarts legacy has a Arachnophobia setting to turn on
  • BigOnYa @ BigOnYa:
    I'd rather spend like $150 more for a surround receiver.
  • K3Nv2 @ K3Nv2:
    I bought the game at launch never fucked with it until recently
  • BigOnYa @ BigOnYa:
    Its fun, I like it, even tho I'm not a big harry potter fan. Like a wizard rpg. Flying around on a broomstick is cool.
  • K3Nv2 @ K3Nv2:
    Flying sucks ass on it
  • BigOnYa @ BigOnYa:
    Nuh just takes a min to get used to. I think you can upgrade or buy new broomstick also that are better.
    +1
  • K3Nv2 @ K3Nv2:
    I weirdly like inverted controls on all flying type games
  • BigOnYa @ BigOnYa:
    Prob can change it, inverted flying controls.
  • K3Nv2 @ K3Nv2:
    Only thing that annoys me is trying to find wtf to do in it
    +1
  • BigOnYa @ BigOnYa:
    Alright off to the store, later gators.
    +1
  • K3Nv2 @ K3Nv2:
    Some places amaze me were not in network with your insurance would you still like an appointment
    +1
  • AncientBoi @ AncientBoi:
    uhhh, I think I'll just stick with my PSP 3001
  • AncientBoi @ AncientBoi:
    lol, Now I gotta go to the store for more Coffee Mate n other stuff.
  • Xdqwerty @ Xdqwerty:
    i downloaded final fantasy vii into my tv stick
  • Xdqwerty @ Xdqwerty:
    i mean, the game was already there but its the japanese version
  • Xdqwerty @ Xdqwerty:
    and i only downloaded disc 1 so far bc of storage stuff
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah the patty on McDs burger is 1/10th of a pound now and I think that's the pre cooked weight lol
  • Psionic Roshambo @ Psionic Roshambo:
    I use the app for the 20% off coupon and it's still over priced
    Psionic Roshambo @ Psionic Roshambo: I use the app for the 20% off coupon and it's still over priced