Skip to content
Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
Close

Search

Home/Knowledge Base/Decompiling the Cities: Skylines II code
Knowledge Base

Decompiling the Cities: Skylines II code

By Laszlo Pinter
April 4, 2024 2 Min Read
1

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.

  • Install Visual Studio Community Edition from the Microsoft site atVisual Studio Community Edition

Decompiler

To decompile the game code to the source code, we will use the ILSpy Visual Studio extension.

  • Search for the link to the latest version on the ILSpy GitHub page at ILSpy
  • At the time of writing, ILSpy 2022 is the latest version, download it from ILSpy 2022
  • Double-click the downloaded .vsix file
  • Restart Visual Studio if it was running at the time of the extension installation

Decompiling Cities: Skylines II

  • Start Visual Studio
  • Select Continue without code to start a new project
  • In the Tools menu select ILSpy
  • In the ILSpy window select File, Open
  • Select Game.dll in the “C:\Program Files (x86)\Steam\steamapps\common\Cities Skylines II\Cities2_Data\Managed” directory
  • On the left side expand the Game node

Save the game code

To save the game code as a Visual Studio project

  • Right-click the Game node and select Save Code…

Examining the original game code

  • In the Visual Studio File menu select Open, Project/Solution
  • Open the Game.csproj C# project
  • To search for words in the game source code press CTRL-F or open the Quick Find dialog box

Author

Laszlo Pinter

Follow Me
Other Articles
Previous

How to stop the rain and snow in Cities: Skylines II

Next

Creating a new mod for Cities: Skylines II

One Comment
  1. Adilen says:
    December 1, 2024 at 10:46 pm

    Thank you so much for this!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Last Changes

  • DevOps Engineering part 1. (Mac) - Make your Macintosh easier to use June 25, 2026
  • Japan travel tips June 22, 2026
  • How to stop the rain and snow in Cities: Skylines II June 20, 2026
  • Cities: Skylines II Developer Mode June 20, 2026
  • 'CSII_MANAGEDPATH' has incorrect path(s) when building Cities: Skylines II mod June 20, 2026

Tags

.NET .NETcore 3Dprinting ASP.NET Core AutodeskInventor AWS C# Chef cloud DevOps Docker EntityFramework Games Git Go iOS iPad iPhone iPod Java Kubernetes Linux MacOSX MSSQL MVC Node.js Packer PowerShell Python RDS RightScale Ruby security Splunk TeamCity Terraform TestKitchen Tomcat Ubuntu Vagrant VirtualBox VisualStudio Windows WordPress Xcode

Recent Comments

  • Zengei László on MyHeritage családfa exportálása és küldése emailben
  • Raúl Castillo on DynDns update error
  • MICHAEL on Windows Media Player 12 cannot find the album information
  • Nargis on Configure Epson ET-3850 scanning on Windows 11
  • Venczelné Zemen Erika on Delta S2302 termosztát programozása

–

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright 2026 — Pinter Computing. All rights reserved.