mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
34 lines
557 B
Markdown
34 lines
557 B
Markdown
<!--
|
|
SPDX-FileCopyrightText: 2024 shadPS4 Emulator Project
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
-->
|
|
|
|
## Build shadPS4 for Linux
|
|
|
|
Clone the repository recursively:
|
|
```
|
|
git clone --recursive https://github.com/shadps4-emu/shadPS4.git
|
|
cd shadPS4
|
|
```
|
|
|
|
Generate the build directory in the shadPS4 directory:
|
|
```
|
|
cmake -S . -B build/
|
|
```
|
|
|
|
Enter the directory:
|
|
```
|
|
cd build/
|
|
```
|
|
|
|
Use make to build the project:
|
|
```
|
|
cmake /"PATH"/"TO"/"DIRECTORY"/shadPS4/ && make -j$(nproc)
|
|
```
|
|
|
|
Now run the emulator:
|
|
|
|
```
|
|
./shadps4 /"PATH"/"TO"/"GAME"/"FOLDER"/eboot.bin
|
|
```
|