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.

About these ads

20 Responses to Source code and everything needed for compiling

  1. jaffer says:

    can i get a mirror … multiupload one ?

  2. idexmas says:

    Actually very useful set. Thanks for this.

  3. aliman says:

    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^^
    thx
    Aliman

  4. aliman says:

    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

  5. aliman says:

    such a pain :D
    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.

    • ThatOtherDev says:

      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).

  6. AnotherDev says:

    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 : http://ps3tutorials.wikispaces.com/

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

  7. Dcnigma says:

    Hi, all just did this and made some picture for a tutorial
    you can find it here! for those that have trouble getting it to work!

    How to install ubuntu in Oracle VM VirtualBox + PsL1ghT.
    http://stormtrooperart.orgfree.com/?p=370

    greetz

  8. Gordon says:

    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

  9. giorta says:

    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: libppl.so.7: 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: libcloog-debian.so.0: 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?

  10. jiamei says:

    [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

  11. new says:

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

  12. ahrimanes says:

    hi there i have been taking a look to your Goodbyworld and i think it just have what i need in terms of image blitting..

    im the one who did the POLYGUNWARS for PSP now i want to port it to the ps3

    http://psp.scenebeta.com/noticia/polygunwars

    i will try to setup this enviroment and i hope to have your support on thins project..

  13. Damion H. says:

    link is gone: ( please make another one

  14. click says:

    loads of errors…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 45 other followers

%d bloggers like this: