Feature Request: Zarchive Support #4848

Closed
opened 2026-10-12 23:58:00 +00:00 by Kody-Schram · 1 comment
Kody-Schram commented 2026-10-12 23:58:00 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Kody-Schram on 2026-10-12T23:58:00Z.


This would allow storing the app0 folder dumps as a .zar (ZArchive) file enabling more compression for game assets on certain games. For the two games I have been testing, Demon's Souls and Spider-Man Remastered, they heavily benefit from this compression, and likely many more PS5 games would also benefit.

Game Uncompressed Compressed
Demon's Souls ~80 GB ~55 GB
Spider-Man Remastered ~120 GB ~70 GB

This brings the file sizes in line with regular PC games. For example on Steam, Spider-Man Remastered comes in around 70-75 GB. I'm not sure if the savings are universal, but it is still a worth while investigation in my opinion.

Implementing this feature would likely require a new filesystem abstraction layer, however the KytyPS5 emulator recently implemented support for this, and they are also licensed under GPL-2-only. I would imagine they would be a good reference for this feature.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5822135019 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4848). Originally posted by [Kody-Schram](https://github.com/Kody-Schram) on 2026-10-12T23:58:00Z. --- This would allow storing the app0 folder dumps as a .zar (ZArchive) file enabling more compression for game assets on certain games. For the two games I have been testing, Demon's Souls and Spider-Man Remastered, they heavily benefit from this compression, and likely many more PS5 games would also benefit. |Game | Uncompressed | Compressed | | - | - | -| | Demon's Souls | ~80 GB | ~55 GB | | Spider-Man Remastered | ~120 GB | ~70 GB| This brings the file sizes in line with regular PC games. For example on Steam, Spider-Man Remastered comes in around 70-75 GB. I'm not sure if the savings are universal, but it is still a worth while investigation in my opinion. Implementing this feature would likely require a new filesystem abstraction layer, however the KytyPS5 emulator recently implemented support for this, and they are also licensed under GPL-2-only. I would imagine they would be a good reference for this feature.
jotitadev commented 2026-10-14 15:09:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-14T15:09:27Z.


A pull request for this is now open: #5835 (feat: read title files from a read-only app0.zar (ZArchive) layer). It is opt-in. A path missing from app0/ is looked up in an app0.zar beside it, and files on disk take precedence. It covers open/read/seek/stat. fopen, access, mmap and directory listing of archived paths are listed as remaining gaps. According to its description, no title has been tested with it yet.

So title tests with an app0.zar on that branch would help the review, for example the Demon's Souls or Spider-Man layouts from your table. Please post results on #5835.

Written with AI assistance (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6171548701 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4848#issuecomment-6171548701). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-14T15:09:27Z. --- A pull request for this is now open: #5835 (`feat: read title files from a read-only app0.zar (ZArchive) layer`). It is opt-in. A path missing from `app0/` is looked up in an `app0.zar` beside it, and files on disk take precedence. It covers open/read/seek/stat. `fopen`, `access`, `mmap` and directory listing of archived paths are listed as remaining gaps. According to its description, no title has been tested with it yet. So title tests with an `app0.zar` on that branch would help the review, for example the Demon's Souls or Spider-Man layouts from your table. Please post results on #5835. Written with AI assistance (Claude Code).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#4848
No description provided.