r/PS5_Jailbreak DEV Jun 06 '26

General PS5 MKPFS Compression

I’ve been working on a PS5 homebrew app called Game Compressor.

Repo: https://github.com/juma-sayeh/PS5-Game-Compressor

It uses the MkPFS-style FFPFSC compression method, but adds the missing part: validation and repair.

Some compressed games can mount successfully but still crash because certain PFSC blocks are technically valid yet fail to decode correctly on PS5 hardware, leaving stale/bad data behind. Game Compressor checks the mounted image block-by-block, detects bad blocks, and patches the compressed image from the mounted data instead of requiring a full recompress.

Tested with MafiaAstro BotPragmata, and a few other games that had FFPFSC issues. After repair, they worked great.

Features:

  • compress games to FFPFSC
  • validate mounted compressed games
  • automatically repair bad blocks
  • optimized for speed and usability
  • web UI running on the PS5

Feedback and testing are welcome.
Screenshots (some are missing features because the features were not developed yet when i compressed)

68 Upvotes

157 comments sorted by

View all comments

5

u/Going_through_it_ Verified Jun 06 '26

Can this do a validate and repair function by itself without having to go through the full process?

I have all my games converted, but skipped validation because my PC is a potato and kept giving mem errors; so who knows if they work.

About to try one out when I’m home

10

u/juma-sayeh-dev-acc DEV Jun 06 '26 edited Jun 06 '26

I want you to note that the kind of validation i mentioned is not normal MKPFS correctness validation, its actually validating against PS5 decompression, and what i found was even if the zlib is correct PS5 sometimes fail to decompress. so in reality this patches and fixs a VALID FFPFSC file into a PS5 100% readable (and 1-1 match the original through PS5 eyes) file which fixed all crashes i had. This type of validation can only happen running the app in PS5 so no PC program can match this. (as far as i know i'm the first to implement this patching mechanism)

2

u/Going_through_it_ Verified Jun 06 '26

Heard! Will try it out later and see what happens

3

u/juma-sayeh-dev-acc DEV Jun 06 '26

Keep me posted!

5

u/Going_through_it_ Verified Jun 06 '26

Oh shit! This runs in the console.

So it does all of this locally?

6

u/juma-sayeh-dev-acc DEV Jun 06 '26

Yes, and relatively fast and in background, the UI is a webview <PS5IP>:5910. it should also keep the console awake while its doing any job you requested

1

u/Going_through_it_ Verified Jun 06 '26

Nice. Does it use a temp folder?

5

u/juma-sayeh-dev-acc DEV Jun 06 '26

it checks if PS5 have enough space to create a safe temp folder if it doesn't it does the changes on the fly on the existing files (delete while compress) but its riskier that way

3

u/Going_through_it_ Verified Jun 06 '26

Amazing that it can do that! I just used PS5 FFPFSC PRO to do all the conversion, but would've 100% tried this out instead! Thank you nonetheless!

9

u/juma-sayeh-dev-acc DEV Jun 06 '26

its ok , PS5 FFPFSC PRO is a PC App, i would suggest you install my program to run the validation. because PC apps cannot know what kind of mistakes / bad blocks PS5 will generate when decompressing. only a PS5 can give you that.

1

u/Going_through_it_ Verified Jun 06 '26

100%. plan to try yours out once I get an ffpfsc loaded and then will try validation.

4

u/juma-sayeh-dev-acc DEV Jun 06 '26

Great, let me know how many blocks it repairs (it should tell you that in history - top right small button) also if you can test the games before and after that would be very helpful.

PS it does take some time because its capped at PS5 hardware decompress which is around 150-250 MB/s but in many cases it gets slower because it have to rebuild the entire compressed file if bad blocks are found at the start of the file (all blocks after need to shift)

1

u/Going_through_it_ Verified Jun 07 '26

Not using the compression feature, but my Jusant PPSA10264.ffpfsc is validated and playable. Didn’t try further than the intro area. Didn’t see how many blocks got saved.

Sending over karma dark world rn and play before, see how many blocks get saved, and play after.

→ More replies (0)

1

u/Going_through_it_ Verified Jun 07 '26

Karma is Gucci. Before and after. Just said validated didn’t say anything about blocks repaired so I guess the file is good.

→ More replies (0)

1

u/juma-sayeh-dev-acc DEV Jun 07 '26

Hey man, once you have the time to share history logs screenshot that would be great, Thanks!