Skip to content

About

Hard fork of ampr-emu designed to achieve maximum performance and stability

Topics

Resources

Stars

337 stars

Watchers

3 watching

Forks

Latest commit

 

History

90 Commits

Folders and files

Repository files navigation

ampr-emu-ng

A hard fork of drakmor/ampr_emu, built to run PKG, zstd, LZ4 and plain games quickly and reliably.

How to

Use

Copy libSceAmpr.sprx into the game's fakelib/, mount the game with ShadowMountPlus and turn off fakelib updates in its settings. At launch the console shows ampr-emu-ng: vx.x.x (zstd) running, where the mode is zstd, pkg, lz4, or plain for a game with only loose files.

A PKG game runs through kraken-mount, the PKG launcher, which copies libSceAmpr.sprx into the game's fakelib/ itself.

Make packs

ps5-dump-forge builds PKGs, zstd packs and LZ4 packs. Other tools that write the same formats should work too, but are untested.

Build

The build needs Docker. The first run builds the toolchain image ampr-emu-ng-ps5:latest from ps5/Dockerfile (Rust 1.100.0, LLVM 19, ps5-payload-sdk v0.45); AMPR_PS5_IMAGE picks another image.

./ps5/build-docker.sh            # make dist

dist builds the PRX, checks it with tools/verify_payload_prx.py and copies two files to the project root:

  • libSceAmpr.sprx, the release build;
  • libSceAmpr-debug.sprx, the same runtime plus metrics, tuning and failure logs, for testing (docs/debug-build.md).

Every push to main also publishes both files as the beta pre-release; its launch notice reads v<version>-beta.<commit>.

Thanks

  • drakmor/ampr_emu, the C++ AMPR emulator this project ports.
  • ps5-payload-sdk, the PS5 toolchain and libraries.
  • AnyPS5, for its libSceAmpr implementation and notes on the libc exports of retail libSceAmpr.

License

GPL-3.0-or-later, the same as upstream (LICENSE).

About

Hard fork of ampr-emu designed to achieve maximum performance and stability

Topics

Resources

Stars

337 stars

Watchers

3 watching

Forks

Releases

Contributors

Languages