shadps4

Emulator 0.19.0

shadPS4 emulates the PlayStation 4 on macOS and already allows launching certain games, requiring Vulkan 1.3 or Vulkan 1.2 with extensions, available in QT or CLI versions under Rosetta 2 on Apple Silicon.

shadPS4 is an actively developed PlayStation 4 emulator written in C++ for Windows, Linux, and macOS. Its goal is to reproduce the console’s games, with significant progress on certain titles. To run on macOS, it requires Vulkan 1.3 (or 1.2 with specific extensions) and executes under Rosetta 2 on Apple Silicon, providing limited but functional compatibility.

The graphical user interface (QT version) and a command-line alternative (CLI) are available. Developed by a community, the project is still under improvement, with regular bug fixes and optimizations. User feedback and contributions are encouraged through dedicated channels.

Shenmue 2 dans ShadPS4
Geometry Wars dans ShadPS4
Dead Cell dans ShadPS4
Interface Qt de ShadPS4
Sonic Mania sur Mac dans ShadPS4

Last updated:

Platforms

Architecture

Mac OS X - macOS Mac OS X - macOS Intel x86 Intel x86 Apple Silicon Apple Silicon 64-bit 64-bit SDL Library

Download and links

Version history

5
  • Implémentation d’un horloge réseau temps réel monotone pour le noyau (kernel/time).
  • Optimisations du rendu vidéo (texture cache) et corrections des patches SSE4a sur macOS.
  • Suppression des doublons dans la synchronisation mémoire et amélioration du cache tampon.
  • Correction du parser MP3 pour éviter les dépassements de buffer et ajouter le support Xing/VBRI.
  • Amélioration du gestionnaire de fragments (early fragment testing) et gestion des buffers vertex/index.
  • started 0.19.1 WIP
  • kernel/time: Implement monotonic real-time network clock (#5217)
  • cpu_patches: Apply comprehensive SSE4a CPU patches on macOS (#5216)
  • Big picture: recursive folder scanning (#5223)
  • video_core: Renderer optimizations pt2 (texture cache edition) (#5219)
  • Camera code cleanup and fixes (#5211)
  • Common: Fix incorrect log class names (#5237)
  • renderer_vulkan: cover presentation waits and fragment texture reads [skip ci] (#5231)
  • texture_cache: scan only the first page in FindImageFromRange (#5240)
  • Shutdown NpHandler before restarting (#5244)
  • buffer_cache: allocate sparse backing with device address support (#5233)
  • Add AGENTS.md (#5242)
  • buffer_cache: Remove duplicate SynchronizeMemoryFromImage (#5255)
  • fix reuse (#5256)
  • cpu_patches: Enable static patching on Linux (#5253)
  • shader_recompiler: Improve NaN handling (#5257)
  • translate: Apply unbiasing to all instance id uses (#5260)
  • vk_runtime: Use buffer copies to copy between D32 and D32S8 (#5261)
  • vk_rasterizer: Track vertex, index and indirect buffers properly (#5262)
  • shader_recompiler: Enable early fragment testing when configured (#5264)
  • Increase num buffers (#5265)
  • ajm: Fix MP3 parser OOB and support Xing/VBRI headers (#5254)
  • Free pr (#5270)
  • vk_rasterizer: Restore image copy fast path (#5272)
  • shader_recompiler: allow step rates with base instance (#5274)

View the official changelog

1282
  • Ajout d’un cache de textures optimisé et d’un balayage récursif des dossiers pour améliorer les performances graphiques.
  • Correction de la gestion des logs avec des noms de classes corrects et suppression de doublons dans le cache mémoire.
  • Amélioration de la gestion des caméras et des attentes de présentation Vulkan pour éviter les blocages.
  • Optimisation du cache de textures en ne scannant que la première page lors de la recherche d’images.
  • Correction de la synchronisation mémoire et amélioration du traitement des valeurs NaN dans le recompilateur de shaders.
  • started 0.19.1 WIP
  • kernel/time: Implement monotonic real-time network clock (#5217)
  • cpu_patches: Apply comprehensive SSE4a CPU patches on macOS (#5216)
  • Big picture: recursive folder scanning (#5223)
  • video_core: Renderer optimizations pt2 (texture cache edition) (#5219)
  • Camera code cleanup and fixes (#5211)
  • Common: Fix incorrect log class names (#5237)
  • renderer_vulkan: cover presentation waits and fragment texture reads [skip ci] (#5231)
  • texture_cache: scan only the first page in FindImageFromRange (#5240)
  • Shutdown NpHandler before restarting (#5244)
  • buffer_cache: allocate sparse backing with device address support (#5233)
  • Add AGENTS.md (#5242)
  • buffer_cache: Remove duplicate SynchronizeMemoryFromImage (#5255)
  • fix reuse (#5256)
  • cpu_patches: Enable static patching on Linux (#5253)
  • shader_recompiler: Improve NaN handling (#5257)
  • translate: Apply unbiasing to all instance id uses (#5260)

View the official changelog

0.19.0
  • Améliorations GPU majeures : Correction massive de bugs graphiques rendant plusieurs jeux jouables, avec des optimisations ciblées sur la stabilité et la compatibilité.
  • Nouveautés système : Prise en charge des entitlements depuis les licences RIF et des DLC au format ZAR, ainsi que du support TSS pour np_tss.
  • Corrections critiques : Fix des erreurs de création de fichiers dans des dossiers inexistants, optimisation du gestionnaire de logs et résolution de problèmes de synchronisation GPU.
  • Améliorations des bibliothèques : Implémentation basique de np_web_api, support H265/HEVC dans vdec2, et corrections dans np_auth et np_trophy.
  • Optimisations shader : Support des registres virtuels, des buffers de stockage cohérents, et corrections de plusieurs opcodes (B64 SALU, S_MEMTIME).
  • Corrections graphiques : Gestion correcte des formats de texture (sRGB, R8G8Srgb), des mipmaps et des buffers de rendu, ainsi que des shaders compute et géométriques.

Welcome back to another shadPS4 release . It is over one month since our previous release and guess what we are back again with a lot more fixes and a lot more playable games . Rapid work has been done in different areas of the emu, but i guess the glory goes to the huge amount of GPU fixes that improved so many games, some of them are really playable now . I won't steal the fun of discovering these, so here is a brief list of changes.

Core

  • Rewrote signal emulation again
  • Fixed incorrect error return on attempting to create a file in a nonexistent folder in a writable mount
  • Fix reserved region coalescing in POSIX address space code
  • Support loading entitlements from RIF licenses
  • Optimized logger by replacing hash map with table lookup and hide implementation details
  • Support loading DLC as ZAR
  • Reworked slot vector
  • Fixed sceKernelReserveVirtualRange alignment and add ClearName

Libraries

  • Use present scheduler for blank frame prepare
  • np_auth : Change default GetAuthorizationCode returns to be valid
  • np_trophy: Fixed displaying of trophy name
  • http2 : Fixes and cleanups
  • np_tss : Added TSS support
  • camera : Use a system mapping for camera frame data
  • np_utility: Initial impelmentation
  • vdec2: support for h265/hevc
  • ajm mp3: rely on ffmpeg parser for packet boundaries
  • Kernel.Pthread: Remove RunThread stack logging
  • np_web_api : Added pTo and pFrom to OrbisNpPeerAddressA support
  • Very basic HLE Keyboard library
  • scePthreadRwlockTimedrdlock / scePthreadRwlockTimedwrlock take a relative timeout in microseconds
  • Implemented sceKernelGetProcessType
  • Implemented sceKernelReleaseFlexibleMemory and POSIX mlock/munlock aliases

Video Core

  • Improve tsharp robustness
  • Use stb_image_write for screenshots
  • Emulate scaled min/max blending
  • Do not auto-select a software rendering device
  • Decode sRGB for A2R10G10B10Srgb display buffers
  • Handle QuadStrip as a triangle strip
  • Add R8G8Srgb fallback to R8G8Unorm
  • buffer_cache: Refactor buffer manager with sparse arenas
  • Commit the emulated-LDS allocation taken from the stream buffer
  • Only enable sampler comparison for comparison fetches
  • Respect SPI_BARYC_CNTL front-face encoding
  • Invalidate cached images after raw buffer writes
  • Fixed locking behaviour for signals delivered to GPUComm thread
  • buffer_cache: Rework memory tracker and implement batched uploads
  • Moved on_submit callback before EndSession
  • Fixed compute shader floating-point mode
  • page_manager: Keep the fault probe within the faulting page
  • Bind a default sampler for S# with undefined fields
  • Fix sparse backing offsets, barriers, and memory budgeting
  • texture_cache: Avoid associating color images with stencil
  • Fixed mip layout and detiling of tiled textures

Shader recompiler

  • Properly handle BaryCoord attributes on non-AMD GPUs
  • Compute GDS offset dynamically instead of as compile-time constant
  • Storage buffer related clean-up
  • Neo: MIMG instructions
  • Improve ssa rewrite pass correctness and readability
  • Add support for virtual registers
  • Add ssa destruction pass
  • Decorate written storage buffers as Coherent
  • Structurize later in the pipeline and cleanup
  • Enhance shared memory barrier handling and add divergent loop detection
  • Split resource tracking and flatten load from buffer for sharp source
  • Reimplemented B64 SALU opcodes with U64 masks
  • Implemented S_MEMTIME
  • Implement S_BITSET0_B64 and S_BITSET1_B64
  • Skip lowering for null buffer sharps
  • Implemented some V_CMPX_U64 ops
  • Lower wave64 constructs for wave32
  • Refactor runtime info as two tagged unions
  • resource_patching_pass: Accept ds_append/consume without users
  • Implement support for base vertex/instance in indirect draws
  • Recognize sharp sources broadcast via V_READFIRSTLANE_B32
  • Properly check for immediate args in GetRealValue
  • Refactored parser to enable vertex count calculation for position only copy shaders
  • Implemented fragment sample coverage input
  • Added pull-model barycentric support
  • Test S_BITCMP_B64 against the full 64-bit src
  • Fixed geometry invocation count comparison
  • Lower ballot and MBCNT as a pair
  • Define SampleId for BaryCoordSmoothSample on the KHR path
  • Eliminate readlanes before the tessellation and ring passes
  • Read user data from the flat buffer
  • Fix gradient and offset for 1D images
  • Lower PackedAncillary from attribute loads
  • resource_patching: Patch thread id add instead of id itself
  • Allow InverseBallot folding to fail on unhandled immediate arguments
  • Fix OpImageTexelPointer coords for 1D
  • V_CVT_PK_U8_F32 fixup
  • V_ALIGNBIT_B32 / V_ALIGNBYTE_B32 fixup

ShadNet

  • Online trophy support

Reply on the forum

A question or a hands-on report? Open the discussion on the forum.

Reply on the forum