If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
PSP Programming Tutorial for Windows + SDL (Without Cygwin)
PSP Programming Tutorial for Windows (C/C++)
Plus SDL and all with out Cygwin
This tutorial that i have written will teach you step by step how to set up you psp development environment for windows in less than 15 minutes and without the need to install any large files or Shells (Cygwin).
Before i begin i would like to thank heimdall for the excellent Win32 toolchain and pspsdk installer. (Minimalist PSPSDK for Windows)
Also i would like to add, If you are new to C/C++ I would highly recommend you begin your programming adventure on a computer, not the psp. For serious "want to be" programmers, i would highly recommend taking courses at your local community college.
------
2. Download the file: "pspsdk-setup-0.9.2.exe" from sourceforge.
3. Run the file that was just downloaded and when it asks where to install change "C:/pspsdk" to "C:/pspdev". The rest just press next til finished.
4. Congratulations, You have just installed the pspsdk, toolchain, and libraries needed to program on the psp.
5. You should now have a folder inside your harddrive named pspdev. (C:/pspdev/)
------
-SETUP-
6. Open up Notepad and paste the following code:
Code:
set path=%path%;c:\pspdev\bin
set PSPSDK=C:\pspdev\psp\sdk
cmd
7. Save the file as: "start.bat", Save as type: "all files", and place it inside C:/pspdev/
8. Open "start.bat". The following information should be displayed
Code:
C:\pspdev>set path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Py
thon22;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Subversion\bin;C:/p
spdev/bin;C:/pspdev/bin;;;;;C:\pspdev\bin;c:\pspdev\bin
C:\pspdev>set PSPSDK=C:\pspdev\psp\sdk
C:\pspdev>cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\pspdev>
9. Congratulations, You have just setup your handy dandy compiler.
--------
-COMPILING/CREATING PROGRAMS-
10. You are now ready to create your first eboot. How?
11. When using the command prompt, it is important to know how to move from folder to folder.
The simple yet effective way to do so is by the following:
12. Open "start.bat" once again.
13. Type: "cd psp", now press enter. You are now inside the folder "psp" which is inside of "pspdev" (C:/pspdev/psp/)
14. To go back to the pspdev folder (C:/pspdev/), Type "cd..", now press enter.
15. To move into a folder that is inside another folder, such as (C:/pspdev/psp/sdk/), Type: "cd psp/sdk", now press enter.
The same can also be achieved by typing "cd psp", press enter, "cd sdk", press enter. Both will take you to (C:/pspdev/psp/sdk/)
16. We are currently in (C:/pspdev/psp/sdk/). We need to go back to (C:/pspdev/). Type "cd..", press enter, "cd..", press enter
17. Now that we are back in (C:/pspdev/) and you now understand how to move from folder to folder, it is time to compile a working eboot for your psp.
18. Type: "cd psp/sdk/samples/controller/basic", press enter. We are now in (C:/pspdev/psp/sdk/samples/controller/basic/).
19. Inside this file is C source code and a makefile. You can not compile a program for the psp without a makefile.
20. Now type: "make", press enter. The following should display:
21. Congratulations, You just compiled your first program for the psp.
22. Go to (C:/pspdev/psp/sdk/samples/controller/basic/) and copy the EBOOT you just compiled and place it in a new folder inside of your psp, in the (PSP/GAME) folder.
23. Now go try it out!
24. Its time to code =].
---------------
-CODING-
1. The next step is writing your own code. Now you can certainly go ahead and code in notepad, but it is not a good idea. Downloading a program to code on is certainly a good idea.
2. I recommend usind devcpp (bloodshed). Devcpp can be used to code C and CPP on just about anything (Google it). The way i have my setup is i create a new project and save it in a folder inside of (C:/pspdev/).
3. Then begin to code or add code to the project and save the code and makefile using devcpp.
4. I then use the compiler we made "start.bat" and go to the folder where my project is and type make.
5. Thats it. It works great this way for me.
6. If you need help with coding for the psp or are new, Go to PSP-Programming.com for a great tutorial for the psp. Just start on lesson 2.
1. After hours of forum jumping and testing i was finally able to put together a makefile that would work with SDK and compiler we created without cygwin.
2. All of the libraries needed for SDL to run correctly, including SDL Mixer, TTF, and Image, have been installed already (and correctly) thanks to Heimdalls installer.
3. Here is the Makefile I have been using for a game i am making:
Nice tut but when I get to going back I type cd and it doesnt go and when I type cd psp sdk or whatever it is it never goes it just says invaild comman d or something please help im on windows vista 64 bit
This tutorial was done on XP so im not sure how exactly command prompt works with vista, however, i believe this pspsdk and toolchain are compatible with vista
also its "cd.." to go back and "cd psp/sdk" to go forward.. idk if that how you typed it or not
If all of the above fail, then copy "start.bat" and paste it inside of the folder you are trying to compile, such as "C:/pspdev/psp/sdk/samples/controller/basic/" like in the tutorial.
And then type make.
That will certainly work.
uh... uhmmm.... ehh... eh.... ehh
Well it's a new sticky. It deserves it.
But I'm not going to make homebrew. I'm just going to download homebrew from others and then complain about it..
__________________
^No, not for another billion years!^
Quote:
Originally Posted by Sbarkeri
questions regarding P2P software which as long as there are no links to illegal sites or torrents which contain illegal files it is perfectly fine, even talking about piracy is fine as long as you do not link to any of it.
Rhinos own tribute spoiler!
Quote:
Originally Posted by Count to 10,000 thread
9999! Bitch... Make your move!
Quote:
Originally Posted by Rhinos
Mac's are as bad as... Animé!!! EW EW EW EW!!!
Quote:
Originally Posted by Rhinos
I found half a dead moose in the road... YEYYYYYYYYYYYYYYY!
Quote:
Originally Posted by Rhinos
Last edited by Rhinos; Today at 04:16 AM. Reason: I Put "Conputers" And "Readong", WTF! There May Also Have Been A Slight Hint Of Pornography Involved In The Situation! :-)
Quote:
Originally Posted by Count to 10,000 thread
Lil Wayne is a Homosexual... JABA JABA JABA JABA JABA!
He got CRUNK bitch. LET ME SLAP DAT AYASSS... Mah name Lil Wayne Lil Wayne Lil Wayne I got a 45, an mah bitch called Jane. WUT WUT? Go shordy, Go shordy...
Quotes:
Quote:
Originally Posted by Naka
So far, a person has asked for an illegal activation method, and he received it by the ban dodging psyko.
Quote:
Originally Posted by magicalfairy90 aka pspblack92 aka PspGo92
how should we use it?what do we do? i can crack eggs with my eye shut.
Quote:
Originally Posted by Peza
my rofl-coptor goes?
Quote:
Originally Posted by Evolve
Did you accidentally eat something you weren't supposed to?
Quote:
Originally Posted by Gman17
ah well Good things don't last forever
Quote:
Originally Posted by Otsdarva
For the love of whatever you hold dear learn to edit your freaking posts. Double posts are bad enough so we don't need people pulling septua-posts.
Quote:
Originally Posted by miri
Thank you for your contribution to the death of the PSP scene by pirating. You are a fool to announce it in public.
Quote:
Originally Posted by Joomla12
I love going to the bathroom to masturbate.
Quote:
Originally Posted by Evolve
Quote:
Originally Posted by Psyko
How am I supposed to know who to diss and who to be nice to now?
You can always diss Naka.
Quote:
Originally Posted by Ascer
I have dropped my PSP in the toilet.Can you help me find replacement parts online?
Quote:
Originally Posted by Dmise
Quote:
Originally Posted by tjones436
im not goin to talk about piracy but i downloaded gi joe (i will not tell you the site because its piracy)
LMAO, FAIL you said you weren't going to talk about piracy but yet you said you downloaded the game that's piracy right there, no need for you to give us the site you got it from it doesn't matter since you admitted on doing it, you totally contradicted yourself there.
Quote:
Originally Posted by (+/blazedpsp/+)
it dosent boot after i lunch it
Quote:
Originally Posted by PspGo92
my mom is cheap
Quote:
Originally Posted by Dmise
Quote:
Originally Posted by Konkor
I usually download them first and if they are good or I play for more then an hour I will go and buy it.
Yar Har yippidy har tar hello matey, pirate much?
Quote:
Originally Posted by leo9891
Phail-yur tu sossiedy
Quote:
Originally Posted by dripz167
The only reason mac doesn't get viruses is simply because hackers don't waste their time developing a virus for an os nobody has.
Quote:
Originally Posted by Stang
Quote:
Originally Posted by magicalfairy
i don't want 2 waste money on games
I don't want to waste my time helping somebody with so little class who has the sole intention of pirating games.
Quote:
Originally Posted by Joomla12
What I have to say to 100% paid programs, pbbbt. I'll die a pirate. You can kiss my ass if you think I'm paying for some of the things I pirate when they're not even worth the dough.
Quote:
Originally Posted by Sketchy
Every human being is the result of someone getting laid
Quote:
Originally Posted by psYko
haven't assigned a credit card
Quote:
Originally Posted by SchmilK
evolve sucks when you compare prices of today and yesteryear
i paid $380 for 4m sx around 1991!