Skip to content

Releases

Sleeping Dogs (Switch) v1.0.6

Choose a tag to compare

@BanhMi93P BanhMi93P released this 02 Dec 12:50

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.6

Stability and Switch synchronization hardening release for Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C, Title Update 1 0.0.1.12) statically recompiled for Nintendo Switch using ReXGlue and Renut's native deko3d renderer.

Recommended Switch Clocks for Stable Gameplay

For smooth, stable everyday play using the unchanged Sleeping_Dogs-nx.toml preset (sys-clk / Horizon OC):

  • CPU: 1428 MHz
  • GPU: 460 MHz
  • RAM: 1330 MHz

What's New in v1.0.6

  • Switch Spinlock & Yield-Exemption Anti-Starvation (Main XThread / main):
    • xeKeKfAcquireSpinLock (sdk/src/kernel/xboxkrnl/xboxkrnl_threading.cpp): under #if defined(__SWITCH__), sleeps 100 µs after 16 contention yields instead of looping indefinitely on svcSleepThread(0).
    • MaybeYield (sdk/src/core/threading_posix.cpp): bounds g_rex_yield_backoff_exempt tight consecutive yields (< 20 µs apart) at 256 iterations before sleeping briefly (100 µs), preventing priority-0x38 threads from permanently starving 0x3A/0x3B lock owners on Core 0/2.
  • Critical Section Direct-Futex & Mutant Ownership Safety:
    • xeEnterCriticalSection / WakeCriticalSectionWaiter (sdk/src/kernel/xboxkrnl/xboxkrnl_rtl.cpp): replaces the unbounded -1 futex wait with a 100 ms safety wake, re-checks wait_list_flink != kXObjSignature in the loop to fall back to xeKeWaitForSingleObject, and wakes parked futex sleepers (RexSwitchWakeAddress(signal_word, -1)) before falling back to xeKeSetEvent.
    • PosixCondition<Mutant> (sdk/src/core/threading_posix.cpp): clears owner_ before decrementing count_ to 0 (cur == 1) and writes owner_ before incrementing count_ in post_execution() on Switch.
  • Zero-Overhead Stall Watchdog Default (app/sleeping_dogs_switch_defaults.toml):
    • Enabled banjo_stall_watch_seconds = 5 with banjo_stall_watch_waits = false in built-in Switch defaults (leaving player Sleeping_Dogs-nx.toml untouched), automatically dumping thread states/callstacks to logs/rex/banjo_profiler.log if frames ever stall for >= 5 s.
  • Metadata & Packaging: Updated Switch NACP version to 1.0.6 (app/CMakeLists.txt). Includes all v1.0.5 fixes (vehicle chase visibility raycast batch, ObjectTable backoff, RumbleSender Core 2, Dynamic Resolution texture flicker fix, 0.25x–1.33x shadow scaling, and audio/fog NaN safety).

Upgrading from v1.0.5 / Fresh Installation

  • Upgrading from v1.0.5: Only Sleeping_Dogs-nx.nro changed (Sleeping_Dogs-nx.toml and shader caches deko3d_glsl.bin, deko3d_shaders.bin, deko3d_shaders.bin.idx are identical to v1.0.5). Replace sdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nro on your Switch SD card.
  • Upgrading from v1.0.4 (or earlier) / Fresh Install:
    1. Extract sleeping-dogs-nx-v1.0.6.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
    2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
    3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
    4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
    5. Set recommended clocks (CPU 1428 MHz / GPU 460 MHz / RAM 1330 MHz) and launch via Title Override (hold R launching any game) or a 39-bit address space forwarder.

Checksums

  • sleeping-dogs-nx-v1.0.6.zip (92,968,143 B / 88.66 MiB)
    • SHA-256: b9a23c962995f272a5bde9e9e65d4a61257391f1aab719e96981bd1e11572302
    • MD5: 415c49c3ef3c92d83f75694403a3ce6a
  • Sleeping_Dogs-nx.nro (102,551,680 B / 97.80 MiB)
    • SHA-256: 7579627e35fe6e4a118195ace07d600f46eab03d24511e0a3cf28799c76734a1
    • MD5: ac5cfc3f9a040e78aa465a533ff4086d
  • Sleeping_Dogs-nx.toml (3,185 B, unchanged from v1.0.5)
    • SHA-256: 380fc8aba4fbb70444502f35b453fc5ad12d928f85ba586a6a141e07022ba8b6
    • MD5: 7c9c0dbf4b10a636e8c13466fea2f3a1
  • deko3d_glsl.bin (35,505,120 B / 33.86 MiB, 19,423 shaders)
    • SHA-256: c9b9ae2f18475b40c94f971edd2888c7c4998bda5e4399cf84152e1b0e90b049
    • MD5: a9518de899d78ee95e1886ca107f840a
  • deko3d_shaders.bin (42,332,876 B / 40.37 MiB, 8,335 cached variants)
    • SHA-256: 8358b536b38951d1c075a8cbede05a51ba558d5d540216d2d2a02f3836ec7fc1
    • MD5: d220b07d51ca19a3cb646537697325d2
  • deko3d_shaders.bin.idx (133,440 B / 0.13 MiB)
    • SHA-256: 4b5b7b6632abc407bfc181f2cbfa0f6a3bc37c1242add899fdf50d0f7bca376c
    • MD5: 5d7c53873b94a89ab8843bc300f28ed5

