Cities: Skylines

Cities: Skylines

FPS Booster
Tankblaster Jun 10, 2021 @ 1:12pm
Error after opening the game on an m1 mac
Every time I open the game I get this error:

A critical error occured while patching game!

Possible solutions (follow order of operations):
---------------------------------------------------------------------
Solution 1:
1.Close game completely
2.Close Steam client (right-click try icon, 'Exit')
3.Start Steam client normally
If you use Paradox game launcher:
4. Make sure that 'exePath' value is the launcher-settings.json
located inside Cities.app/Contents/Launcher directory
points to Cities_Loader.sh, usually '../../../Cities_Loader.sh'
instead of original '../MacOS/Cities'
If don't use Paradox game launcher:
4. Make sure you didn't forget about adding ./CitiesLoader.sh
or ./../../../Cities_Loader.sh to the game launch options
in the Steam Client---------------------------------------------------------------------
======================================
If above solutions won't work:
1.Open FPS Booster options and Save Logs
2.Disable Patch Loader Mod!
3.Contact mod author for more info how to resolve the problem

Continuing game is strongly not recommended.
Disabling Patch Loader will return game to original state than restart game to finish restore operation.

I've tried restarting Steam and the error keeps appearing
< >
Showing 1-15 of 26 comments
Krzychu1245  [developer] Jun 10, 2021 @ 1:40pm 
Did you subscribe to mod dependency (PatchLoader) enabled it and followed the instructions?
humenbean Jul 10, 2021 @ 6:51pm 
Originally posted by Krzychu1245:
Did you subscribe to mod dependency (PatchLoader) enabled it and followed the instructions?

Can you please go into this a bit more? I'm having the same issue on my mac.

I'm at step 4b. "Make sure you didn't forget about adding ./CitiesLoader.sh
or ./../../../Cities_Loader.sh to the game launch options
in the Steam Client"

Do we literally just add "./CitiesLoader.sh" (without quotes) to the launcher without adding + or some other full length address? Do we use + before +./CitiesLoader.sh ?

I haven't had to mess with the steam launcher before.
hades-underworld Jul 24, 2021 @ 1:13pm 
I get the same error on a non-M1 mac, Mid 2015 retina macbook pro....
Krzychu1245  [developer] Jul 24, 2021 @ 1:21pm 
Collect all logs from Logs directory and also game log (Player.log) create zip archive and upload to any free file sharing service (gdrive/oneDrive/dropbox etc.). I don't understand why it works for some but not for others :/
hades-underworld Jul 29, 2021 @ 7:25am 
It's okay! I try to follow all the instructions but sometimes make mistakes. Let me know if the error logs shed light on a possible cause.

