Skip to content

BRTrains/BRTrains2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,833 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BR Trains v2

A UK Train Set addon (newGRF) for OpenTTD, aiming to replicate UK rail (train and tram) rolling stock from the entire history of the British Railway Network

With a focus on real-world consists and liveries, this set is unashamedly real-world-first with an aim to be able to recreate the UK rail network in game. If it's ever run on the UK network, we probably either have it or intend to soon. If you find something missing you love, let us know in Discord on TT-Forums - requests tend to jump to the top of the queue

Installation

Grab the latest release from the in-game content downloader.

Alternatively get it from the releases page and copy it into your OpenTTD/newGRF folder (usually in your Documents folder)

Building from Source

Prerequisites

  • Python 3 (3.14 or later is recommended, earlier versions should work but aren't tested)
  • nml Python package, available via pip or from the OpenTTD Github

To build the grf, run build.py:

python build.py

Or optionally

python build.py --grf-name brtrainsv2

The build script collates .pnml files into a single .nml file as required by the nmlc nml compiler. It then compiles the .nml file into a .grf. By default these files will be brtrainsv2.nml and brtrainsv2.grf, but an alternate filename can be passed in as above

The script will attempt to automatically copy the resulting .grf file into the user's Documents folder on Windows (including OneDrive/Documents if required) or MacOS

Credits and Contributions

BRTrains V2 largely Authored/Drawn/Curated by Audigex, built on the work of many others including predecessor projects

This project is a culmination of work by many members of the OpenTTD community over a long period of time

Individual contributions can be found at CREDITS

Contributing

If you want to add to the pack, just pull request it and it might make it in, or join us on Discord (invite link below) and post any sprites you'd like to contribute

Discord and Forums

License

This project is licensed under the GPLv2 license. All pull requests are assumed to be offered under the same license See LICENSE for license details

About

A UK Train NewGRF (graphics pack) for the open source game OpenTTD

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages