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.
First correct image rendered (not the above), but for some well known reasons, I can't show it here, you can see our graphicial output in our disord server.
And 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.
-
- 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.
- Gnm reverse engineering
-
- Audio
Not started yet.
- Gamepad
Not started yet.
- Audio
-
- 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.
- Dynamic linker
If you want to participate in the project, read the roadmap above and see which part you are insterested in.
After that, read our code style document, and make a pull request while keeping the code style, I'll see it.
Or if you're willing to work on the project for a pretty long time, I could make a branch for you.
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
Currently, only Windows build is supported.
Visual Studio 2017
LLVM/Clang
LLVM Compiler Toolchain Extension
LunarG Vulkan SDK
There is another ps4 emulator project call ps4uv, which is close source and private.
For some historical reason I got their code, and because of my careless, I let one of our developer see the code without their permission. I apologize for what I've done sincerely.
There're some points of details of our linker code are borrowed from ps4uv's linker module's idea, and I've deleted our linker branch, and after we delete those points and reform our code, I'll make it online again, never mean to stole anyone's code.
Apologize again. Asuka
