From 49efd831bfd01ef900bda47ecfb06521122fae3a Mon Sep 17 00:00:00 2001 From: acidicoala <67734819+acidicoala@users.noreply.github.com> Date: Sat, 4 Oct 2025 00:42:13 +0500 Subject: [PATCH] Implemented get_section using elfio --- KoalaBox | 2 +- README.md | 8 ++++---- src/smoke_api/smoke_api.cpp | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/KoalaBox b/KoalaBox index f1a95a8..a87fda4 160000 --- a/KoalaBox +++ b/KoalaBox @@ -1 +1 @@ -Subproject commit f1a95a80a68d36f599aa32d77aefaaa2506648be +Subproject commit a87fda4b3b0d161164c9653894127010b7d3d4b7 diff --git a/README.md b/README.md index 596c529..0355758 100644 --- a/README.md +++ b/README.md @@ -151,10 +151,10 @@ For example: 1. Extract and paste the `libsmoke_api32.so` or `libsmoke_api64.so` next to the game's executable. 2. In Steam _Library_ open game's _Properties_, switch to the _General_ tab, and set the following _LAUNCH OPTIONS_: -| Bitness | Launch Options | -|---------|----------------------------------------------------------| -| 32-bit | `LD_PRELOAD=./libsmoke_api32.so ./GameExecutable.x86` | -| 64-bit | `LD_PRELOAD=./libsmoke_api64.so ./GameExecutable.x86_64` | +| Bitness | Launch Options | +|---------|--------------------------------------------------------------------| +| 32-bit | `LD_PRELOAD=./libsmoke_api32.so ./GameExecutable.x86 ` | +| 64-bit | `LD_PRELOAD=./libsmoke_api64.so ./GameExecutable.x86_64 %command%` | Naturally, the exact options might change depending on how files are located on your filesystem or depending on other environment variables you might have configured. diff --git a/src/smoke_api/smoke_api.cpp b/src/smoke_api/smoke_api.cpp index 0ffc0cd..1543697 100644 --- a/src/smoke_api/smoke_api.cpp +++ b/src/smoke_api/smoke_api.cpp @@ -73,6 +73,8 @@ namespace { versions.insert(i->str()); } + LOG_DEBUG("Found {} steamclient version(s) in read-only section: {}", versions.size(), versions); + return versions; }