TheoryEngine
Archived reverse-engineered reimplementation of the Sleeping Dogs: Definitive Edition engine, guided by the debug symbols that shipped with the game.
Rewrite Not stated archived
About TheoryEngine
TheoryEngine is a reverse-engineered reimplementation of the engine behind Sleeping Dogs: Definitive Edition. The work was guided by the debug symbols that were shipped with the Steam release, so classes and functions use the original names and are placed in the files the symbols point to. The code is header-only, which the authors chose so it can be dropped into other projects, and the stated aim is a working codebase that resembles the original engine for educational, documentation and modding use.
It is not a playable port or a full game. It is a reference library for people who mod or study Sleeping Dogs, and it is meant to be read and reused alongside the Definitive Edition rather than run on its own. The repository carries no licence, because the authors say parts of it may be identical or close to the original code; they ask that derivative work stays open source with credit.
The repository is now archived and read-only. The project says public development has stopped and that further work is being done privately, with the existing source left up for reference. The final public commits, in September 2026, added small file utility functions such as file renaming and file time lookups and tidied the string code. There were never any releases, and the repository has no open issues.
No other Sleeping Dogs project is currently listed on this site.
Facts
- Original
- Sleeping Dogs: Definitive Edition engine (2014)
- Platform
- Windows
- Method
- Rewrite
- Provenance
- Not stated what this means
- Status
- archived
- Licence
- none
- Team
- SDmodding
- Started
- 2024-10
- Runs on
- Windows
- Needs the original
- Yes: you supply your own legally obtained copy
How to get it legally
This project ships code only. Build or download it from the official repository, then supply data from a copy of Sleeping Dogs: Definitive Edition engine you own. Recomp never links to ROMs, discs or game data.
This project was rebuilt by SDmodding. Facts last checked 2026-10-14. Suggest a correction
Sources
Related
All games →1oom
Master of Orion (1993)
Engine recreation of the original DOS Master of Orion that needs the original files; this fork is no longer in development, with the vanilla branch carrying the latest engine.
3D Pinball Space Cadet Disassembly
3D Pinball for Windows: Space Cadet
Archived disassembly of the Windows pinball game; the author points to the SpaceCadetPinball project for a working version.
Abyss Engine
Diablo II
Clean-room reimplementation of the Diablo II engine written in C, aiming to recreate the original game. Last updated April 2024.
Age of Empires Free Software Remake
Age of Empires and The Rise of Rome
C++ reimplementation of Age of Empires and its Rise of Rome expansion on the Genie engine design, written as a non-profit hobby project.
Arcanum Unity Reimplementation
Arcanum: Of Steamworks and Magick Obscura
Fan-made reimplementation of the Arcanum engine, built from scratch in Unity 6 with C# and a 2D URP pipeline.
AutoZone High Stakes
Need for Speed: High Stakes (PC 4.50)
Open implementation of the PC version 4.50 of Need for Speed: High Stakes, reverse engineered from the Watcom-built binaries, aiming at a fully playable game and later 64-bit and new renderers.