Cities: Skylines

Cities: Skylines

34 ratings
Patch Loader - Linux Installation - native game build only
By Krzychu1245
Patch Loader mod installation guide for Linux users
2
   
Award
Favorite
Favorited
Unfavorite
Installation
Due to how the Patch Loader and Linux system works the user is required to perform additional action. This guide applies only to the native build of the game (you cannot use Proton compatibility)


I'll use Ubuntu as an example but this process will work for all other distributions.

Navigate to game directory, usually it's located in /home/<your_name>/.steam/steam/steamapps/common/Cities_Skylines

Important: make sure that Cities_Loader.sh file is present, if not launch the game and enable Patch Loader mod on the Content Manager -> Mods tab first.




Find the file launcher-settings.json (create backup copy with different name) and open it in any text editor as shown below

Before change
Find and change value of "exePath" property replacing "Cities.x64" with "Cities_Loader.sh" as shown on the screenshots below

After change
Final words
Save laucher-settings.json file and run game as usual.

If everything was done correctly game should launch normally and Patch Loader mod should stop warning about "Critital error".

Keep in mind that future Paradox Launcher updates may overwrite the config file so above procedure needs to be performed once again.

Known issues
If you see following screen then it means that you've made a typo or provided solution no longer works.

20 Comments
#Reaper 21 Apr @ 9:12pm 
@ddbb07 Thank you so much! That indeed worked! More correct here the full line for everyone:
WINEDLLOVERRIDES='winhttp=n,b' %command%
ddbb07 12 Mar @ 6:17pm 
@Krzychu1245 The reason why patching with doorstop doesn't work by default using wine/proton is because wine overrides certain dlls to wine specific versions, this includes winhttp. This behaviour can be changed quite easily by either setting adding a rule in the winecfg progam or setting the environment variable WINEDLLOVERRIDES. This means that you could solve this by simply adding WINEDLLOVERRIDES='winhttp=n,b' to your steam launch options, this ensures that wine will try to load the doorstop winhttp.dll and only use the version built into wine as a fallback. Hope this is of help to someone! :)
Krzychu1245  [author] 23 Dec, 2024 @ 12:05pm 
@Sokrates I think you didn't understand the problem.
I'm not going to update the mod because there is nothing to update - newer version of internal library the mod is using doesn't solve any of known problems, plus it may break things for people who don't experience any issues.
In the last message I was talking about Proton - software compatibility layer that "simply" runs Windows game build on Linux machine but patching is not possible, that's why you have to use native build of the game (without Proton) and the guide applies only to the native build of the game.
Sokrates 22 Dec, 2024 @ 2:31pm 
Since you are not updating this mod, you should remove this, It is causing confusion
Krzychu1245  [author] 14 Feb, 2024 @ 2:31pm 
@Ronjoe I don't have more plans for this mod, things I tested, including migration to the latest possible version of loaded didn't change anything, it still doesn't work. I can do nothing.
Ronjoe 10 Feb, 2024 @ 9:24pm 
Steam just forced my game to install Proton version instead of native Linux version. It might be necessary very soon to get that Wine/Proton support going.
jchar96 8 Jul, 2023 @ 3:40am 
Do note that if you have installed this mod, then moved your C:S installation to another disk (or other location), you may also need to update the path to the steam workshop folder manually in Cities_Loader.sh
Krzychu1245  [author] 31 Jan, 2023 @ 9:35am 
@MRzoska that implies your game is installed in Steam installation directory (aka. default library folder) but you can have more and that is something I can't detect. If you want to use this and it works then no problem.
MRzoska 29 Jan, 2023 @ 10:01am 
Would be easier to just make a launch argument bypassing the entire launcher
~/.steam/steam/steamapps/common/Cities_Skylines/Cities_Loader.sh %command%
Krzychu1245  [author] 14 Jan, 2023 @ 4:03am 
@𝔊𝔢𝔯𝔞𝔩𝔱 it won't work on wine/proton. Only native linux game build is supported for now.