Repository navigation
PS4 Native v0.4.3 - TLOU FPS regression fix
Fixes the TLOU texture-upload performance regression introduced during Sonic Origins Plus integration. This release includes the Sonic support and game-library changes from 0.4.2.
Fixed
- TLOU FPS regression: submitting a command buffer no longer walks the entire texture cache and marks every sampled texture dirty. Submissions now advance an epoch; cached textures are checked lazily when used, avoiding redundant CPU detiling and GPU uploads when the checked contents match.
- Texture-binding CPU overhead: surface layouts are computed only for render-target alias checks or new cache entries, rather than on every sampled-texture cache hit. Storage-image hazard handling skips a cache-lock lookup when no pending write overlaps.
- Refresh fallbacks: explicit write invalidations and aborted/hazard GPU uploads invalidate the cached digest so the next refresh is forced. Reference CPU uploads still execute. Added tests cover CPU/GPU refresh skipping, changed contents, fallback behavior, and a PROT_NONE tail.
- Diagnostics: texture-cache telemetry reports
unchanged uploads skipped.
Scope and known limits
The optimization addresses the cause of the reported TLOU slowdown; no new controlled end-to-end FPS benchmark of this packaged release is claimed here. Earlier TLOU and Sonic FPS results in the README retain their original measurement conditions.
Content checks are heuristic: spans of up to 4 KiB are fully hashed; larger textures use sampled cache lines. Stable compressed/mipmapped textures are checked less often. Ordinary CPU writes outside the sampled bytes can be missed; targeted invalidations still force updates. The original design document's full-scan/single-pixel guarantee does not describe this implementation.
Use Metal 3 for Sonic Origins Plus; live Metal 4 flicker remains unresolved. Compatibility and visual correctness are still experimental.
Installation
Download PS4Native-0.4.3.dmg and drag PS4 Native.app into Applications. Requires Apple Silicon, macOS 26+, and Apple command-line tools to compile your own game dump. The app is ad-hoc signed, not notarized. Rebuild existing compiled games to include the new bundled runtime. If you tested an earlier local 0.4.3 package, force a rebuild even when its version already reads 0.4.3. No game content, keys, firmware or saves are included.
Validation
Passed: full Go tests and go vet, 119 Swift tests, the full host runtime/GPU suite on Metal 3/4, and 167 Python tests. The runner reported 38 skipped local game-fixture cases; the optional game-video fixture was absent too. Engine-kit sample compilation, app fixture smoke, app/mounted-DMG signature checks and DMG checksum verification passed. The fixture smoke does not run a real game. release-manifest.json records the source/runtime hashes and validation scope; SHA256SUMS verifies the downloadable files.
Source: 28c6679.