An unofficial PC port of the Xbox 360 version of Sonic Unleashed created through the process of static recompilation.
Find a file
Skyth (Asilkan) f1416c85ba
Implement frame limiter. (#60)
* Implement audio timing with integer math.

* Add busy loop to audio thread.

* Implement a frame limiter.

* Implement implot.

* Add more stuff to the profiler window.

* Redo frame limiter logic to fix drifting.

* Move frame limiter, add limiters for SFD & loading screen.

* Update waiting logic for audio thread.

* Correct small delta time errors.

* Decrease delta time error threshold.

* Set busy wait threshold to 2ms.

* Change spin wait in D3D12 present to infinite wait.

* Replace FPS literals with constants.
2024-12-22 19:58:06 +03:00
flatpak Linux support. (#54) 2024-12-21 00:44:05 +03:00
thirdparty Implement frame limiter. (#60) 2024-12-22 19:58:06 +03:00
toolchains Linux support. (#54) 2024-12-21 00:44:05 +03:00
tools Update submodules. 2024-12-21 00:52:37 +03:00
UnleashedRecomp Implement frame limiter. (#60) 2024-12-22 19:58:06 +03:00
UnleashedRecompLib Implement frame limiter. (#60) 2024-12-22 19:58:06 +03:00
UnleashedRecompResources@a9f556b443 Implemented value thumbnails (#42) 2024-12-15 20:41:39 +00:00
.editorconfig Initial Commit 2024-09-30 13:45:09 +06:00
.gitignore git: move ignore rule for ./res/win32/ to res directory 2024-11-15 02:22:44 +00:00
.gitmodules Implement frame limiter. (#60) 2024-12-22 19:58:06 +03:00
CMakeLists.txt Linux support. (#54) 2024-12-21 00:44:05 +03:00
CMakePresets.json Linux support. (#54) 2024-12-21 00:44:05 +03:00
README.md Update README.md. 2024-11-01 16:48:35 +03:00
update_submodules.bat Update submodule script to pull current commit submodules 2024-12-21 02:57:56 +00:00
vcpkg.json Linux support. (#54) 2024-12-21 00:44:05 +03:00

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 (not Preview) 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.