git clone git://github.com/HACKERCHANNEL/ps3chain.git
Execute the automated script frorm the ps3chain directory just cloned:
Have a loooooong break, then if you don't see any error you can say to all your friends that the toolchain is installed
Installing the PSL1GHT SDK
Now clone the psl1ght git repository:
git clone git://github.com/HACKERCHANNEL/PSL1GHT.git
Add these lines at the end of ~/.bashrc for setting needed system variables:
Build and install it:
Compiling and running samples
Samples are included in PSL1GHT samples directory: I suggest to start with VideoTest.
Last command will create a .pkg file that can be installed on your jailbreaked PS3.
Copy it over a USB pendrive, start the PS3 in jailbreak mode, go to "Install package files", select your app, install and finally run it!
A nice gray to red gradient screen will appear, press X to exit.
The above process is fine, but a bit slow. There is a smart way though: compile and launch via wifi using ps3load.
Ps3load is a tool like Nintendo Wii Wiiload that let us loading packages over the network.
First of all set this environment variables as we did with other ones, specifying your PS3 ip address (for example 192.168.0.10):
Compile and install ps3load under samples directory, just like the previous VideoTest.
Once loaded on PS3 you'll be welcomed (at least for now) with a nice black screen: this is normal.
You can now compile other samples with usual make command, then run over the network with:
A lot easier, uh?
You can start your own "hello world" program using the template under PSL1GHT directory.
Here it is mine (using libpng).
Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!