In

Interactive ECS Systems/Component Explorer for Cities: Skylines 2

Hacker News

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

Share card

Actual performance

95points
42comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
63%63% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: hacker news, ide, io · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntUnlikely to reach the leaderboard · Strong signals: new, using, code · Missing: mac, agents, macos
48%48% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

In
Interactive Viz of Scientific Collaborations between American Cities50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Interactive Viz of Scientific Collaborations between American Cities

Hacker News2
Ho
How many U.S. cities can you name?49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

How many U.S. cities can you name?

Hacker News5
An
An interactive CLI ArXiv explorer53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An interactive CLI ArXiv explorer

Hacker News21
An
An AST Explorer for Ruby30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An AST Explorer for Ruby

Hacker News2
Wi
WikiEx – The Wikimedia Explorer37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WikiEx – The Wikimedia Explorer

Hacker News1
Ba
BasBolt – A QuickBASIC Compiler Explorer49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

BasBolt – A QuickBASIC Compiler Explorer

Hacker News3
Do
Dockerfile Explorer37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dockerfile Explorer

Hacker News2
Th
ThreeJs SuperShape Explorer37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ThreeJs SuperShape Explorer

Hacker News2
Ba
Bayesian Bandit Explorer37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bayesian Bandit Explorer

Hacker News1
Ma
Mandelbrot Explorer37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mandelbrot Explorer

Hacker News5