Playstation 4 Emulator for Windows
Go to file
2024-03-18 13:21:22 +01:00
.github/workflows Whoops 2024-03-15 19:53:26 +03:00
.vscode Fix json indent 2024-03-16 11:57:23 +03:00
core feature -> work, wrap logging (func), default verbosity 1 2024-03-18 13:21:22 +01:00
docs move semaphre to kernel 2024-03-06 14:40:30 +01:00
modules feature -> work, wrap logging (func), default verbosity 1 2024-03-18 13:21:22 +01:00
modules_include dump 2024-03-04 16:47:05 +01:00
out/docs/uml/modules + videout short readme 2024-03-02 16:20:57 +01:00
third_party + config (init) 2024-03-14 20:04:28 +01:00
tools feature -> work, wrap logging (func), default verbosity 1 2024-03-18 13:21:22 +01:00
utility fixes, +readv 2024-03-12 15:03:20 +01:00
.clang-format + eventqueue, libkernel 2024-02-29 17:00:13 +01:00
.gitignore Cleanup 2024-03-12 09:28:44 +03:00
.gitmodules Unlink glfw 2024-03-11 23:30:07 +03:00
CMakeLists.txt Progress further in json config implementation 2024-03-15 01:56:43 +03:00
index.html + index.html 2024-03-06 15:37:15 +01:00
LICENSE Initial commit 2024-02-27 15:05:21 +01:00
readme.md readme| + windows sdk min verison 2024-03-14 16:31:26 +01:00

psOff - PlayStation 4 Emulation (Windows)

In development. Does it run ...? No!

Runtime and rendering part is private currently. Target is to have a standalone framework for shader reconstruction, command buffer translation and managing the GPU memory, for others to use. This project uses it to run "Linux" binaries on windows.

No, the fps is not fake. :)

Description

Yet another compatibility layer! I solely focused on the rendering part and recently started to implement the system functions to run some binaries.

It renders decently fast, the planned changes will make it almost perfect. Had to reverse engineer and try out a lot, before.

It currently doesn't support:

  • multiple command buffer submits
  • for loops in shader
  • missing opcodes

Im happy for any help. Just hop in, system part isn't complicated.
I don't serve spaghetti only bugs.

Getting Started

Dependencies

  • Vulkan SDK 1.3.268.0, minimum
  • Up to date graphic drivers

(May add the Vulkan libs in Future Releases, if needed.)

For development:

  • Ninja
  • CMake 3.24+
  • Visual Studio 2022, it's just for the build environment (uses clang-cl,c++20)
  • Windows SDK 10.0.22621.0 or newer

Installing

For testing, just download the latest release and install the Vulkan SDK.

Executing program

.\emulator.exe --h
.\emulator.exe --file="C:/****/eboot.bin"

If no --root is defined, it uses the folder from --file
For testing/benchmark, add --vsync=0

It expects the undecrypted Target to be in the following format:

sce_module
sce_sys
eboot.bin

Development

Use boosts thread, mutex and conditions. The waits have to be alertable in order to receive fake signals from "kernel".

Project uses p7 for tracing -> Baical server.

  • modules: the ps4 libraries
  • core: kernel, memory etc.
  • emulator.exe: (From Releases) contains the runtime and rendering

I'm using vscode, '.vscode\tasks.json' contains the config & build tasks.