A work-in-progress PlayStation 4 emulator.
Go to file
Nick Renieris 989ad552c9
.gitattributes: Ignore 3rdParty/ (#113)
* .gitattributes: Ignore 3rdParty/

Otherwise the project's main language shows as "C" on GitHub.
Also with this the lines aren't included in the contributors page.

* .gitattributes: Don't ignore tinydbr

* remove linguist-vendored from tinydbr

Co-authored-by: Asuka <bingkan@outlook.com>
2022-04-03 04:36:53 +08:00
.github/ISSUE_TEMPLATE Update general-issue-template.md 2022-03-31 03:07:32 +08:00
3rdParty implement virtual cpu 2022-03-25 06:37:37 +08:00
Doc Update DeveloperGuide.md 2022-04-01 18:07:37 +08:00
GPCS4 update to sync2 2022-04-02 12:02:16 +08:00
Misc Create vk_layer_settings.txt 2022-04-01 04:29:04 +08:00
Tools add amd official header for shader reg field definition 2020-04-25 04:54:27 +08:00
.gitattributes .gitattributes: Ignore 3rdParty/ (#113) 2022-04-03 04:36:53 +08:00
.gitignore Add codes for relocation 2019-09-29 23:49:38 +08:00
GPCS4.sln add tinydbr library and reconstruct 3rdparty libraries 2022-03-11 02:05:59 +08:00
LICENSE Create LICENSE 2019-07-06 01:15:15 +08:00
ReadMe.md Update build instructions 2022-04-01 04:25:05 +08:00

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

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.

Basic Quad
First correct image rendered, although this is a 2D image demo, it's actually rendered in a 3D pipeline.
There is still some hard-coded test code, but with more design, and most importantly, using our shader translator. There won't be any hand-written shaders anymore.
Next I'll focus on Nier and improve the graphics implementation.

Nier Demo
This is a previous running result of Nier:Automata. It is not correct yet, and I'll try to improve it.

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.

Discord: GPCS4
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 are required.
Currently, only Windows build is supported.

For more details, see the Developer's Guide

Credits

DXVK
uplift

License

GPL-3.0