Post: PS4-SDK Installer Script
12-25-2016, 07:17 AM #1
Black Panther
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({}); 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:
-You must login or register to view this content.
-You must login or register to view this content.

Source:
    
#!/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.

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

Big_Buddha, Hydrogen, Je Modz, MODZ4FUN420, Specter, val26, viLpa
12-25-2016, 05:46 PM #2
Originally posted by Black
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:
-You must login or register to view this content.
-You must login or register to view this content.

Source:
    
#!/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

The following user thanked Red-EyeX32 for this useful post:

BadChoicesZ
12-25-2016, 06:42 PM #3
Sloth
Banned
Originally posted by EyeX32 View Post
If you can do this on Windows it can be very helpful for me lol


Cygwin offers bash shell for windows Smile
You must login or register to view this content.

The following 2 users say thank you to Sloth for this useful post:

Algebra, Black Panther
12-25-2016, 06:51 PM #4
Tustin
Balls of Steel
Originally posted by 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
12-25-2016, 10:04 PM #5
Black Panther
Former Staff
Originally posted by 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 Smile
12-26-2016, 12:23 AM #6
BadChoicesZ
I defeated!
Originally posted by EyeX32 View Post
If you can do this on Windows it can be very helpful for me lol


You must login or register to view this content.
Last edited by BadChoicesZ ; 12-26-2016 at 02:27 AM. Reason: fixed two errors from previous pastebin link

The following 5 users say thank you to BadChoicesZ for this useful post:

2much4u, Black Panther, Red-EyeX32, Hydrogen, willy_mada
12-26-2016, 01:38 AM #7
2much4u
1337 H4X0R
Originally posted by BadChoicesZ View Post
You must login or register to view this content.

The following user thanked 2much4u for this useful post:

BadChoicesZ
12-31-2016, 05:10 AM #8
Black Panther
Former Staff
Originally posted by BadChoicesZ View Post
You must login or register to view this content.


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?
12-04-2019, 04:42 AM #9
Originally posted by Black Panther View Post
Originally posted by BadChoicesZ View Post
You must login or register to view this content.


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?

got the same error do you have a fix for it

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo