From 4b1bba6fbe678576b0119ab2528e626e0456f7e4 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Tue, 18 Jul 2023 19:55:56 -0300 Subject: [PATCH] Update readme.md Add other needed instuctions --- .github/readme.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/.github/readme.md b/.github/readme.md index 7793526a7..6e1c1ba26 100644 --- a/.github/readme.md +++ b/.github/readme.md @@ -24,13 +24,42 @@ If you want to contribute as a developer, please contact us in the [Discord](htt 1. Install 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` -2. Building + +3. Building `mkdir -p build && cd build && cmake .. && cmake --build .` -4. Run +4. How to create to create virtual hdd + + Setup size of virtual hdd + + `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` + +5. Run - See usage message of `rpcsx-os` (`-h` argument), or join the [Discord](https://discord.gg/t6dzA4wUdG) for help. + See usage message of `rpcsx-os` (`-h` argument), or join the [Discord](https://discord.gg/t6dzA4wUdG) for help. + + you can run emulator with Samples using this command: + + `rm -f /dev/shm/rpcsx-* && ./rpcsx-os --mount "/system" "/system" --mount "" /app0 /app0/some-test-sample.elf [...]` + + 6. Creating a log + + use flag + + `--trace` if you got sigfault + + you can redirect all log messages to the file by appending following to command: + + `&>log.txt` + + ## License