Category PS Vita Jailbreaking       Thread starter PSXHAX       Start date Nov 8, 2017 at 7:51 PM       4,132       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
Stickman Zombie Attack PS4 Homebrew Game PKG by Med33
After a lot of work, I'm announcing Stickman Zombie Attack homebrew game PKG made with Unity for the PS4. 🧟‍♂️🧟‍♀️ Thanks to all the beta testers @jwooh, @DEFAULTDNB and @FFTHEWINNER they helped...
Free-to-Play Action RPG Dauntless Slashes Onto PS4 Tomorrow
Reminiscent of Fortnite, the Behemoth-slaying co-op action RPG Dauntless slashes onto PS4 tomorrow, is free-to-play and offers exclusive cosmetic gear for PS Plus members. 😀 Here's more on... PS4 Cheats and Modding Platform Trainers with Tools
Since the release of PS4 Reaper (debugger and trainer maker) the goal was to gather modders and gamers around one passion. Today we've come along way: 3 Universal Trainers (PC, Android, iOS)...
Orbis MSX Super Laydock: Mission Striker PS4 Homebrew PKG
Proceeding the MSXORBIS MSX Core from BigBoss and recent Resident Evil CODE: Vita PS4 homebrew game in development by @Markus95, this weekend @oneman123 shared on Twitter a shoot 'em up Orbis MSX...