How did you learn & Suggest ways to learn?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Lujan
Posts: 2
Joined: Sun Sep 16, 2007 8:45 pm

How did you learn & Suggest ways to learn?

Post by Lujan »

Heyas all, im currently a major n00b to psp development, i like playing around with alot of psp homebrew games, and i really want to development my own game. But i dont exactly know where to start - ive got the CSP Development Studio / cygwin

Ive tryed looking at the Tutorials, and i dont really understand much
of whats happening when i type in certain parts of code.

Can anyone suggest their ways to learning this?
So much trouble lol

Thanks in advance !
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

Don't try to learn on the PSP. Try downloading devc++ or Visual Studio Express and learning some simple C programs there first.
http://www.eskimo.com/~scs/C-faq.top.html has a good bibliography you might want to research.

Jim
<edit>wrong link
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

Jim wrote:Don't try to learn on the PSP.
Not exactly. All I knew in programming for the pc was printf and scanf. :D
foebea
Posts: 9
Joined: Fri Mar 23, 2007 9:03 pm

Post by foebea »

I'm still a major noob, but I've got a fairly nice application going which people seem to like, and I never coded anything more than hello world on a pc.

google for PSP Development Tutorials
You will find a psp development site which has 6 tutorials that walk you through installing cygwin, the psp toolchain, hello world, and also basic graphics and audio. a very good start.

with that under your belt just ask yourself what you want you program to do first, then google "c++" and a keyword of what you want it to do, such as "c++ randomize array". Its rough at first, then gets rougher, but then is easy for a little while before it gets rough again. It's all fun though.

I also used some of the tutorials at psp-hacks.com forums. they have some tutorials on using a the oslib graphics library for fast rendering of 2d graphics.


If you need help getting it all installed in the first place, I wrote down step by step that I used to get mine up and running. here -> http://www.poorlywritten.com/piki/index ... easy_steps
ruspa
Posts: 19
Joined: Thu Sep 13, 2007 11:17 pm
Location: Gorizia, ITALY

Post by ruspa »

I'm another noob in psp development, if you are used to Netbeans ide, I suggest you to code there. Beside it's really free 4 all purposes, nb is native for java and you can easily download the C/C++ pack and use the cygwin make as the compiler. In only one enviroment you can output java, C for pc and C for psp :)
And once you get to opengl, the gl instructions are almost the same in all sdk so you can try in a Java or C project, and copy&paste with very minor modifications to your psp project, opened simultaneously. I find it very useful.
Did anyone find a way to have javadocs for psp sdk working on Netbeans? You know, autocompletion itself is good, but a contextual javadoc reference always ready when you hit crtl-space would be unbeatable!
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

The way apps are built for the PSP is mostly the same as how the are built for linux, so the best way to learn enough to work on the PSP is to learn how to program in linux first. Learn the ins and outs of GCC. Study C and C++. Once you've done those three things, you might be ready to look at the PSP example code.

Studying how VisualStudio makes Windows apps will not help you. Learning C#/.Net will not help you. C/C++ for Windows is mostly the same, so it can get you the C/C++ experience you need, but the rest requires linux. I suggest Windows users set up CygWin instead of VisualStudio. That's GCC for Windows.
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Post by adrahil »

KickinAezz wrote:
Jim wrote:Don't try to learn on the PSP.
Not exactly. All I knew in programming for the pc was printf and scanf. :D
Even given your example (which does not really contradict the statement), jim is right :) Deep knowledge of C is vital not to bother other devs with endless "compilation" problems...
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

adrahil wrote:
KickinAezz wrote:
Jim wrote:Don't try to learn on the PSP.
Not exactly. All I knew in programming for the pc was printf and scanf. :D
Even given your example (which does not really contradict the statement), jim is right :) Deep knowledge of C is vital not to bother other devs with endless "compilation" problems...
I never had such probs...also, The way the post was written was hard to comprehend.
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

psp-programming.com is that site with the 6 tutorials, and this site is also a great way to learn some of the more advanced topics. psp-programming.com will get you started though, and there's plenty of information there for starting out. It'll teach you everything from setting up your development environment to programming with sound using a psp port of the madlib library. There's also an introduction to PSP's GU (graphics utility), which is a stripped down version of OpenGL.

This site has plenty to offer too, just to some searches. There are plenty of posts out there that should help you with a few of your questions.
Post Reply