Update readme.md

Add other needed instuctions
This commit is contained in:
RyzenDew 2023-07-18 19:55:56 -03:00 committed by Elad Ashkenazi
parent 76db5849a0
commit 4b1bba6fbe

35
.github/readme.md vendored
View file

@ -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 "<path to fw>/system" "/system" --mount "<path to 'game' root>" /app0 /app0/some-test-sample.elf [<args for test 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