Update installation.txt

This commit is contained in:
MattTheTekie 2023-08-14 11:50:34 -04:00 committed by GitHub
commit ccc757e03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,31 +9,22 @@ title: "Installing RPCSX"
### Compatibility Notes
For the foreseeable future, installation will require Linux in some form.
{: .notice--info}
### Method 1: Linux
#### Section I - Install dependencies.
### Ubuntu based systems:
Install dependencies.
#### Section I - Install dependencies
`sudo apt install build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev vulkan-validationlayers-dev spirv-tools glslang-tools libspirv-cross-c-shared-dev`
### Fedora based systems:
Install traditional dependencies.
`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`
Install `spirv-cross`.
`git clone https://github.com/KhronosGroup/SPIRV-Cross && cd SPIRV-Cross && mkdir build && cd build && cmake .. && cmake --build . && sudo make install`
### Arch based systems:
Install traditional dependencies.
`sudo pacman -S libunwind glfw-x11 vulkan-devel glslang`
Pull `spirv-cross` from the AUR. **Skip the first line if you have `yay` already.**
`sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si`
`yay -S spirv-cross`
#### Section II - Continued Installation:
Clone the repo.
`git clone --recursive https://github.com/RPCSX/rpcsx && cd rpcsx
git submodule update --init --recursive`
Compile the emulator.
`mkdir -p build && cd build && cmake .. && cmake --build .`
Create a virtual HDD. Note that the PS4 filesystem is case-insensitive.
`truncate -s 512M ps4-hdd.exfat
mkfs.exfat -n PS4-HDD ./ps4-hdd.exfat
mkdir ps4-fs