forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How did you learn & Suggest ways to learn?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Lujan



Joined: 16 Sep 2007
Posts: 2

PostPosted: Sun Sep 16, 2007 9:30 pm    Post subject: How did you learn & Suggest ways to learn? Reply with quote

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 !
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Sun Sep 16, 2007 10:26 pm    Post subject: Reply with quote

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Sun Sep 16, 2007 11:08 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
foebea



Joined: 23 Mar 2007
Posts: 9

PostPosted: Mon Sep 17, 2007 2:08 am    Post subject: Reply with quote

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.php?title=Setting_up_the_development_environment_in_%7E2_easy_steps
Back to top
View user's profile Send private message
ruspa



Joined: 13 Sep 2007
Posts: 19
Location: Gorizia, ITALY

PostPosted: Mon Sep 17, 2007 4:36 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Sep 17, 2007 5:25 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Mon Sep 17, 2007 6:32 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Mon Sep 17, 2007 6:35 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Mon Sep 17, 2007 6:41 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group