Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: [TUTORIAL] Setting up SDK
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1 [TUTORIAL] Setting up SDK 
    Simon66 is offline Member
    Join Date
    Aug 2010
    Posts
    255
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    3
    Sup all!

    I'm not going to tell you guys were to get the latest SDK but you can get oopo's toolchain and maybe use that.

    This tutorial is for windows only! (I'll make an Ubuntu version soon)

    Download:

    • MinGW-3.1.0-1.exe
    • MSYS-1.0.10.exe
    • msysDTK-1.0.1.exe
    • Latest SDK (Don't ask where to get it!)

    Once all of these tools are installed, you need to:

    • Right-Click on "My Computer"
    • Properties
    • Advanced
    • Environment Variables

    Click on new and add:


    Variable name: CELL_SDK
    Variable value: /c/usr/local/cell

    Variable name: LANG
    Variable value: C

    Variable name: DTNETM
    Variable value: hostname or IP address of the Reference Tool

    Variable name: PATH
    Variable value: c:\msys\1.0\bin;c:\usr\local\cell\host-win32\bin;c:\usr\local\cell\host-win32\ppu\bin;c:\usr\local\cell\host-win32\spu\bin;c:\usr\local\cell\host-win32\Cg\bin

    you can check your variables by tipping echo $CELL_SDK and MSYS should say "/c/usr/local/cell"

    now type:

    This will create the directory for the SDK.
    Code:
    mkdir -p /c/usr/local
    Now make a new folder called cell (leave it at cell for easier usage)
    Type the following or go to C:/usr/local and make a new folder named cell

    Code:
    cd /c/usr/local
    Code:
    mkdir -p cell
    Execute c:\usr\local\cell\host-win32\bin\vcredist_x86.exe to install the Visual C++ library.

    Enter the following command and press Enter.
    Code:
    cp $CELL_SDK/host-win32/etc/gdbinit.ppu ~/.gdbinit.ppu
    cp $CELL_SDK/host-win32/etc/gdbinit.spu ~/.gdbinit.spu
    And thats it! You can now start un/packing pkg files and even making your own EBOOT files!

    Next tutorial[How to make a pkg file]
    Reply With Quote  

  2. #2  
    chesh's Avatar
    chesh is online now New Moderator on the block
    Join Date
    Sep 2006
    Location
    Spokane
    Posts
    5,197
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    33
    Likes Received
    124
    This almost looks like a copy and paste of jtanner's howto.
    Reply With Quote  

  3. #3  
    Simon66 is offline Member
    Join Date
    Aug 2010
    Posts
    255
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    3
    Quote Originally Posted by chesh View Post
    This almost looks like a copy and paste of jtanner's howto.
    ah who now? I typed this. I just got the variables desc from the sdk doc.
    Reply With Quote  

  4. #4  
    davedadon is offline Member
    Join Date
    Sep 2010
    Posts
    92
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    nice tutorial
    cant wait til some better ones come out and we can really start getting to business
    i want to get into coding for the ps3 =)
    p3free jailbreak review - http://psx-scene.com/forums/showthread.php?p=540476
    Reply With Quote  

  5. #5  
    j4m3s is offline Member
    Join Date
    Dec 2009
    Posts
    113
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    how can i test my .elf or .self?
    Reply With Quote  

  6. #6  
    j4m3s is offline Member
    Join Date
    Dec 2009
    Posts
    113
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    ok i use self_launcher.pkg 2 test my .self..
    worked with testapp.. ocean dident work..
    and make gen_pkg only works on open manager.. i think
    Last edited by j4m3s; 10-04-2010 at 03:34 PM.
    Reply With Quote  

  7. #7  
    chesh's Avatar
    chesh is online now New Moderator on the block
    Join Date
    Sep 2006
    Location
    Spokane
    Posts
    5,197
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    33
    Likes Received
    124
    I'll save you the time of writing a tutorial of how to make a pkg file. type make gen_pkg . There all done

    Oh, and here's jtanner's tutorial: http://jamestanner.co.uk/ps3/

    I believe it shows how to use the PS3 pkg creator in windows.
    Reply With Quote  

  8. #8  
    zeromx is offline Member
    Join Date
    Feb 2010
    Posts
    35
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    1
    awaiting the ubuntu version.....
    Reply With Quote  

  9. #9  
    stoker25 is offline IJDGAF
    Join Date
    Sep 2010
    Posts
    151
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Damn... i read your post, and decided i'd write a tutorial to make packages, now after i've posted that i've re-read your post and seen you said you were going to do the same, i guess i subliminally read it the first time around :|
    PSIDPatch - http://bit.ly/psidpatch
    xRegistry Editor - http://bit.ly/xregistry
    Playstation 3 Update Repo - http://bit.ly/iR2iXh

    People, stop hating on Math & Co. If it wasn't for them we'd be nowhere, so what if they have their secrets? Remember, they could of just decided not to show anything
    Reply With Quote  

  10. #10  
    hexed6 is offline Member
    Join Date
    Sep 2010
    Posts
    51
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Is this tutorial valid for the 3.41 SDK? Everything is fine until I'm supposed to type:

    Code:
    cp $CELL_SDK/host-win32/etc/gdbinit.ppu ~/.gdbinit.ppu
    cp $CELL_SDK/host-win32/etc/gdbinit.spu ~/.gdbinit.spu
    I get this:

    Code:
    cp: cannot stat `/c/usr/local/cell/host-win32/etc/gdbinit.ppu': No such file or directory
    So I just tried to build something and it says:

    Code:
    Makefile:3: /c/usr/local/cell/samples/mk/sdk.makedef.mk: No such file or directory
    Makefile:36: /c/usr/local/cell/samples/mk/sdk.target.mk: No such file or directory
    make: *** No rule to make target `/c/usr/local/cell/samples/mk/sdk.target.mk'.  Stop.
    So it would seem I'm missing files from the SDK? Anyone tried setting up 3.41 and have some pointers?

    EDIT: It seems copying the 3.41 SDK overtop of the 1.92 is the trick.
    Last edited by hexed6; 10-22-2010 at 08:17 AM.
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •