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

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

Image overlay in Cities: Skylines 2

Image overlay enables us to display a transparent map over our layout in the game and in the Editor. In the Editor this makes is easy to place outside connections to the correct locations, so when we build our city replica, the roads start at the right place. In the game it makes it possible …

Creating an AWS Q AI application

To use an AWS Q application we need two components: AWS Q application To set up the AWS Q AI application For more information see Configuring an Amazon Q application Identity Provider AWS Q is a paid service based on the number of users. To control access to AWS Q, we need to configure it …