On Windows, all library dependencies are automatically included within the externals
folder, or can be downloaded on-demand. To build yuzu, you need to install:
from Codeberg repo (the --recursive
option automatically clones the required Git submodules):
git clone --depth 1 --recursive https://codeberg.org/litucks/torzu.git
cd torzu
from Torzu repo (assuming Tor is installed as a service):
git -c http.proxy=socks5h://127.0.0.1:9050 clone --depth 1 http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu.git
cd torzu
git submodule update --init --recursive
C:\Users\<user-name>\yuzu
(Master) or C:\Users\<user-name>\yuzu-mainline
(Mainline)torzu
directory./build
subdirectory inside the source directory or some other directory of your choice. (Tell CMake to create it.)Visual Studio 17 2022
, with x64
for the optional platform.(Note: If you used GitHub's own app to clone, run git submodule update --init --recursive
to get the remaining dependencies)
If you get an error about missing packages, enable YUZU_USE_BUNDLED_VCPKG
, and then click Configure again.
YUZU_TESTS
in this case since Catch2 is not yet supported with this.)yuzu.sln
in Visual Studio 2022, which is located in the build folder.yuzu
has the graphical user interface, while yuzu-cmd
doesn't), select yuzu
or yuzu-cmd
in the Solution Explorer, right-click and Set as StartUp Project
.pacman -Syu
as many times as needed.MSYS2 MinGW 64-bit
(mingw64.exe) shellpacman -Syu git make mingw-w64-x86_64-SDL2 mingw-w64-x86_64-cmake mingw-w64-x86_64-python-pip mingw-w64-x86_64-qt5 mingw-w64-x86_64-toolchain autoconf libtool automake-wrapper
echo 'PATH=/mingw64/bin:$PATH' >> ~/.bashrc
echo 'PATH=$(readlink -e /c/VulkanSDK/*/Bin/):$PATH' >> ~/.bashrc
from Codeberg repo (the --recursive
option automatically clones the required Git submodules):
git clone --depth 1 --recursive https://codeberg.org/litucks/torzu.git
cd torzu
from Torzu repo (assuming Tor is installed as a service):
git -c http.proxy=socks5h://127.0.0.1:9050 clone --depth 1 http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu.git
cd torzu
git submodule update --init --recursive
mkdir build && cd build
cmake -G "MSYS Makefiles" -DYUZU_USE_BUNDLED_VCPKG=ON -DYUZU_TESTS=OFF ..
make -j$(nproc)
# test yuzu out with
./bin/yuzu.exe
e.g.
cp externals/ffmpeg-*/bin/*.dll bin/
Bonus Note: Running programs from inside MSYS2 MinGW x64
shell has a different %PATH% than directly from explorer. This different %PATH% has the locations of the other DLLs required.
Doesn't require the rather large Qt dependency, but you will lack a GUI frontend:
-DENABLE_QT=no
flag to cmakeTo build yuzu, you need to install the following:
Build type: Release
Name: Release
Toolchain Visual Studio
Generator: Let CMake decide
Build directory: build
from Codeberg repo (the --recursive
option automatically clones the required Git submodules):
git clone --depth 1 --recursive https://codeberg.org/litucks/torzu.git
cd torzu
from Torzu repo (assuming Tor is installed as a service):
git -c http.proxy=socks5h://127.0.0.1:9050 clone --depth 1 http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu.git
cd torzu
git submodule update --init --recursive
followed by:
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -A x64
cmake --build . --config Release