Cities: Skylines

Cities: Skylines

FPS Booster
Lost Nomad 2021 年 1 月 15 日 下午 12:36
Bug raised after adding pre load for steam overlay
Hi, I've been having problems with steam overlay on linux. Nothing to do with your mod, but I have finally got it working by adding the following to the game options on steam
LD_PRELOAD='/home/username/.steam/ubuntu12_64/gameoverlayrenderer.so'

While this has got steam overlay working ingame on linux, it has caused your mod to raise an error, however it has not stopped your mod working.
So just reporting the issue here more as an FYI how your mod works on linux. As I said it does not seem to stop your mod working.
Here's the logs https://drive.google.com/drive/folders/16sAwLKBtAnLmG9JAYVjPA_7BrswnhTkk?usp=sharing
< >
正在显示第 1 - 9 条,共 9 条留言
Krzychu1245  [开发者] 2021 年 1 月 15 日 下午 3:44 
Yes, I see there is a problem with parsing the config (PatchLoader mod). I think I see a bug, so I'll fix it and update PatchLoader mod. Everything besides PatchLoader options screen should still work. Whole patching thing is finished before you see loading screen so that error is not breaking anything, thankfully.

Thanks for reporting it :winter2019coolyul:
Krzychu1245  [开发者] 2021 年 1 月 15 日 下午 4:31 
Hmm, I can't reproduce that issue on my linux VM :/
Open game directory and remove Cities_Loader.sh (remove startup param from steam too) and start game. PatchLoader mod should recreate that file and it should start working correctly from the next run. If not post contents of Cities_Loader.sh script.
Lost Nomad 2021 年 1 月 15 日 下午 4:32 
Cool, thanks for info. gl with the fix.
Lost Nomad 2021 年 1 月 15 日 下午 4:33 
Oh I answered before it showed your next message. I'll try that out now.
Krzychu1245  [开发者] 2021 年 1 月 15 日 下午 4:43 
6th line of that script should be either:
export DOORSTOP_ENABLE=TRUE;
or
export DOORSTOP_ENABLE=FALSE;
any other will throw an error ;)
Lost Nomad 2021 年 1 月 15 日 下午 4:47 
I did what you said and the game works fine, no error, but I'm back to having no steam overlay.

I think you are missing the point.

The error only came because I modified the loader script by adding in the LD_PRELOAD for the steam gameoverlayrenderer. This is the modified script, note the change I made to the LD_PRELOAD. Without this modification I have no steam overlay, with the modification I have the error, but it does not seem to affect the game.

#!/bin/sh
doorstop_libname="doorstop.so"
doorstop_dir=$PWD
export LD_LIBRARY_PATH=${doorstop_dir}:${LD_LIBRARY_PATH};
#export LD_PRELOAD=$doorstop_libname;
export LD_PRELOAD='/home/username/.steam/ubuntu12_64/gameoverlayrenderer.so':$doorstop_libname;
export DOORSTOP_ENABLE=TRUE;
export DOORSTOP_INVOKE_DLL_PATH="/home/username/.steam/steam/steamapps/workshop/content/255710/2041457644/PatchLoader/PatchLoader.dll";
./Cities.x64
Lost Nomad 2021 年 1 月 15 日 下午 4:51 
Oh wait, I just saw your latest comment. I have removed the commented out line so the 6th line is as you say, and sure no error, with overlay working.
Which is weird, never seen a app rely on a bash script having exact content on a specific line before.
Krzychu1245  [开发者] 2021 年 1 月 15 日 下午 4:57 
I wrote it in a lazy way because part of that line is dynamic, changes when you enable/disable PatchLoader mod. It's not bullet-proof, as you noticed. Parsing will be changed in the next version along with MacOS support
Lost Nomad 2021 年 1 月 15 日 下午 6:54 
May not be bullet proof, but it's one hell of a nice app mate. I've definitely written some questionable code when needs must over my years in IT lol

Thanks for the help.
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50