22 Commits
2.0.3 ... 2.2.0

Author SHA1 Message Date
Daniel Neykov
7778ef8b4f Add creamlinux-installer to README 2024-06-09 17:42:52 +02:00
Daniel Neykov
fbc2fd0f2a Merge pull request #33 from virtualphoton/stellaris_season-08
the machine age and rick-the-cube dlcs
2024-06-09 17:26:22 +02:00
photon_yandex-laptop
c4a3195c21 the machine age and rick-the-cube dlcs 2024-05-07 21:30:49 +03:00
D. Neykov
51ed267190 Update README.md 2024-03-25 11:20:08 +01:00
D. Neykov
faeed2b057 Update issue templates 2024-03-25 11:17:27 +01:00
D. Neykov
e1ccae70a0 Update README.md 2024-03-25 10:46:56 +01:00
D. Neykov
46f39c93a5 Merge pull request #28 from Conron4/master
Update cream_api.ini
2024-03-25 10:41:40 +01:00
Connor A. Hopley
bff5340996 Update cream_api.ini
Added trial of allegiance
2024-03-22 10:53:20 +11:00
D. Neykov
1a02129c2a Merge pull request #26 from Methoko/patch-1
added eu4 king of kings dlc in cream_api.ini
2024-03-21 15:14:34 +01:00
Mia
1ccbc336a7 added eu4 king of kings dlc in cream_api.ini 2024-03-16 21:56:56 +01:00
D. Neykov
86ce4d5ced Merge pull request #23 from MickTheRus/master
Added Stellaris astral planes
2024-02-19 10:23:39 +01:00
MickTheRus
d2ba2d6101 Added Stellaris astral planes 2024-02-08 13:07:53 -07:00
D. Neykov
cdd8130a15 Merge pull request #22 from valokardin/patch-1
Add DLC Hearts of Iron IV: Arms Against Tyranny
2024-02-06 10:49:34 +01:00
valokardin
ab3e598c86 Add DLC Hearts of Iron IV: Arms Against Tyranny 2024-02-05 19:56:49 +02:00
D. Neykov
01f12ceb08 Merge pull request #17 from T00fy/master
Fix for CK3/other games with similar directory structure
2024-01-14 18:32:43 +01:00
Toofy
d016cd7200 Fix for CK3/other games with similar directory structure 2024-01-12 20:26:15 +00:00
D. Neykov
34234f78b9 Merge pull request #14 from joakimgaming/master
Added EU4 domination dlc and some other missing EU4 dlcs
2023-10-14 11:21:20 +02:00
joakim
b7ce15dae8 Added EU4 domination dlc and some other missing EU4 dlcs 2023-10-13 13:18:16 +00:00
D. Neykov
032587b2a0 Add CK3 to list of tested games 2023-06-07 12:02:36 +02:00
D. Neykov
d115384540 Update README.md 2023-06-05 22:39:42 +02:00
D. Neykov
367abb2579 Update script to automatically find libsteam_api.so 2023-06-05 22:29:45 +02:00
D. Neykov
9264af0bb2 Update readme
Add executable flag troubleshooting tip
2023-05-17 22:16:06 +02:00
5 changed files with 115 additions and 23 deletions

View File

@@ -0,0 +1,25 @@
---
name: Game not working
about: Report a game not working with creamlinux
title: GAME NAME not working
labels: bug
assignees: anticitizn
---
**Game Name**:
**Issue**:
- [ ] Game does not launch
- [ ] Game launches but DLCs are not enabled
**Logs**:
Please provide the complete logs according to instructions in the [readme](https://github.com/anticitizn/creamlinux/blob/master/README.md):
**Game Directory*:
Please provide an overview of your game directory using `ls -lh; ls -lh */`:
**Additional Information**:

4
.gitignore vendored
View File

@@ -2,4 +2,6 @@ build/
.cache
.vscode
lib/
output
output
.idea
cmake-build-debug/

View File

@@ -10,9 +10,16 @@ This *should* work for any linux native steam title that doesn't block LD_PRELOA
- Hearts Of Iron IV
- Europa Universalis IV
- Crusader Kings II
- Crusader Kings III
- PAYDAY 2
## Usage
## Installation
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. Creamlinux does **not** auto-download anything. 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.
## Manual Installation
0. You will need the actual, **up-to-date** DLC files in the game. Creamlinux does **not** auto-download anything
1. Download the [latest](https://github.com/anticitizn/creamlinux/releases/latest/download/creamlinux.zip) release of Creamlinux
2. Unzip it and copy the files to the game's directory
@@ -52,22 +59,36 @@ 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.
## Game not starting after enabling creamlinux
Have you made sure that you actually put the creamlinux files in the game's directory? (I sometimes forget to move them out of the `creamlinux` folder into the game directory proper)
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
```
## Nothing helped!
Please collect a log using the instructions below, then post an issue describing your situation [here](https://github.com/anticitizn/creamlinux/issues/new).
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](https://github.com/anticitizn/creamlinux/issues/new).
## Gathering logs
Install `konsole` and set your game launch options to this:
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.
# Advanced
If you want to load `cream_api.ini` from a specific path, specify the path with `CREAM_CONFIG_PATH` in the launch options.
## Credits
[Novattz](https://github.com/Novattz) for [creamlinux-installer](https://github.com/Novattz/creamlinux-installer)
[Rosentti](https://github.com/Rosentti) for originally creating and maintaining this project
[pulzed](https://github.com/pulzed) for [mINI](https://github.com/pulzed/mINI)(ini.h)
[Valve](https://www.valvesoftware.com/) for [steamworks](https://partner.steamgames.com/)
@@ -75,5 +96,3 @@ If you want to load `cream_api.ini` from a specific path, specify the path with
[gabime](https://github.com/gabime) for [spdlog](https://github.com/gabime/spdlog)
[goddeysfreya](https://github.com/goddessfreya) for [hookey](https://github.com/goddessfreya/hookey)
[20PercentRendered](https://github.com/20PercentRendered) for [creamlinux](https://github.com/20PercentRendered/creamlinux)

View File

@@ -1,10 +1,28 @@
#!/bin/bash
cp "$PWD/lib32Creamlinux.so" /tmp/lib32Creamlinux.so
cp "$PWD/lib64Creamlinux.so" /tmp/lib64Creamlinux.so
cp "$PWD/libsteam_api.so" /tmp/libsteam_api.so
copy_file() {
cp "$1" "$2" || { echo "Error: Failed to copy $1 to $2"; exit 1; }
}
LIBSTEAM_API_DIR=$(find . -name "libsteam_api.so" -printf "%h\n" | head -n 1)
[ -z "$LIBSTEAM_API_DIR" ] && { echo "Error: libsteam_api.so not found."; exit 1; }
if [ ! -z "$CREAM_CONFIG_PATH" ]; then
if [ ! -f "$CREAM_CONFIG_PATH/cream_api.ini" ]; then
echo "Error: cream_api.ini not found in CREAM_CONFIG_PATH."; exit 1;
fi
else
if [ ! -f "$PWD/cream_api.ini" ]; then
echo "Error: cream_api.ini not found in the current working directory."; exit 1;
fi
fi
if [ -z "$CREAM_CONFIG_PATH" ] && [ "$LIBSTEAM_API_DIR" != "$PWD" ]; then
export CREAM_CONFIG_PATH="$PWD/cream_api.ini"
fi
copy_file "$PWD/lib32Creamlinux.so" /tmp/lib32Creamlinux.so
copy_file "$PWD/lib64Creamlinux.so" /tmp/lib64Creamlinux.so
copy_file "$LIBSTEAM_API_DIR/libsteam_api.so" /tmp/libsteam_api.so
LD_PRELOAD="$LD_PRELOAD /tmp/lib64Creamlinux.so /tmp/lib32Creamlinux.so /tmp/libsteam_api.so" "$@"
EXITCODE=$?
rm /tmp/lib32Creamlinux.so
rm /tmp/lib64Creamlinux.so
rm /tmp/libsteam_api.so
rm -f /tmp/lib32Creamlinux.so /tmp/lib64Creamlinux.so /tmp/libsteam_api.so
exit $EXITCODE

View File

@@ -49,6 +49,9 @@ disable_steamapps_issubscribedapp = false
1785140 = Hearts of Iron IV: No Step Back - "Katyusha" (Pre-Order Bonus)
1880650 = Hearts of Iron IV: By Blood Alone
1880660 = Hearts of Iron IV: By Blood Alone (Pre-Order Bonus)
2183930 = Hearts of Iron IV: Arms Against Tyranny
2695150 = Hearts of Iron IV: Trial of Allegiance
2786480 = Hearts of Iron IV: Trial of Allegiance (Pre-Order Bonus)
447680 = Stellaris: Symbols of Domination
447683 = Stellaris: Arachnoid Portrait Pack
447681 = Stellaris: Sign-up Campaign Bonus
@@ -73,6 +76,9 @@ disable_steamapps_issubscribedapp = false
2115770 = Stellaris: Toxoids Species Pack
2277860 = Stellaris: First Contact Story Pack
2380030 = Stellaris: Galactic Paragons
2534090 = Stellaris: Astral Planes
2840100 = Stellaris: The Machine Age
2863180 = Stellaris: Rick The Cube Species Portrait
978950 = Imperator: Rome - Hellenistic World Flavor Pack
1173860 = Imperator: Rome - The Punic Wars Content Pack
1252870 = Imperator: Rome - Magna Graecia Content Pack
@@ -84,6 +90,10 @@ disable_steamapps_issubscribedapp = false
1303182 = Crusader Kings III: Royal Court
1303184 = Crusader Kings III: Fate of Iberia
2114760 = Crusader Kings III: Friends & Foes
2311920 = Crusader Kings III: Tours and Tournaments
2311930 = Crusader Kings III: Elegance of the Empire
2313541 = Crusader Kings III: Wards and Wardens
2313540 = Crusader Kings III: Legacy of Persia
801650 = Surviving Mars - Stellaris Dome Set
801710 = Surviving Mars: Deluxe Edition Upgrade Pack
801690 = Surviving Mars: Mysteries Resupply Pack
@@ -282,48 +292,66 @@ disable_steamapps_issubscribedapp = false
279621 = Europa Universalis IV: Muslim Ships Unit Pack
279622 = Europa Universalis IV: Trade Nations Unit Pack
279623 = Europa Universalis IV: Res Publica
295220 = Europa Universalis IV: Anthology of Alternate History
295221 = Europa Universalis IV: Indian Subcontinent Unit Pack
295222 = Europa Universalis IV: Indian Ships Unit Pack
304590 = Europa Universalis IV: Wealth of Nations E-book
310030 = Europa Universalis IV: Republican Music Pack (Skopje Sessions)
310031 = Europa Universalis IV: Art of War
310032 = Europa Universalis IV: Evangelical Union Unit Pack
310033 = Europa Universalis IV: Catholic League Unit Pack
310034 = Europa Universalis IV: Songs of War Music Pack
327830 = Europa Universalis IV: Guns, Drums and Steel Music Pack
327831 = Europa Universalis IV: Art of War Ebook
338160 = Europa Universalis IV: El Dorado
338161 = Europa Universalis IV: El Dorado Content Pack
338162 = Europa Universalis IV: Guns, Drums and Steel Volume 2
354790 = Europa Universalis IV: Women in History
338163 = Europa Universalis IV: Common Sense
354790 = Europa Universalis IV: Women in History
373150 = Europa Universalis IV: Common Sense Content Pack
373400 = Europa Universalis IV: Sounds from the community - Kairis Soundtrack
373160 = Europa Universalis IV: Common Sense E-Book
373370 = Europa Universalis IV: The Cossacks
373380 = Europa Universalis IV: The Cossacks Content Pack
415680 = Europa Universalis IV: Sabaton Soundtrack
373400 = Europa Universalis IV: Sounds from the community - Kairis Soundtrack
414300 = Europa Universalis IV: Catholic Majors Unit Pack
414301 = Europa Universalis IV: Catholic Majors Unit Pack
539260 = Europa Universalis IV: Evangelical Majors Unit Pack
415680 = Europa Universalis IV: Sabaton Soundtrack
436120 = Europa Universalis IV: Mare Nostrum
436121 = Europa Universalis IV: Mare Nostrum Content Pack
443720 = Europa Universalis IV: Kairis Soundtrack Part II
472030 = Europa Universalis IV: Fredman's Epistles
486570 = Europa Universalis IV: Rights of Man
486571 = Europa Universalis IV: Rights of Man Content Pack
487150 = Europa Universalis IV: Songs of Regency
472030 = Europa Universalis IV: Fredman's Epistles
486970 = Europa Universalis IV: Fredman's Midsummer Epistles
487150 = Europa Universalis IV: Songs of Regency
538020 = Europa Universalis IV: Mandate of Heaven
538021 = Europa Universalis IV: Mandate of Heaven Content Pack
539260 = Europa Universalis IV: Evangelical Majors Unit Pack
617960 = Europa Universalis IV: Ultimate Music Pack
617961 = Europa Universalis IV: Ultimate E-book Pack
617962 = Europa Universalis IV: Early Upgrade Pack
625050 = Europa Universalis IV: Third Rome
642780 = Europa Universalis IV: The Rus Awaken
625170 = Europa Universalis IV: Call-to-Arms Pack
625171 = Europa Universalis IV: Digital Extreme Edition Upgrade Pack
625172 = Europa Universalis IV: Pre-Order Pack
642780 = Europa Universalis IV: The Rus Awakening
721340 = Europa Universalis IV: Cradle of Civilization
721341 = Europa Universalis IV: Cradle of Civilization Content Pack
721341 = Europa Universalis IV: Cradle of Civilization
760070 = Europa Universalis IV: Rule Britannia
775740 = Europa Universalis IV: Rule Britannia Music Pack
768340 = Europa Universalis IV: Monuments to Power Pack
827240 = Europa Universalis IV: Dharma
827250 = Europa Universalis IV: Dharma Content Pack
834360 = Europa Universalis IV: Ultimate Unit Pack
957010 = Europa Universalis IV: Dharma Collection
960920 = Europa Universalis IV: Golden Century
1009630 = Europa Universalis IV: Imperator Unit Pack
1259360 = Europa Universalis IV: Emperor
1264340 = Europa Universalis IV: Emperor Content Pack
1416420 = Europa Universalis IV: Leviathan
1756130 = Europa Universalis IV: Origins
1756190 = Europa Universalis IV - Guns, Drums and Steel Vol 3
1896050 = Europa Universalis IV - Expansion Subscription
2012010 = Europa Universalis IV: Lions of the North
2223660 = Europa Universalis IV: Domination
2350610 = Europa Universalis IV: Domination (Pre-Purchase Bonus)
2502910 = Europa Universalis IV: King of Kings