🛤

Wiring

Railway Operation Sim

日本語

🎯 Overview

The Wiring category covers laying down track and placing stations. You draw track circuits, connect them with switches, then drop stations and platforms on top. The Station editor also exposes the track number master and station direction master.

Sub-modes available under the Wiring category:

  • Track Circuit — draw a section of track
  • Switch — connect track circuits at a branching point
  • Bulk Edit — apply the same property to many track circuits at once
  • Station — define a station area, plus its track-number and station-direction masters
  • Platform — draw a rectangular platform for one track
Auto-derived on save: the left/right neighbor connections of each track circuit (nextTrack*, nextSwitch*) are recomputed from coordinates every time you save. You never need to specify them by hand — just place track and the save step fills in the relationships.

🟦 Track Circuit

A track circuit is the logical unit for one section of rail. Routes are sequences of track circuits, and trains occupy them one at a time.

Drawing the track

In the Track Circuit sub-mode, click to set the start point and then the end point of each segment. The editor assigns IDs like TC_0001 automatically.

Restriction: no perfectly vertical track circuits

You cannot draw a track circuit whose start and end share the same X coordinate. The auto-connection step at save time decides left/right neighbors by comparing X coordinates, and a vertical line has no left/right. Always introduce at least a slight horizontal tilt (use a switch when you need to move vertically).

Speed limit per track circuit

Each track circuit can carry a speed limit in km/h. Leaving it unset uses the map-wide default (usually 100 km/h). Slow values are useful around switches and station approaches for realistic operation.

↔ Switch

A switch is where one track circuit branches into two (or two merge into one). Trains follow the position the switch is currently set to.

How to place a switch

In the Switch sub-mode you connect track circuits by sharing an endpoint coordinate. Clicking an existing track circuit's endpoint lets you grow a new track circuit from that coordinate. Clicking the middle of an existing track circuit toggles it into this switch's "associated" set.

Switch kinds

KindDescription
Single turnoutThe standard form: one main track diverges into two. The straight direction is the "normal" position; the diverging direction is "reverse"
Double crossoverTwo main tracks connected in a scissors pattern. Built from four track circuits

Normal and reverse

When you set a route the editor figures out the required switch direction automatically, so you do not have to think about it relative to lever operation. Each switch gets an auto-generated ID (e.g. SW_001).

📦 Bulk Edit

Bulk Edit lets you box-select multiple track circuits and overwrite their length (m) and speed limit (km/h) on all of them at once. Each property has its own toggle for whether to apply it.

Useful for setting station approach speed limits to 35 km/h in one go.

🏢 Station

A station is a geographical anchor that holds platforms and track circuits.

Adding a station

  1. Enter Station mode
  2. Draw a rectangle to mark the station area on the workspace
  3. In the sidebar, enter the station name (e.g. Futtsu) — the station ID is generated automatically
  4. Click Register to apply the change to the editing state — then Ctrl+S to save

The Station editor's sidebar also contains the track number master and station direction master sections. Those are covered next.

🔢 Track Number Master

The track number master assigns a track number (an integer: 1, 2, …) to each track circuit that belongs to a station. Enter Station mode and set the number for each of the selected station's track circuits using the +/- buttons or by typing a digit.

With the master populated, platform editing and the departure-button track-number mode reference these numbers, which prevents inconsistent labeling.

Recommended order: create the station area and assign its ID, then assign a track number to each of that station's track circuits. Doing this first makes the later platform and track-circuit work much smoother.

🧭 Station Direction Master

The station direction master defines the directions used by the departure board filter ("Towards X"). For example, Futtsu Station might have two directions: "Towards Kisarazu / Chiba" and "Towards Tateyama".

Where to edit

Look for the station direction master section inside the Station sidebar. With a station selected, add its directions one at a time.

Main fields

FieldDescription
Direction IDInternal identifier (e.g. 1, 2, kisarazu)
Display nameShown on the departure board (e.g. Towards Kisarazu / Chiba)
Sort orderOrder in the direction dropdown
For simple two-way stations: if you register no directions at all, the departure board falls back to a two-value default of "Outbound (1)" and "Inbound (2)". Unless the station branches, you do not have to define directions explicitly.

🚉 Platform

A platform is a rectangle drawn on top of a track to mark where a train stops.

Adding a platform

  1. Enter Platform mode
  2. Place the four corners of the platform rectangle on top of a track circuit
  3. In the sidebar, choose which station this platform belongs to
  4. Enter a track number (a digit) for the top and bottom sides using the +/- buttons or by typing — it is saved as Track 1 etc. An empty side hides that side's label
  5. Click Register, then Ctrl+S
Corners reorder automatically: you can click the four corners in any order — the editor re-sorts them into a proper rectangle on save.