DLC unlocker for Steam on Linux
Go to file
Marcuss2 549c68fd56 Added EU4 example
Used this code to get EU4 DLC to work
2021-02-14 13:32:29 +01:00
steam136 Initial support for SteamApps v7 2020-11-03 21:43:08 -03:00
steam150 Initial support for SteamApps v7 2020-11-03 21:43:08 -03:00
README.md Update 'README.md' 2021-02-14 13:30:52 +01:00
config.eu4.example.cpp Added EU4 example 2021-02-14 13:32:29 +01:00
config.example.cpp Moved example config to example file. 2020-11-09 17:27:31 -03:00
stellarkey.cpp Export less symbols in the shared library. 2020-11-09 17:55:41 -03:00

README.md

StellarKey

A DLC unlocker for Steam games on Linux. So far it's only been tested on Stellaris. It should work on most games with some minor tweaking.

To configure the DLC to unlock, simply edit config.cpp.

Compile with:

g++ -fPIC -shared stellarkey.cpp -o libstellarkey.so

Run as:

LD_PRELOAD=$(pwd)/libstellarkey.so ~/.local/share/Steam/steamapps/common/Stellaris/stellaris

Or set Steam launch options:

LD_PRELOAD="/path/to/libstellarkey.so:$LD_PRELOAD" %command%

Inspired by hookey and CreamAPI. Thanks to Goldberg Emulator for his reference implementation of the Steam API.

Patches welcome.

Other details

  • You should not expect the Steam client to show the effect of using StellarKey, as it only interacts with the game itself.
  • Some games check for ownership of the game itself, so you should add the base game to the list of DLC.

Confirmed working games

  • Stellaris
  • Sid Meier's Civilization VI
  • Europa Universalis 4

Contributors

  • 1person
  • walnut_dev