A CreamAPI clone for Linux.
Since 20PercentRendered has archived the repo, I have decided to fork and support it as far as I can.
This should work for any native Linux Steam title that doesn't block LD_PRELOAD. It does not work with Proton or Wine - use SmokeAPI or other alternatives made specifically for Windows instead.
The following games have been tested and confirmed to work:
- Stellaris
- Hearts Of Iron IV
- Europa Universalis IV
- Crusader Kings II
- Crusader Kings III
- PAYDAY 2
The easiest way of installing is using Novattz's Python script: https://github.com/Novattz/creamlinux-installer It automatically downloads and sets up creamlinux for Steam games that you choose, as well as fetching all DLC IDs for it. Keep in mind that you will still need the actual, up-to-date DLC files in the game. The install script and creamlinux do not automatically download any game content. You will have to run it again if new DLCs are released for a game.
If the script does not work for you, you can install creamlinux
manually. Beware that you will have to manually update cream_api.ini
to contain the DLC IDs for the games that you choose.
- You will need the actual, up-to-date DLC files in the game. Creamlinux does not auto-download anything
- Download the latest release of Creamlinux
- Unzip it and copy the files to the game's directory
- Set the game's steam launch params to
sh ./cream.sh %command%
- Launch the game and have fun!
The list of "supported" DLCs is stored in cream_api.ini
. If you want to test creamlinux on a new game or a new DLC has just come out, you can add more entries here manually.
If that doesn't work, please check the Troubleshooting section below.
- Ensure you have all build dependencies installed:
- On Ubuntu:
build-essential
gcc-multilib
g++-multilib
cmake
git
- On Arch:
base-devel
multilib-devel
cmake
git
- Clone the project:
git clone https://github.com/anticitizn/creamlinux
- Build the project:
sh ./build.sh
- Copy
output
folder contents to the game folder - Set the game's steam launch params to
sh ./cream.sh %command%
Alternatively, if you have Docker installed, you can just run docker compose up
This is normal. The DLCs should still work.
Have you made sure to download the latest version of the DLC files? Sometimes unrelated patches or updates to the game will modify some DLC files, and creamlinux is currently somewhat sensitive to outdated files.
Are you sure that the creamlinux files are at the game's root directory and not in a subfolder?
Try setting the executable flag of the cream.sh
script (it should be set already, but just in case):
chmod +x cream.sh
Creamlinux is specifically made for native Linux games. If you are using a compatibility layer, use alternatives made specifically for Windows (e.g. SmokeAPI, regular CreamAPI or whatever).
Please collect a log using the instructions below as well as an overview of the game's directory using ls -lh; ls -lh */
, then post an issue describing your situation here.
If using a KDE environment, set your game launch options to this:
konsole --hold -e sh ./cream.sh %command%
Or if you are using Gnome environment, you can set your launch options to this:
gnome-terminal -- sh -c "./cream.sh %command%; exec bash"
If using neither, install konsole
and follow the KDE step.
Then launch the game (skip any launchers like the Paradox launcher if possible, they interfere with the logging). Wait for the game to load if applicable, close it, then copy and paste the contents of the terminal.
If you want to load cream_api.ini
from a specific path, specify the path with CREAM_CONFIG_PATH
in the launch options.
The many contributors who submitted bugfixes, tested games and updated the list of DLC IDs :)
Novattz for creamlinux-installer
Rosentti for originally creating and maintaining this project
Valve for steamworks
goddeysfreya for hookey