Skip to content
/ GPCS4 Public
forked from Inori/GPCS4

A Playstation 4 emulator just begin

License

Notifications You must be signed in to change notification settings

fcccode/GPCS4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

707 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPCS4

A Playstation 4 emulator just begin.
A project for fun, and technical research.

The only reason I start this project is learning 3D graphics, nothing serious.

Latest progress

Basic Quad
First correct image rendered, although this is a 2D image demo, it's actuall rendered in 3D pipeline.
There're still some hardcode test code, but with more design, and most important, this time with our shader translator, no hand write shaders anymore.
Next I'll focus on Nier and improve the graphics implementation.

Demo
This is a privious running result of Nier:Automata, not correct though, I'll 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

      Not started yet.

    • Gamepad

      Not started yet.

  • System

    • Dynamic linker

      TLS support is not complete yet, maybe some other initialization functions either.

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

      For functions which don not require system resource (ie. math functions),
      we'll use the system libraries directly.
      For others, we implement those one by one.

Join

Read our Developer Guide

For more details you could join our discord server to contact with me, or if you are used to Tencent QQ/TIM, just join our group. Here you can get more resources which are very usefull for developing.

Discord: GPCS4
Tencent QQ/TIM Group Number: 470865218

Build

To run or develop GPCS4, a CPU supporting AVX512 together with a graphics card supporting Vulkan are required.
Currently, only Windows build is supported.

Visual Studio 2017
LLVM/Clang
LLVM Compiler Toolchain Extension
LunarG Vulkan SDK

For more details, see Developer Guide

Credits

DXVK
uplift

License

GPL-3.0

About

A Playstation 4 emulator just begin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 79.5%
  • C 17.9%
  • Python 1.6%
  • Objective-C 0.8%
  • Assembly 0.1%
  • GLSL 0.1%