Repository navigation
Releases
Sleeping Dogs (Switch) v1.0.6
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__), sleeps100 µsafter16contention yields instead of looping indefinitely onsvcSleepThread(0).MaybeYield(sdk/src/core/threading_posix.cpp): boundsg_rex_yield_backoff_exempttight consecutive yields (< 20 µsapart) at256iterations before sleeping briefly (100 µs), preventing priority-0x38threads from permanently starving0x3A/0x3Block owners on Core 0/2.
- Critical Section Direct-Futex & Mutant Ownership Safety:
xeEnterCriticalSection/WakeCriticalSectionWaiter(sdk/src/kernel/xboxkrnl/xboxkrnl_rtl.cpp): replaces the unbounded-1futex wait with a100 mssafety wake, re-checkswait_list_flink != kXObjSignaturein the loop to fall back toxeKeWaitForSingleObject, and wakes parked futex sleepers (RexSwitchWakeAddress(signal_word, -1)) before falling back toxeKeSetEvent.PosixCondition<Mutant>(sdk/src/core/threading_posix.cpp): clearsowner_before decrementingcount_to0(cur == 1) and writesowner_before incrementingcount_inpost_execution()on Switch.
- Zero-Overhead Stall Watchdog Default (
app/sleeping_dogs_switch_defaults.toml):- Enabled
banjo_stall_watch_seconds = 5withbanjo_stall_watch_waits = falsein built-in Switch defaults (leaving playerSleeping_Dogs-nx.tomluntouched), automatically dumping thread states/callstacks tologs/rex/banjo_profiler.logif frames ever stall for>= 5 s.
- Enabled
- Metadata & Packaging: Updated Switch NACP version to
1.0.6(app/CMakeLists.txt). Includes allv1.0.5fixes (vehicle chase visibility raycast batch,ObjectTablebackoff,RumbleSenderCore2, Dynamic Resolution texture flicker fix,0.25x–1.33xshadow scaling, and audio/fog NaN safety).
Upgrading from v1.0.5 / Fresh Installation
- Upgrading from
v1.0.5: OnlySleeping_Dogs-nx.nrochanged (Sleeping_Dogs-nx.tomland shader cachesdeko3d_glsl.bin,deko3d_shaders.bin,deko3d_shaders.bin.idxare identical tov1.0.5). Replacesdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nroon your Switch SD card. - Upgrading from
v1.0.4(or earlier) / Fresh Install:- Extract
sleeping-dogs-nx-v1.0.6.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - 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.
- Extract
Checksums
sleeping-dogs-nx-v1.0.6.zip(92,968,143 B/88.66 MiB)- SHA-256:
b9a23c962995f272a5bde9e9e65d4a61257391f1aab719e96981bd1e11572302 - MD5:
415c49c3ef3c92d83f75694403a3ce6a
- SHA-256:
Sleeping_Dogs-nx.nro(102,551,680 B/97.80 MiB)- SHA-256:
7579627e35fe6e4a118195ace07d600f46eab03d24511e0a3cf28799c76734a1 - MD5:
ac5cfc3f9a040e78aa465a533ff4086d
- SHA-256:
Sleeping_Dogs-nx.toml(3,185 B, unchanged fromv1.0.5)- SHA-256:
380fc8aba4fbb70444502f35b453fc5ad12d928f85ba586a6a141e07022ba8b6 - MD5:
7c9c0dbf4b10a636e8c13466fea2f3a1
- SHA-256:
deko3d_glsl.bin(35,505,120 B/33.86 MiB,19,423shaders)- SHA-256:
c9b9ae2f18475b40c94f971edd2888c7c4998bda5e4399cf84152e1b0e90b049 - MD5:
a9518de899d78ee95e1886ca107f840a
- SHA-256:
deko3d_shaders.bin(42,332,876 B/40.37 MiB,8,335cached variants)- SHA-256:
8358b536b38951d1c075a8cbede05a51ba558d5d540216d2d2a02f3836ec7fc1 - MD5:
d220b07d51ca19a3cb646537697325d2
- SHA-256:
deko3d_shaders.bin.idx(133,440 B/0.13 MiB)- SHA-256:
4b5b7b6632abc407bfc181f2cbfa0f6a3bc37c1242add899fdf50d0f7bca376c - MD5:
5d7c53873b94a89ab8843bc300f28ed5
- SHA-256:
Sleeping Dogs (Switch) v1.0.5
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 layer18(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.
- Replaced the unimplemented Xbox 360 D3D occlusion query coroutine (
- Random Freeze & Deadlock Fixes:
- Bounded
xeEnterCriticalSectionwaits (sdk/src/kernel/xboxkrnl/xboxkrnl_rtl.cpp) with1 mstimed waits whenexpected != 0uso 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< 0x3Ccan drain their stripes cleanly. - Pinned
RumbleSenderthread to Core2(sdk/src/input/switch/switch_input_driver.cpp) to avoid Core0contention withMain XThread, and tunedXThread/HavokWorkerthread priorities (0x3A) and yield backoff exemptions.
- Bounded
- Wwise Audio DSP & Atmospheric Fog NaN Safety:
- Added
sdk/include/rex/ppc/switch_vexptefp.h(RexVexptefp360underflow/overflow bounds andClampSqrtNearZero) used by atmospheric fog (sub_82700BE0) and Wwise audio DSP (sub_82AC3C48,sub_82AC2180) to prevent NaN propagation and intermittent prolonged audio dropouts.
- Added
- Dynamic Resolution Texture Flicker Fix:
- Included active
RenderScalenumerator/denominator ratios inComputeViewport,ViewportReuse, andDrawStateLocked(draw.cpp) plusSamplerSlotLocked/SamplerCacheKey(textures.cpp), fixing flickering ground textures when Dynamic Resolution is enabled.
- Included active
- Shadow Resolution Scaling Fix (
0.25x–1.33x) & Updated Shader Caches:- Accepted
D3DFMT_D24FS8shadow maps inClassifyShadowMap(graphics_options.cpp), added0.25x (Very Low)shadow scale (SCALE_CHAIN_REintools/deko3d_glsl_opt.py+ Switch++−menu), regenerateddeko3d_glsl.bin(19,423shaders), and updateddeko3d_shaders.bin+.idx(uam110-sw8-bnx5,8,335cached DKSH variants).
- Accepted
- Updated Standard Default
Sleeping_Dogs-nx.toml:- Updated default
Sleeping_Dogs-nx.toml(and the NRO's built-in fallback configapp/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.5xshadow maps,sd_motion_blur = false,50%draw distance / pedestrian / traffic density,banjo_renut_dynamic_resolution_handheld = false,banjo_renut_render_height_handheld = 720).
- Updated default
Upgrading from v1.0.4 / Fresh Installation
- Upgrading from
v1.0.4(or earlier): ReplaceSleeping_Dogs-nx.nro,Sleeping_Dogs-nx.toml,deko3d_glsl.bin,deko3d_shaders.bin, anddeko3d_shaders.bin.idxinsidesdmc:/switch/Sleeping_Dogs-nx/fromsleeping-dogs-nx-v1.0.5.zip(note the updated DKSH cache taguam110-sw8-bnx5). - Fresh Install:
- Extract
sleeping-dogs-nx-v1.0.5.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - 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.
- Extract
Checksums
sleeping-dogs-nx-v1.0.5.zip(92,956,462 B/88.65 MiB)- SHA-256:
d7f1a687b5b0e6c9fbf07e03e0736ac91cc453813457a3c7487606e793210af0 - MD5:
a71bffd8547d51f5e627401bbb89d33f
- SHA-256:
Sleeping_Dogs-nx.nro(102,535,296 B/97.79 MiB)- SHA-256:
577f58129e7d0f6ba7bb02a42df620f273e55dc5206bcec5d6ff5c66b734b649 - MD5:
bf917ce01723b661a7b8321c3f32ec4c
- SHA-256:
Sleeping_Dogs-nx.toml(3,185 B)- SHA-256:
380fc8aba4fbb70444502f35b453fc5ad12d928f85ba586a6a141e07022ba8b6 - MD5:
7c9c0dbf4b10a636e8c13466fea2f3a1
- SHA-256:
deko3d_glsl.bin(35,505,120 B/33.86 MiB,19,423shaders)- SHA-256:
c9b9ae2f18475b40c94f971edd2888c7c4998bda5e4399cf84152e1b0e90b049 - MD5:
a9518de899d78ee95e1886ca107f840a
- SHA-256:
deko3d_shaders.bin(42,332,876 B/40.37 MiB,8,335cached variants)- SHA-256:
8358b536b38951d1c075a8cbede05a51ba558d5d540216d2d2a02f3836ec7fc1 - MD5:
d220b07d51ca19a3cb646537697325d2
- SHA-256:
deko3d_shaders.bin.idx(133,440 B/0.13 MiB)- SHA-256:
4b5b7b6632abc407bfc181f2cbfa0f6a3bc37c1242add899fdf50d0f7bca376c - MD5:
5d7c53873b94a89ab8843bc300f28ed5
- SHA-256:
Sleeping Dogs (Switch) v1.0.4
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 all19,423Switch shaders indeko3d_glsl.bin, restoring missing building/environment shadows.
- Fixed masked vector/scalar split export truncation in
- Stock Xbox 360 Graphics Defaults Restored:
- Restored stock Xbox 360 graphics configuration in
Sleeping_Dogs-nx.tomland built-in Switch defaults (renut_format_7e3_rg11b10 = false).
- Restored stock Xbox 360 graphics configuration in
- Dynamic Resolution Black-Stripe Fix:
- Updated
SCALE_CHAIN_REintools/deko3d_glsl_opt.py(234matched shaders indeko3d_glsl.bin) to handle(?:4.0|0.5)scale chains and prevent random black stripes when Dynamic Resolution is active.
- Updated
- Audio Dropout & Sync Race Fixes:
- Removed unlocked fast-paths in
PosixCondition<Event>::Signal()andReset()(sdk/src/core/threading_posix.cpp) soSignal()/Reset()serialize strictly onmutex_without dropping wake-ups after cutscenes. - Moved
AK::BankManagerthread affinity off Core 3 (0x8→0x7, Cores 0–2) to avoid starvation during Core 3 audio/GPU bursts. - Fixed
avail_q16unsigned integer underflow insd_audio_pitch(sub_82B0F300) and verifiedsd_audio_lap(sub_82B40278),sd_audio_pitch(sub_82B0F300), andsd_audio_huff(sub_82B43B40) on PC guard (0differences). - Disabled
banjo_hand_sd_audio_imdctby default sosub_82B3F3F8uses its bit-exact localized native implementation (0differences on PC guard).
- Removed unlocked fast-paths in
Upgrading from v1.0.3 / Fresh Installation
- Upgrading from
v1.0.3(or earlier): ReplaceSleeping_Dogs-nx.nro,Sleeping_Dogs-nx.toml, anddeko3d_glsl.bininsidesdmc:/switch/Sleeping_Dogs-nx/fromsleeping-dogs-nx-v1.0.4.zip. (Changed shaders miss the olddeko3d_shaders.bincache automatically by GLSL hash and compile on first encounter; unchanged variants remain cached.) - Fresh Install:
- Extract
sleeping-dogs-nx-v1.0.4.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).
- Extract
Checksums
sleeping-dogs-nx-v1.0.4.zip(91,703,551 B/87.46 MiB)- SHA-256:
13ddcf6106d393bb1b87de4ff09066889cfe21cac5f997c0cfb6c010a683b230 - MD5:
6adbf103a4539ffda9043ad4b24cb086
- SHA-256:
Sleeping_Dogs-nx.nro(102,506,624 B/97.76 MiB)- SHA-256:
31ef3b173b899efbafe62837cd0370ac4f292de066a70a026437df4354cf767f - MD5:
4c9f8fa3ee61c5f9fc094878e4623891
- SHA-256:
Sleeping_Dogs-nx.toml(3,082 B)- SHA-256:
1f2aa57bfb717dfb830792830238be9d0de9f6ea626ecbe7c6da05d840612082 - MD5:
24145bcc79280a1d73bb226f2bbff758
- SHA-256:
deko3d_glsl.bin(35,505,264 B/33.86 MiB,19,423shaders)- SHA-256:
bca3d45c5d09d13f56b7292abd617bb5d61081347320297e69d7a1545814a7cf - MD5:
61833ba5d9418c34f24c065a625cc399
- SHA-256:
deko3d_shaders.bin(38,737,540 B/36.94 MiB,7,817cached variants)- SHA-256:
8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9 - MD5:
243ee826bf58acfce77eba2a8c9ad2a3
- SHA-256:
deko3d_shaders.bin.idx(125,152 B/0.12 MiB)- SHA-256:
23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe - MD5:
7c363641e32e4e016fa7a3ca6d3e93d2
- SHA-256:
v1.0.3 — Fix post-cutscene audio loss & NaN-safe audio mix
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_after1write cursor insd_audio_lap(sub_82B40278) during clipped Wwise Vorbis long→short block transitions. - Added
rem <= 0.0fguard insd_quat40(sub_828AD3A0) to prevent0.0f * +Inf = NaNcorruption. - Added per-channel
std::isfinitesanitization and non-finite sample counter inrex::audio::conversion(sequential_6_BE_to_interleaved_2_LE,front_2_of_6_BE_to_interleaved_2_LE) andswitch_audio_system.cppso corrupted voice samples cannot silence the mixer.
- Fixed intermittent post-cutscene ambient/street audio dropout caused by a truncated
- Sync & Native Updates:
- Lock-free
WaitAnyfast path (LikelySignaled()+ single-handle mutex) inPosixConditionBase::WaitMultipleavoidingSortedMultiLock, pluskernel_critsec_spin = 512. - Added hand-written natives
sd_audio_imdct(Wwise Vorbismdct_backward,sub_82B3F3F8) andsd_lz_decomp('QCMP'LZSS decompressor,sub_8231D750), and expanded localized bulk in-place hot copies to 759 TU1 functions.
- Lock-free
Upgrading from v1.0.2 / Fresh Installation
- Upgrading from
v1.0.2(or earlier): Replace bothsdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nroandsdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.tomlfromsleeping-dogs-nx-v1.0.3.zip(shader cache files are unchanged). - Fresh Install:
- Extract
sleeping-dogs-nx-v1.0.3.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).
- Extract
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.67xshadows, heavy post-FX off):~31.4 FPSopen-world average (1224 MHz CPU). - Stock Handheld (
1020 / 460.8 / 1331.2 MHz) — Lower Preset (540p,0.5xshadows,1cascade via++−): Smooth30+ FPSwithout overclocking. - Recommended Light OC for Stable Locked 30 FPS (Default 720p):
CPU 1428–1581 MHz/GPU 460.8–537.6 MHz/RAM 1600 MHz(optionalframe_cap = "30"for flat33.3 mspacing). - Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades /
1.0xShadows 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 to1428 MHzis 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
- SHA-256:
Sleeping_Dogs-nx.nro(102,776,960 B/98.02 MiB)- SHA-256:
55e51e39bf0328cb8e57ec253815f7a051c66760a2a4ac752e06d9cefe2ca373 - MD5:
9ddc34038759f2c54dcb00841b35b80c
- SHA-256:
Sleeping_Dogs-nx.toml(2,945 B)- SHA-256:
fa47182cdc3536a32acd2e01824e9c6b28d24aa1f037bd8f838351f4788f7b87 - MD5:
cb1f6d3dd1ce1a9f15c5becde4adb1e9
- SHA-256:
deko3d_glsl.bin(35,399,912 B/33.76 MiB,19,423shaders — unchanged)- SHA-256:
6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25 - MD5:
ef16e7d1a849759f98f231a46219a554
- SHA-256:
deko3d_shaders.bin(38,737,540 B/36.94 MiB,7,817DKSH variants — unchanged)- SHA-256:
8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9 - MD5:
243ee826bf58acfce77eba2a8c9ad2a3
- SHA-256:
deko3d_shaders.bin.idx(125,152 B/0.12 MiB— unchanged)- SHA-256:
23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe - MD5:
7c363641e32e4e016fa7a3ca6d3e93d2
- SHA-256:
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
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 overv1.0.1: Jumps from22.6 FPS(44.2 ms/frame) inv1.0.1to31.4 FPS170-second average (31.6 FPSsteady R06–R10 avg,31.2 FPSmedian,37.6 FPSpeak /31.8 ms/frameinv1.0.2).ObjectTablelock contention:1,594/s→0/s(-100%).WaitMultipleparked waits:5,290/s→~2,000/s(-62%).
What's New in v1.0.2
- Kernel, Sync & Thread Scheduling:
- Lock-free atomic
ObjectTablehandle lookups (eliminating handle-table contention across all gameplay threads). - Lock-free 64-bit
BaseHeap::QueryProtectusingldaracquire loads (PageEntrypacked into 64 bits). - Horizon OS futex fast paths for guest
CriticalSectionandWaitMultiple+ address-wait semaphores. - Core isolation: pinned
Main XThreadexclusively to Core 0 (0x1, priority0x38),mainto0x5@2,XThreadworkers to0x7@2, andHavokWorkerto0x7@1(opening Core 0 for Havok completion without stallingMain XThread).
- Lock-free atomic
- 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_skinmorph + vertex skinning loop withaddpnormal packing and loop-invariant constant hoisting. - Expanded localized bulk in-place hot copies to 499 TU1 functions (including previously bypassed Havok hotspots
sub_8299EAA0andsub_8299F8B8) and placed 249 hot functions in.text.hot.
- Expanded to 17 hand-written/localized ARM64 NEON natives: added Wwise overlap-add (
- 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.0orv1.0.1: Replace bothsdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nroandsdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.tomlfromsleeping-dogs-nx-v1.0.2.zip(the updated.tomlcarries the newv1.0.2core-pinning and spin-count tuning; shader cache files are unchanged). - Fresh Install:
- Extract
sleeping-dogs-nx-v1.0.2.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).
- Extract
Performance, Clocks & Recommended Overclock
- Measured
1224 MHz CPU / 460.8 MHz GPU / 1331.2 MHz RAM— Default Tuned 720p (1280×720, 2 cascades,0.67xshadows, heavy post-FX off):~31.4 FPS170-second average (31.6 FPSsteady,37.6 FPSpeak,+39%overv1.0.1). - Stock Handheld (
1020 / 460.8 / 1331.2 MHz) — Lower Preset (540p,0.5xshadows,1cascade via++−): Smooth30+ FPSwithout overclocking. - Recommended Light OC for Stable Locked 30 FPS (Default 720p):
CPU 1428–1581 MHz/GPU 460.8–537.6 MHz/RAM 1600 MHz(optionalframe_cap = "30"for flat33.3 mspacing). Overclocking CPU to1428 MHzis 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.0xShadows 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 to1428 MHzis 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
- SHA-256:
Sleeping_Dogs-nx.nro(100,302,976 B/95.66 MiB)- SHA-256:
2311af11b60275e2bbc0250be6da0d53f3a01e19298148270296186b3437eb58 - MD5:
9d525141704f4001f906370f1cae558a
- SHA-256:
Sleeping_Dogs-nx.toml(2,945 B)- SHA-256:
662fb9b6bc9a83c5fae220a4a2e808e5a6a7824a424c5b800ce73dc3c12ea726 - MD5:
c6b712adf080d5cbbc3560c6c1d04b31
- SHA-256:
deko3d_glsl.bin(35,399,912 B/33.76 MiB,19,423shaders — unchanged)- SHA-256:
6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25 - MD5:
ef16e7d1a849759f98f231a46219a554
- SHA-256:
deko3d_shaders.bin(38,737,540 B/36.94 MiB,7,817DKSH variants — unchanged)- SHA-256:
8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9 - MD5:
243ee826bf58acfce77eba2a8c9ad2a3
- SHA-256:
deko3d_shaders.bin.idx(125,152 B/0.12 MiB— unchanged)- SHA-256:
23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe - MD5:
7c363641e32e4e016fa7a3ca6d3e93d2
- SHA-256:
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
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_rheap corruption during initialization): Resolved a use-after-free inSdStartupDialog::DrawStartupwhere the embedded splash texture (startup_tex_) was freed on the transition frame beforeOverlayDrawerfinished 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_mapsymlink table inVirtualFileSystemwith ordered LIFO symlink resolution and added target-scopedUnregisterSymbolicLink(path, target)+ device-scoped handle cleanup (CloseOpenedFilesOnDevice). When Sleeping Dogs opens and closes its temporary"GAME:"probe mount forHK 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 onlysdmc:/switch/Sleeping_Dogs-nx/Sleeping_Dogs-nx.nrofromsleeping-dogs-nx-v1.0.1.zip(config and shader cache files are unchanged). - Fresh Install:
- Extract
sleeping-dogs-nx-v1.0.1.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - Launch via Title Override (hold R launching any game) or a 39-bit address space forwarder (Album applet mode does not have enough RAM).
- Extract
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.67xshadows, heavy post-FX off):~29.9 FPSaverage (26–33 FPSsteady open-world play; brief dips to~22–25 FPSduring dense streaming;~18.6 msrender thread,~25.2 msGPU). - 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.5xshadows,1cascade via++−): Smooth~30 FPSwithout overclocking. - Recommended Light OC for Stable Locked 30 FPS (Default 720p):
CPU 1428–1581 MHz/GPU 460.8–537.6 MHz/RAM 1600 MHz(optionalframe_cap = "30"for flat33.3 mspacing). Overclocking CPU to1428 MHzis recommended for a smooth experience. - Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades /
1.0xShadows 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 to1428 MHzis 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
- SHA-256:
Sleeping_Dogs-nx.nro(99,356,800 B/94.75 MiB)- SHA-256:
749ea90b4b6bd79896bc5ff28b3cca23c92b4050a0b0546e1bf53c30960a5845 - MD5:
4be5634603fe4087522b7999363d75af
- SHA-256:
Sleeping_Dogs-nx.toml(2,774 B)- SHA-256:
a6a86f514ad4d26043e03b17cbce0729474cfde727561a9d1ba3abb3e2456887 - MD5:
3be8222681970f9efd0bf48843c30220
- SHA-256:
deko3d_glsl.bin(35,399,912 B/33.76 MiB,19,423shaders)- SHA-256:
6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25 - MD5:
ef16e7d1a849759f98f231a46219a554
- SHA-256:
deko3d_shaders.bin(38,737,540 B/36.94 MiB,7,817DKSH variants)- SHA-256:
8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9 - MD5:
243ee826bf58acfce77eba2a8c9ad2a3
- SHA-256:
deko3d_shaders.bin.idx(125,152 B/0.12 MiB)- SHA-256:
23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe - MD5:
7c363641e32e4e016fa7a3ca6d3e93d2
- SHA-256:
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
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 bothDLC.xmlandDLC2.xmlexpansion packs (including Nightmare in North Point, The Year of the Snake, The Zodiac Tournament, and The Wheels of Fury) as well asPATCH1.BIG/PATCH1.BIXfixes. - 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, XDKmemcpy/memset/exp), paired with Deko3DRG11B10HDR, shadow depth-strip handover,tex2DbiasLOD fixes, pooled render targets (sasrt_dedicated_targets = false), andBUG-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.pngsplash for 3 seconds on launch; if raw Title Update (update/) or DLC (dlc/) packages are present, launches theinstaller.jpgprogress-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.67xshadows, heavy post-FX off):~29.9 FPSaverage (26–33 FPSsteady open-world play; brief dips to~22–25 FPSduring dense streaming;~18.6 msrender thread,~25.2 msGPU). - 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.5xshadows,1cascade via++−): Smooth~30 FPSwithout overclocking. - Recommended Light OC for Stable Locked 30 FPS (Default 720p):
CPU 1428–1581 MHz/GPU 460.8–537.6 MHz/RAM 1600 MHz(optionalframe_cap = "30"for flat33.3 mspacing). Overclocking CPU to1428 MHzis recommended for a smooth experience. - Recommended OC for Stable 30 FPS at Full Stock Xbox 360 720p Quality (SSAO / Planar Reflections / 3 Cascades /
1.0xShadows 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 to1428 MHzis recommended for smoother play. - Environment Shadows: Environment shadows are currently missing and will be fixed in a future update.
Installation
- Extract
sleeping-dogs-nx-v1.0.0.ziptosdmc:/(creatingsdmc:/switch/Sleeping_Dogs-nx/). - Copy your unpacked Xbox 360 base game files (
default.xex0.0.0.12+ game data) intosdmc:/switch/Sleeping_Dogs-nx/game/. - Copy Xbox 360 Title Update 1 (
tu0000000c_00000000) intosdmc:/switch/Sleeping_Dogs-nx/update/. - (Optional) Copy any Xbox 360 DLC packages into
sdmc:/switch/Sleeping_Dogs-nx/dlc/. - 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
- SHA-256:
Sleeping_Dogs-nx.nro(99,356,800 B/94.75 MiB)- SHA-256:
c5b81ce27112cdef1f82bf05fb21260c9f87b9084c8fa0bf036407054426592c - MD5:
09f0fb3031c1d5b89346e2a1d5484866
- SHA-256:
Sleeping_Dogs-nx.toml(2,774 B)- SHA-256:
a6a86f514ad4d26043e03b17cbce0729474cfde727561a9d1ba3abb3e2456887 - MD5:
3be8222681970f9efd0bf48843c30220
- SHA-256:
deko3d_glsl.bin(35,399,912 B/33.76 MiB,19,423shaders)- SHA-256:
6984a341c93ecab1f4568569a93b945368e00c398e663007a0c70df1efbc7b25 - MD5:
ef16e7d1a849759f98f231a46219a554
- SHA-256:
deko3d_shaders.bin(38,737,540 B/36.94 MiB,7,817DKSH variants)- SHA-256:
8d7a988f4e7b4cc0fe722d8d6469c1cb2c6367ef96ac26692bbf461bce7642c9 - MD5:
243ee826bf58acfce77eba2a8c9ad2a3
- SHA-256:
deko3d_shaders.bin.idx(125,152 B/0.12 MiB)- SHA-256:
23a9e35f33ba22480c871f13d05b0b4bc04cec6cfe156a0d1c4510c76dfe2ebe - MD5:
7c363641e32e4e016fa7a3ca6d3e93d2
- SHA-256:
See the README for exact checksums of the tested Xbox 360 default.xex, Title Update tu0000000c_00000000, and all 26 DLC packages.