Sleeping Dogs (Switch) v1.0.5

Choose a tag to compare

@BanhMi93P BanhMi93P released this 01 Dec 19:34

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.5

Stability, chase-mission, rendering, and default preset release for Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C, Title Update 1 0.0.1.12) statically recompiled for Nintendo Switch using ReXGlue and Renut's native deko3d renderer.

Recommended Switch Clocks for Stable Gameplay

For smooth, stable everyday play using the new default Sleeping_Dogs-nx.toml preset (sys-clk / Horizon OC):

  • CPU: 1428 MHz
  • GPU: 460 MHz
  • RAM: 1330 MHz

What's New in v1.0.5

  • Vehicle Chase Visibility Fix ("DON'T LOSE YOUR TARGET"):
    • Replaced the unimplemented Xbox 360 D3D occlusion query coroutine (World.c_gameslice._async_is_target_occluded / sub_82726F48 + sub_8271F498) with a Switch-only 5-point camera silhouette async Havok raycast batch on layer 18 (app/src/sleeping_dogs_chase_occlusion.h).
    • Eliminates premature "DON'T LOSE YOUR TARGET" failure countdowns when trailing targets ~80 m behind traffic, poles, or road crests while still triggering properly behind solid buildings, walls, bridges, and hills.
  • Random Freeze & Deadlock Fixes:
    • Bounded xeEnterCriticalSection waits (sdk/src/kernel/xboxkrnl/xboxkrnl_rtl.cpp) with 1 ms timed waits when expected != 0u so stale/racing header writes cannot hang indefinitely.
    • Added Horizon spin/sleep backoff in ObjectTable::ScopedTableWriteLock (sdk/src/system/util/object_table.cpp) so preempted readers at priorities < 0x3C can drain their stripes cleanly.
    • Pinned RumbleSender thread to Core 2 (sdk/src/input/switch/switch_input_driver.cpp) to avoid Core 0 contention with Main XThread, and tuned XThread/HavokWorker thread priorities (0x3A) and yield backoff exemptions.
  • Wwise Audio DSP & Atmospheric Fog NaN Safety:
    • Added sdk/include/rex/ppc/switch_vexptefp.h (RexVexptefp360 underflow/overflow bounds and ClampSqrtNearZero) used by atmospheric fog (sub_82700BE0) and Wwise audio DSP (sub_82AC3C48, sub_82AC2180) to prevent NaN propagation and intermittent prolonged audio dropouts.
  • Dynamic Resolution Texture Flicker Fix:
    • Included active RenderScale numerator/denominator ratios in ComputeViewport, ViewportReuse, and DrawStateLocked (draw.cpp) plus SamplerSlotLocked / SamplerCacheKey (textures.cpp), fixing flickering ground textures when Dynamic Resolution is enabled.
  • Shadow Resolution Scaling Fix (0.25x–1.33x) & Updated Shader Caches:
    • Accepted D3DFMT_D24FS8 shadow maps in ClassifyShadowMap (graphics_options.cpp), added 0.25x (Very Low) shadow scale (SCALE_CHAIN_RE in tools/deko3d_glsl_opt.py + Switch + + − menu), regenerated deko3d_glsl.bin (19,423 shaders), and updated deko3d_shaders.bin + .idx (uam110-sw8-bnx5, 8,335 cached DKSH variants).
  • Updated Standard Default Sleeping_Dogs-nx.toml:
    • Updated default Sleeping_Dogs-nx.toml (and the NRO's built-in fallback config app/sleeping_dogs_switch.toml) to the tuned 720p SMAA preset (msaa_level = 1, banjo_renut_smaa = true, sd_shadow_cascades = 2, sd_shadow_distance = 25, 0.5x shadow maps, sd_motion_blur = false, 50% draw distance / pedestrian / traffic density, banjo_renut_dynamic_resolution_handheld = false, banjo_renut_render_height_handheld = 720).

Upgrading from v1.0.4 / Fresh Installation

  • Upgrading from v1.0.4 (or earlier): Replace Sleeping_Dogs-nx.nro, Sleeping_Dogs-nx.toml, deko3d_glsl.bin, deko3d_shaders.bin, and deko3d_shaders.bin.idx inside sdmc:/switch/Sleeping_Dogs-nx/ from sleeping-dogs-nx-v1.0.5.zip (note the updated DKSH cache tag uam110-sw8-bnx5).
  • Fresh Install:
    1. Extract sleeping-dogs-nx-v1.0.5.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
    2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
    3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
    4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
    5. Set recommended clocks (CPU 1428 MHz / GPU 460 MHz / RAM 1330 MHz) and launch via Title Override (hold R launching any game) or a 39-bit address space forwarder.

Checksums

  • sleeping-dogs-nx-v1.0.5.zip (92,956,462 B / 88.65 MiB)
    • SHA-256: d7f1a687b5b0e6c9fbf07e03e0736ac91cc453813457a3c7487606e793210af0
    • MD5: a71bffd8547d51f5e627401bbb89d33f
  • Sleeping_Dogs-nx.nro (102,535,296 B / 97.79 MiB)
    • SHA-256: 577f58129e7d0f6ba7bb02a42df620f273e55dc5206bcec5d6ff5c66b734b649
    • MD5: bf917ce01723b661a7b8321c3f32ec4c
  • Sleeping_Dogs-nx.toml (3,185 B)
    • SHA-256: 380fc8aba4fbb70444502f35b453fc5ad12d928f85ba586a6a141e07022ba8b6
    • MD5: 7c9c0dbf4b10a636e8c13466fea2f3a1
  • deko3d_glsl.bin (35,505,120 B / 33.86 MiB, 19,423 shaders)
    • SHA-256: c9b9ae2f18475b40c94f971edd2888c7c4998bda5e4399cf84152e1b0e90b049
    • MD5: a9518de899d78ee95e1886ca107f840a
  • deko3d_shaders.bin (42,332,876 B / 40.37 MiB, 8,335 cached variants)
    • SHA-256: 8358b536b38951d1c075a8cbede05a51ba558d5d540216d2d2a02f3836ec7fc1
    • MD5: d220b07d51ca19a3cb646537697325d2
  • deko3d_shaders.bin.idx (133,440 B / 0.13 MiB)
    • SHA-256: 4b5b7b6632abc407bfc181f2cbfa0f6a3bc37c1242add899fdf50d0f7bca376c
    • MD5: 5d7c53873b94a89ab8843bc300f28ed5

Sleeping Dogs (Switch) v1.0.4

Choose a tag to compare

@BanhMi93P BanhMi93P released this 01 Dec 01:23

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.4

Bugfix & graphics restoration release for Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C, Title Update 1 0.0.1.12) statically recompiled for Nintendo Switch using ReXGlue and Renut's native deko3d renderer.

