跳到正文

Create Track Map: Fork²

作者:flexhd

Live web map of your Create train network fork² for huge networks.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Create Track Map: Fork²

A live web map of your Create train network, rebuilt for scale. Same map, dramatically faster on huge networks.

⚠️ This is a fork of a fork. It is not the original and not AyOhEe’s unofficial fork). If your network is small, just use one of those.

Why this exists

Original CTM was built around full-state polling and a Leaflet SVG renderer. Both fall over past a few hundred track segments. This fork keeps the user-visible behaviour identical and rewrites everything underneath:

  • OpenLayers canvas renderer with incremental updates
  • Single SSE endpoint with delta updates instead of four full-state streams
  • Train motion interpolated client-side; server polls at 1 Hz instead of 2 Hz
  • Gzip on the wire, 3-decimal coords, server-side curve flattening
  • Per-edge caches and a topology short-circuit so static networks cost almost nothing per tick

Result on a stress test (3000 segments, 200 signals, 20 trains, 5 clients):

| | upstream | this fork |
|—|—|—|
| Wire bytes/s | ~6.4 MB/s | ~3 KB/s |
| Browser ops/tick | ~6000 DOM | ~20 features |

Compatibility

| Minecraft | Loader | Create |
|—|—|—|
| 1.21.1 | NeoForge 21.1.x | ≥ 6.0 |
| 1.20.1 | Forge 47.1.x (also NeoForge 1.20.1) | ≥ 6.0.6 |

Wire protocol break

The four *.rt SSE endpoints are replaced by /api/v2/stream. Legacy REST GETs still work. Third-party clients on the old streaming API need updating.

Credits

This fork is by NexusRealms and not endorsed by either. Don’t file issues with them about anything in this fork — report them on our discord

常见问题

Create Track Map: Fork² 支持哪些 Minecraft 版本?

Create Track Map: Fork² 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Create Track Map: Fork² 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

flexhd 的其他作品

查看全部 →