Join Us and become a Member for a Verified Badge on Discord to access private areas with the latest PS4 FPKGs.
Category PS4 Guides and Tutorials       Thread starter PSXHAX       Start date Jan 5, 2017 at 12:58 AM       8,303       4            
Status
Not open for further replies.
Following the PS4 *** Installer Script, PlayStation 4 developer @BadChoicesZ recently shared a guide to ****** setup on Windows using either CTurt's PS4 *** or PS4Dev's ****** with details below. <3

To quote via the Pastebin from BadChoicesZ:

Code:
#
# BadChoicesZ guide to ****** setup on Windows:
# using CTURTS ***, although can use PS4DEV's *** aswell.
# revision 2.0
#

1.
# Download cygwin x86_64 from browser:
# https://www.cygwin.com/setup-x86_64.exe

2.
# Create folder:
C:\cygwin64
# And copy the setup-x86_64.exe into it.

3.
# setup (using cmd.exe)
cd C:\cygwin64
setup-x86_64 -q -P wget,tar,qawk,bzip2,subversion,vim

4.
# Download/install apt-cyg using the cygwin terminal:
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin

5.
# Install required. ( using cygwin terminal )
apt-cyg install nano git make python binutils clang
git clone https://github.com/kR105/PS4-dlclose.git
git clone https://github.com/CTurt/PS4-***.git

6.
# make Environmental variable "******" point to PS4-***'s folder.
# replace <user> with profile name..ie. BadChoicesZ
export ******=/home/<user>/******/PS4-***

7.
# Install GCC -
# Run the cygwin installer again "setup-x86_64.exe" this time by double clicking on it ( not using cmdline )
# and make sure to download the GCC as shown below.
# https://i.stack.imgur.com/E4uZh.png
# (just click on the 'skip' to toggle install..)

8.
# Compile Cturts *** ( Could also use PS4DEV's.. )
cd PS4-***
cd libPS4
make
cd ..
cd libusbfatfs
make
cd ..

9.
# you can now compile projects with ****** on windows.
:arrow: Update: Below is another tutorial on How To Setup the ****** on Windows 10 by 0x199 for those interested, to quote:

Today I'm going to explain how to setup the ****** on Windows 10. Get that VM out of the way, it's time for the real deal.

Requirements
  • Desktop with Windows 10 installed
Let's get started

Part 1: Installing Bash on Ubuntu on Windows 10

First things first, we're going to enable developer mode on your Windows 10 desktop.

Go to Settings -> Update and Security -> For Developers -> Developer Mode.

How To Setup the ****** on Windows 10 aljmoqJ.jpg

Now head over to the Control Panel and click Programs. Once there, click "Turn Windows Features On or Off" under Programs and Features. A list will appear:

How To Setup the ****** on Windows 10 7cP3Vtc.jpg

Enable "Windows Subsystem for Linux (Beta)" in that list and click OK. Reboot your desktop so Windows 10 can install Bash.

Once restarted, type in the search bar "bash" and hit enter.

How To Setup the ****** on Windows 10 3Xqx7YV.jpg

The first time you run the bash.exe file, you'll be prompted to accept the terms of service. The command will then download the "Bash on Ubuntu on Windows" application from the Windows Store. You'll be asked to create a user account and password for use in the Bash environment.

Just follow the setup.

How To Setup the ****** on Windows 10 qffUtDd.jpg

When you're being asked for your username, enter anything but "root", same goes for your password.

You're now done with setting up Bash on your Windows 10 desktop.

Part 2: Installing the *** on Bash

So the first thing we want to do is install updates. For this, we type in Bash the following:
Code:
sudo apt-get update
It will ask you for your password, enter the password you used in the setup.

Now we're going to install the required packages to build our ***:
Code:
sudo apt-get install make
sudo apt-get install clang
sudo apt-get install gcc
sudo apt-get install llvm
sudo apt-get install binutils
Once that's done, we're going to pull our ***. Type the following:
Code:
cd ~
git clone https://github.com/idc/ps4-payload-*** PS4-***
And hit enter. This will install the *** to /home/yourusername/PS4-***.

Time to set up our environment variable for the *** and export the ***. Type the following:
Code:
sudo nano .bashrc
This will open .bashrc, go to the very end of the file using the arrow down key.

