THREAD: PS4-SDK Installer Script
  1. 12-25-2016, 03:17 AM
    #1
    Black Panther's Avatar
    Black Panther
    Former Staff
    Black Panther's Avatar
    Black Panther
    Former Staff
    319
    Posts
    38,182
    Reputation
    Feb 2012
    NextGenUpdate
    Sponsored Links

    I made this for those(noobs) who want to make things for CTurts PS4-SDK but do not know how to compile/install the SDK.

    What you Need:
    -Linux Operating System (Mingw on windows might work, idk)
    -root access
    -bash installed (which in most cases, it will already be installed if not run apt-get install bash)

    What this does:
    -Installs LLVM 3.8, BINUTILS, and GIT (which are needed)
    -clones the PS4-SDK into /usr/local
    -compile the necessary libraries
    -compile all the examples

    Download:
    -[Only registered and activated users can see links. ]
    -[Only registered and activated users can see links. ]

    Source:
    Code:
    #!/bin/bash
    #PS4SDK Install Script for noobs
    
    apt-get install llvm-3.8
    apt-get install binutils
    apt-get install git
    cd /usr/local/
    git clone https://github.com/CTurt/PS4-SDK.git
    export PS4SDK=/usr/local/PS4-SDK
    cd /usr/local/PS4-SDK/libPS4
    make
    cd ../libusbfatfs
    make
    cd ../examples/camera
    make
    cd ../canvas
    make
    cd ../filesystem
    make
    cd ../hello
    make
    cd ../modules
    make
    cd ../pad
    make
    cd ../sockets
    make
    cd ../threads
    make
    cd ../usb/list_devices
    make
    cd ../storage
    make
    cd ../usbfatfs
    make
    printf "\nPS4 SDK Installer Script by Black Panther"
    printf "\nCredits to CTurt for his great SDK"
    printf "\nRead all the posts on his github for info!\n"
    If any bugs, report here.
  2. Sponsored Links
  3. The Following 6 Users Say Thank You to Black Panther For This Useful Post:

    , , , , ,

  4. 12-25-2016, 01:46 PM
    #2
    Red-EyeX32's Avatar
    Red-EyeX32
    Former Staff
    Red-EyeX32's Avatar
    Red-EyeX32
    Former Staff
    1,528
    Posts
    79,532
    Reputation
    Dec 2011
    NextGenUpdate
    Originally Posted by Black Panther View Post
    I made this for those(noobs) who want to make things for CTurts PS4-SDK but do not know how to compile/install the SDK.

    What you Need:
    -Linux Operating System (Mingw on windows might work, idk)
    -root access
    -bash installed (which in most cases, it will already be installed if not run apt-get install bash)

    What this does:
    -Installs LLVM 3.8, BINUTILS, and GIT (which are needed)
    -clones the PS4-SDK into /usr/local
    -compile the necessary libraries
    -compile all the examples

    Download:
    -[Only registered and activated users can see links. ]
    -[Only registered and activated users can see links. ]

    Source:
    Code:
    #!/bin/bash
    #PS4SDK Install Script for noobs
    
    apt-get install llvm-3.8
    apt-get install binutils
    apt-get install git
    cd /usr/local/
    git clone https://github.com/CTurt/PS4-SDK.git
    export PS4SDK=/usr/local/PS4-SDK
    cd /usr/local/PS4-SDK/libPS4
    make
    cd ../libusbfatfs
    make
    cd ../examples/camera
    make
    cd ../canvas
    make
    cd ../filesystem
    make
    cd ../hello
    make
    cd ../modules
    make
    cd ../pad
    make
    cd ../sockets
    make
    cd ../threads
    make
    cd ../usb/list_devices
    make
    cd ../storage
    make
    cd ../usbfatfs
    make
    printf "\nPS4 SDK Installer Script by Black Panther"
    printf "\nCredits to CTurt for his great SDK"
    printf "\nRead all the posts on his github for info!\n"
    If any bugs, report here.
    If you can do this on Windows it can be very helpful for me lol
  5. The Following User Says Thank You to Red-EyeX32 For This Useful Post:


  6. 12-25-2016, 02:42 PM
    #3
    Sloth's Avatar
    Sloth
    💯 😩 👌💦
    Sloth's Avatar
    Sloth
    💯 😩 👌💦
    1,454
    Posts
    41,375
    Reputation
    Feb 2010
    NextGenUpdate
    Originally Posted by Red-EyeX32 View Post
    If you can do this on Windows it can be very helpful for me lol
    Cygwin offers bash shell for windows
    [Only registered and activated users can see links. ]
  7. The Following 2 Users Say Thank You to Sloth For This Useful Post:

    ,

  8. 12-25-2016, 02:51 PM
    #4
    5,246
    Posts
    277,766
    Reputation
    Jan 2020
    NextGenUpdate
    Originally Posted by Red-EyeX32 View Post
    If you can do this on Windows it can be very helpful for me lol
    If you have the latest update for Windows 10 you can use the Bash VM type thing on Windows and just modify some of the output directories in the script to save them in a directory on Windows. I'm guessing that will work but I'm not totally sure
  9. 12-25-2016, 06:04 PM
    #5
    Black Panther's Avatar
    Black Panther
    Former Staff
    Black Panther's Avatar
    Black Panther
    Former Staff
    319
    Posts
    38,182
    Reputation
    Feb 2012
    NextGenUpdate
    Originally Posted by Red-EyeX32 View Post
    If you can do this on Windows it can be very helpful for me lol
    Yeah do what sloth said it should work although you might need to edit the paths and what not
  10. 12-25-2016, 08:23 PM
    #6
    BadChoicesZ's Avatar
    BadChoicesZ
    I defeated!
    BadChoicesZ's Avatar
    BadChoicesZ
    I defeated!
    622
    Posts
    22,319
    Reputation
    May 2011
    NextGenUpdate
    Originally Posted by Red-EyeX32 View Post
    If you can do this on Windows it can be very helpful for me lol
    [Only registered and activated users can see links. ]
    Last edited by BadChoicesZ; 12-25-2016 at 10:27 PM. Reason: fixed two errors from previous pastebin link

  11. The Following 5 Users Say Thank You to BadChoicesZ For This Useful Post:

    , , , ,

  12. 12-25-2016, 09:38 PM
    #7
    2much4u's Avatar
    2much4u
    1337 H4X0R
    2much4u's Avatar
    2much4u
    1337 H4X0R
    734
    Posts
    27,442
    Reputation
    Dec 2011
    NextGenUpdate
    Originally Posted by BadChoicesZ View Post
    [Only registered and activated users can see links. ]
    I think you meant to put step 8 before step 7. Need gcc before you can compile the sdk.
  13. The Following User Says Thank You to 2much4u For This Useful Post:


  14. 12-31-2016, 01:10 AM
    #8
    Black Panther's Avatar
    Black Panther
    Former Staff
    Black Panther's Avatar
    Black Panther
    Former Staff
    319
    Posts
    38,182
    Reputation
    Feb 2012
    NextGenUpdate
    Originally Posted by BadChoicesZ View Post
    [Only registered and activated users can see links. ]
    Followed your tutorial fully. Managed to compile the libPS4 and libusbfatfs, but when trying to compile examples, I get a "/x86_64-pc-cygwin/bin/ld: cannot perform PE operations on non PE output file 'temp.t'." when trying to run make on any example any help?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •