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 …

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. …

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 …

Using Cities: Skylines II mods

Colossal Order just updated the game with the beta version of the official modding support. At this time mods usually don’t load during the first load of the game. At this moment, mods most of the tie don’t load during the first start of the game. To load the mods THIS DOES NOT WORK ANYMMORE, …

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, …