Category PS Vita Jailbreaking       Thread starter PSXHAX       Start date Nov 8, 2017 at 7:51 PM       4,621       0            
We've seen a PFS Protection Bypass method, PFS Explorer Support, PlayStation File System Keys, MakePFS, pfsSKKey, and following his PSVGameSD update PlayStation Vita developer Motoharu Gosuto has since released PSVPFSTools for decrypting the PS Vita PFS filesystem! :ninja:

Download: / GIT

To quote from the file: psvpfstools Tools for decrypting PS Vita PFS filesystem.



Windows (example)

It is easier to build curl from sources if your are on Windows. By default - it does not have any additional dependencies. However it looks like Windows binary distribution built with mingw requires openssl binaries:
  • libssl-1_1.dll
  • libcrypto-1_1.dll
You have to set these environment variables for cmake:
  • CURL_INCLUDE_DIR=C:\Program Files (x86)\CURL\include
  • CURL_LIBRARY=C:\Program Files (x86)\CURL\lib\libcurl_imp.lib
Ubuntu (example)

You can install curl library with apt-get: apt-get install libcurl4-gnutls-dev or libcurl4-openssl-dev

You have to set these environment variables for cmake:
  • declare -x CURL_INCLUDE_DIR="/usr/include/"
  • declare -x CURL_LIBRARY="/usr/lib/x86_64-linux-gnu/"

Windows (example)

Any boost version should work out in theory. Build was tested with 1.55 and 1.65.1 Consult with this page for build:

You have to set these environment variables for cmake:
  • BOOST_INCLUDEDIR=C:\boost_1_55_0
  • BOOST_LIBRARYDIR=C:\boost_1_55_0\vc110\lib
Ubuntu (example)

You can install boost with apt-get: libboost-all-dev

You have to set these environment variables for cmake:
  • declare -x BOOST_INCLUDEDIR="/usr/include/"
  • declare -x BOOST_LIBRARYDIR="/usr/lib/x86_64-linux-gnu/"


Go to cmake folder and execute build.bat. It will create build folder and configure cmake to build with Visual Studio 2012. Code uses some c++ 11 features so lower Visual Studio is not recommended.


Go to cmake folder and execute It will create build folder and configure cmake to build with standard make.



-h [ --help ] Show help

-i [ --title_id_src ] arg Source directory that contains the application. Like PCSC00000.

-o [ --title_id_dst ] arg Destination directory where everything will be unpacked. Like PCSC00000_dec.

-k [ --klicensee ] arg klicensee hex coded string. Like 00112233445566778899AABBCCDDEEFF.

-z [ --zRIF ] arg zRIF string.

-f [ --f00d_url ] arg Url of F00D service.
Special thanks
  • Proxima. For initial docs on DMAC5, providing F00D service and help with crypto theory.
  • St4rk, weaknespase and everyone involved in PkgDecrypt. For zRIF string decode/inflate code.
  • Chris Venter. For libb64.
  • PolarSSL. For cryptographic primitives.


PSVPFSTools for Decrypting PS Vita PFS FileSystem by  Motoharu Gosuto.jpg


Recent Articles
Latest PlayStation VR Promo: Live the Game, Golem PS VR Lullaby Trailer
Today we have two new videos for PlayStation VR fans, the first being Sony's latest PS VR promo dubbed Live the Game and the other is the Lullaby trailer to the latest PSVR game Golem by Highwire...
Black Friday 2019 Ad Scans Featuring Video Game Deals and More!
Keeping tradition as we've done in 2016, 2017 and 2018 here are some direct links to the Black Friday 2019 online ad scans courtesy of featuring deals on the latest video games and...
PS4 APU Floor Plan High-Resolution Die Shots & Vpikhur at Toorcon 2019
Those who enjoy PlayStation 4 eye candy may recall seeing PS4 System Controller High-Res Images awhile back, and recently Volodymyr Pikhur passed along some PS4 APU (Accelerated Processing Unit)...
JoystickUDP: Collection of Methods Using a PS4 Controller with UDPComms
Recently StanfordRoboticsClub shared on Github a collection of methods using a DualShock 4 PS4 Controller with UDPComms, which is a Python library to enable communication between different...