Replies: 1 comment
-
|
You're obviously doing something wrong, the SDK has explicitly explained that only a single header is supposed to be included in your cpp file. The SDK is written in way that you don't need to include individual header files since they all depend on other stuff and it would be mess. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! First off, thanks for your work on this SDK it's an awesome resource for modding Sleeping Dogs and I'm glad to see a community project like this. I wanted to point out a few issues I encountered while trying to use it in Visual Studio 2022 to build a DLL mod:
Issues Encountered:
Missing Required Headers
qList.hh, qNode.hh, and SimComponent.hh are all referenced in headers like healthcomponent.hh but are not included anywhere in the SDK.
These are essential for basic class layout and compilation.
I had to manually create dummy versions just to build.
HealthComponent Depends on Undefined Types
HealthRegenerateTask is used but never defined or forward-declared.
Could use a stub or comment to clarify what's expected there.
No sln or working .vcxproj for modding setup
A basic .sln and project setup example using the SDK would help people get started faster.
Suggestions:
Add minimal placeholder headers for qList, qNode, and SimComponent in the root of the SDK or inside a /dummy/ or /core/ folder.
Forward-declare or stub out HealthRegenerateTask and similar types that appear in .hh files but are not included.
Provide a working Visual Studio template or minimal example DLL project that compiles using only the SDK (even without real game memory access).
Consider clarifying which headers are reverse-engineered stubs vs. usable ones.
Environment:
Windows 10
Visual Studio 2022 Community
Sleeping Dogs Definitive Edition Steam
Again, thank you for maintaining and publishing this SDK it's been super helpful once I worked through these bumps. Happy to help test or contribute cleanup files if needed.
Beta Was this translation helpful? Give feedback.
All reactions