ROM Hack Programming Help!!!!

dsttrocks

Member
OP
Newcomer
Joined
Jun 18, 2008
Messages
13
Trophies
0
XP
19
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!
 

mossy

Active Member
Newcomer
Joined
Dec 15, 2006
Messages
27
Trophies
0
Age
115
Location
Australia
XP
147
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.
 

nephdj

Well-Known Member
Member
Joined
Apr 13, 2007
Messages
442
Trophies
0
XP
77
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
 

Sp33der

Well-Known Member
Member
Joined
May 31, 2008
Messages
435
Trophies
0
XP
78
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 :]
 

Wabsta

you fight like a dairy farmer
Member
Joined
Apr 25, 2008
Messages
2,495
Trophies
0
Age
32
Location
SCUMM Bar
Website
www.wabsta.com
XP
449
Country
Netherlands
Sp33der said:
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 :]
You forgot http://www.palib.info/
 

CockroachMan

Scribbling around GBATemp's kitchen.
Member
Joined
Jan 14, 2006
Messages
3,887
Trophies
0
Age
38
Location
Brazil
Website
www.homembarata.com.br
XP
707
Country
Brazil
Learn the basics of programming first.. then learn C and C++.. then you start learning DS programming..
tongue.gif


Be patient..
 

moo422

Well-Known Member
Newcomer
Joined
Mar 18, 2008
Messages
63
Trophies
0
Website
Visit site
XP
30
Country
Canada
CockroachMan said:
Learn the basics of programming first.. then learn C and C++.. then you start learning DS programming..
tongue.gif


Be patient..

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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: After watching, that I feel like I'm on them already