promotional bannermobile promotional banner

Rails of War Enhanced

Turns Rails of War locomotives into fuel-burning, heat-managed machines with real brakes, wear and failure, and fixes the original's crashes, physics, rail rendering and sync bugs.
2026-11-28_14.04.05.png

2026-11-28_14.04.05.png

2026-11-28_14.04.13.png

2026-11-28_14.04.13.png

2026-11-28_14.04.23.png

2026-11-28_14.04.23.png

2026-11-28_14.04.35.png

2026-11-28_14.04.35.png

2026-11-28_14.06.17.png

2026-11-28_14.06.17.png

Description

# Rails of War Enhanced (Minecraft 1.12.2)

Railways that behave like machines: locomotives that burn real fuel, build real boiler pressure, overheat, burst, and keep sitting on the rails as rusted hulks after they die — on track that loses grip in the rain, under a fleet you can couple a dozen deep and stencil a running number onto. This is an unofficial, heavily reworked build of **Rails of War**, rebuilt around one idea — a locomotive is not a vehicle with a speed value, it is a boiler, a firebox and a set of wheels that can all fail.

---

## Disclaimer

Built on **Rails of War** by **Nathaniel_Iten**. The original code, models, textures and sounds are his. The original is a 1.12.2-era mod that stopped being updated long ago — it is abandoned, unmaintained, and has no support channel.

This is an unofficial rebuild, shipped as a **complete replacement jar**: do not install the original alongside it, the two cannot coexist. The original author has nothing to do with this version, so do not take problems with it to him. Back up old saves first; compatibility is "probably", not guaranteed.

---

## What this build changes philosophically

The original mod stops at "there are locomotives, there is track, they move". This build treats every locomotive as a machine with a thermal budget, a fuel budget and a structural budget — and then repairs the crashes, physics, rendering and network-sync problems that the original carried.

Three rules shape the design:

1. **Nothing is free.** Speed costs heat. Heat costs durability. Hauling costs fuel. Running a boiler dry costs you the boiler.
2. **Failure is a state, not a deletion.** A destroyed locomotive does not evaporate. It becomes a rusted, dead machine still standing on its rails, that you can board, inspect, push, tow and salvage.
3. **The client must never be lied to.** Brake values, pressures, temperatures and fuel levels are synced through the DataWatcher; whatever the gauge shows is what the server believes.

---

## Core systems

### Fuel

Every locomotive carries its own fuel and its own capacity, and every locomotive type has its own appetite: the Shay burns charcoal and water, the Fowler a smaller charge, the Minelok runs on Forge Energy, the KOF and the Upnor hold diesel in the tens to hundreds of buckets. Sneak-right-click to fuel, or right-click with coal, water or oil in hand while riding and top it up on the move. The gauge shows amount and capacity, and blinks red under 20%. Diesels speak the plain Forge fluid API, so Immersive Engineering or Immersive Petroleum pipes and pumps work if you have them installed — and the mod starts perfectly well if you do not.

### Boiler and heat

Pressure is not a number on a screen, it is a running balance: fire adds, steam drawn by the cylinders subtracts, leaks and safety valves vent, and temperature multiplies the whole thing. Run the boiler dry and pressure climbs while the firebox cooks itself. Past the redline the gauge screams, past burst pressure it lets go. Engine temperature follows the same logic on the diesel side: traction and load add heat, cooling removes it, and cooling efficiency decays as the gap between engine and ambient temperature grows — the hotter it gets, the harder it is to pull down.

### Durability, wrecks and salvage

Every locomotive has a durability pool, and so does the running gear: each wheel, the drive gear and the drive shaft wear independently and are colour-coded grey → yellow → orange → red on the 2D chassis panel. A red wheel loses grip on that side and starts yawing and slipping; a drive shaft at zero is a broken shaft and the locomotive stalls. Collisions, overheating, wheelspin and abuse all drain the pool. At zero the machine is finished: it becomes a wreck that stays in the world, drags, tows, and can be broken down for parts. Hot-restarting an engine within seconds of shutdown costs durability, and the penalty stacks.

### Braking

Screw brakes on every locomotive, roughly two seconds of handwheel travel, brake cylinders with their own temperature and wear, fade under sustained hard braking, sparks off the tread and a squeal when they cook. The sander buys temporary adhesion at the cost of sand — which matters, because rain and snow take grip away.

### Driving

Hold Enter to start: starter cranking, then a warm-up with a progress bar, then idle running. Double-tap to shut down on a four-second fade. Headlights are a real moving light source; the horn has per-locomotive samples; the cooling fan, the sander and the screw brake are all on their own bindings and can be rebound in Controls. Regulator and reverser are notched handles with real detents, and both have a working centre/zero position. Steam, electric and diesel each sound like themselves from crank to idle.

### Track, weather and grades

The rail does not have super-glue grip. Adhesion drops in rain and drops further in snow, heavy trains briefly slip even with enough tractive effort, and a long downhill grade will push you past the limit if you do not brake. Bodies lean outward through curves on a spring-damper and pick up a subtle high-frequency shake at speed, reading as rail joints and wheel wear. A train that is light up front and heavy behind gets shoved downhill and dragged uphill.

### Multi-unit consists

Couple several locomotives into one consist with the MU cable: select units, confirm, and from then on every control you touch in any cab — regulator, reverser, screw brake, engine start/stop, sander, cooling, headlight, whistle — is forwarded to each unit as a real operation. The handles and reversers physically move on every locomotive because each one is genuinely being driven, not fed a synthetic throttle value. Tractive effort is combined; fuel, coal and water are still consumed per unit.

