FPKG (pkg) support is experimental, and a pkg game can run worse than
the same game in zstd packs. If a game stutters as a pkg, try it in zstd
packs and tell us in an issue.
What's new
- A new file index: every game's index is kept in memory as one compact
table, built once when the game starts. It needs less memory, has no
fixed 48 MiB cap, and opening a packed file no longer reads its path
from disk. /data/ampr_cacheno longer shows in a file explorer.
Fixes
- Large games that would not start with
index tables need ... MiB, over the 48 MiB: Final Fantasy XVI (#53, #67), Demon's Souls (#61) and
Returnal (#72). - New game crash in Marvel's Spider-Man: Miles Morales (#63): the save
icon path ran out of stack on the game's save thread. - Stuck on "Closing..." with CE-108255-1 in AI LIMIT (#60), and saves
that could not be created (#64): a busy save mount is now passed back
to the game instead of being retried after unmounting its other saves
(#66). - Loading stuck at 20% or 60% after loading a save in Horizon Forbidden
West (#23, #68). - Folder handles of packed folders are now numbers below 1024, since some
games reject larger ones (#58, #70). - A folder is no longer hidden by a file with the same name in another
case.
Thanks
- @jamesst20 tracked down the Spider-Man crash from core dumps (#71),
moved folder handles below 1024 (#70), wrote a core dump payload, and
dug through three Wolverine crash dumps (#48). - @strongt1me fixed the save mount retry (#66), documented the
ampr_emu.indexrules for packer authors (#69), and found from the
logs why Demon's Souls and FF16 did not fit in memory (#61, #67). - @BXYMartin, in a first contribution, fixed the Horizon Forbidden West
loading hang (#68). - @dotpinheiro for the save mount investigation in #62.
Thanks to everyone who tested builds and sent logs: @Mrfireos (#60),
@WalkerAllen96082 (#61), @Zedan015 (#67), @fecent (#72), @xavi871b (#64),
@myselfayman2-sys and @linchiech (#63), @Libraaaaa2792 (#65),
@olizo53 (#48) and @PrivatePasta (#52).
How to use
FPKG games: launch with kraken-mount.
zstd, LZ4 and folder games: copy libSceAmpr.sprx into the game's
fakelib/ and mount the game with ShadowMountPlus (disable fakelib update
in its settings) or Kraken Mount.
zstd and LZ4 packs can be made with
ps5-dump-forge.
Please keep reporting how your games run with the game report form, and
name the format: pkg, zstd, LZ4 or folder.