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

Top languages

Loading…

Most used topics

Loading…