https://drive.google.com/drive/folders/1js5sEzptK8gn-dLN3lj_jfkWjkMtdfRF?usp=sharing
Krzychu1245  [developer] Jul 29, 2021 @ 11:50am 
The cause is you probably forgot to change "exePath" value in the launcher-settings.json. That's required, without it FPS Booster won't work at all. launcher-settings.json is located inside Cities.app/Contents/Launcher (don't forget to make backup of that file)
ioio Jul 31, 2021 @ 11:29pm 
I just had some issues with this on a Mac, but managed to solve it. After modifying the launcher json, the Paradox Launcher just had a little X when I tried to start the game, On trying to run the `Cities_loader.sh` manually, it exited with an error seemingly around a typo:

xxxxx@xxxxx:~/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher $ ../../../Cities_Loader.sh ../../../Cities_Loader.sh: line 5: syntax error near unexpected token `;;' ../../../Cities_Loader.sh: line 5: `export DYLD_INSERT_LIBRARIES=$doorstop_libname;;'

I got rid of the extra semi-colon, and it seems to work. Hope this helps/ is related.
Krzychu1245  [developer] Aug 1, 2021 @ 1:13pm 
Thanks, I'll check that be cause I think it might be a bug in PatchLoader mod (introduced in last update)
enmaku Aug 5, 2021 @ 10:54am 
Just installed today and had the same double semicolon on line 5 of Cities_Loader.sh issue, removing the extra semicolon resolved, in case a second data point helps
Krzychu1245  [developer] Aug 5, 2021 @ 3:54pm 
Patch Loader mod has been updated. Disable and then enable the mod to recreate config file and fix the issue.
stoinixy Aug 10, 2021 @ 12:55pm 
I am having the same problem and can't seem to find a way to get anything to work. Trying to run this on an M1 mac mini.

This is what I have in launcher-settings.json:

{
"formatVersion": 1,
"distPlatform": "steam",
"gameId": "cities_v2",
"displayName": "Cities: Skylines",
"exePath": "../Cities_Loader.sh",
"gameDataPath": "~/Library/Application Support/Colossal Order/Cities_Skylines",
"version": "1.13.3-f9",
"themeFile": "LauncherAssets/theme-settings.json",
"browserDlcUrl": "https://store.steampowered.com/dlc/255710",
"steamWorkshopDisabled": true,
"steamModsMigrationDisabled": true
}


Here is my log. I'm sure I'm missing something simple.

https://drive.google.com/file/d/1QVgm4xjSF0mFLo-V-AteMEKqhU47PK5e/view?usp=sharing
stoinixy Aug 10, 2021 @ 12:57pm 
This is what I get when I open launcher-settings.json in terminal:

Last login: Tue Aug 10 20:24:22 on ttys000
/Users/tonyjermy/Library/Application\ Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json ; exit;
tonyjermy@Tonys-Mac-mini ~ % /Users/tonyjermy/Library/Application\ Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json ; exit;
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skyli: command not foundents/Launcher/launcher-settings.json: line 1: {
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 2: formatVersion:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 3: distPlatform:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 4: gameId:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 5: displayName:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 6: exePath:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 7: gameDataPath:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 8: version:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 9: themeFile:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 10: browserDlcUrl:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 11: steamWorkshopDisabled:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 12: steamModsMigrationDisabled:: command not found
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 13: syntax error near unexpected token `}'
/Users/tonyjermy/Library/Application Support/Steam/steamapps/common/Cities_Skylines/Cities.app/Contents/Launcher/launcher-settings.json: line 13: `}'
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
Krzychu1245  [developer] Aug 10, 2021 @ 3:37pm 
Firstly, to test it you should try to launch Cities_Loader.sh, not launcher-settings.json,
Secondly, exePath value is wrong, it should be ../../../Cities_Loader.sh not ../Cities_Loader.sh
stoinixy Aug 11, 2021 @ 4:03am 
Originally posted by Krzychu1245:
Firstly, to test it you should try to launch Cities_Loader.sh, not launcher-settings.json,
Secondly, exePath value is wrong, it should be ../../../Cities_Loader.sh not ../Cities_Loader.sh

Thanks for clarifying. I have changed the exePath value now to what you have suggested, but I'm still getting the same errors.

Updated error report plus I have included a copy of launcher-settings.json and Cities_Loader.sh (I couldn't find this file to start as it was not within the package content of Cities.app) incase that's helpful.

https://drive.google.com/file/d/15eOZTCZKAGk6jyyg_RbDJmNEHqVl-4CI/view?usp=sharing

I only have a limited knowledge-base on this kind of stuff, so again apologies if I'm missing something obvious.

Also just want to thank you for all of your work. Your mods are an excellent addition to this game!
Krzychu1245  [developer] Aug 11, 2021 @ 1:50pm 
I assume you run game using Paradox Launcher (or Steam which opens it), right?
I've checked all files and everything looks good.
One thing you can try is:
- run game and in Content Manager disable PatchLoader mod. I will prompt for restart, so close game and before starting again do few more steps,
- completely delete Cities_Loader.sh, and revert the exePath to "../MacOS/Cities" (orginal value) or restore backup of launcher-settings.json if you created it before
- remove "doorstop.dylib" file, should be in the same directory as Cities_Loader.sh
- (optional, but recommended) restart Steam client app,

After that you can launch game normally and go to Content Manager to enable PatchLoader, then close game and change exePath in the launcher-settings.json again to ../../../Cities_Loader.sh, obviously save the file and start game. Hopefully at this point you won't see "critical error" dialog.

If above won't help then you can try launching Cities_Loader.sh in terminal and see what it returns (it may immediately run game, but is possible it will stuck on red screen - requires force close (Windows equivalent of Blue Screen)). If won't launch the game then error returned to terminal might help us solving the problem.
< >
Showing 1-15 of 26 comments
Per page: 1530 50