2023-07-20 08:41:57 +03:00
2023-07-20 08:41:57 +03:00
2023-07-08 21:38:31 +03:00
2023-07-08 21:39:01 +03:00
2023-07-05 11:42:19 +03:00
2023-07-18 03:40:05 +03:00
2023-07-19 23:30:25 +03:00
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

Building the emulator

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

How to create a Virtual HDD

The PS4 has a 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

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

You can run the emulator with some 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 encountered a segfault for debugging purposes.

--trace

You can redirect all log messages to a file by appending this 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.

Description
No description provided
Readme GPL-2.0 5.7 MiB
Languages
C++ 91.7%
GLSL 7.6%
CMake 0.7%