- Joined
- Sep 23, 2006
- Messages
- 4,134
- Trophies
- 1
- Age
- 56
- Location
- Sitting by computer
- Website
- www.youtube.com
- XP
- 1,287
- Country
[I think this is really in wrong section - as I think it'll refer to ALL homebrew & not just NDS]
Ok firstly, I don't consider myself a programmer, but I have dabbled (many MANY years ago) with stuff like BASIC, PASCAL, Visual Basic etc - so think I know a [very] small bit about it (structures/routines etc)
Now the thing is - I doubt I'll ever be able to create 'from scratch' any type of program, but I think I may be able to 'tweak' exisiting 'stuff' (maybe clean up the code/make them more 'user friendly', change some colours/text in the program etc) - so I thought I'll start looking at some people existing source code to see how complicated it is etc (& if I can even understand it !!)
Now so far I've only downloaded the latest 'DevKitpro' from sourceforge & custom installed only ARM, & 'programmer notepad' (can't see the point for PPC etc coding), & started looking through some of the examples included (like the 'hello world' etc)
So [in programmers notepad] I use 'file' > 'open project' > browse to examples > load in a 'pnproj' file
So I look through the code & then use 'tools' > 'make' to create a NDS file - & everything seems to works OK & I end up with a NDS file I can try out in an emulator (or whatever)
Now...I try to look at other people source code - & the first thing is none have '.pnproj' files - only the 'source' folder (for this example I'm looking at Taiju 'inilink' code)
Now [in programmers notepad] I guessing I have to 'make' a new project and 'include' the files in the source folder
File > new Project > 'empty project (add a name 'tester' & folder 'desktop/test/') >
In programmer notepad on the left I have
I then right click on 'tester' > Add files > then select all the files in taiju 'iniload/source/' folder
Now I'm stuck - I can list/look at the code in the '.c','.h','makefile' etc - but how to I 'make' a NDS file to try out
If I use 'tools' > 'make' like I did with the examples I get
Yet 'makefile' is showing in the project list on the left - I know I'm doing something TOTALLY wrong, so any help appreciated
(I've tried 'Googling' for tutorials of using programmers notepad - but most seem to be 'installation' guides - none seem to have 'problem solving')
EDIT: As I'm typing this out - I've just found out that all the Taiju 'source' files should be in the '/desktop/tester' folder I made & not stored anywhere else - Duh...
but NOW I'm getting
So I'm guessing I'm missing something like a certain 'library' or something - (there's no '/bin/sh/' folder in the DevKitPro' folder so I'm guessing that's what it is)
All I want to do is be able to look @ other peoples source code,make a few changes like backgound colors/text etc then 'make' a NDS to try out - so ANY help is appreciated
(Just remember I am a TOTAL NEWBIE to this, so step-by-step guides would be appreciated)
Thanks in advance
Ok firstly, I don't consider myself a programmer, but I have dabbled (many MANY years ago) with stuff like BASIC, PASCAL, Visual Basic etc - so think I know a [very] small bit about it (structures/routines etc)
Now the thing is - I doubt I'll ever be able to create 'from scratch' any type of program, but I think I may be able to 'tweak' exisiting 'stuff' (maybe clean up the code/make them more 'user friendly', change some colours/text in the program etc) - so I thought I'll start looking at some people existing source code to see how complicated it is etc (& if I can even understand it !!)
Now so far I've only downloaded the latest 'DevKitpro' from sourceforge & custom installed only ARM, & 'programmer notepad' (can't see the point for PPC etc coding), & started looking through some of the examples included (like the 'hello world' etc)
So [in programmers notepad] I use 'file' > 'open project' > browse to examples > load in a 'pnproj' file
So I look through the code & then use 'tools' > 'make' to create a NDS file - & everything seems to works OK & I end up with a NDS file I can try out in an emulator (or whatever)
Now...I try to look at other people source code - & the first thing is none have '.pnproj' files - only the 'source' folder (for this example I'm looking at Taiju 'inilink' code)
Now [in programmers notepad] I guessing I have to 'make' a new project and 'include' the files in the source folder
File > new Project > 'empty project (add a name 'tester' & folder 'desktop/test/') >
In programmer notepad on the left I have
Code:
New Program Group
!
!- tester
Code:
New Project Group
!-Tester
ÂÂ !-LzmaDec.c
ÂÂ !-LzmaDec.h
ÂÂ !-main.c
ÂÂ !-Makefile
ÂÂ !-nds.inilink.bmp
ÂÂ !-Thumbs.db
ÂÂ !-Types.h
ÂÂ !-warning_dstwo.png
ÂÂ !-warning_eos.png
ÂÂ !-warning_ex.png
ÂÂ !-warning_ismart.png
ÂÂ !-warning_m3sakura.png
ÂÂ !-warning_r4.png
ÂÂ !-warning_template.png
Now I'm stuck - I can list/look at the code in the '.c','.h','makefile' etc - but how to I 'make' a NDS file to try out
If I use 'tools' > 'make' like I did with the examples I get
Code:
"make": *** No targets specified and no makefile found.ÂÂStop.
> Process Exit Code: 2
> Time Taken: 00:00
(I've tried 'Googling' for tutorials of using programmers notepad - but most seem to be 'installation' guides - none seem to have 'problem solving')
EDIT: As I'm typing this out - I've just found out that all the Taiju 'source' files should be in the '/desktop/tester' folder I made & not stored anywhere else - Duh...
but NOW I'm getting
CODEng2b15 < warning_eos.png | lzma_alone e warning_eos.b15lzma -lc1 -lp1 -d19 -si
/bin/sh: png2b15: command not found
/bin/sh: lzma_alone: command not found
"make": *** [warning_eos.b15lzma] Error 127
> Process Exit Code: 2
> Time Taken: 00:01
/bin/sh: png2b15: command not found
/bin/sh: lzma_alone: command not found
"make": *** [warning_eos.b15lzma] Error 127
> Process Exit Code: 2
> Time Taken: 00:01
All I want to do is be able to look @ other peoples source code,make a few changes like backgound colors/text etc then 'make' a NDS to try out - so ANY help is appreciated
(Just remember I am a TOTAL NEWBIE to this, so step-by-step guides would be appreciated)
Thanks in advance