Legit DLC Unlocker for Steamworks
Legit DLC ownership emulation for Steamworks.
SmokeAPI is a tool for Steamworks DLC ownership emulation in games that are legitimately owned in Steam. It attempts to fool games that use Steamworks SDK (Steamworks) into thinking that you own the game's DLCs. However, SmokeAPI does not modify the rest of the Steamworks, hence features like multiplayer, achievements, and so on remain fully functional.
Only games that use Steamworks SDK for the DLC ownership verification are supported.
Hence, if a game's installation directory does not contain any steam_api.dll or steam_api64.dll files then it's definitely not supported.
Even if a game uses Steamworks DLL, it's not guaranteed to be supported because each game might implement additional custom verification checks.
Therefore, you have to first research the game's topic, to see if it supports unlocking.
Additionally, there are several points to bear in mind when it comes to unlocking DLCs with SmokeAPI:
[!WARNING] Please proceed with usage at your own risk. Usage of this unlocker entails breaking one or more terms of service, which might result in a permanent loss of your account.
To use SmokeAPI, you need to install it into the game folder following the instructions below. Once installed, SmokeAPI is automatically loaded by a game every time you launch the game. SmokeAPI supports 2 installation modes: Hook mode and Proxy mode.
My advice is to try installing the unlocker in hook mode first. If it doesn't work, try installing it in proxy mode instead. If that didn't work, refer to the Troubleshooting section below.
[!NOTE] To determine the bitness of a game you can open Task Manager, navigate to Details tab, right-click on the column headers, click Select columns, tick checkbox next to Platform and click OK. This will allow you to see a game's bitness in the Details tab while a game is running.
Hook mode itself has two sub-modes: Self-Hook and Hook with injector.
In self-hook mode SmokeAPI is injected automatically without the help of third-party injectors. It works best when a game doesn't have any protections against DLL injection. The main advantage of this mode is its minimal setup, which adds only 1 new DLL to the game folder.
smoke_api32.dll or smoke_api64.dll, depending on a game's bitness.version.dll or winhttp.dll or winmm.dll.version.dll or winhttp.dll or winmm.dll next to the game's .exe file.If a game doesn't load version.dll or winhttp.dll or winmm.dll, you can use an alternative injector to load
SmokeAPI into the game process.
One such injector is [Koaloader], which supports different DLLs that a typical game might load.
For example, assuming that the game loads d3d11.dll:
d3d11.dll from d3d11-32 or d3d11-64, depending on a game's bitness.d3d11.dll next to the game's .exe file.smoke_api32.dll or smoke_api64.dll, depending on a game's bitness.smoke_api32.dll or smoke_api64.dll next to the game's .exe file.There are games which have extra protections that break hook mode. In such cases, it might be worth trying Special K, which can inject SmokeAPI as a custom plugin.
steam_api.dll or steam_api64.dll file in game directory, and rename it to steam_api_o.dll or steam_api64_o.dll.smoke_api32.dll or smoke_api64.dll, depending on a game's bitness.steam_api.dll or steam_api64.dll, depending on a game's bitness.steam_api_o.dll or steam_api64_o.dll file.[!NOTE] Linux support in SmokeAPI is highly experimental/unstable and has known issues. If none of the methods below work for you, then consider running a Windows version of a game via Proton compatibility layer and follow the instructions in the Windows section.
Linux builds of SmokeAPI depend on several libraries. These libraries are usually included in the Steam Linux Runtime 3.0 (sniper), so nothing is required to be installed on the system. But when launching a game directly via its executable (such as in case of hook mode) your system needs to have the following required libraries installed.
The following list features links in Arch Linux repositories, but if you are using a different distribution, you should use the equivalent package for your distro.
Required libraries:
Optional libraries:
Just like on Windows, SmokeAPI features 32 and 64-bit Linux builds.
In release archive they are named as libsmoke_api32.so or libsmoke_api64.so respectively.
However, unlike Windows, it is recommended to use proxy mode, rather than hook mode.
This is because the current hook mode installation method has to directly launch game
executable. However, by default Steam doesn't do that, instead it launches certain wrappers
that setup game environment with optimal parameters. Hence, launching a game without those
wrappers might cause issues in theory. However, in practice real tests show that hook mode has higher
chance of success compared to proxy mode. So, at the end of the day, try both modes to see which one works
best for you.
Same as on Windows:
libsteam_api.so to libsteam_api_o.solibsmoke_api32.so or libsmoke_api64.so to the same directory, renaming it to libsteam_api.so.Linux doesn't have the same easily exploitable library injection mechanism that Windows has.
However, it is possible to force any Linux executable to load any library by using the
LD_PRELOAD environment variable. In fact, Steam itself already uses that to inject its overlay,
hence we can use it as well. But we have to include that overlay library as well when specifying
LD_PRELOAD, otherwise the game will be launched with SmokeAPI, but without Steam overlay.
For example:
libsmoke_api32.so or libsmoke_api64.so in the root of game's installation directory.| Bitness | Launch Options |
|---|---|
| 32-bit | LD_PRELOAD="./libsmoke_api32.so $HOME/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so" ./<GameExe32> ; exit ; %command% |
| 64-bit | LD_PRELOAD="./libsmoke_api64.so $HOME/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so" ./<GameExe64> ; exit ; %command% |
Where <GameExe32> and <GameExe64> correspond to the actual filename of the game executable. For example:
TheEscapists2.x86 (32-bit)TheEscapists2.x86_64 (64-bit)_linux/darkest.bin.x86 (32-bit)_linux/darkest.bin.x86_64 (64-bit)eurotrucks2 (64-bit)binaries/victoria3 (64-bit)And so on. Notice that Linux executables do not have .exe extension like on Windows, so make sure to copy the entire
file name as it is. Naturally, the exact options might change depending on where files are located on your filesystem
and other environment variables you might have specified previously.
If you have other environment variables, and you don't know how to correctly combine them,
then please make extensive use of search engines and LLMs for guidance and examples
before seeking help the official forum topic.
[!NOTE] The `; exit ; %comman
No open issues yet, or sync has not completed.