Well, just to more or less announce this. I am going to create a series of guides that shows how to program for the PSP. I know that many of you want to begin, but don’t want to because of bad time or other bad excuses. Everyone can
So, let’s get started.
P.S.: All of my guides are going to be designed like this one, please post feedback! and maybe a link to your first one, I will post it in the end of the post then =D
Info: This guide is about preparing eveything to get ready for programming, it is a little bit time consuming.
Time: 1 – 6 hours (Please give feedback so this time can be accurate!)
Things you need:
- Cygwin - Used to emulate linux, as PSP Homebrews are created in Linux.
- PSP Toolchain – Used to create the homebrews.
- A couple of good movies
Preparing:
- Unpack everything inside the PSP Toolchain Download to your desktop.
- Start setup.exe from the Cygwin download
The Guide:
- When the setup.exe file has opened press ‘Next’, select ‘Install from Internet’ and press ‘Next’ again.
- Choose where to install it (“C:/cygwin” is preferred), set ‘Install for’ to ‘All users’ and set ‘Default Text File Type’ to ‘UNIX/binary’.
- Now select a temporary folder for the install files, I would put this on the desktop so that I can easily delete it afterwards. Press ‘Next’.
- If you are using a proxy configure it yourself, if you do not know what a proxy is or do not use it. Select ‘Direct Connection’ and press ‘Next’.
- Here you may choose from a huge list of download servers, you got to be lucky to get a fast one. Pick one that uses the same ending as your country (e.g. ‘.no’, ‘.se’ or ‘.com’) or a country nearby. Press ‘Next’.
- Wait a few seconds and a list pop ups. Scroll down to ‘Devel’ and press the “Circle and Arrow” symbol until it says ‘Install’. Scroll down to ‘Editors’ and do the same; and at last, scroll down to ‘Web’ and press the ‘+’ Symbol. Scroll down even more until you get to ‘wget’ (This stands in the package field!) and press the “Circle and Arrow” symbol until it says ‘1.10.2-2′ or a higher number. Press ‘Next’.
- This may take some time so go watch a movie.
- So you’re back and it’s finished? Good! Click ‘Finish’.
- Run cygwin.bat (Default: “C:/cygwin/cygwin.bat”) and write: “nano .bashrc” and press enter.
- Go to the bottom of the file (Yes, it’s scrollable) and at the very last line write, “export PSPDEV=/usr/local/pspdev”, press enter and then write “export PATH=$PATH:$PSPDEV/bin”.
- Press Ctrl+O, enter, Ctrl+X and Ctrl+D in order.
- Run cygwin.bat again and type “cd C:/Users/ < Insert your username > /Desktop/psptoolchain” on Vista or “cd C:/Documents and Settings/ < Insert your username > /Desktop/psptoolchain” on XP. Press enter.
- Now write “./toolchain.sh” you thought one movie was long? Now it’s time for two!
- Good movie? Well, we’re nearly at the end now so stay awake! Close cygwin.bat and continue the tutorial
- Go to the folder you installed cygwin, “C:/cygwin” as default and right-click on the file cygwin.bat and press edit.
- Notepad will pop up and you must paste this into your file:
- Well, that’s it. You are now ready to be a programmer, so stay tuned for the next lesson. Go watch a movie when you wait
@echo off
C:
chdir C:\cygwin\bin
set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev
bash –login -i
Change ‘C:’ to whatever your install path is and save the file.