Skip to content
@SDmodding

Sleeping Dogs Modding

Info

This GitHub organization is based around modding - Sleeping Dogs: Definitive Edition.

Tip

  • Compatibility game executable: sdhdship.exe (Steam)
  • Non-Steam Patch (GOG Version): SteamAPI Offline
  • Debug Symbols (PDB): Download
  • Debug/Fast Boot game executable: sdhdship_debug.exe
    • This is modification of the original game executable.
    • It has separate folder for game saves/settings called "dbg".
    • It will instantly boot the game instead going to main menu, which allows easier modding testing, etc...
    • To fix sound you will need to open pause menu once, controller might not work (requires alt tabbing out of the game once)

Development Status

Important

Public development of the SDK and Theory Engine is currently paused.

Existing work will remain available, but future development and new projects, particularly projects built around or dependent on the SDK and Theory Engine, will generally remain private.

This decision is largely a result of how the work has been used and maintained over time. A significant amount of the work in this organization has been created and maintained primarily by a single person, while receiving relatively little contribution or attribution in return.

I've also become increasingly uncomfortable with the way AI is being used within the modding community. I don't have an issue with AI being used as a tool, but one of the original purposes of the SDK was to help people understand how the underlying systems work, learn through reverse engineering, and build things themselves.

When that work is instead treated as something to be consumed or reproduced without understanding, contribution, or proper credit, it takes away much of the motivation behind maintaining it publicly.

For that reason, I'm stepping back from public development for the time being. The existing repositories and work are still available, but I don't intend to continue making future foundational work or projects publicly available in the same way.

Modding

If you're interested in modding the game yourself, we provide enough repositories at this organization that will give you enough information to do mods by yourself.

  • Modifying game files:
  • Writing own plugins/mods:
    • You will need to have knowledge of C/C++ and take some time to understand how the game engine works.
    • We provide repository that is essentially SDK "dev-kit" for the game itself.
    • You will essentially need to use reverse-engineering tool like Ghidra or IDA for finding desired hooks to run/add code to the game.
  • Writing own tools:
    • If you're trying to write own tool, we recommend to use TheoryEngine, which is essentially re-implementation of the game engine.
    • The ModelScriber is based on it and could be useful to understand how the file structure even works in general.

Pinned Loading

  1. SDK SDK Public archive

    SDK (dev-kit plugin) for Sleeping Dogs: Definitive Edition

    C++ 23 5

  2. SDK-Playground SDK-Playground Public archive

    A collection of example projects showcasing and testing the SDK

    C++

  3. TheoryEngine TheoryEngine Public archive

    A reverse-engineered reimplementation of Sleeping Dogs: Definitive Edition (Engine)

    C++ 27 2

  4. TheoryEngine.Docs TheoryEngine.Docs Public archive

    Documentation focused on Sleeping Dogs: Definitive Edition, primarily targets the Theory Engine and SDK (dev-kit plugin).

    MDX 1

  5. Files Files Public

    This repo is used to store some data from game original/decrypted/etc...

    5

  6. FileRedirector FileRedirector Public

    This will redirect all files that game tries to load from .big file to actual file that's stored under FileRedirector folder.

    C++ 9

Repositories

Showing 10 of 35 repositories
  • .github Public
    SDmodding/.github's past year of commit activity
    1 0 0 0 Updated Sep 19, 2026
  • TheoryEngine Public archive

    A reverse-engineered reimplementation of Sleeping Dogs: Definitive Edition (Engine)

    SDmodding/TheoryEngine's past year of commit activity
    C++ 27 2 0 0 Updated Sep 17, 2026
  • SDK Public archive

    SDK (dev-kit plugin) for Sleeping Dogs: Definitive Edition

    SDmodding/SDK's past year of commit activity
    C++ 23 5 0 0 Updated Sep 17, 2026
  • LotusPatch Public

    Unofficial patch for Sleeping Dogs: Definitive Edition

    SDmodding/LotusPatch's past year of commit activity
    C++ 45 0 4 0 Updated Aug 27, 2026
  • SDK-Playground Public archive

    A collection of example projects showcasing and testing the SDK

    SDmodding/SDK-Playground's past year of commit activity
    C++ 0 0 0 0 Updated Aug 25, 2026
  • PermToFBX Public

    A simple CLI tool that exports models from perm.bin to FBX format.

    SDmodding/PermToFBX's past year of commit activity
    C++ 0 0 1 0 Updated Aug 19, 2026
  • ShaderBin Public

    A simple CLI tool for working with pre-existing .temp.bin shader files.

    SDmodding/ShaderBin's past year of commit activity
    C++ 0 0 0 0 Updated Aug 17, 2026
  • BigFileSystem Public
    SDmodding/BigFileSystem's past year of commit activity
    C++ 0 0 0 0 Updated Aug 10, 2026
  • x360artsandbox_test Public

    Just test for loading Art Sandbox from X360 Debug Build

    SDmodding/x360artsandbox_test's past year of commit activity
    C++ 0 0 0 0 Updated Mar 13, 2026
  • UIScreenConv Public

    A command-line tool that converts SWF and GFX file into UIScreen format, and vice versa.

    SDmodding/UIScreenConv's past year of commit activity
    C++ 1 1 0 0 Updated Dec 12, 2025

Most used topics

Loading…