nowfound

Dev tools · December 19, 2023

IE

Interactive ECS Systems/Component Explorer for Cities: Skylines 2

Hello Hacker News! Long time reader but first time poster here... Recently I've been diving into doing mods for Cities: Skylines 2, which been very interesting as it's one of the first games that is using ECS and that I also have a deep interest into. I've mainly used ECS via Bevy before, but this time it's Unity, but many things still work the same way. In order to help myself and other modders to navigate the ECS Systems and Components from the decompiled code, I created this interactive D3 graph. You can click on nodes to "navigate" to that system/component, and once you're zoomed in…

In plain words

Interactive ECS Systems/Component Explorer is a visualization tool for Cities: Skylines 2 modders. It displays the game's Entity Component System architecture as an interactive D3 graph, allowing developers to explore systems and components extracted from decompiled code. Users can click nodes to navigate, view detailed information in a sidebar, and filter elements with Ctrl+click. The tool helps modders understand and work with Unity's ECS implementation in the game.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hello Hacker News! Long time reader but first time poster here... Recently I've been diving into doing mods for Cities: Skylines 2, which been very interesting as it's one of the first games that is using ECS and that I also have a deep interest into. I've mainly used ECS via Bevy before, but this time it's Unity, but many things still work the same way. In order to help myself and other modders to navigate the ECS Systems and Components from the decompiled code, I created this interactive D3 graph. You can click on nodes to "navigate" to that system/component, and once you're zoomed in a particular System/Component, you get a sidebar with more details. Ctrl+click also removes nodes in case you want to temporarily filter something. This is, in short, how it works: 1. A C# program extracts information from decompiled C# code: https://github.com/Captain-Of-Coit/cs2-ecs-explorer/blob/mas... 2. The program outputs that info as JSON: https://github.com/Captain-Of-Coit/cs2-ecs-explorer/blob/mas... 3. Render with D3.js: https://github.com/Captain-Of-Coit/cs2-ecs-explorer/blob/mas... Basically it helps people to navigate the Systems and Components references for the game. If you're feeling brave, you can also browse the full graph which has something like ~700 nodes and ~1200 links: https://captain-of-coit.github.io/cs2-ecs-explorer/ (it'll take a while to first load) A big problem was to figure out how to make the D3 not too messy when there are large graphs, and I don't think I've succeeded very well with this, but everything I tried (link distance based on how many connections, clustering based on namespaces and so on) made it even worse. Happy to hear what you think and what I could do better.

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, December 2023

the whole month →
  • BM

    Hi HN! I’m proud to share that we have built a real 3rd party iMessage client for Android. We did it by reverse engineering the iMessage protocol and encryption system. It's available to download today (no waitlist): https://play.google.com/store/apps/details?id=com.beeper.ima and there's a technical writeup here: https://blog.beeper.com/p/how-beeper-mini-works. Unlike every other attempt to build an iMessage app for Android (including our first gen app), Beeper Mini does not use a Mac server relay in the cloud. The app connects directly to Apple…

    Commerce · 2023 · beeper.com

  • HA

    Hey! I made Heynote entirely for my own use case. For many years, I always had an Emacs instance running with the scratch buffer open, even long after I had abandoned Emacs as my programming editor in favor of more recent IDE:s. The simplicity of having just one big scratch buffer appeals to me, but I still want to separate the different things I jot down somehow (without using tabs or similar). Previously, my solution was to insert a bunch of blank lines between the notes, but hitting C-A would still select the entire buffer. That's why I came up with the concept of "blocks", which turned…

    Work · 2023 · heynote.com

  • LogoFast988

    Make beautiful logos with AI, fast & free

    AI · 2023 · logofa.st

  • FuseBase941

    Client collaboration platform for professional services

    Dev tools · 2023 · thefusebase.com

  • Beep! 2.0871

    Fastest tool to assign and share visual tasks with your team

    Work · 2023 · justbeepit.com

  • Clean up your inbox in minutes, open source

    AI · 2023 · getinboxzero.com