Installing PS2SDK on OSX (tutorial)

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

Moderators: cheriff, Herben

Post Reply
AntonioDaSilva
Posts: 2
Joined: Wed Nov 16, 2005 9:11 pm

Installing PS2SDK on OSX (tutorial)

Post by AntonioDaSilva »

I had some problem with installing PS2SDK on OSX, but, i've found this little tutorial on how to install PSPSDK on OSX and it helped me alot! =)

http://forums.ps2dev.org/viewtopic.php?t=2792

But this is how i did...

---------------------------------------
I'm using OSX 10.4.3

Install the xCode package that's on the installation CD!

Download and install Fink.

http://fink.sourceforge.net/doc/bundled ... -first.php

Get root access...

Code: Select all

# su
Install wget...and svn client. I'm not sure if cvn-client is needed, but i installed it anyway, and, i'm installed SDL too...good to have stuff. ;-)

Code: Select all

# fink -y install svn-client wget 
Download ps2toolchain from http://www.oopo.net/consoledev/ and unpack.
CD into the new dir. If you've unpacked the file into the / dir, then the command is...

Code: Select all

# cd ps2toolchain
And finaly...install!

Code: Select all

# ./toolchain.sh
There's one thing left.
Add:

Code: Select all

export PS2DEV="/usr/local/ps2dev"
export PS2SDK="$PS2DEV/ps2sdk"
export PATH="$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin"
into the .profile. For some reason i can't find the home directory, but it's the directory you start in when you open a new terminal. So...get root acces and edit .profile!

Code: Select all

# pico .profile
Restart terminal and everything is ready! )(

The SDK should be in /usr/local/ps2dev/ps2sdk. There's some samples in /usr/local/ps2dev/ps2sdk/samples. Let's try them and check so everything's working.
Start ps2link on the ps2 and do this...

Code: Select all

# su //we need root access to compile
# cd /usr/local/ps2dev/ps2sdk/samples/teapot //cd into the teapot dir
# make //compile...
# ps2client -h 192.168.0.10 execee host:teapot.elf //..and upload!
Hope it works for you too. =D

Edit: I've found that there was a toolchain part on this forum...maybe this post should be a sticky post on that forum...?
Post Reply