Author Archives: Laszlo Pinter
Creating a new mod for Cities: Skylines II
Developer tools To create a new mod for Cities: Skylines 2, first, we need to install the developer tools. Start a new Visual Studio solution Deploy the mod locally for testing To deploy the new mod and activate it in the game To disable the mod To run the game without the local deployment of …
Continue reading “Creating a new mod for Cities: Skylines II”
Decompiling the Cities: Skylines II code
To be able to view the source code code of Cities: Skylines 2, we need a few tools. Visual Studio Visual Studio Community edition is a free IDE to write .NET code in C# and other languages. Decompiler To decompile the game code to the source code, we will use the ILSpy Visual Studio extension. …
How to stop the rain and snow in Cities: Skylines II
The snow makes it hard to see the image overlay in Cities: Skylines II. To stop the rain and snow we can Weather+ mod Temporary change in Developer mode The Override Precipitation setting in Developer Mode is not saved in the city, so every time you open the city, you need to set it again.
Argument of type ‘(number | null)[]’ is not assignable to parameter of type ‘(err: Error, result: QueryResult) => void’
The latest “npm install @types/pg –save-dev” command changed the “@types/pg” Node.js module version in the package.json file from to “^8.11.4”. Since that, the build of my TypeScript applications fail with the error message below, if the PostgreSQL .query function contains mixed “value” types, like this: The error message is: .. : error TS2769: No overload …
Cities: Skylines II Developer Mode
WARNING: MAKING CHANGES IN DEVELOPER MODE CAN CREATE UNFORESEEN RESULTS AND CAN CORRUPT THE SAVE FILE. USE DEVELOPER MODE WITH CAUTION!!! In developer mode we can gain access to more tools than what the regular user interface provides. We can To start Cities: Skylines II in developer mode from the Steam app Using Developer Mode …
‘CSII_MANAGEDPATH’ has incorrect path(s) when building Cities: Skylines II mod
When we try to build a new Cities: Skylines II code mod, and we get the following error message: Error User environment variable ‘CSII_MANAGEDPATH’ has incorrect path(s) ‘C:\Program Files (x86)\Steam\steamapps\common\Cities Skylines II’ set. Please update the Modding toolchain in-game to reset its value or modify its value to a suitable path SmoothRoads C:\Users\lpint\AppData\LocalLow\Colossal Order\Cities Skylines …
Continue reading “‘CSII_MANAGEDPATH’ has incorrect path(s) when building Cities: Skylines II mod”
Using Cities: Skylines II mods
If mods don’t load during the first load of the game Recommended Cities: Skylines 2 mods Mod Depends on Description Image Overlay Lite To Overlay an image on the game map. It works in the game and the Map Editor. Extended Road Upgrades Upgrade your roads using the game’s built-in tool to transform them into quays, …
Installing and using Thunderstore mod manager
Thunderstore is an application that manages mods for Cities: Skylines 2. It is very convenient to use, even allows you to run the game in “vanilla” mode without any mods, but not all mods are available through it. To install Thunderstore
Installing and using BepInEx
BepInEx, the mod launcher for Unity games, including Cities: Skylines 2 has multiple versions. At the time of writing, version 5 is in long term support, and version 6 is already available. Only one version of BepInEx can be added to the game at a time, and unfortunately, mods target a specific version of BepInEx, …