Want to be a developer? |
Ó

OK, so its holiday time and you don’t have much to do. I know the feeling. And then you’ve been thinking of learning a programming language. Maybe you just want to port that childhood game to the PSP. Or maybe you want to be famous, and even submit a program to our Summer Homebrew Coding Contest. Fret not! The PSP community can always use new and eager developers. But there’s always one problem – Where do you start? And I know, it’s pretty overwhelming for a newbie to jump into developing stuff.
But wait! Before you go planning something as awesome as Callisto in your lonesome, there’s a lot of help available, if you know where to look. And during the course of this article, you’ll learn a lot of things which you should know if you want to get into development. Firstly, you should decide the language you want to program in. Mainly, there are two ways to program: you can either make ‘binary’ programs, or ‘scripts’.
A Binary program is compiled C/C++/Assembly language code (and other languages that need to be compiled.) YouÂ’ll have to learn either of those languages and set up the PSPSDK to compile your code. It will look a bit complex at first, but if you stay put, the payoff is much bigger. On the other hand, a Script is basically a text file with some code which is interpreted by an interpreter. Lua is one such example. The Lua player is nothing but an interpreter which interprets your Lua scripts. Another good example would be Python. There is a python interpreter available for the PSP, so if youÂ’ve already learned some python, how about having a go?
Now donÂ’t get me wrong. IÂ’m not an elitist. But if I were to recommend you a programming language, it would be C/C++. Yeah, so you heard Lua is much easier and itÂ’s much faster to convert your ideas into code. But if you seriously want to make something worthwhile, C/C++ is what you should learn. On the contrary, if youÂ’re only doing this for the summer and want to pass some time, you should go with Lua. YouÂ’ll be making small applications and games in no time!
Now’s the time to decide. Think hard and think clearly. Development can be a lot of fun. But it can also be hell! Scared? Don’t be. There’s a wealth of info for newbies. And I’ll get to them in a bit. Firstly, let me list some of the differences between Lua and C, the 2 major ‘PSP development’ languages.
| - | C/C++ | Lua |
| Pros | Fast. Small Executables. Creativity limited only by the SDK. | Easy to learn. No need to compile code. Inherently Open Source, unless you compile the script with Lua Player. |
| Cons | Difficult for newbies. Need to install/setup the PSPSDK. Code is complex and can be overwhelming for first-timers. Closed Source- Checking for code-theft is difficult. | Bigger attachments since you need Lua Player on the PSP. Creativity limited by the Lua Player. Things like Movie playback can't be done (yet). |
Remember that itÂ’s still a small list. You can still learn C/C++ even if youÂ’re a newbie and you can make a lot of good stuff even with Lua. But looking at that list, one thing is clear. If youÂ’re serious and want to make applications - like PimpStreamer or IR Shell - , C/C++ rules. If you want to make games, Lua is a lot more convenient. By now, IÂ’m sure that youÂ’ve decided which way youÂ’ll go. Now the next thing is finding your feet in all the mess.
If youÂ’ll go with C/C++, hereÂ’s whatÂ’s important for you. If youÂ’d rather go with Lua, skip directly to the Lua section below.
C/C++: If youÂ’ve developed using either of these languages, then youÂ’ll know one thing. Get your basics right! And donÂ’t get frightened by big pieces of code. If youÂ’re reading someone elseÂ’s code, make sure to read the comments, and read the code one function at a time. When writing code, please please remember to comment. ThereÂ’s nothing more annoying than coding something, returning the next day and not remembering why you inserted that piece of code. Trust me, it happens to the best of us.
YouÂ’ll find a lot of tutorials online. Listing all of them would be a foolish thing to do. Remember one thing though, Google is your friend.
Lua: Lua is pretty much what you should be using if you want to make games. Since size doesn’t matter, and you should be putting more time into the ‘front end’, Lua can make the development process a lot easier. Plus, the fact that most of the homebrew games are made using Lua should sound encouraging. Anything from a simple Tetris clone to a full-blown RPG can be made, so don’t worry about hitting the ceiling.
OK, so you know what you’re gonna be doing for some time. Now here are some ‘PSP-specific’ programming resources where you’ll be spending your time:
PSP-Programming.com – Really, the only site you’ll need if you want to learn C/C++ programming for PSP. It contains everything from the start (Installing/Setting up the PSPSDK) to helping you on your way (Sound, GUI Tutorials)
PS2DEV Forums – Serious people. Serious questions. If you’re a veteran programmer and can’t find help on other forums, this is the most likely place where you’ll find it.
PSPUpdates Development forum – Our own development forums. Go ahead, post questions or progress updates. Our forum members will be happy to help you out.
Just a small tip from me: Please donÂ’t be afraid to ask for help, granted that youÂ’re actually trying to learn something. Asking for pre-written code is bad. You should rather have a go yourself, and if you canÂ’t figure it out, post a question in the forums. And donÂ’t be afraid to read. Reading is good!
Contact Us:
The QJ.net Network |
|
| Site | Feed |
| QJ.NET | RSS |
| Nintendo DS | RSS |
| PlayStation 3 | RSS |
| PSP Updates | RSS |
| Wii | RSS |
| Xbox 360 | RSS |
| MMORPG | RSS |
| Personal Computer Games | RSS |
| iPhone - iPod Touch | RSS |
| QJ.NET Forums | RSS |
User Favorites - December
User Favorites - December
Categories
Archives
Accessories
Add-ons
Applications
Artwork
Batteries
Cheats
Deals
Emulators
Events
Featured Articles
Firmware
Flash Applications
Flash games
Game Demos
Games
Hacks & Exploits
Homebrew Applications
Homebrew Demos
Homebrew Development
Homebrew Emulators
Homebrew Games
Homebrew Themes
How-To
Humor
Imports
Interviews
Magazines
Mods
MY QJ
News
Off Topic
On Shelves This Week
Opinions & Analysis
Podcasts
Previews
PSP Go
PSP Minis
PSP Slim & Lite
QJ How-To Series
QuickJump QuickGuide
QuickJump QuickPeek
Reviews
Rumors
Scans
Screenshots
Site News
Titles
UMD Movies
Videos
Weekend Warrior
Wi-Fi
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
Comments
noooo
good informative article
Sounds good, can't wait til exams are over so I can give it a go.
Keep it up Pranav :)
where can i download the program for c++? nice article btw
http://www.bloodshed.net/devcpp.html this is a good IDE for c++, and its free if that was what #5 ment. =)
And this article just happens to be posted while their summer coding competition is going . . .
"Open Source, unless you compile the script with Lua Player." Even if you do that, you can view the source code in notepad ;)
Why don't we have a contest about Flash Game ? Cuz, 2.60+ can't play any homebrew PS. I'm just a person who play FW 2.71
I just updated my PSP to 2.71 because I liked the idea of being able to use the Macromedia Flash Player. I have been looking all over for websites that have tutorials on how to program in flash for the PSP but I haven't have any outstanding results. If any Flash veterans like JoeySmith could point me in the right direction, that would be great. Thanks.
i didn't know that you can compile LUA scripts...
/ /( . )( . )\ \
I wanna learn how to code & stuff like that, but i don't understand how to do it. I downloaded it from the website that #6 posted. Can anyone give me a website where it can tell me how to code & read coding, or can some tell me how? please?
Don't even begin promoting that gay ass lua! c/c++ all the way. it's teh bombshell! And you posted one good site, but it's not good enough to teach you c/c++. www.cprogramming.com is the best place. literally. it's perfect! Go there, study just c, then read yeldarbs tuts. Don't ask for help on qj, ask for help at www.psp-programming.com. that's the only place that isn't to snobby to help or to noobish to understand.
well pspprogramming.com is not just for C/C++ it also is there for flash and lua help(not that i promote either of them) just thought i would be nice fyi to the person who wrote in the article "PSP-Programming.com – Really, the only site you’ll need if you want to learn C/C++ programming for PSP. It contains everything from the start (Installing/Setting up the PSPSDK) to helping you on your way (Sound, GUI Tutorials)" p.s: just out of curiosity... which language is better for net apps. lua or C?
it is goooooood!! but where can i learn?
ignorance is bliss
Is it possible to connect to the internet via wifi with lua? I haven't run into any apps so far that can.
Yes netlib would be a good example
I'm reading the first tutorial page right now, but I can't seem to find the toolchain from ooPo that's dated 20051202. Can somebody help me find it? Because other toolchains don't seem to work as whta it says in the tutorial.
I tried to learn coding, but ... kinda give up, i guess this is my motivation to try again?
I am serious about this. I have made a few games myself. 2 of them happen to be RPG gmaes. Called Time Path. I made them using RGSS-RTP coding language. I was wondering, since LUA and RGSS seem somewhat similar, is there a way someone can help me convert these games into a LUA game? They are honestly good. You can go to my website to try them out. However, you will need a console, which is included in the download of Time Path 1. Time Path 1- My first ever attempt at making a game. I admit, a few minor graffical and sprite screw ups. (Honestly, I did'nt know how to use sprites at this point). All sprites and models are based entirely off of the engines standard package. However, it has a great storyline and alot of time was put into it. After playing it for about 30 min., you will get the groove of the storyline and will be asking for more. Like I said, a few glitches here and there( probably wont run into any after the first mission). I have been thinking of making a revised Time Path I game. After you gety past the first mission, it will just get smoother. Remember that, and dont put the game down for its glitchey and badly made first mission! There are a total of 9 missions! Average time to beat the game would be 5-6 hours. Great storyline. Time Path II Demo- Since development for this awesome (as said by players) game has been on hold, I need suggestions. It has a survey at the end of this demo. The demo is a sequel to Time Path I, and it is a staggering improvement. Now that I had experience 38 hours working on Time Path I, I am more experience. Alot of custom models used in this game. Really original. The difficulty was raised alot, you start on Level 50 to continue from the last game. New ultimate moves added. It is on the hard side to beat the demo, but, it IS possible. No graffics problems whatsoever, no texturing issues, new customized theme and all! One major glitch has been found. Remember this for when you play, Dont go north after you have already awaken Retricula from its eternal sleep! This game was well put together, and takes in memory and movement puzzles as an added storyline effect. The puzzles should not be all that hard however. Better from experience. Dont just skip to this game, you wont understand the deep engaging storyline. Average time to beat this demo, 45 min. to an hour. With all that been said. Go to my site at clik.to/xremix and click on the Flash Bros. link at the bottom. I am head of the Flash Bros.(i think there is another team named that, if it is, we are not that team, we are a team that creates pc games). Once there, scroll down to the bottom right corner, and there are the downloads! I would appreciate feedback! You can also e-mail me at bnd1@aol.com
#24, u dont need that PARTICULAR one, just download the latest.
i own the internet
what about tiff?
Add New Comment