Also from the Dash Hacks Network: ps3-hacks.com xbox360-hacks.com nes-hacks.com iphone-hacks.com ipod-hacks.net dashhacks.com
PSP Programming Tutorials
greg | August 5, 2005
source: pspupdates
Yeldarb has created two terrific tutorials for folks who wish to begin PSP homebrew development.
These guides are aimed at complete newbies, but would still be helpful to novice coders who are looking to enter the PSP scene. The first tutorial is a lesson on setting up the development environment – setting up the toolchain and PSPSDK with CYGWIN (windows). The second one is a tutorial for creating your first program – a walkthrough of the setup, creation and execution of a simple “Hello World� application on PSP.
Lesson 01 - Setting up the Development Environment
Lesson 02 - Creating Your First Program
Affiliates
Video Games
Join the Facebook Fan Club
PSP Hacks Archives
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
©2008 — Dashhacks Inc. || Privacy Policy || Web Banner Advertising













Too bad it uses CYGWIN.
A REAL n00b would not be able to work in that enviroment ;)
If the maker of this tut reads this, you might want to add one on how to compile stuff under the Windows PSPSDK/ToolChain using a DOS box..
mine CYGWIN is still installing, it started at 10:00 this morning.
Yes, that is another huge disadvantage of CYGWIN.
To compile the psptoolchain and everything takes forever..
can someone help me i keep getting an error messeage, when i try to compile the make file and the main.c it keeps saying it expected a “,” or a “;” before “=” token or something like that, WHAT DO I DO!!!
well, guess i’ll hafta brush up on my linux if this be the case
#5… is there an english translation to your message?
Can anyone know where can I get the pspToolchain-20050725?
I checked the website that the author linked to article but in it there is the 20050801 version
K i found it from google cahce, However there is nothing such as toolchain.sh in the tar content..there is only one file named psptoolchain-20050725 and if I open it with wordpad and apply the replaces and rename it to toolchain.sh it still doesnt work
it says “cannot execute binary file”
Thanks alot for the tutorial. Directions are perfect, very easy to follow. Can’t wait for future commands to make this a bit more interesting =)
hi, i get the following error
./toolchain.sh: line 242: ./bootstrap: No such file or diectory
ERROR RUNNING PSPSDK BOOTSTRAP
does anyone know how to solve this?
I followed everything in the tutorials perfect…but my computer security is so strong it wont open the command line to find folders once im in CYGWIN!???
These are pretty good, but still u need to learn coding languages first, and by the time u learn tyhe languages, either, homebrew for PSP will be given up on, or u will already have learned enough to teach urself how to code an ELF file and then convert it into a PBP.
I am very interested in learning how to do this, but I am running into the same problems that a few of the other guys here are. I have the same two problems as post #8 and post #9.
@8 and @14 open the psptoolchain-20050725 with winrar lol its an archive too but you should use the most uptodate toolchain
#15 oh really? read #8 once more…
does anyone know how to solve the problem from #11 everything works fine for about 2 hours then all of a sudden that error just pops up. The only thing i think it can be related to is the fact that im using a newer psptoolchain than the one in the tutorial because i cant find that one (the psptoolchain still cames from the same site as the one in the tutorial tho)
I havn’t got a chance to look at it, but is this programming C or C++?
As odd as it sounds, #15 is right. It is indeed another archive, but you have to manually tell the computer to open it with WINRAR. Did I do something wrong, or should that have been included in the instructions? Anyway, thanks for the help. Hopefully I don’t run into that error the other guys are talking about in #17.
“run a CYGWIN bash shell (cygwin.bat). This will open up a command line. Once you see “yourusername@yourcomputername ~” you may close the window;”
wth does he mean? :S
When it’s time to make my project, I get several errors that say the same thing. I realize that they are somewhat self-explanatory, but is it possible to get an error explanation? Also, how did I get so many errors when I cut/pasted the entire project?
right, so i followed the instructions. and ive got my “main.c” and “Makefile” in projects/helloworld. when i enter “make”, i get; “make:*** No rule to make ‘main.ocd’ , needed by ‘hello.elf’. Stop.
nice work by Yeldarb, looking forward to lesson3, especially for the psp specific functions for button listening etc purposes..
I keep getting the error “expected constructor, destructor, or type conversion before” “‘=’ token” Anyone know how to fix this?
If anyone is coming up with an error on compile, try changing “OBJS = main.o” to “OBJS = main.c”. For some reason, both of these seem to be working for me now, but initially only main.c worked.
#21: Open the cygwin.bat file, it will be wherever you installed cygwin. Once it’s loaded, you can close the window and continue.
Anyone else experienced the error from #11 it occurs about 2hours into the script execution.
haha thanks a ton, #19 was right, I didnt even realize it was another archive lol! thank you I was stuck on this all night =D
i received the same error as #11. has anyone fixed this yet?
when I execute the CYGWIN bash shell, it just sits there. Am I doing something wrong, becuase I downloaded all the required moudules, and installed them. Does it just take a while to setup, or what?
When I replace “gmake” with “make” and “gpatch” with “patch” then run ./toolchain.sh I get ERROR: please make sure you have GNU ‘make’ instaled. What does this mean and how do i fix it?
Addition from my previous post: it comes from lines 73 and 76 and also where can i find psptoolchain 20050725?
I can’t make a “makefile”. How do i make a text document and save it without an extension? (i.e. .txt etc…)
hey, i get the same problem as the guy who made #32. Can u pleeeeeeease help me, i did exaclty wat i thought it meant. can u please explain the “gmake” with “make” thing to us because even though that didnt work, i continued on all the way through the tutorial and it would have worked if that part would’ve worked. so can u please help us yeldarb. if the guy who made #32 wants to talk or if yeldarb, u want to explain it to me then
AOL IM:wrestlerginick1
E-mail:pspnerdnick25@yahoo.com
can some one help me… it has an error and it says theres no make file when i try to make
hey when i try to make the helloworld it say “no target specified and no make file found stop” wot should i do???
please help i typed ls it didnt come up with nything except for another entry bar