Added README.txt to release zip

This commit is contained in:
acidicoala
2025-09-01 00:16:22 +05:00
parent c376b793c1
commit 8ec9b4e374
3 changed files with 9 additions and 0 deletions

View File

@@ -15,3 +15,4 @@ jobs:
zip -j $ZIP_NAME
artifacts/*/*.dll
res/SmokeAPI.config.json
res/README.txt

3
res/README.txt Normal file
View File

@@ -0,0 +1,3 @@
Project page: https://github.com/acidicoala/SmokeAPI?tab=readme-ov-file#smokeapi
Forum topic: https://cs.rin.ru/forum/viewtopic.php?p=2597932#p2597932
DLC Database: https://steamdb.info/

View File

@@ -54,6 +54,11 @@ namespace {
if(kb::str::eq(library_name, STEAMCLIENT_DLL)) {
KB_HOOK_DETOUR_MODULE(CreateInterface, module_handle);
} else if(kb::str::eq(library_name, STEAMAPI_DLL)) {
// TODO: SteamAPI_Init will be too small to hook on x64.
// Ideally, we should inspect the address it jumps to and hook that instead.
// Moreover, SteamAPI_InitSafe calls the same address,
// so it could be used as a sanity check
KB_HOOK_DETOUR_MODULE(SteamAPI_Init, module_handle);
KB_HOOK_DETOUR_MODULE(SteamAPI_InitSafe, module_handle);
KB_HOOK_DETOUR_MODULE(SteamAPI_InitFlat, module_handle);