mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-09-03 02:44:34 +02:00
a397a90551cb870909967047adcdc0dedb4e207e
* Initial mod loader implementation. * Allow iterating in mod directories. * Initial append archive implementation. * Avoid calling function wrappers when loading append ARs. For some reason they cause issues. Should investigate later. * UMM merge archive support. * Load merge archives without archive lists. * Less thread locals. I shouldn't worry about string allocations this much when the game itself spams them... * Check for read-only UMM archives. TODO: Skip merging as it's currently just doing duplicate loads. * Skip loading merge archives if they are read-only. * Merge only archives. * Implement decompression. * Fix append ARLs not loading. * Initial save file redirection implementation. * Slightly refactor resolved path usage. * Implement save file redirection fallback. * Set a default save file path if none is provided. * Check for enabled option & replace backward slashes with forward ones in mod save file paths. * Convert back slashes to forward ones when iterating directories. * Make CSB limit dynamic. * Cache append/merge archive lookups. * Close stream after reading compressed ARL. * Fix UMM/HMM ARL file path inconsistency.
UnleashedRecomp
Building
- Clone UnleashedRecomp with submodules (or run
update_submodules.batto ensure submodules are pulled).
git clone --recurse-submodules https://github.com/hedge-dev/UnleashedRecomp.git
- Decompress and decrypt
default.xex, apply the title update patch (default.xexp), and place the resulting file in./UnleashedRecompLib/private/. - Decompress
shader.arand place the resulting file in./UnleashedRecompLib/private/. - Open the repository directory in Visual Studio 2022 (not Preview) and wait for CMake generation to complete. If you don't plan to debug, switch to the
x64-Clang-Releaseconfiguration. - 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
currentDirproperty to the first element underconfigurationsin 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.
Description
An unofficial PC port of the Xbox 360 version of Sonic Unleashed created through the process of static recompilation.
7.3 MiB
Languages
C++
94.3%
CMake
3.3%
HLSL
2%
C
0.4%