mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
An unofficial PC port of the Xbox 360 version of Sonic Unleashed created through the process of static recompilation.
![]() * Implement shader archive decompressor for the build system. * Fix Linux compilation error. |
||
---|---|---|
.github/workflows | ||
flatpak | ||
thirdparty | ||
toolchains | ||
tools | ||
UnleashedRecomp | ||
UnleashedRecompLib | ||
UnleashedRecompResources@e5a4adccb3 | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
CMakePresets.json | ||
README.md | ||
update_submodules.bat | ||
vcpkg.json |
UnleashedRecomp
Building
- 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
- Place
default.xex
anddefault.xexp
in./UnleashedRecompLib/private/
. - Decompress
shader.ar
and place the resulting file in./UnleashedRecompLib/private/
. - 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. - Under Solution Explorer, right-click and choose "Switch to CMake Targets View".
- Right-click the UnleashedRecomp project and choose "Set as Startup Item", then choose "Add Debug Configuration".
- Add a
currentDir
property to the first element underconfigurations
in the generated JSON and set its value to the path to your game directory (where root is the directory containingdlc
,game
,save
,update
, etc). - Run or debug UnleashedRecomp. The initial compilation might take a while to complete due to code and shader recompilation.