Source code and everything needed for compiling

EDIT: A more recent upload of the source code + PSL1GHT can be found here.

I don’t remember by whom but I’m reasonably certain I’ve been asked for this before and I suspect there is probably a handful of people that would find this useful. So here it is.

I’ve uploaded a compressed file that contains the (admittedly outdated) compiled copy of PSL1GHT that I’ve been using (and continue to use) for all of my recent PS3 homebrew. The archive also includes the source code for They Do Not Die 2, We Are Nowhere, The Unmapped Forest, Slime Roll, Sketch Fight, Goodbye World, Don’t Get Crushed, Cascade Beneath and Avoidance. Along with the source code is all of the related media.

You can download it here.

How to use it (well running Ubuntu 32bit):

Just add the following text at the bottom of your bashrc file.

## Setup ps3toolchain environment
export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/host/ppu/bin
export PATH=$PATH:$PS3DEV/host/spu/bin
## Setup PSL1GHT Environment
export PSL1GHT=$PS3DEV/psl1ght
export PATH=$PATH:$PSL1GHT/host/bin

Then open up the terminal and install the following libraries (some of these probably aren’t really necessary but some definitely are).

sudo apt-get install autoconf automake bison flex texinfo libncurses5-dev gcc g++ make wget libelf-dev
sudo apt-get install python2.6-dev python-dev zlib1g-dev libtool git-core libgmp3-dev libssl-dev pkg-config
sudo apt-get install libcloog-ppl-dev

Extract the contents of the above ps3dev.tgz archive to the /usr/local/ folder.

Then in the terminal just open the directory for one of the projects (such as They Do Not Die 2).

cd $PS3DEV/MyProjects/projects/TheyDoNotDie2

Finally enter this to compile it (Doing make clean first would probably also be a good idea).

make pkg

What I would like you to do:

Make something. There is an appalling lack of original games being made in the homebrew community and I implore you to take part in changing this.

Give credit when credit is due. Don’t just reskin one of the games or change a couple things and pretend that you have made something new.

EDIT: I’ve re uploaded it (the file was taken down). I’d also like to also take this moment to point out that if you go here you can get the source code for more recent builds of my PS3 stuff along with a bunch of games that aren’t even included here.

20 thoughts on “Source code and everything needed for compiling”

  1. hi,
    i’ve been tryin’ to install the things you’ve provided to us, but everytime i try to make something it doesn’t do it because it thinks that the Makefile is missing.
    any advice?
    i would appreciate any help^^

  2. here is the output, if it helps:
    aliman@aliman:~/PSL1GHT/samples/video/jpgtest$ ls
    data Makefile source
    aliman@aliman:~/PSL1GHT/samples/video/jpgtest$ make pkg
    make[1]: /Makefile: No such file or directory
    make[1]: *** No rule to make target `/Makefile’. Stop.
    make: *** [build] Error 2

          1. not it doesnt change anything, means the same output and signing in as root in terminal (root@aliman) as well.
            any idea whats wrong?

  3. such a pain 😀
    i wanted to start as a ps3 developer and then the compiler dont want to work -.-
    i have even tried to compile the whole thing by myself, but i am failing at the last steps of it.
    i will try again and hope it will work out.

    1. You should track down some of the people that are actually working on PSL1GHT and yell at them to start regularly releasing up to date pre compiled copies with an installer.

      PSL1GHT works great but its ridiculous how much trouble it is to get it setup and how frequently problems arise when you try to do it. I’m seriously convinced that the PS3 scene would the thriving right now if it was as easy to begin developing for it as it is for other platforms like Wii (the process for which just consists of taking ten seconds to install devkitPro).

  4. Hi,

    all the PSL1GHT-v1 samples can be compiled.

    About your homebrews in the “MyProjects” folder, the compilation of “GoodbyeWorld”, “SketchFight” and “TheyDoNotDie2” works.
    Others projects fail ( differents issues during the compilation ).

    I think they are some files missed… when you’ll got time, please upload a new “psl1ght-v1 dev environnement”.

    I’m making a VM with both psl1ght-v2 ( done ) and psl1ght-v1 ( almost done ), i’ll share it with everyone once it’s finished.

    Thanks to ThatOtherDev for his contribution to the “homebrew side” of the hack.
    If you wish ( and have some time ) to contribute more, feel free to share your knowledge at :

    We definitely need a “” clone for the “ps3 scene”.

  5. Just to let people know, I believe that the ps3toolchain and everything in the archive was built for 32-bit. So if you’re running a 64-bit OS (like me), you’ll probably run into issues.

    Haven’t quite figured them out yet, so don’t bother asking. :p

  6. 04Hi,

    i’ve followed this procedure but when i try “make pkg” in WeAreNoWhere directory this is the situation:

    on ubuntu 11.10 Desktop

    [CC] main.c
    /usr/local/ps3dev/host/ppu/bin/../libexec/gcc/ppu/4.5.2/cc1: error while loading shared libraries: cannot open shared object file: No such file or directory
    make[1]: *** [main.o] Error 1
    make: *** [build] Error 2

    on ubuntu 10.04 Server

    [CC] main.c
    /usr/local/ps3dev/host/ppu/bin/../libexec/gcc/ppu/4.5.2/cc1: error while loading shared libraries: cannot open shared object file: No such file or directory
    make[1]: *** [main.o] Error 1
    make: *** [build] Error 2

    on ubuntu 10.04 Desktop
    same error but different shared libraries

    i’ve used a laptop width a 32 bit processor(Intel® Pentium(R) Dual CPU T3400 @ 2.16GHz × 2 )

    What’s wrong?

  7. [R2H] asteroid.bin
    make[1]: /usr/local/ps3dev/psl1ght/host/bin/raw2h: Command not found
    make[1]: *** [asteroid.bin.h] Error 127
    make: *** [build] Error 2

  8. [CC] main.c
    /usr/local/ps3dev/host/ppu/bin/../libexec/gcc/ppu/4.5.2/cc1: error while loading shared libraries:
    make[1]: *** [main.o] Error 1
    make: *** [build] Error 2

Comments are closed.