What's New in v1.0.4

  • Environment & Building Shadow Fix (Synced from XenosRecomp):
    • Fixed masked vector/scalar split export truncation in XenosRecomp/shader_recompiler.cpp (ps_A8E99F60C55F32F0 .zw = r0.yz * r0.xx) and regenerated all 19,423 Switch shaders in deko3d_glsl.bin, restoring missing building/environment shadows.
  • Stock Xbox 360 Graphics Defaults Restored:
    • Restored stock Xbox 360 graphics configuration in Sleeping_Dogs-nx.toml and built-in Switch defaults (renut_format_7e3_rg11b10 = false).
  • Dynamic Resolution Black-Stripe Fix:
    • Updated SCALE_CHAIN_RE in tools/deko3d_glsl_opt.py (234 matched shaders in deko3d_glsl.bin) to handle (?:4.0|0.5) scale chains and prevent random black stripes when Dynamic Resolution is active.
  • Audio Dropout & Sync Race Fixes:
    • Removed unlocked fast-paths in PosixCondition<Event>::Signal() and Reset() (sdk/src/core/threading_posix.cpp) so Signal()/Reset() serialize strictly on mutex_ without dropping wake-ups after cutscenes.
    • Moved AK::BankManager thread affinity off Core 3 (0x8 → 0x7, Cores 0–2) to avoid starvation during Core 3 audio/GPU bursts.
    • Fixed avail_q16 unsigned integer underflow in sd_audio_pitch (sub_82B0F300) and verified sd_audio_lap (sub_82B40278), sd_audio_pitch (sub_82B0F300), and sd_audio_huff (sub_82B43B40) on PC guard (0 differences).
    • Disabled banjo_hand_sd_audio_imdct by default so sub_82B3F3F8 uses its bit-exact localized native implementation (0 differences on PC guard).

Upgrading from v1.0.3 / Fresh Installation

  • Upgrading from v1.0.3 (or earlier): Replace Sleeping_Dogs-nx.nro, Sleeping_Dogs-nx.toml, and deko3d_glsl.bin inside sdmc:/switch/Sleeping_Dogs-nx/ from sleeping-dogs-nx-v1.0.4.zip. (Changed shaders miss the old deko3d_shaders.bin cache automatically by GLSL hash and compile on first encounter; unchanged variants remain cached.)
  • Fresh Install:
    1. Extract sleeping-dogs-nx-v1.0.4.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
    2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
    3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
    4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
    5. Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).

