16 Commits
2.0 ... 2.0.2

Author SHA1 Message Date
D. Neykov
4bd17b8a4c Disable automatic build & release 2023-04-13 23:44:43 +02:00
D. Neykov
41fd31c6ac Add EU4 to list of tested games 2023-04-13 23:42:56 +02:00
D. Neykov
85e0cacc88 Merge pull request #6 from joakimgaming/master
Added eu4 dlcs
2023-04-13 14:42:12 -07:00
joakim
812a778e91 Added eu4 dlcs 2023-04-13 19:47:45 +00:00
D. Neykov
8433769a7d Add CK2 to list of tested games 2023-04-07 12:33:47 +02:00
D. Neykov
bc302b10e4 Merge pull request #5 from rednatnas/master
Add Crusader Kings II DLCs
2023-04-07 03:14:49 -07:00
rednatnas
3aa2148595 Merge branch 'anticitizn:master' into master 2023-04-06 17:22:29 -04:00
rednatnas
b6d85ced6f Add all Crusader Kings II DLC's 2023-04-06 17:21:21 -04:00
D. Neykov
c17cc6cc63 Update README.md 2023-04-05 12:10:59 +02:00
D. Neykov
f2e7fddc72 Update readme with troubleshooting section 2023-04-05 12:03:29 +02:00
D. Neykov
ddc9e2431b Update readme 2023-04-03 17:44:36 +02:00
D. Neykov
26eae1eec4 Update readme 2023-04-03 17:44:07 +02:00
D. Neykov
67a7703c3f Update README.md 2023-04-03 17:35:55 +02:00
D. Neykov
553dc2462b Add docker container config files 2023-04-03 14:45:41 +02:00
D. Neykov
0aff4740e8 Add Stellaris First Contact DLC 2023-04-03 14:44:37 +02:00
D. Neykov
72029d5d65 Update README.md 2023-04-03 13:58:45 +02:00
5 changed files with 205 additions and 32 deletions

View File

@@ -1,7 +1,6 @@
name: CMake name: CMake
on: on:
push:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
relName: relName:
@@ -12,7 +11,6 @@ on:
description: 'Release tag' description: 'Release tag'
required: true required: true
default: "" default: ""
pull_request:
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt upgrade -y \
&& apt install -y --no-install-recommends \
build-essential gcc-multilib g++-multilib cmake git zip
WORKDIR /usr/src/creamlinux

View File