### Numbering

A name tag, a right-click and a short code give a locomotive a running number with its type prefix, stencilled above it as a black-on-yellow plate readable across a yard. The number is stored with the locomotive, so a fleet of identical black tanks stops being anonymous, and it survives a save and a reload.

### Performance

Batched track geometry with display-list caching, per-part model caching for locomotives, configurable view and particle culling, and an adaptive quality pass that trims render distance and effects when frame time goes bad and restores them near 60 FPS. The original's O(N²) vehicle update is gone.

### Crafting

Every locomotive, every piece of freight and passenger stock, the track layers, the switch tools, the turntable, the prybar, the canister and the MU cable have recipes. Nothing requires creative mode to obtain.

### Language

The whole interface is bilingual — English and Simplified Chinese — and the switch lives inside the mod's config screen: one button, applied live, no restart. HUD, tooltips, chat lines, advancement text and the config screen itself all follow it, independently of the vanilla game language.

---

## Fixes to the original mod

Only defects that exist in the original *Rails of War* 1.12.2 code appear in this section. The systems this build adds — fuel, boiler and heat, traction and adhesion, multi-unit, numbering, advancements, the bilingual interface — are ours; defects found inside them during development were fixed before release and are **not** counted as repairs to the original author's work.

**Crashes** — null chunk ticket every tick when the ticket pool was full or disabled; malformed ticket reading a null chunk coordinate; null frame dereferenced on derail; Shay sound loops touching fields that were still null; dismount path mounting a seat that did not exist; sneak-left-click deleting the locomotive you were riding.

**Physics** — speed hard-clamped at 36 km/h regardless of consist; speed freezing after a derail; brake force crossing zero into reverse thrust; derailed stock falling to Y = −64 before dying and dragging the rider down; adhesion computed from the vehicle's own weight, so nothing ever slipped on a gradient; a few percent per-tick speed decay bleeding kilometres off any real train.

**Sync and controls** — brake value echoed on a channel the client never read; state read from an unassigned field instead of the DataWatcher; `canControl` silently disabling every control after a passenger-list desync; six-second handwheel travel; regulator-zero and reverser-centre commands missing entirely.

**Rendering** — rail pieces vanishing and reappearing when the camera turned, because geometry was attached to the origin tile entity and 1.12 culls by that chunk; long pieces drawn twice by neighbouring chunks; stale textures and leaking GL display lists after a resource reload.

**Threading and stability** — network packets mutating world state on the Netty I/O thread, now scheduled to the main thread; unchecked entity casts in the throttle and reversing packets; a client main-thread spin loop on the headlight key that froze the game outright; track-geometry divide-by-zero paths that produced NaN coordinates and locomotives hanging in mid-air; chunk tickets never released for locomotives that no longer existed; client-only sound classes leaking into common proxy signatures, a dedicated-server class-loading hazard.

## Requirements and installation

- Minecraft **1.12.2** with **Forge**.
- Drop the jar into `mods`. It is a **complete replacement** — remove any other Rails of War jar first.
- Immersive Engineering and Immersive Petroleum are **optional**. This build does not need them for refuelling; the built-in Oil Can covers it.
- Back up your world and your config before the first launch after switching.

---

## Configuration

Everything lives in `row.cfg`, and an in-game screen edits it, writes it to disk and reads it back to verify.

**Language** — either the **Language / 界面语言** button at the top of the config screen, or `language=` in the `[general]` section of `row.cfg`. Applies immediately.

**Global** — track removal range, starting fuel percentage, accepted fuel fluids, speed decay on and off the rails, launch punch, gravity factor, the boiler group (explosion on/off, burst pressure, blast power, terrain damage toggle, low-water threshold, automatic injector, warning sound), engine temperature limits, culling and render distances, display-list caching and adaptive quality.

**Per locomotive** — top speed, acceleration, tractive effort, durability cap and adhesion, plus the fuel set for that machine: coal and water capacity and burn rate, energy capacity and draw, fluid capacity and draw, torque and rated power.

Every entry carries a bilingual comment. Save the file, then re-enter the world to apply. `configRevision` is an internal migration counter — do not edit it.

---

## Known limitations

- **You drive the train.** There is no autopilot, no timetable layer and no station stop logic; the timetable experiment was removed rather than shipped half-working, and it is not coming back.
- **A wreck cannot be repaired back into a running locomotive.** It can be towed, boarded and salvaged, but not resurrected.
- **No coupler tension telemetry.** The chain between cars is a visual; there is no force value to display or to break on.
- **The Shay's top speed is capped low by design.** It is a geared logging locomotive, not an express engine.
- **Boiler explosions do not damage terrain by default.** This is deliberate; the config can turn it back on, and it stays off on servers that would rather not have a locomotive level the yard.
- Dedicated server support is tested to the point of a clean boot with no exceptions, but this build is primarily developed and tuned for single player.

---

## Credits

Original *Rails of War* code, models, textures and sounds by **Nathaniel_Iten**. The added systems and fixes in this build are by its maintainer.

## License

All rights reserved. Redistribution of this jar outside its official project pages is not permitted. The original mod's assets remain under their author's terms.

Rails of War Enhanced Team

profile avatar
  • 1
    Projects
  • 67
    Downloads