Checksums

  • sleeping-dogs-nx-v1.0.4.zip (91,703,551 B / 87.46 MiB)
    • SHA-256: 13ddcf6106d393bb1b87de4ff09066889cfe21cac5f997c0cfb6c010a683b230
    • MD5: 6adbf103a4539ffda9043ad4b24cb086
  • Sleeping_Dogs-nx.nro (102,506,624 B / 97.76 MiB)
    • SHA-256: 31ef3b173b899efbafe62837cd0370ac4f292de066a70a026437df4354cf767f
    • MD5: 4c9f8fa3ee61c5f9fc094878e4623891
  • Sleeping_Dogs-nx.toml (3,082 B)
    • SHA-256: 1f2aa57bfb717dfb830792830238be9d0de9f6ea626ecbe7c6da05d840612082
    • MD5: 24145bcc79280a1d73bb226f2bbff758
  • deko3d_glsl.bin (35,505,264 B / 33.86 MiB, 19,423 shaders)
    • SHA-256: bca3d45c5d09d13f56b7292abd617bb5d61081347320297e69d7a1545814a7cf
    • MD5: 61833ba5d9418c34f24c065a625cc399
  • deko3d_shaders.bin (38,737,540 B / 36.94 MiB, 7,817 cached variants)
    • SHA-256: 8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9
    • MD5: 243ee826bf58acfce77eba2a8c9ad2a3
  • deko3d_shaders.bin.idx (125,152 B / 0.12 MiB)
    • SHA-256: 23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe
    • MD5: 7c363641e32e4e016fa7a3ca6d3e93d2

v1.0.3 — Fix post-cutscene audio loss & NaN-safe audio mix

Choose a tag to compare

@BanhMi93P BanhMi93P released this 28 Nov 16:32

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.3

Maintenance and audio bugfix release for Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C, Title Update 1 0.0.1.12) statically recompiled for Nintendo Switch using ReXGlue and Renut's native deko3d renderer.

What's New in v1.0.3

  • Audio Bugfixes & NaN Protection:
    • Fixed intermittent post-cutscene ambient/street audio dropout caused by a truncated r30_after1 write cursor in sd_audio_lap (sub_82B40278) during clipped Wwise Vorbis long→short block transitions.
    • Added rem <= 0.0f guard in sd_quat40 (sub_828AD3A0) to prevent 0.0f * +Inf = NaN corruption.
    • Added per-channel std::isfinite sanitization and non-finite sample counter in rex::audio::conversion (sequential_6_BE_to_interleaved_2_LE, front_2_of_6_BE_to_interleaved_2_LE) and switch_audio_system.cpp so corrupted voice samples cannot silence the mixer.
  • Sync & Native Updates:
    • Lock-free WaitAny fast path (LikelySignaled() + single-handle mutex) in PosixConditionBase::WaitMultiple avoiding SortedMultiLock, plus kernel_critsec_spin = 512.
    • Added hand-written natives sd_audio_imdct (Wwise Vorbis mdct_backward, sub_82B3F3F8) and sd_lz_decomp ('QCMP' LZSS decompressor, sub_8231D750), and expanded localized bulk in-place hot copies to 759 TU1 functions.

Upgrading from v1.0.2 / Fresh Installation

  • Upgrading from v1.0.2 (or earlier): Replace both sdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nro and sdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.toml from sleeping-dogs-nx-v1.0.3.zip (shader cache files are unchanged).
  • Fresh Install:
    1. Extract sleeping-dogs-nx-v1.0.3.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
    2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
    3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
    4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
    5. Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).

Performance, Clocks & Recommended Overclock

(Baseline benchmarks from v1.0.2 on Nintendo Switch hardware, 1224 MHz CPU / 460.8 MHz GPU / 1331.2 MHz RAM, Default 720p open-world Hong Kong gameplay):

  • Default Tuned 720p (1280×720, 2 cascades, 0.67x shadows, heavy post-FX off): ~31.4 FPS open-world average (1224 MHz CPU).
  • Stock Handheld (1020 / 460.8 / 1331.2 MHz) — Lower Preset (540p, 0.5x shadows, 1 cascade via + + −): Smooth 30+ FPS without overclocking.
  • Recommended Light OC for Stable Locked 30 FPS (Default 720p): CPU 1428–1581 MHz / GPU 460.8–537.6 MHz / RAM 1600 MHz (optional frame_cap = "30" for flat 33.3 ms pacing).
  • Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades / 1.0x Shadows ON): CPU 1581–1785 MHz / GPU 614.4–768 MHz / RAM 1600+ MHz (docked or on charger).

