Skip to content

Addicted to Train Simulator? Finding the game too predictable? Let this tool tell you what your next shift is!

License

Notifications You must be signed in to change notification settings

piotrkilczuk/railworks-dispatcher

Repository files navigation

Railworks Dispatcher

Creates a work order by choosing a random scenario from your Railworks folder. Here is what your work order can look like:

image

Don't worry! It is created in vector, so it prints nice.

Setup

  • Install Python 3.3+ (this dependency will be removed soon). This project is being developed with Python 3.4.2.
  • Place in the same folder as your railworks.exe.

Usage

  • Unpack using all the RouteDescription.xml files and scenarios you want to be scanned. This is very easy using RWTools, but you can just as well unpack all the files using 7-Zip or similar tool. Since 2014 DTG have started packing some assets in ZIP files with .ap extension which Dispatcher is not able to look through at the moment for performance reasons. This has been described in detail by Mike, the author of RW-Tools, in his *.AP file tutorial. If you ever 'Verify integrity of game cache' using steam client you'll have to perform the unpacking again.
  • If you want to make sure you've unpacked everything correctly just run python dispatcher.py --list and you'll get the list of all scenarios available to Railworks Dispatcher grouped by routes. Any scenario or route that you don't see here is not available for the Dispatcher.
  • Run from console using python dispatcher.py - you will be asked about how many work orders you'd like to generated at once. A uniquely numbered HTML file will be generated in WorkOrders folder inside your Railworks installation and opened in your default browser.
  • You can also specify duration / number of work orders to create on the command line, e.g.:
    • python dispatcher.py 1h or python dispatcher.py 60m
    • python dispatcher.py 2

Acknowledgements

Changelog

  • 0.5 produces a timetable as well formation information by unpacking binary scenario metadata
  • 0.4.27 does not break on missing Steam config in dispatcher.yaml
  • 0.4.26 easies generating of missing scenarios according to Steam hours played limit
  • 0.4.25 improves handling of poorly tagged scenarios, such as ones with missing date
  • 0.4.24 adds a Changelog
  • 0.4.23 outputs number of minutes played in last 14 days, fetched from Steam

About

Addicted to Train Simulator? Finding the game too predictable? Let this tool tell you what your next shift is!

Resources

License

Stars

Watchers

Forks

Packages

No packages published