GithubHelp home page GithubHelp 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; I don't intend it 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.

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

For more details, see the Developer's Guide

Credits

DXVK
uplift

License

GPL-3.0

GPCS4's Projects

gpcs4 icon gpcs4

A Playstation 4 emulator just begin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.