Known Issues & Notes

  • Dynamic Resolution: Enabling Dynamic Resolution (banjo_renut_dynamic_resolution) may currently cause graphical glitches — keep it Off (default); this will be fixed in a future update.
  • Opening Chase Scene: The opening chase sequence at the beginning of the game is very heavy and FPS will temporarily drop into the 20s (2x FPS) before recovering in normal open-world gameplay. Overclocking CPU to 1428 MHz is recommended for smoother play.
  • Environment Shadows: Environment shadows are currently missing and will be fixed in a future update.

Checksums

  • sleeping-dogs-nx-v1.0.3.zip (91,723,040 B / 87.47 MiB)
    • SHA-256: 3228ba968089ba04f6c43cdd8840ed178ef414e2c1897ae576aae9f5ae117e67
    • MD5: 35de8b23068a0f9ce8ed486bb5575556
  • Sleeping_Dogs-nx.nro (102,776,960 B / 98.02 MiB)
    • SHA-256: 55e51e39bf0328cb8e57ec253815f7a051c66760a2a4ac752e06d9cefe2ca373
    • MD5: 9ddc34038759f2c54dcb00841b35b80c
  • Sleeping_Dogs-nx.toml (2,945 B)
    • SHA-256: fa47182cdc3536a32acd2e01824e9c6b28d24aa1f037bd8f838351f4788f7b87
    • MD5: cb1f6d3dd1ce1a9f15c5becde4adb1e9
  • deko3d_glsl.bin (35,399,912 B / 33.76 MiB, 19,423 shaders — unchanged)
    • SHA-256: 6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25
    • MD5: ef16e7d1a849759f98f231a46219a554
  • deko3d_shaders.bin (38,737,540 B / 36.94 MiB, 7,817 DKSH variants — unchanged)
    • SHA-256: 8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9
    • MD5: 243ee826bf58acfce77eba2a8c9ad2a3
  • deko3d_shaders.bin.idx (125,152 B / 0.12 MiB — unchanged)
    • SHA-256: 23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe
    • MD5: 7c363641e32e4e016fa7a3ca6d3e93d2

See the README for exact checksums of the tested Xbox 360 default.xex, Title Update tu0000000c_00000000, and all 26 DLC packages.

Sleeping Dogs Switch Port v1.0.2

Choose a tag to compare

@BanhMi93P BanhMi93P released this 28 Nov 14:37

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.2

Performance update for Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C, Title Update 1 0.0.1.12) statically recompiled for Nintendo Switch using ReXGlue and Renut's native deko3d renderer.

Performance Gains vs v1.0.1

Measured directly on Nintendo Switch hardware (1224 MHz CPU / 460.8 MHz GPU / 1331.2 MHz RAM, Default 720p open-world Hong Kong gameplay):

  • ~+39% to +40% FPS boost over v1.0.1: Jumps from 22.6 FPS (44.2 ms/frame) in v1.0.1 to 31.4 FPS 170-second average (31.6 FPS steady R06–R10 avg, 31.2 FPS median, 37.6 FPS peak / 31.8 ms/frame in v1.0.2).
  • ObjectTable lock contention: 1,594/s → 0/s (-100%).
  • WaitMultiple parked waits: 5,290/s → ~2,000/s (-62%).

What's New in v1.0.2

  • Kernel, Sync & Thread Scheduling:
    • Lock-free atomic ObjectTable handle lookups (eliminating handle-table contention across all gameplay threads).
    • Lock-free 64-bit BaseHeap::QueryProtect using ldar acquire loads (PageEntry packed into 64 bits).
    • Horizon OS futex fast paths for guest CriticalSection and WaitMultiple + address-wait semaphores.
    • Core isolation: pinned Main XThread exclusively to Core 0 (0x1, priority 0x38), main to 0x5@2, XThread workers to 0x7@2, and HavokWorker to 0x7@1 (opening Core 0 for Havok completion without stalling Main XThread).
  • ARM64 NEON Hand Natives & Hot-Code Layout:
    • Expanded to 17 hand-written/localized ARM64 NEON natives: added Wwise overlap-add (sd_audio_lap), pitch resampling (sd_audio_pitch), Vorbis Huffman decode (sd_audio_huff), transform hierarchy (sd_xform), 40-bit quaternion unpacker (sd_quat40), and AABB frustum/LOD projection (sd_frustum_lod).
    • Chunked zero-spill sd_skin morph + vertex skinning loop with addp normal packing and loop-invariant constant hoisting.
    • Expanded localized bulk in-place hot copies to 499 TU1 functions (including previously bypassed Havok hotspots sub_8299EAA0 and sub_8299F8B8) and placed 249 hot functions in .text.hot.
  • Renderer & Graphics:
    • Direct EDRAM Depth Restore, NEON vertex format expansion, and strict EnvMap/DoF/Ripple gating fixes.

Upgrading from v1.0.0 / v1.0.1 / Fresh Installation

  • Upgrading from v1.0.0 or v1.0.1: Replace both sdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nro and sdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.toml from sleeping-dogs-nx-v1.0.2.zip (the updated .toml carries the new v1.0.2 core-pinning and spin-count tuning; shader cache files are unchanged).
  • Fresh Install:
    1. Extract sleeping-dogs-nx-v1.0.2.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
    2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
    3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
    4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
    5. Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).

