Find a file
2023-07-19 23:28:23 +03:00
.github readme.md Improvements part 3 2023-07-19 20:43:55 +03:00
3rdparty [rpcsx-os] Use xbyak to set context 2023-07-18 03:26:33 +03:00
hw/amdgpu [amdgpu] Initial multi queue support 2023-07-19 15:16:38 +03:00
orbis-kernel [orbis-os] Fix freetype initialization 2023-07-19 23:28:23 +03:00
rpcsx-gpu [amdgpu] Initial multi queue support 2023-07-19 15:16:38 +03:00
rpcsx-os [orbis-os] Fix freetype initialization 2023-07-19 23:28:23 +03:00
.editorconfig Add .editorconfig 2023-07-08 21:38:31 +03:00
.gdbinit Add .gdbinit 2023-07-08 21:39:01 +03:00
.gitignore Better gitignore 2023-07-05 11:42:19 +03:00
.gitmodules Use org repo for xbyak 2023-07-18 03:40:05 +03:00
CMakeLists.txt Find packages and sane include dirs (#8) 2023-07-07 04:35:03 +03:00
LICENSE Initial commit 2023-06-23 03:28:14 +03:00

RPCSX

An experimental emulator for PS4 (PlayStation 4) for Linux written in C++

Build RPCSX

Formatting check

Warning


It's NOT possible to run any games yet, and there is no ETA for when this will change.

Do not ask for link to games or system files. Piracy is not permitted on the GitHub nor in the Discord.

Contributing

If you want to contribute as a developer, please contact us in the Discord.

Building

First Install The dependencies for Debian-like distributions.

sudo apt install build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev vulkan-validationlayers-dev spirv-tools glslang-tools libspirv-cross-c-shared-dev libxbyak-dev

Cloning the Repo

git clone https://github.com/RPCSX/rpcsx && cd rpcsx

Command for building the emulator.

mkdir -p build && cd build && cmake .. && cmake --build .

How to create virtual hdd

The PS4 has case-insensitive filesystem. To create the virtual hdd do the following:

truncate -s 512M ps4-hdd.exfat

mkfs.exfat -n PS4-HDD ./ps4-hdd.exfat

mkdir ps4-fs

sudo mount -t exfat -o uid=`id -u`,gid=`id -g` ./ps4-hdd.exfat ./ps4-fs

How to Run samples and games ( one day )

See usage message of rpcsx-os (-h argument), or join the Discord for help.

You can run emulator with Samples using this command:

rm -f /dev/shm/rpcsx-* && ./rpcsx-os --mount "<path to fw>/system" "/system" --mount "<path to 'game' root>" /app0 /app0/some-test-sample.elf [<args for test elf>...]

Creating a log

You can use this flag if you get sigfault for debugging.

--trace

You can redirect all log messages to a file by appending following to command:

&>log.txt

License

RPCSX is licensed under GPLv2 license except directories containing their own LICENSE file, or files containing their own license. Thus, orbis-kernel is licensed under the MIT license.