Inori / GPCS4, Hacker News

Inori / GPCS4, Hacker News


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

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.

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.

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

        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.



          Just started.

        • Gamepad

          Basic implementation.

                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.

                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:

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

              Visual Studio

              (LLVM / Clang)
              LLVM Compiler Toolchain Extension

              LunarG Vulkan SDK

              For more details, see the Developer’s Guide



(Read More) ()

What do you think?

Leave a Reply

Your email address will not be published.

GIPHY App Key not set. Please check settings

Medievil 2 Remake Sounds Great But Here Are Far Better PlayStation 1 Classics, Crypto Coins News

Medievil 2 Remake Sounds Great But Here Are Far Better PlayStation 1 Classics, Crypto Coins News

Swiss journalist re-implements ClearViewAI in two weeks with OS software, hacker news