Performance, Clocks & Recommended Overclock

  • Measured 1224 MHz CPU / 460.8 MHz GPU / 1331.2 MHz RAM — Default Tuned 720p (1280×720, 2 cascades, 0.67x shadows, heavy post-FX off): ~31.4 FPS 170-second average (31.6 FPS steady, 37.6 FPS peak, +39% over v1.0.1).
  • Stock Handheld (1020 / 460.8 / 1331.2 MHz) — Lower Preset (540p, 0.5x shadows, 1 cascade via + + −): Smooth 30+ FPS without overclocking.
  • Recommended Light OC for Stable Locked 30 FPS (Default 720p): CPU 1428–1581 MHz / GPU 460.8–537.6 MHz / RAM 1600 MHz (optional frame_cap = "30" for flat 33.3 ms pacing). Overclocking CPU to 1428 MHz is recommended for the smoothest locked-30 experience in the heaviest scenes.
  • Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades / 1.0x Shadows ON): CPU 1581–1785 MHz / GPU 614.4–768 MHz / RAM 1600+ MHz (docked or on charger).

Known Issues & Notes

  • Dynamic Resolution: Enabling Dynamic Resolution (banjo_renut_dynamic_resolution) may currently cause graphical glitches — keep it Off (default); this will be fixed in a future update.
  • Opening Chase Scene: The opening chase sequence at the beginning of the game is very heavy and FPS will temporarily drop into the 20s (2x FPS) before recovering in normal open-world gameplay. Overclocking CPU to 1428 MHz is recommended for smoother play.
  • Environment Shadows: Environment shadows are currently missing and will be fixed in a future update.

Checksums

  • sleeping-dogs-nx-v1.0.2.zip (90,670,571 B / 86.47 MiB)
    • SHA-256: 90eaf6b63008c25038805bae9b74da17e81be91a10480c24f7ea3714a5b20804
    • MD5: 628d672b0dc8778bf7a70d39ae1f18a4
  • Sleeping_Dogs-nx.nro (100,302,976 B / 95.66 MiB)
    • SHA-256: 2311af11b60275e2bbc0250be6da0d53f3a01e19298148270296186b3437eb58
    • MD5: 9d525141704f4001f906370f1cae558a
  • Sleeping_Dogs-nx.toml (2,945 B)
    • SHA-256: 662fb9b6bc9a83c5fae220a4a2e808e5a6a7824a424c5b800ce73dc3c12ea726
    • MD5: c6b712adf080d5cbbc3560c6c1d04b31
  • deko3d_glsl.bin (35,399,912 B / 33.76 MiB, 19,423 shaders — unchanged)
    • SHA-256: 6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25
    • MD5: ef16e7d1a849759f98f231a46219a554
  • deko3d_shaders.bin (38,737,540 B / 36.94 MiB, 7,817 DKSH variants — unchanged)
    • SHA-256: 8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9
    • MD5: 243ee826bf58acfce77eba2a8c9ad2a3
  • deko3d_shaders.bin.idx (125,152 B / 0.12 MiB — unchanged)
    • SHA-256: 23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe
    • MD5: 7c363641e32e4e016fa7a3ca6d3e93d2

See the README for exact checksums of the tested Xbox 360 default.xex, Title Update tu0000000c_00000000, and all 26 DLC packages.

Sleeping Dogs Switch Port v1.0.1

Choose a tag to compare

@BanhMi93P BanhMi93P released this 28 Nov 09:34

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.1

Hotfix release for Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C, Title Update 1 0.0.1.12) statically recompiled for Nintendo Switch using ReXGlue and Renut's native deko3d renderer.

What's Fixed in v1.0.1

  • Fixed intermittent startup crash (_free_r heap corruption during initialization): Resolved a use-after-free in SdStartupDialog::DrawStartup where the embedded splash texture (startup_tex_) was freed on the transition frame before OverlayDrawer finished consuming the current ImGui draw list.
  • Fixed ~15-second post-autosave stall and freeze when selecting Main Game (especially with DLCs installed): Replaced the case-sensitive std::unordered_map symlink table in VirtualFileSystem with ordered LIFO symlink resolution and added target-scoped UnregisterSymbolicLink(path, target) + device-scoped handle cleanup (CloseOpenedFilesOnDevice). When Sleeping Dogs opens and closes its temporary "GAME:" probe mount for HK Options, it can no longer unregister the system "game:" drive or close open base game data handles.

Upgrading from v1.0.0 / Fresh Installation

  • Upgrading from v1.0.0: Replace only sdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nro from sleeping-dogs-nx-v1.0.1.zip (config and shader cache files are unchanged).
  • Fresh Install:
    1. Extract sleeping-dogs-nx-v1.0.1.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
    2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
    3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
    4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
    5. Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).

