A work-in-progress PlayStation 4 emulator.
Go to file
Asuka 88480de36f ignore 2023-06-27 17:54:38 +08:00
.github ignore 2023-06-27 17:54:38 +08:00
3rdParty fix tinydbr release cpp version 2023-06-26 23:23:32 +08:00
Doc ignore 2023-06-27 17:54:38 +08:00
GPCS4 fix main project cpp version 2023-06-26 23:34:21 +08:00
Misc support vs2022 and llvm 16.0.6 2023-06-20 21:24:59 +08:00
Tools add GnmCommandProxy 2022-06-23 21:53:23 +08:00
.gitattributes .gitattributes: Ignore 3rdParty/ (#113) 2022-04-03 04:36:53 +08:00
.gitignore add unintentionally ignored boost files 2022-06-13 14:29:31 +08:00
GPCS4.sln add build dependencies 2023-06-27 03:03:59 +08:00
LICENSE Create LICENSE 2019-07-06 01:15:15 +08:00
ReadMe.md add gitter room 2022-06-16 01:31:08 +08:00

ReadMe.md

logo

GPCS4

A PlayStation 4 emulator which was just started.
A project done for fun, and for technical research.

The only reason I have started this project is for learning 3D graphics.
It's not intended to become a serious application.

Latest progress

Basic Compute

  • Support simple compute shader, compute ring, cube maps.
  • Use Direct Input to emulate pad.

WAD Demo
First commercial game support, We are Doomed. Thanks to our developers.
It's not playable now, since the FPS is very low, because there are currently no optimizations.
GPCS4 will recompile all the shaders, untiling all the textures and upload all the buffers every frame, making it less efficient.
Besides, there are still some problems in the game pad emulation.
We will try to resolve these issues incrementally.

Roadmap

  • Graphics

    • Gnm reverse engineering

      Parsing PM4 command buffers and some other formats to recover the original Gnm calls.
      Still a lot of work.

    • Vulkan backend

      Translate Gnm calls into vulkan calls. Far from complete.

    • Shader recompiler

      Translate GCN bytecode into Spir-V bytecode. Far from complete.

  • Hardware

    • Audio

      Basic implementation.

    • Gamepad

      Basic implementation.

  • System

    • Dynamic linker

      TLS support is not complete yet, and possibly neither are some other initialization functions.

    • System resource management, ie. Thread, virtual memory, synchronize object, file, clock.

      For functions which do not require system resource (e.g: math functions),
      we'll use the system libraries directly.
      For others, we will try to implement them, one by one.

Join

Read our Developer's Guide

For more details you could join our discord server to contact me, or if you are used to Tencent QQ/TIM, just join our group. There you can get more resources which are useful for contributing.

Gitter: GPCS4EMU
Discord: GPCS4 (Currently not maintained)
Tencent QQ/TIM Group Number: 470865218

Build

To run or develop GPCS4, a CPU supporting AVX instruction set as well as a graphics card supporting Vulkan 1.3 are required.
Currently, only Windows build is supported.

For more details, see the Developer's Guide

Credits

DXVK
uplift

License

GPL-3.0