Once at the end of the file, type this:
Code:
export ******=~/PS4-***
And now save the file using CTRL + X, hit Y and press enter like last time.

Now refresh Bash:
Code:
source ~/.bashrc
Part 3: Getting the *** Ready

We're going to CD to our ***:
Code:
cd PS4-***
Once there, type
Code:
cd libusbfatfs
And type
Code:
make
The *** library libusbfatfs will now be ready. Just one more to build.

CD back to the PS4-*** like so:
Code:
cd ..
Now CD into libPS4:
Code:
cd libPS4
And type
Code:
make
(Ignore this if you're not on Windows 10: If you're on Ubuntu and getting a __dev_t declaration error, please click here for a fix.)

Some users may experience an error. If you got an error, do the following:
Code:
sudo nano source/syscall.s
There will be these lines at the top of the file:
Code:
#If your assember complains about the following uncommented line change it to:
#.section .sc_rop,"w"
.section .sc_rop,"wb"
Uncomment the second line and comment the third one, like so
Code:
#If your assember complains about the following uncommented line change it to:
.section .sc_rop,"w"
#.section .sc_rop,"wb"
And now save the file using CTRL + X, hit Y and press enter. Type make again and it should compile correctly.
Code:
make
The PS4 *** has been setup now and is ready to compile payloads.

Part 4: Compiling Payloads

To compile payloads, you want to CD into the payload folder and type make. This will compile your payload so you can inject it into your PS4.

Things should be a lot easier now that you don't have to boot up a VM everytime to compile a simple payload. Thanks to ZeraTron for helping me out fixing errors! Happy modding!

:arrow: Update #2: Here's another tutorial from FBML via email on How to Setup the ****** on Windows 10 Without VM:

Spoiler

Cheers to both @HydrogenNGU and @raedoob for sharing the news in the PSXHAX Shoutbox! :beer: :beer:

E4uZh.png

****** Setup on Windows Guide by PS4 Developer BadChoicesZ.jpg
 

Comments

Status
Not open for further replies.

finalman

Senior Member
Contributor
Verified
Whats the point there'll be no homebrew cause no ones gonna leak an exploit cause there all scared of Sony.

As for 1.76 sure but whats the point of having a games console and not being able to play the latest games.
 

PSXHAX

Staff Member
Moderator
Verified
Hopefully someone who doesn't feel the need for any acknowledgement, credits or e-peen will post one anonymously at some point if they aren't worried about 'too much drama on the scene' and only concerned about Sony catching them. :sneaky:
 

HydrogenNGU

Element
Senior Member
Contributor
Want to reiterate something really quick. This tutorial is about 97% complete lol, Bad ChoicesZ is on the right track, but he must've had a mistake somewhere. He'll fix it soon, but the tutorial is fine.

In addition, Black Panther also stated something about this to me as well:

"You can compile the libraries, just not the examples with this."

He'll get in contact with Bad ChoicesZ soon to see if they can spot the mistake. Will be fixed soon, so no worries.
 
Status
Not open for further replies.
Recent Articles
Is It, or Isn't? A PS4 Homebrew Game PKG Written in C++ by NKrapivin
Is it, or isn't? is indeed the latest PS4 homebrew game PKG written in C++ by @nkrapivindev (Nikita Krapivin on Twitter) for use on hacked aka Jailbroken PS4 Consoles. šŸ˜» Download...
DualSense PS5 Controller on Windows via DS4Windows & DualSense Windows
Since the guide on How To Set Up a DualSense PS5 Controller on PC via Bluetooth or USB we have two more ways to get a DualSense PS5 Controller with Updatable Software running on Windows, the first...
The PS5 Scene Gets First PlayStation 5 Game Dumps by BigBlueBox!
We've seen official PS5 PKGs, raw PS5 Game RiPs, some more PS5 Game Images and today PlayStation 5 Scene release group BigBlueBox made available the first PS5 Game Dumps for those who enjoy...
PlayStation Black Friday 2020 is Live with Deals on Games & Subscriptions
Last week we shared some Black Friday 2020 Ad Scans, and this weekend Sony put live their PlayStation Black Friday 2020 featuring unmissable deals on PlayStation games including The Last of Us...
Top