Up to 20% better speed and multiple game fixes
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
- Faster reads: games wait up to 20% less for their files. Threads pick
up a read sooner, the read path has fewer steps, and the cache keeps the
most used data when a game scans through many files. - Less memory: the module takes 150.89 MiB instead of 184.44 MiB. The
cache starts at 32 MiB and grows into the memory the file index leaves
free once the game has started (about 100 MiB on our test games). - Games start faster: the file index loads 30-40% quicker.
Fixes
- Final Fantasy XVI (#84): a crash during play, a freeze at the Dalimil
story point, and a crash at start for a dump withoutampr_emu.index. - Marvel's Avengers crashed at boot (#103): a game that reads a folder in
one go now sees its packed files. - Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles would not start
(#105): a file listed in the index but missing from the dump is now
reported as missing. - Grand Theft Auto V would not start (#88): packed files now show in a
folder that also exists on disk. - Games backported to firmware 4.xx that never saved, such as Blasphemous 2
(#92) and Castlevania: Belmont's Curse. - A game that writes a save is no longer handed a read-only save mount it
already holds.
Thanks
- @jamesst20 fixed Final Fantasy XVI (#98, #102), Marvel's Avengers
(#108), Demon Slayer (#109) and Grand Theft Auto V (#89), all traced from
core dumps, added a build check for the stack size of the game's
threads (#73), and added a/crashpage to the debug build for core
dumps of frozen games (#90). - @strongt1me found the cause of the Final Fantasy XVI startup crash
(#84), pointed to the index problem behind #100, and read the dumps and
logs in many reports (#48, #82, #83, #86, #87, #88, #94, #95). - @Dang3rZone, in a first contribution, fixed saving in backported games
(#106) and confirmed it with Blasphemous 2.
Thanks to everyone who tested builds and sent logs: @psksuffsmp (#84,
#103), @fecent (#105, #88) and @rodolphomaia (#92).
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.