First Steps towards developing for the PS2

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
sr.lucas
Posts: 8
Joined: Wed Mar 29, 2006 7:00 am

First Steps towards developing for the PS2

Post by sr.lucas »

Hi all,
I´ve recently started with a "wish" to write some code for the ps2... so I googled some, found this forums, ps2-scene.org forums, started reading, found a nice project to be part of, and then I wanted to start writing code...

My idea with this post is to help those that are just starting from scratch (like me) by telling them what I did... and then ask some questions on the nexts steps I should follow....

so what I did so far is:

1.- Dowloaded the PS2SDK from oopo.net (newtoolchain-20060222.tgz)
2.- built the toolchain, and at this point I run into a lot of trouble...
it seemed like an easy thing to do, just ./toolchain PS2, but I had problems because my ubuntu version was gcc-4.0, and I needed gcc-3.3.
No problem, apt-get install gcc-3.3, set up the CC variable to /usr/bin/gcc·3.3
Then I ran into missing libraries wich I apt-get'ed easily (right now I´m not using ubuntu, so I don´t have the exact list here, but it is really easy!)

I also found out that I needed SVN support, easy.. apt-get install subversion,

and then... everything worked out. Everything compiled and ready to go.


and this is where I am missing something.... What do I do now?
I want to write a small EE application that shows a menu on the screen and interacts with the IOP.

I´m kind of lost, i have the entire toolchain, but how do i compile my code? (I know this sounds completely stupid)

I´m also looking for samples, but the newtoolchain build scripts do not have any samples...

One of the things I should do now is test the connection to the PS2 using ps2client, but i´m kind of lost as to the development process for the ps2 itself...

there is an API of available functions somewhere? ( apart from the headers and include files?)

I am pretty sure I asked a few stupid questions, but any pointers to documentation or wich way should I go are appreciated...

thanks!
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

There's a samples directory in /usr/local/ps2dev/ps2sdk. Take a look.
sr.lucas
Posts: 8
Joined: Wed Mar 29, 2006 7:00 am

Post by sr.lucas »

so there it was..... i was still looking inside the source ps2sdk folder..

I´ll get back to this thread with more news!!
Post Reply