Post: How To Set Up PS3 SDK To Compile Examples + How To Quick Test
10-18-2014, 12:02 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); In this thread I will teach all of you Elites how to set up the Playstation 3 SDK to compile the premade examples that are included in the SDK and how to test these examples quickly.

Step 1: Downloading + installing the SDK

Download this: - removed -
and install it to:

    C:\usr\local\cell


You must login or register to view this content.

And that's about it for this step, pretty easy, huh?


Step 2: Installing MINGW and PSL1GHT

Now for this step, you're installing MINGW which you are going to use to compile the examples in the SDK, this package that is included contains PSL1GHT as well, which is a lightweight unofficial PS3 SDK.

First, download the package from Estwald's git You must login or register to view this content.

And extract this package and the rar files inside to
    C:\PSDK3v2


Your directory should look like this, excluding some folders
You must login or register to view this content.

Next what you want to do is go to your desktop and create a new shortcut. Write the target as
    C:\PSDK3v2\MinGW\msys\1.0\msys.bat -norxvt

then just title the shortcut as something like 'MSYS Terminal', after this right-click and go to properties and edit the 'start-in' to
    C:\PSDK3v2\MinGW\msys\1.0\bin


You must login or register to view this content.

Now you are ready to compile an example package!


Compiling Using MINGW

There are many ways to compile these examples but this is how I recommend on doing it.

First, find the example you want to compile for me it's located at
    C:\usr\local\cell\samples\sdk\sysutil\msgdialog

You must login or register to view this content.

Now, I recommend opening up notepad or something like that and copy the location of the example. In a notepad, write 'cd '(including that space) then paste the location to the example
You must login or register to view this content.

After this, press CTRL+H and replace all the '\' with '/' then copy this edited text and open your MSYS Terminal and paste the text in there and press enter. This changes the directory to the example directory.

Now you're going to want to enter the following command in the terminal 'make' and you will see all the compilation info and debug info. What this 'make' command does is tells the makefile in the directory to start the compilation. After this is all done you should see a .elf and .self in the directory.

You must login or register to view this content.

Congrats, you've successfully compiled your first SDK example!


Running Your Self

Next, download this developer application called PS3Load and install it on your PS3
You must login or register to view this content.

What this does is allows you to use MINGW to remotely run .self files from your pc to your ps3.

First what you got to do it set up the EXPORTS for PS3Load by entering this command into the terminal
    export PS3LOAD="tcp:(ps3's ip)"

Now launch PS3Load on your ps3 (it's located under the internet browser). You should get a screen full of debug info, this doesn't mean anything.

Now in terminal go to the directory of your compiled .self and type in the following command to launch it
    PS3LOAD (self name.self)


This will launch the self.

If you've done everything correctly your terminal should read something like
You must login or register to view this content.


Thanks for reading my tutorial NGU, In the next update I will include some scripting and coding lessons for the PS3 SDK! THIS TUTORIAL IS NOT TO BE POSTED ON ANY OTHER WEBSITE OR BOARDS ON NGU!!!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to Black Panther for this useful post:

Cyb3r, flynhigh09, KareraHekku, Vicodin10
10-18-2014, 04:32 AM #2
Cyb3r
NextGenUpdate Elite
Thanks buddy for this, is there any examples on how to develope in C++?
10-18-2014, 09:53 AM #3
Hammy
[b]#Hammy4IMGPerms McCoy[/b]
SDK is warez, I would recommend not putting this on the public forums a move it to elite.
Thread closed.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo