diff --git a/.github/BUILDING.md b/.github/BUILDING.md index 2c94448bf..a5952a058 100644 --- a/.github/BUILDING.md +++ b/.github/BUILDING.md @@ -4,28 +4,41 @@ ### 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 +sudo apt install build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev vulkan-validationlayers-dev spirv-tools glslang-tools libspirv-cross-c-shared-dev python3-pip git ``` +# git is only needed for ubuntu 22.04 ### The dependencies for Fedora distributions: ``` -sudo dnf install cmake libunwind-devel glfw-devel vulkan-devel vulkan-validation-layers-devel spirv-tools glslang-devel gcc-c++ gcc spirv-tools-devel xbyak-devel +sudo dnf install cmake libunwind-devel glfw-devel vulkan-devel vulkan-validation-layers-devel spirv-tools glslang-devel gcc-c++ gcc spirv-tools-devel xbyak-devel python3-pip ``` ### The dependencies for Arch distributions: ``` -sudo pacman -S libunwind glfw-x11 vulkan-devel glslang +sudo pacman -S libunwind glfw-x11 vulkan-devel glslang python-pip git cmake ``` > Side note you will need to pull ``spirv-cross`` from the AUR for now so do the following ``` sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si ``` +> Side note glslang as of the newest version is broken and it needs a simple fix +``` +sudo ln -s /usr/bin/glslang /usr/bin/glslangValidator +``` ``` yay -S spirv-cross ``` +## We need one more thing + +Python2 is now replaced fully and to use ```ps4_unfself``` we have to use python3 and install future using ```pip``` + +``` +pip install future +``` + ## Getting spriv-cross on Fedora and Arch Linux ``` diff --git a/.github/USAGE.md b/.github/USAGE.md index 80ff2b14c..b79e43d31 100644 --- a/.github/USAGE.md +++ b/.github/USAGE.md @@ -1,7 +1,20 @@ # Usage +## How to prepare eboot.bin with ps4_unfself + +### eboot.bin needs to be unfselfed and to do this [pip](https://github.com/RyzenDew/rpcsx/edit/usage-changes/.github/BUILDING.md#we-need-one-more-thing) is required with this tool [ps4_unfself](https://github.com/SocraticBliss/ps4_unfself) + +Place ```ps4_unfself.py``` into the same folder as the eboot.bin then open a console and type + +``` +python ps4_unfself.py eboot.bin +``` +You will get a read out and it will make an ```eboot.elf``` + ## How to run samples and games +You will need firmware 5.05 dumped via PS4 FTP it must be fully decrypted and we do not provide the firmware + See the Commands of `rpcsx-os` (`-h` argument), or join the [Discord](https://discord.gg/t6dzA4wUdG) for help. You can run the emulator with some samples using this command: @@ -12,13 +25,13 @@ rm -f /dev/shm/rpcsx-* && ./rpcsx-os --mount "/system" "/system" -- ## Creating a log -You can use this flag if you encountered a segfault for debugging purposes. +### You can use this flag if you encountered a segfault for debugging purposes. ```sh --trace ``` -You can redirect all log messages to a file by appending this command: +### You can redirect all log messages to a file by appending this command: ```sh &>log.txt