Playstation 4 Emulator for Windows
Go to file
2024-05-10 10:32:09 +02:00
.github/workflows Add symbol names and paths to stacktrace 2024-05-08 18:04:16 +03:00
.vscode Fix formatting 2024-05-03 05:15:29 +03:00
asm move main| dump 2024-04-28 21:04:17 +02:00
core Merge branch 'features' of https://github.com/SysRay/psOff_public into work 2024-05-09 00:25:01 +02:00
docs Padspeaker wiki 2024-05-07 02:54:14 +03:00
misc Initial commit 2024-04-25 16:47:48 +03:00
modules cleanup 2024-05-10 10:32:09 +02:00
modules_include Stub some funcs 2024-04-14 16:04:54 +03:00
out/docs/uml/modules videoout| handle swapchain with imageHandler 2024-03-29 16:00:25 +01:00
tests dump 2024-04-17 21:39:03 +02:00
tools Merge pull request #155 from igor725/trophies-list 2024-05-08 14:21:49 +02:00
utility Absolute paths for everything 2024-05-03 22:15:56 +03:00
.clang-format Missing symbol + .clang-format cleanup 2024-04-20 12:10:10 +03:00
.clang-format-ignore Initial commit 2024-04-30 14:14:35 +03:00
.gitignore Cleanup 2024-03-12 09:28:44 +03:00
.gitmodules - third_party 2024-04-14 12:03:43 +02:00
CMakeLists.txt Rework hotkey handling + cleanup 2024-05-06 03:24:13 +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
main.cpp Rework hotkey handling + cleanup 2024-05-06 03:24:13 +03:00
readme.md emulator.exe -> psoff.exe for docs 2024-04-29 12:34:01 +02: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.

tombRaiderRemaster sonic blackhole

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
  • missing symbols

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

Getting Started

wiki: Building psoff

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 a program

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

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

Update (app1): --update

.\psoff.exe --file="C:/****/eboot.bin" --update="C:/FolderWithUpdate"

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

sce_module
sce_sys
eboot.bin

Try out input_ps4 to see if the emulator and your controller work correctly

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.
  • psoff.exe: (From Releases) contains the runtime and rendering

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