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)

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

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

    C++ 20 3

  2. Files Files Public

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

    4

  3. TheoryEngine TheoryEngine Public

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

    C++ 16

  4. TheoryEngine.Docs TheoryEngine.Docs Public

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

    MDX 1

  5. PermTool PermTool Public

    GUI Tool for exploring (Perm/Bin) files.

    C++ 4

  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++ 5

Repositories

Showing 10 of 32 repositories
  • UIScreenConv Public
    SDmodding/UIScreenConv’s past year of commit activity
    C++ 0 0 0 0 Updated Dec 12, 2025
  • .github Public
    SDmodding/.github’s past year of commit activity
    1 0 0 0 Updated Dec 11, 2025
  • ModelExporter Public archive

    Primitive model exporter

    SDmodding/ModelExporter’s past year of commit activity
    C++ 3 1 1 0 Updated Dec 11, 2025
  • 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 0 0 Updated Dec 11, 2025
  • TheoryEngine Public

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

    SDmodding/TheoryEngine’s past year of commit activity
    C++ 16 0 0 0 Updated Dec 11, 2025
  • SDK Public

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

    SDmodding/SDK’s past year of commit activity
    C++ 20 3 0 0 Updated Dec 8, 2025
  • LotusPatch Public

    Unofficial patch for Sleeping Dogs: Definitive Edition

    SDmodding/LotusPatch’s past year of commit activity
    C++ 23 0 3 0 Updated May 4, 2025
  • TCDatabaseConv Public

    A command-line tool that converts True Crowd DataBase to XML and can convert it back to the original format.

    SDmodding/TCDatabaseConv’s past year of commit activity
    C++ 2 0 0 0 Updated Apr 23, 2025
  • SDmodding/GlobalProperties2XML’s past year of commit activity
    C++ 0 0 0 0 Updated Apr 22, 2025
  • QSymbolsDictionary Public

    A collection of QSymbols, with a binary symbol table and a TXT file for building the Symbol Table Resource.

    SDmodding/QSymbolsDictionary’s past year of commit activity
    0 0 0 0 Updated Apr 21, 2025

Most used topics

Loading…