Performance, Clocks & Recommended Overclock

  • Stock Handheld (CPU 1020 MHz / GPU 460.8 MHz [APM Boost] / RAM 1331.2 MHz) — Default Tuned 720p (1280×720, 2 cascades, 0.67x shadows, heavy post-FX off): ~29.9 FPS average (26–33 FPS steady open-world play; brief dips to ~22–25 FPS during dense streaming; ~18.6 ms render thread, ~25.2 ms GPU).
  • Stock Handheld (1020 / 460.8 / 1331.2 MHz) — Full Stock Xbox 360 720p (all effects ON): ~18–22 FPS.
  • Stock Handheld — Lower Preset (540p, 0.5x shadows, 1 cascade via + + −): Smooth ~30 FPS without overclocking.
  • Recommended Light OC for Stable Locked 30 FPS (Default 720p): CPU 1428–1581 MHz / GPU 460.8–537.6 MHz / RAM 1600 MHz (optional frame_cap = "30" for flat 33.3 ms pacing). Overclocking CPU to 1428 MHz is recommended for a smooth experience.
  • Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades / 1.0x Shadows ON): CPU 1581–1785 MHz / GPU 614.4–768 MHz / RAM 1600+ MHz (docked or on charger).

Known Issues & Notes

  • Dynamic Resolution: Enabling Dynamic Resolution (banjo_renut_dynamic_resolution) may currently cause graphical glitches — keep it Off (default); this will be fixed in a future update.
  • Opening Chase Scene: The opening chase sequence at the beginning of the game is very heavy and FPS will temporarily drop into the 20s (2x FPS) before recovering in normal open-world gameplay. Overclocking CPU to 1428 MHz is recommended for smoother play.
  • Environment Shadows: Environment shadows are currently missing and will be fixed in a future update.

Checksums

  • sleeping-dogs-nx-v1.0.1.zip (90,289,455 B / 86.11 MiB)
    • SHA-256: 3a07a3a9fde45ec31eb27d46c94350cca5f8861e5c64804cc51ac53acf7125ae
    • MD5: 92c45f2a39dd8a5c1582ab4838a35145
  • Sleeping_Dogs-nx.nro (99,356,800 B / 94.75 MiB)
    • SHA-256: 749ea90b4b6bd79896bc5ff28b3cca23c92b4050a0b0546e1bf53c30960a5845
    • MD5: 4be5634603fe4087522b7999363d75af
  • Sleeping_Dogs-nx.toml (2,774 B)
    • SHA-256: a6a86f514ad4d26043e03b17cbce0729474cfde727561a9d1ba3abb3e2456887
    • MD5: 3be8222681970f9efd0bf48843c30220
  • deko3d_glsl.bin (35,399,912 B / 33.76 MiB, 19,423 shaders)
    • SHA-256: 6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25
    • MD5: ef16e7d1a849759f98f231a46219a554
  • deko3d_shaders.bin (38,737,540 B / 36.94 MiB, 7,817 DKSH variants)
    • SHA-256: 8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9
    • MD5: 243ee826bf58acfce77eba2a8c9ad2a3
  • deko3d_shaders.bin.idx (125,152 B / 0.12 MiB)
    • SHA-256: 23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe
    • MD5: 7c363641e32e4e016fa7a3ca6d3e93d2

See the README for exact checksums of the tested Xbox 360 default.xex, Title Update tu0000000c_00000000, and all 26 DLC packages.

Sleeping Dogs Switch Port v1.0.0

Choose a tag to compare

@BanhMi93P BanhMi93P released this 28 Nov 08:32

Sleeping Dogs — Nintendo Switch Port (Sleeping_Dogs-nx) v1.0.0

Initial public release of Sleeping Dogs (2012, Xbox 360 Title ID: 53510811, Media ID: 6364795C) statically recompiled for the Nintendo Switch (Title Update 1 0.0.1.12) using ReXGlue and Renut's native deko3d renderer.