@@ -1,54 +1,71 @@
# Creamlinux # Creamlinux
CreamApi clone for Linux. A CreamAPI clone for Linux.
Since 20PercentRendered has archived the repo, I have decided to fork and support it as far as I can. Since 20PercentRendered has archived the repo, I have decided to fork and support it as far as I can.
## Support ## Support
This should work for any linux native steam title that doesn't block LD_PRELOAD. This *should* work for any linux native steam title that doesn't block LD_PRELOAD. The following games have been tested and confirmed to work:
## Tested games
- Hearts Of Iron IV
- Stellaris - Stellaris
- Hearts Of Iron IV
- Europa Universalis IV
- Crusader Kings II
- PAYDAY 2 - PAYDAY 2
## Usage ## Usage
0. You will need the actual, **up-to-date** DLC files in the game. Creamlinux does not and _will not_ auto-download anything. 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/20PercentRendered/creamlinux/releases/latest/download/creamlinux.zip) release of Creamlinux. 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 2. Unzip it and copy the files to the game's directory
3. Set the game's steam launch params to `sh ./cream.sh %command%`. 3. Set the game's steam launch params to `sh ./cream.sh %command%`
4. If you have your own cream_api.ini, copy the DLC lines to Creamlinux's cream_api.ini in the game directory. 4. Launch the game and have fun!
5. Launch your game and have fun!
## Build Dependencies 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.
### On Ubuntu
`gcc-multilib` `g++-multilib` `cmake` `git` If that doesn't work, please check the Troubleshooting section below.
### On Arch:
`base-devel` `multilib-devel` `cmake` `git`
## Building from source ## Building from source
1. Clone the project recursively: 0. 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`
1. Clone the project:
``` ```
git clone https://github.com/20PercentRendered/creamlinux --recursive git clone https://github.com/anticitizn/creamlinux
``` ```
2. build the project with build.sh 2. Build the project:
``` ```
sh ./build.sh sh ./build.sh
``` ```
3. Copy `output` folder contents to the game folder. 3. Copy `output` folder contents to the game folder
4. Then set the game's steam launch params to `sh ./cream.sh %command%`. 4. Set the game's steam launch params to `sh ./cream.sh %command%`
5. If you have your own cream_api.ini, copy the DLC lines to Creamlinux's cream_api.ini in the game directory.
## Advanced
Alternatively, if you have Docker installed, you can just run `docker compose up`
# Troubleshooting
## Red triangles next to DLCs
This is normal. The DLCs should still work.
![Red triangles next to DLCs are normal](https://cdn.discordapp.com/attachments/663174968791662594/1093109044295766106/image.png)
## DLCs don't 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)
## 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).
## Gathering logs
Install `konsole` and set your game launch options to this:
```
konsole --hold -e sh ./cream.sh %command%
```
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. If you want to load `cream_api.ini` from a specific path, specify the path with `CREAM_CONFIG_PATH` in the launch options.
## Todo
- Proxy mode
- Support for some older versions of the steam API
- Support multiple SDK versions
- Proton support
- SteamClient() call support (Paradox launcher)
- Desphaggetify code
- Put all external code into ext
## Credits ## Credits
[pulzed](https://github.com/pulzed) for [mINI](https://github.com/pulzed/mINI)(ini.h) [pulzed](https://github.com/pulzed) for [mINI](https://github.com/pulzed/mINI)(ini.h)

7
docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
services:
creamlinux-build:
build: .
container_name: creamlinux_build
volumes:
- .:/usr/src/creamlinux/
command: bash -c "sh ./build.sh && cd output && zip -r creamlinux.zip *"

View File

@@ -71,6 +71,7 @@ disable_steamapps_issubscribedapp = false
1749080 = Stellaris: Aquatics Species Pack 1749080 = Stellaris: Aquatics Species Pack
1889490 = Stellaris: Overlord 1889490 = Stellaris: Overlord
2115770 = Stellaris: Toxoids Species Pack 2115770 = Stellaris: Toxoids Species Pack
2277860 = Stellaris: First Contact Story Pack
978950 = Imperator: Rome - Hellenistic World Flavor Pack 978950 = Imperator: Rome - Hellenistic World Flavor Pack
1173860 = Imperator: Rome - The Punic Wars Content Pack 1173860 = Imperator: Rome - The Punic Wars Content Pack
1252870 = Imperator: Rome - Magna Graecia Content Pack 1252870 = Imperator: Rome - Magna Graecia Content Pack
@@ -185,3 +186,143 @@ disable_steamapps_issubscribedapp = false
2073740 = Golf With Your Friends - Sports Pack 2073740 = Golf With Your Friends - Sports Pack
1901921 = Golf With Your Friends - Summer Party Pack 1901921 = Golf With Your Friends - Summer Party Pack
1901920 = Golf With Your Friends - Racing Pack 1901920 = Golf With Your Friends - Racing Pack
326530 = Crusader Kings II: The Song of Roland
329010 = Crusader Kings II: Way of Life
329013 = Crusader Kings II: Tales of Treachery
354330 = Crusader Kings II: Horse Lords
354331 = Crusader Kings II: Horse Lords
449980 = Crusader Kings II: The Reaper's Due
449981 = Crusader Kings II: The Reaper's Due
530780 = Crusader Kings II: Monks and Mystics
592800 = Crusader Kings II: South Indian Portraits 5 Year Anniversary Gift
616160 = Crusader Kings II: Ultimate Music Pack
616170 = Crusader Kings II: Ultimate Portrait Pack
616180 = Crusader Kings II: Ultimate Unit Pack
616210 = Crusader Kings II: Dynasty Shield Pack
640140 = Crusader Kings II: Jade Dragon
756660 = Crusader Kings II: Holy Fury
949870 = Crusader Kings II: Pagan Fury
1167860 = Crusader Kings II: Pagan Fury - Warrior Queen
1538960 = Crusader Kings II - Expansion Subscription
210908 = Crusader Kings II: The Old Gods
394320 = Crusader Kings II: Conclave
394321 = Crusader Kings II: Conclave Content Pack
292982 = Crusader Kings II: Charlemagne
279600 = Crusader Kings II: Rajas of India
226667 = Crusader Kings II: Sons of Abraham
210906 = Crusader Kings II: The Republic
210902 = Crusader Kings II: Sunset Invasion
210895 = Crusader Kings II: Legacy of Rome
203778 = Crusader Kings II: Sword of Islam
329012 = Crusader Kings II: Iberian Portraits
329011 = Crusader Kings II: Iberian Unit Pack
292981 = Crusader Kings II: Persian Portraits
292980 = Crusader Kings II: Persian Unit Pack
279602 = Crusader Kings II: Turkish Portraits
279601 = Crusader Kings II: Turkish Unit Pack
226673 = Crusader Kings II: Finno-Ugric Unit Pack
226672 = Crusader Kings II: Saxon Unit Pack
226669 = Crusader Kings II: Warriors of Faith Unit Pack
226668 = Crusader Kings II: Military Orders Unit Pack
226663 = Crusader Kings II: Celtic Portraits
226662 = Crusader Kings II: Celtic Unit Pack
210905 = Crusader Kings II: Norse Unit Pack
210904 = Crusader Kings II: Norse Portraits
210900 = Crusader Kings II: Russian Portraits
210899 = Crusader Kings II: Russian Unit Pack
210898 = Crusader Kings II: Mediterranean Portraits
210897 = Crusader Kings II: African Portraits
203773 = Crusader Kings II: Mongol Graphics Pack
203772 = Crusader Kings II: Dynasty CoA Pack 1
616210 = Crusader Kings II: Dynasty Shield Pack
601270 = Crusader Kings II: Hymns of Revelation
472070 = Crusader Kings II: Full Plate Metal
401660 = Crusader Kings II: Viking Metal
226666 = Crusader Kings II: Customization Pack DLC
203776 = Crusader Kings II: Ruler Designer
226665 = Crusader Kings II: Europa Universalis IV Converter
373940 = Crusader Kings II: Orchestral House Lords
279603 = Crusader Kings II: Songs of India
226671 = Crusader Kings II: Songs of Yuletide
226670 = Crusader Kings II: Hymns of Abraham
226660 = Crusader Kings II: Hymns to the Old Gods
210907 = Crusader Kings II: Songs of Prosperity
210903 = Crusader Kings II: Songs of the Rus
210901 = Crusader Kings II: Songs of Byzantium
210893 = Crusader Kings II: Songs of the Caliph
203777 = Crusader Kings II: Songs of the Holy Land
203775 = Crusader Kings II: Songs of Faith
203774 = Crusader Kings II: Songs of Albion
292984 = Crusader Kings II: Early Eastern Clothing Pack
292983 = Crusader Kings II: Early Western Clothing Pack
210896 = Crusader Kings II: Byzantine Unit Pack
210892 = Crusader Kings II: African Unit Pack
292985 = Crusader Kings II: Dynasty Shields Charlemagne
226664 = Crusader Kings II: Dynasty Shield III
210894 = Crusader Kings II: Dynasty Shield II
241360 = Europa Universalis IV: 100 Years War Unit Pack
241361 = Europa Universalis IV: Horsemen of the Crescent Unit Pack
241362 = Europa Universalis IV: Winged Hussars Unit Pack
241363 = Europa Universalis IV: Star and Crescent DLC
241364 = Europa Universalis IV: American Dream DLC
241365 = Europa Universalis IV: Purple Phoenix
241366 = Europa Universalis IV: National Monuments
241367 = Europa Universalis IV: Conquest of Constantinople Music Pack
241368 = Europa Universalis IV: National Monuments II
241369 = Europa Universalis IV: Conquest of Paradise
241370 = Europa Universalis IV: Conquistadors Unit pack
241371 = Europa Universalis IV: Native Americans Unit Pack
241372 = Europa Universalis IV: Songs of the New World
241373 = Europa Universalis IV: Songs of Yuletide
278710 = Europa Universalis IV: Native Americans II Unit Pack
278711 = Europa Universalis IV: Colonial British and French Unit Pack
278712 = Europa Universalis IV: Muslim Advisor Portraits
279620 = Europa Universalis IV: Wealth of Nations
279621 = Europa Universalis IV: Muslim Ships Unit Pack
279622 = Europa Universalis IV: Trade Nations Unit Pack
279623 = Europa Universalis IV: Res Publica
295221 = Europa Universalis IV: Indian Subcontinent Unit Pack
295222 = Europa Universalis IV: Indian Ships Unit Pack
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
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
373150 = Europa Universalis IV: Common Sense Content Pack
373400 = Europa Universalis IV: Sounds from the community - Kairis Soundtrack
373370 = Europa Universalis IV: The Cossacks
373380 = Europa Universalis IV: The Cossacks Content Pack
415680 = Europa Universalis IV: Sabaton Soundtrack
414301 = Europa Universalis IV: Catholic Majors Unit Pack
539260 = Europa Universalis IV: Evangelical Majors Unit Pack
436120 = Europa Universalis IV: Mare Nostrum
436121 = Europa Universalis IV: Mare Nostrum Content Pack
443720 = Europa Universalis IV: Kairis Soundtrack Part II
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
538020 = Europa Universalis IV: Mandate of Heaven
538021 = Europa Universalis IV: Mandate of Heaven Content Pack
625050 = Europa Universalis IV: Third Rome
642780 = Europa Universalis IV: The Rus Awaken
721340 = Europa Universalis IV: Cradle of Civilization
721341 = Europa Universalis IV: Cradle of Civilization Content Pack
760070 = Europa Universalis IV: Rule Britannia
775740 = Europa Universalis IV: Rule Britannia Music Pack
827240 = Europa Universalis IV: Dharma
827250 = Europa Universalis IV: Dharma Content Pack
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
2012010 = Europa Universalis IV: Lions of the North