UnleashedRecomp/README.md

1.2 KiB

UnleashedRecomp

Building

  1. Clone UnleashedRecomp with submodules (or run update_submodules.bat to ensure submodules are pulled).
git clone --recurse-submodules https://github.com/hedge-dev/UnleashedRecomp.git
  1. Decompress and decrypt default.xex, apply the title update patch (default.xexp), and place the resulting file in ./UnleashedRecompLib/private/.
  2. Decompress shader.ar and place the resulting file in ./UnleashedRecompLib/private/.
  3. Open the repository directory in Visual Studio 2022 and wait for CMake generation to complete. If you don't plan to debug, switch to the x64-Clang-Release configuration.
  4. Under Solution Explorer, right-click and choose "Switch to CMake Targets View".
  5. Right-click the UnleashedRecomp project and choose "Set as Startup Item", then choose "Add Debug Configuration".
  6. Add a currentDir property to the first element under configurations in the generated JSON and set its value to the path to your game directory (where root is the directory containing dlc, game, save, update, etc).
  7. Run or debug UnleashedRecomp. The initial compilation might take a while to complete due to code and shader recompilation.