1. dsttrocks

    OP dsttrocks Member
    Newcomer

    Joined:
    Jun 18, 2008
    Messages:
    13
    Country:
    I am such a N00B it is not funny! I want to learn to program DS homebrew but I am such a n00b I don't understand a thing the "introductions" say!
     
  2. BigX

    BigX GBAtemp Regular
    Member

    Joined:
    Aug 29, 2007
    Messages:
    292
    Country:
    Canada
    well maybe then programming is not you cup of tea...
     
  3. mossy

    mossy Member
    Newcomer

    Joined:
    Dec 15, 2006
    Messages:
    27
    Country:
    Now, now, that's a bit unfair.

    Do you have any programming experience? If not, perhaps it would be wise to learn some of the basics of programming before tackling something as (potentially) complicated as DS homebrew. There are plenty of tutorials on the net for learning basic concepts, as well as crash courses in almost every language.
     
  4. nephdj

    nephdj GBAtemp Fan
    Member

    Joined:
    Apr 13, 2007
    Messages:
    442
    Country:
    Best thing to do is learn the basics first

    things like calculations, read and writting arrays, outputting strings

    I suggest you get netbeans, as it supports C/C++ and Java. User interface is close to visual studio too, it isnt too scarey like eclipse
     
  5. Sp33der

    Sp33der GBAtemp Fan
    Member

    Joined:
    May 31, 2008
    Messages:
    435
    Country:
    Netherlands
    Something about language programming:

    http://en.wikipedia.org/wiki/Programming_language

    Well start here for NDS:

    http://www.devkitpro.org/

    And here:

    http://www.coranac.com/tonc/text/toc.htm

    And here:

    http://dev-scene.com/NDS/Tutorials

    Maybe this one to: http://patater.com/files/projects/manual/manual.html

    For C/C++:

    http://www.cplusplus.com/doc/tutorial/

    http://www.cprogramming.com/tutorial.html#c++tutorial

    A good IDE is already included with devkitPRO so imo i think VC++, netbeans are optional, tough netbeans is god if you know Java to :]
     
  6. Wabsta

    Wabsta you fight like a dairy farmer
    Member

    Joined:
    Apr 25, 2008
    Messages:
    2,501
    Country:
    Netherlands
    You forgot http://www.palib.info/
     
  7. Sp33der

    Sp33der GBAtemp Fan
    Member

    Joined:
    May 31, 2008
    Messages:
    435
    Country:
    Netherlands
    Yea palib is good for beginners tough i use devkitPro.
     
  8. CockroachMan

    CockroachMan Scribbling around GBATemp's kitchen.
    Member

    Joined:
    Jan 14, 2006
    Messages:
    3,889
    Country:
    Brazil
    Learn the basics of programming first.. then learn C and C++.. then you start learning DS programming.. [​IMG]

    Be patient..
     
  9. moo422

    moo422 Advanced Member
    Newcomer

    Joined:
    Mar 18, 2008
    Messages:
    63
    Country:
    Canada
    I started last night by looking at the following tutorial - http://www.double.co.nz/nintendo_ds/
    It applies to a previous (deprecated) version of devkitPro, but it's still a good start to understanding DS programming. C/C++ programming is needed, particularly to understand some of the bitshifting examples the author uses.

    I remember reading threads about devkitPro vs PAlib a while back -- can anyone point me to those? can't quite seem to google up the forums that I saw them on.

    I'm going to take a running leap at doing FreeCiv on the DS, but I've done very little GUI-programming before (done mostly cmd-line apps on UNIX in the past, coding in C/Java, some C++); I imagine there will be a bit of a learning curve there.

    Thoughts/Opinions/Heckles anyone?

    As I understand it, FreeCiv runs as Client-Server; each human player runs as a client, the Server manages world information as well as the AI. Even with a single-player instance, it initiates a local server, then the client connects. Any thoughts on how best to approach this as a single executable on the DS?

    Also, does anyone know the fellow that worked on porting OpenTTD to the DS? or at least know what kind of architecture OpenTT ran (client-server vs standalone)?

    edit: It also just occured to me that both OpenTTD and FreeCiv have been coded on SDL; what impacts (positive or negative) would this have on a port to DS? do either the devkitPro or PAlib libraries lend themselves to SDL interfacing?

    edit2: It has come to my attention that the Server component requires 15M ram, Client component requires 25M ram. that does not make me happy (with the 4M DS limit). I can't say what those 40M entail. Personally, my aim is to have a fun/entertaining single player campaign, as I don't see many people playing multiplayer over the course of 5-6 hours non-stop, but I may be wrong.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Programming,