PDA

View Full Version : Need help with compiling code to run on the PSP



Raiser
July 24th, 2005, 19:41
I'm unsure of whether or not this has been asked before, but is there any sort of a newbie's guide to programming for the PSP? I don't mean a tutorial of C or C++, I mean a tutorial that guides a newbie through the different tools required to develop for the PSP.

What I want to do is mess around with the source code of some of the PSP homebrew games out there, but I have no clue how to go about compiling it. I want to know what I'm going to need, and how to go about using it to compile something that will actually run on the PSP.

If anyone could help me out, I would greatly appreciate it.

Kaiser
July 25th, 2005, 19:07
I'm in need of this as well. I haven't found one as of yet anyone at all have this or something like it?

Raiser
July 25th, 2005, 21:01
It doesn't even have to necessarily be a complete guide, so much as a list of what I'll need to install and a brief description of what I'll need to do in order to actually compile a program.

Some of you obviously know enough on the subject to get us newbies started, so some info would be nice.

rand11
July 26th, 2005, 00:51
I need this too. I know how to program in C/C++ but i've never compiled for a console. I have the PS2dev toolchain and other devkits but I'm struggling to use them. Anyone know of a good step-by-step guide or which tools (mk.bat, outpatch.exe, elf2pbp etc) to use in which order.

Thanks

rand11
July 26th, 2005, 02:49
Just found this:

http://wiki.pspdev.org/psp:programming_faq

Could be useful to you other guys as well.

rand11
July 29th, 2005, 05:36
i'm all go: writing, compiling and running code on my psp. If you guys still need info just say.

Raiser
July 29th, 2005, 18:16
Thanks for the guide, it really helped me get set up. I'm still having problems compiling though, everything I've tried to compile has given me an error, usually "error 1".

The game I really want to compile is PSPRick. I've tried compiling the source code available on the PSPRick site without editing it, and I still get errors. I'm unsure of whether it's something wrong with the source code or the way the PSP Toolchain is set up.