Migrating from conda to conda-forge for Python package management

Anaconda changed its Term of Use to require payment from companies larger than 200 employees. Many companies are not willing to pay the subscription fees for a software they can substitute. conda-forge is the free, really open source alternative for the conda Python package manager. To migrate your development environment from conda to conda-forge Install …

Type ‘unknown’ is not assignable to type …

TypeScript tries to make sure the variables are always populated with data of the type specified during the variable definition. Issue When the TypeScript compiler thinks a function can return another data type, or “unknown”, “undefined”, “null”, Visual Studio Code displays a warning: type ‘unknown’ is not assignable to type … Solution The solution is …

Host the Cities: Skylines map generator locally

There are times when the Cities: Skylines Map Generator at https://heightmap.skydark.pl is not available. The free MapBox token expires because of the number of requests it serves. We can host the site ourselves on our workstation and use it any time. Install XAMPP XAMPP is a free web server created by Apache Friends. Download the …

Create a high resolution overlay image for Cities: Skylines II

The Image Overlay mod for Cities: Skylines 2 allows us to build a city based on real world locations. See Image overlay in Cities: Skylines 2 on how to install and use it. To generate a high resolution overlay image Create the standard resolution overlay image Create a 2560×2560 pixel overlay image matching the height …

Signature verification failed, repository.json is not valid

When the Cities: Skylines II mod publishing fails with Syncing WIP mod “…”[L3Error_][6574][4B66][EFB4][0181] Error getting repository metadata for repository mods/cities_skylines_2/…/repo/Windows__Any, got exception: Signature verification failed, repository.json is not validCould not sync WIP mod: Signature verification failed, repository.json is not valid Check the state of your mod The Mod ID The Mod ID is in the …

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 …