Category PS Vita Jailbreaking       Thread starter PSXHAX       Start date Nov 8, 2017 at 7:51 PM       4,467       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
Red Dead Redemption 2 PS4 Models and Textures Tool by ID-Daemon
Following his Spider-Man PS4 Skeletal Models & Textures Tool release and the recent RDR2 PS4 Modding Demos data miner @iddaemon (aka ID-Daemon) shared details on his Red Dead Redemption 2 PS4...
3D Renders of Rumored PS5 / PlayStation 5 Development Kit Patent Design
Proceeding the rumored PS5 / PlayStation 5 DevKit Patent that surfaced earlier this week, today some artist renditions based on the Sony patent have surfaced for those seeking a closer look at the...
Latest PlayStation 4 Game Trailer Videos from Gamescom 2019
Earlier this week we saw a Call of Duty: Modern Warfare 2v2 Alpha PS4 trailer video from Gamescom 2019, and below is some more fresh PlayStation 4 video game footage from this year's Gamescom...
Chiaki: Free and Open Source PS4 Remote Play Client by Thestr4ng3r!
Last month we reported on a PS4 Remote Play open source client in development by thestr4ng3r, and today he released Chiaki... the first free and open source PS4 Remote Play client software for...