Hello reader,
I've always been interested in developing games on consoles, and even were able to develop applications for the Nintendo DS (DSGameMaker) and the Microsoft XBOX One (Windows Universal Platform).
A while ago a friend of mine was really enthusiastic about the games he owned for the PSP, which reminded me how much I've wanted to develop games for the PSP in the past. I didn't had the knowledge to work with C and SDK's back then.
But yesterday I had enough time and the knowledge to try to get the compiler working, and maybe even the very basic "Hello World" program.
After spending around 1/2 hour, I found a project named "minpspw" (or better known as "Minimalist PSPSDK") which is essentially the PSPSDK, but ported to windows to support it natively, and also contains the ported libraries (which is a huge plus!).
I was really glad I didn't need CYGWIN or MinGW to get everything up and running, but the installation process was still a pain. I've followed about 5 different tutorials, but none of them worked out well.
Installation is pretty straight forward: keep the default settings and the installer will do the rest for you. (Oh, don't select the "Visual Studio Support" (or something among those lines) option, as it is made for Visual Studio 2008.) It installs the PSPSDK, GCC + MAKE, Useful libraries, and the offline documentation (which WILL help alot with developing the "Hello World" app!).
To get the compiler to work however, took me trial and error. All the tutorials told me that I could just insert psp-gcc -v and make -v in command prompt, but it didn't work. I later tried various other things and re-installing the SDK, but that didn't work either.
2 hours later I realized what I was doing wrong. I could just navigate to the PSPSDK/bin directory and then use those commands... *facepalm*. After doing some research on how the makefile worked and how to compile a basic application with make, I wrote a simple "Hello World" app and got it to compile correctly.
I was really happy that I got it to work after so much time!. It was really satisfying to see "Hello World" printed with small letters on the PSP display!. I quickly realized I could make the compile process a bit easier by making a batch (.bat) file, so I could just run that and let it do the rest.
In short, it gets the directory where it's running from, and navigates to it.
After that, it compiles the code to an EBOOT.PBP file and outputs the process in a txt file (error logging!).
Then, it cleans up all the mess the compiler made in the process.
At last it creates a directory with a timestamp and moves the EBOOT.PHB + the output.txt in there.
Now, I can just focus solely on programming, run the batch file if I want to compile my code, and don't have to worry about anything else! (besides errors and/or bugs).
I am not sure what will be next, besides that I'll spend my spare time on analyzing the sample projects which came with the PSPSDK, and might do a tutorial series on how to make apps for the PSP with the PSPSDK.
I've always been interested in developing games on consoles, and even were able to develop applications for the Nintendo DS (DSGameMaker) and the Microsoft XBOX One (Windows Universal Platform).
A while ago a friend of mine was really enthusiastic about the games he owned for the PSP, which reminded me how much I've wanted to develop games for the PSP in the past. I didn't had the knowledge to work with C and SDK's back then.
But yesterday I had enough time and the knowledge to try to get the compiler working, and maybe even the very basic "Hello World" program.
After spending around 1/2 hour, I found a project named "minpspw" (or better known as "Minimalist PSPSDK") which is essentially the PSPSDK, but ported to windows to support it natively, and also contains the ported libraries (which is a huge plus!).
I was really glad I didn't need CYGWIN or MinGW to get everything up and running, but the installation process was still a pain. I've followed about 5 different tutorials, but none of them worked out well.
Installation is pretty straight forward: keep the default settings and the installer will do the rest for you. (Oh, don't select the "Visual Studio Support" (or something among those lines) option, as it is made for Visual Studio 2008.) It installs the PSPSDK, GCC + MAKE, Useful libraries, and the offline documentation (which WILL help alot with developing the "Hello World" app!).
To get the compiler to work however, took me trial and error. All the tutorials told me that I could just insert psp-gcc -v and make -v in command prompt, but it didn't work. I later tried various other things and re-installing the SDK, but that didn't work either.
2 hours later I realized what I was doing wrong. I could just navigate to the PSPSDK/bin directory and then use those commands... *facepalm*. After doing some research on how the makefile worked and how to compile a basic application with make, I wrote a simple "Hello World" app and got it to compile correctly.
I was really happy that I got it to work after so much time!. It was really satisfying to see "Hello World" printed with small letters on the PSP display!. I quickly realized I could make the compile process a bit easier by making a batch (.bat) file, so I could just run that and let it do the rest.
In short, it gets the directory where it's running from, and navigates to it.
After that, it compiles the code to an EBOOT.PBP file and outputs the process in a txt file (error logging!).
Then, it cleans up all the mess the compiler made in the process.
At last it creates a directory with a timestamp and moves the EBOOT.PHB + the output.txt in there.
Now, I can just focus solely on programming, run the batch file if I want to compile my code, and don't have to worry about anything else! (besides errors and/or bugs).
I am not sure what will be next, besides that I'll spend my spare time on analyzing the sample projects which came with the PSPSDK, and might do a tutorial series on how to make apps for the PSP with the PSPSDK.