Source-checkedVehicles & ships

RailForge: Automated Rail Layer

by Szentigrade · for Factorio

Factorio 2.0 continuation of the classic FARL automated rail-layer. Builds rails, signals, poles, lamps, walls, concrete, landfill bridges, and blueprint-based rail layouts from a rail-laying train, with cargo-based placement, optional Space Age/Elevated Rails prototype recognition, and Forgeworks Core prototype/rail helper support.

121Downloads
5 mo agoLast updated
MITLicense
Factorio Mod PortalSource

About RailForge: Automated Rail Layer

From Factorio Mod Portal

Factorio 2.0 continuation of the classic FARL automated rail-layer. Builds rails, signals, poles, lamps, walls, concrete, landfill bridges, and blueprint-based rail layouts from a rail-laying train, with cargo-based placement, optional Space Age/Elevated Rails prototype recognition, and Forgeworks Core prototype/rail helper support.

RailForge / FART - Fully Automated Rail Transport

RailForge is a Factorio 2.0 continuation and modernization of the classic FARL-style automated rail-building experience.

Drive a specialized rail-laying train and let it build rail lines, signals, poles, lamps, walls, concrete, landfill crossings, and blueprint-based trackside layouts as it moves. The goal is to preserve the old “rail construction train” workflow while making it work cleanly with Factorio 2.0’s updated API, rail prototypes, blueprint behavior, wire connector system, and stricter runtime rules.

This is intended as a fresh Factorio 2.0-compatible automated rail layer, not a direct upload of the old FARL mod. It keeps the spirit of the classic rail-building train while rebuilding and modernizing the runtime behavior for the current game.

What It Does

RailForge lets you build rail corridors by driving a train instead of hand-placing every rail, signal, pole, lamp, wall, and tile.

Load the train with the required materials, configure the rail-laying options, then drive. As the train moves, it can place rails and supported trackside infrastructure from cargo. It can also use blueprint layouts to customize what gets placed beside the rails.

The main focus of this release is stable ground-rail construction for Factorio 2.0.

Main Features

  • Automatically lays rails while driving a train.
  • Supports straight rail construction.
  • Supports turning behavior.
  • Supports parallel track construction.
  • Places rail signals and chain signals from the active layout.
  • Places electric poles, lamps, walls, and other configured rail-side entities.
  • Supports blueprint-based vertical and diagonal rail layouts.
  • Supports custom rail corridor decoration through blueprints.
  • Can pave concrete, stone path, refined concrete, or other configured tiles along the rail path.
  • Can bridge water when enabled, using landfill from train cargo.
  • Stops before water when bridge-water mode is disabled.
  • Supports maintenance mode for replacing an existing rail layout.
  • Supports bulldozer mode for removing rails and related entities behind the train.
  • Removes trees, rocks, cliffs, and other obstructions when enabled.
  • Uses real train cargo for placed items.
  • Supports ghost placement when configured.
  • Handles Factorio 2.0 free red/green wire behavior correctly.
  • Includes groundwork for optional Space Age / Elevated Rails recognition.

Factorio 2.0 Modernization

RailForge has been updated for Factorio 2.0 instead of relying on old 1.1-era runtime behavior.

Major internal changes include:

  • Migrated old global storage patterns to Factorio 2.0 storage.
  • Updated runtime prototype access for the current Factorio API.
  • Updated blueprint icon handling to use Factorio 2.0 preview_icons.
  • Updated electric pole wire handling for the Factorio 2.0 wire connector API.
  • Replaced old flying-text entity usage with rendering text.
  • Updated rail direction handling for Factorio 2.0’s expanded direction system.
  • Updated rail prototype handling for the 2.0 rail prototype split.
  • Updated collision and tile checks for current tile and water behavior.
  • Removed cheat-mode free-build bypasses from real placement logic.
  • Hardened cargo accounting for rails, landfill, concrete, poles, signals, lamps, walls, and blueprint entities.

Cargo-Based Construction

RailForge is not intended to build for free.

Real construction uses train cargo. The rail-laying train should carry the items it is expected to place, such as:

  • Rails
  • Rail signals
  • Chain signals
  • Electric poles
  • Lamps
  • Walls
  • Concrete or other paving tiles
  • Landfill for bridge-water construction
  • Any custom blueprint entities used in the selected rail layout

If the required item is missing, RailForge can either stop construction or place ghosts, depending on configuration.

Red and green circuit wires do not need to be loaded into the train, because Factorio 2.0 treats circuit wires as free virtual wire connections.

Bridge Water Mode

Bridge water mode allows the rail layer to cross water, but it is not free.

When bridge water mode is enabled, the train must carry landfill. RailForge consumes landfill from the train cargo before placing rails across water. If there is not enough landfill, construction should stop instead of silently building across water.

When bridge water mode is disabled, RailForge should stop before water and avoid placing rails, poles, walls, lamps, signals, or paving across the water surface.

Blueprint Layouts

RailForge can read rail-layout blueprints and use them to place side entities along the track.

This allows customized rail corridors with poles, lamps, walls, signals, turrets, or other supported entities. The mod includes helper commands and GUI actions for generating basic vertical and diagonal layouts, then reading them back into the train’s active configuration.

Blueprint layouts are useful when you want a repeatable rail corridor design instead of only placing bare rails.

Modes

Normal Construction

Builds rails and configured side entities while driving.

Maintenance Mode

Removes and replaces an existing layout in front of the train. This is useful when upgrading or refreshing an existing rail corridor.

Bulldozer Mode

Removes rails and supported rail-side entities behind the train. This is useful when clearing old rail lines.

Ghost Mode

When enabled, missing items can be placed as ghosts instead of being placed for free. This lets construction robots finish the work later.

Space Age / Elevated Rails Status

This release includes optional recognition for Space Age / Elevated Rails prototype names, but the main stable feature set is still ground rail construction.

Read the full description on Factorio Mod Portal →

Highlights

From source data

Footprint

Rated a light load on a server.

License

Published under MIT.

Last update

Its author last shipped an update 5 mo ago.

RailForge: Automated Rail Layer on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
5.0.1, released 2026-06-01

Recent builds

BuildReleasedGame versionsLoaders
5.0.12026-06-012.0n/a
5.0.02026-05-312.0n/a

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run RailForge: Automated Rail Layer on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

Vehicles & ships

Cars, boats, aircraft, ships and other things to drive or fly.

Runs on your server

From source side support

Factorio Mod Portal lists RailForge: Automated Rail Layer as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
  • ✓AuthorSzentigrade, as published on Factorio Mod Portal
  • ✓LicenseMITFree

RailForge: Automated Rail Layer, answered

Generated from the mod’s own source data.

Do my players need to install RailForge: Automated Rail Layer?

Factorio Mod Portal lists RailForge: Automated Rail Layer as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. RailForge: Automated Rail Layer is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run RailForge: Automated Rail Layer on a Factorio server.

Deploy in about a minute from $2.99 a month, then add RailForge: Automated Rail Layer in one click.