mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-26 20:15:03 +00:00
Update building-linux.md with full instructions
This commit is contained in:
parent
379ec554a8
commit
d2d0298205
@ -5,6 +5,13 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
|||||||
|
|
||||||
## Build shadPS4 for Linux
|
## Build shadPS4 for Linux
|
||||||
|
|
||||||
|
Clone the repository recursively:
|
||||||
|
```
|
||||||
|
git clone https://github.com/shadps4-emu/shadPS4.git
|
||||||
|
cd shadPS4/
|
||||||
|
git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
||||||
Generate the build directory in the shadPS4 directory:
|
Generate the build directory in the shadPS4 directory:
|
||||||
```
|
```
|
||||||
cmake -S . -B build/
|
cmake -S . -B build/
|
||||||
@ -17,5 +24,11 @@ cd build/
|
|||||||
|
|
||||||
Use make to build the project:
|
Use make to build the project:
|
||||||
```
|
```
|
||||||
make -j$(nproc)
|
cmake /"PATH"/"TO"/"DIRECTORY"/shadPS4/ && make -j$(nproc)
|
||||||
|
```
|
||||||
|
|
||||||
|
Now run the emulator:
|
||||||
|
|
||||||
|
```
|
||||||
|
./shadps4 /"PATH"/"TO"/"GAME"/"FOLDER"/eboot.bin
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user