mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 13:19:00 +00:00
* actions removal * removed qt dir # Conflicts: # src/qt_gui/check_update.cpp # src/qt_gui/translations/ar_SA.ts # src/qt_gui/translations/ca_ES.ts # src/qt_gui/translations/da_DK.ts # src/qt_gui/translations/de_DE.ts # src/qt_gui/translations/el_GR.ts # src/qt_gui/translations/en_US.ts # src/qt_gui/translations/es_ES.ts # src/qt_gui/translations/fa_IR.ts # src/qt_gui/translations/fi_FI.ts # src/qt_gui/translations/fr_FR.ts # src/qt_gui/translations/hu_HU.ts # src/qt_gui/translations/id_ID.ts # src/qt_gui/translations/it_IT.ts # src/qt_gui/translations/ja_JP.ts # src/qt_gui/translations/ko_KR.ts # src/qt_gui/translations/lt_LT.ts # src/qt_gui/translations/nb_NO.ts # src/qt_gui/translations/nl_NL.ts # src/qt_gui/translations/pl_PL.ts # src/qt_gui/translations/pt_BR.ts # src/qt_gui/translations/pt_PT.ts # src/qt_gui/translations/ro_RO.ts # src/qt_gui/translations/ru_RU.ts # src/qt_gui/translations/sl_SI.ts # src/qt_gui/translations/sq_AL.ts # src/qt_gui/translations/sr_CS.ts # src/qt_gui/translations/sv_SE.ts # src/qt_gui/translations/tr_TR.ts # src/qt_gui/translations/uk_UA.ts # src/qt_gui/translations/ur_PK.ts # src/qt_gui/translations/vi_VN.ts # src/qt_gui/translations/zh_CN.ts # src/qt_gui/translations/zh_TW.ts * removed CMakePresets for qt builds * clear cmakelists from qt * sync config file with qtlauncher * fixing review stuff * Remove Qt code from memory patcher and add non-Qt fallback for automatic loading of patches The second feature is disabled if IPC is present, to avoid conflicts with it. * Add json submodule * More Qt removal * Documentation update * fix build * fix REUSE? * removed qrc file * fix clang * Simplify Qt installation instructions for macOS Removed instructions for installing x86_64 Qt on ARM and x86_64 Macs. * Remove Qt installation instructions from guide Removed instructions for downloading and configuring Qt. --------- Co-authored-by: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com>
55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
<!--
|
|
SPDX-FileCopyrightText: 2024 shadPS4 Emulator Project
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
-->
|
|
|
|
## Build shadPS4 for macOS
|
|
|
|
### Install the necessary tools to build shadPS4:
|
|
|
|
First, make sure you have **Xcode 16.0 or newer** installed.
|
|
|
|
For installing other tools and library dependencies we will be using [Homebrew](https://brew.sh/).
|
|
|
|
On an ARM system, we will need the native ARM Homebrew to install tools and x86_64 Homebrew to install libraries.
|
|
|
|
First, install native Homebrew and tools:
|
|
```
|
|
# Installs native Homebrew to /opt/homebrew
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
# Adds Homebrew to your path
|
|
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zprofile
|
|
eval $(/opt/homebrew/bin/brew shellenv)
|
|
# Installs tools.
|
|
brew install clang-format cmake
|
|
```
|
|
|
|
### Cloning and compiling:
|
|
|
|
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/ -DCMAKE_OSX_ARCHITECTURES=x86_64
|
|
```
|
|
|
|
Enter the directory:
|
|
```
|
|
cd build/
|
|
```
|
|
|
|
Use make to build the project:
|
|
```
|
|
cmake --build . --parallel$(sysctl -n hw.ncpu)
|
|
```
|
|
|
|
Now run the emulator:
|
|
|
|
```
|
|
./shadps4 /"PATH"/"TO"/"GAME"/"FOLDER"/eboot.bin
|
|
```
|