Highlights

  • Title Update 1 (0.0.1.12) & Full 26-DLC Support: Supports both DLC.xml and DLC2.xml expansion packs (including Nightmare in North Point, The Year of the Snake, The Zodiac Tournament, and The Wheels of Fury) as well as PATCH1.BIG / PATCH1.BIX fixes.
  • Native AArch64 Execution & deko3d Renderer: Built with LTO, 326 localized hot copies, and 11 hand-written ARM64 NEON kernels (sd_fog_lut, sd_skin, sd_cull, sd_tile_cull, sd_hiz_rast, XDK memcpy/memset/exp), paired with Deko3D RG11B10 HDR, shadow depth-strip handover, tex2Dbias LOD fixes, pooled render targets (sasrt_dedicated_targets = false), and BUG-008 (sub_82B51980) opening chase crash fix.
  • Prebuilt Shader Cache: Ships with 19,423 translated Xenos shaders (deko3d_glsl.bin) and 7,817 precompiled Maxwell DKSH variants (deko3d_shaders.bin + deko3d_shaders.bin.idx).
  • 3-Second Startup Splash & Built-In Update/DLC Installer: Displays the embedded startup.png splash for 3 seconds on launch; if raw Title Update (update/) or DLC (dlc/) packages are present, launches the installer.jpg progress-bar installer to extract everything cleanly and delete raw source files automatically.
  • Switch-Friendly Controls & Live + + − Menu: Defaults to printed Nintendo Switch button layout (input_xbox_layout = false, A↔B / X↔Y swapped), plus a full live + + − settings menu (cascades, shadow scales, FOV, draw distance, ped/traffic density, post-FX toggles, FPS counter, controls).

Performance, Clocks & Recommended Overclock

  • Stock Handheld (CPU 1020 MHz / GPU 460.8 MHz [APM Boost] / RAM 1331.2 MHz) — Default Tuned 720p (1280×720, 2 cascades, 0.67x shadows, heavy post-FX off): ~29.9 FPS average (26–33 FPS steady open-world play; brief dips to ~22–25 FPS during dense streaming; ~18.6 ms render thread, ~25.2 ms GPU).
  • Stock Handheld (1020 / 460.8 / 1331.2 MHz) — Full Stock Xbox 360 720p (all effects ON): ~18–22 FPS.
  • Stock Handheld — Lower Preset (540p, 0.5x shadows, 1 cascade via + + −): Smooth ~30 FPS without overclocking.
  • Recommended Light OC for Stable Locked 30 FPS (Default 720p): CPU 1428–1581 MHz / GPU 460.8–537.6 MHz / RAM 1600 MHz (optional frame_cap = "30" for flat 33.3 ms pacing). Overclocking CPU to 1428 MHz is recommended for a smooth experience.
  • Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades / 1.0x Shadows ON): CPU 1581–1785 MHz / GPU 614.4–768 MHz / RAM 1600+ MHz (docked or on charger).

Known Issues & Notes

  • Dynamic Resolution: Enabling Dynamic Resolution (banjo_renut_dynamic_resolution) may currently cause graphical glitches — keep it Off (default); this will be fixed in a future update.
  • Opening Chase Scene: The opening chase scene at the beginning of the game is very heavy and FPS will drop into the 20s (2x FPS) before recovering in normal open-world gameplay. Overclocking CPU to 1428 MHz is recommended for smoother play.
  • Environment Shadows: Environment shadows are currently missing and will be fixed in a future update.

Installation

  1. Extract sleeping-dogs-nx-v1.0.0.zip to sdmc:/ (creating sdmc:/switch/Sleeping_Dogs-nx/).
  2. Copy your unpacked Xbox 360 base game files (default.xex 0.0.0.12 + game data) into sdmc:/switch/Sleeping_Dogs-nx/game/.
  3. Copy Xbox 360 Title Update 1 (tu0000000c_00000000) into sdmc:/switch/Sleeping_Dogs-nx/update/.
  4. (Optional) Copy any Xbox 360 DLC packages into sdmc:/switch/Sleeping_Dogs-nx/dlc/.
  5. Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).

Checksums

  • sleeping-dogs-nx-v1.0.0.zip (90,290,170 B / 86.11 MiB)
    • SHA-256: 6598ed4845ad2aed965a3b45dad6c109cc245549a18dd8b346552b1642edda18
    • MD5: 8ec4ce10a55827efcd2cc058ba458596
  • Sleeping_Dogs-nx.nro (99,356,800 B / 94.75 MiB)
    • SHA-256: c5b81ce27112cdef1f82bf05fb21260c9f87b9084c8fa0bf036407054426592c
    • MD5: 09f0fb3031c1d5b89346e2a1d5484866
  • Sleeping_Dogs-nx.toml (2,774 B)
    • SHA-256: a6a86f514ad4d26043e03b17cbce0729474cfde727561a9d1ba3abb3e2456887
    • MD5: 3be8222681970f9efd0bf48843c30220
  • deko3d_glsl.bin (35,399,912 B / 33.76 MiB, 19,423 shaders)
    • SHA-256: 6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25
    • MD5: ef16e7d1a849759f98f231a46219a554
  • deko3d_shaders.bin (38,737,540 B / 36.94 MiB, 7,817 DKSH variants)
    • SHA-256: 8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9
    • MD5: 243ee826bf58acfce77eba2a8c9ad2a3
  • deko3d_shaders.bin.idx (125,152 B / 0.12 MiB)
    • SHA-256: 23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe
    • MD5: 7c363641e32e4e016fa7a3ca6d3e93d2

See the README for exact checksums of the tested Xbox 360 default.xex, Title Update tu0000000c_00000000, and all 26 DLC packages.