github quer3q/ampr-emu-ng v0.5.1

2 hours ago

Save fixes in pkg mode and faster read batches

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 read batches: a game's next batch of reads now starts while the
    previous one is still finishing. On our test games a batch completes
    about 10% sooner in pkg mode, and a zstd game that queued its reads badly
    went from 98 ms to 5 ms a batch. The disk read pool grows from 6 to 8
    threads to keep up.

Fixes

  • Games that failed every save in pkg mode, such as Marvel's Wolverine
    (#116): the save service cannot open the game's save icon in pkg mode,
    so the runtime now reads the icon and hands it over itself, also when
    the game is installed on an M.2 drive. Not yet confirmed by the reporter.
  • Hades hung when closed and showed 0xa0024301 in pkg mode (#114). Shared
    save mounts are removed: a save mount the game already holds is passed
    back as busy, as on a retail console.
  • DIRT 5 crashed about 15 s after launch, then hung on a black screen, in
    pkg mode (#117): folders listed with a small buffer now show their files
    on disk as well as the packed ones.
  • MARVEL Cosmic Invasion aborted at launch (#111), and Scott Pilgrim EX is
    fixed by the same change: a folder that exists only in the packs no
    longer reports a stale "not found" error at the end of its listing.

Thanks

  • @jamesst20 fixed MARVEL Cosmic Invasion and Scott Pilgrim EX (#113) and
    DIRT 5 (#118), traced from core dumps, and found the save bug behind the
    Hades hang (#115).
  • @pristmc-code sent detailed reports with core dumps and traces for
    MARVEL Cosmic Invasion (#111), Hades (#114) and DIRT 5 (#117), and
    tested every fix build on a console.
  • @Fever86 sent the logs for Marvel's Wolverine (#116) and found that the
    save failure happened only on M.2.
  • @strongt1me helped triage #111.

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.

Don't miss a new ampr-emu-ng release

NewReleases is sending notifications on new releases.