AP Sky Accurate Time of Day

Description

Program Synopsis
The 2D skies in Train Simulator Classic are only accurate for four days a year (one in each season) and for one location in the UK. This program allows them to be accurate for every day of the year, no matter where the route/scenario is in the world. You can drive with the correct sun/moon trajectories, sun/moon rise/set times, lighting, sky colours and adhesion based on the scenario date and location, whilst using the skies from the Armstrong Powerhouse Sky & Weather Enhancement Pack 2.0. Due to its complex nature, it is essential that you read the manual before attempting to use this program.

Please note that because Quick Drive scenarios do not show up in the scenario list like Career, Standard and Free Roam scenarios do, they are NOT SUPPORTED by this program. They are made by the simulator when you click to load into them, so it's not possible to select them beforehand.

Detailed Description
Train Simulator Classic has two systems for the sky/weather: a 2D Time of Day (TOD) system, and a 3D dynamic system using SilverLining.

The 2D system is from the original Train Simulator Classic release and comes with several limitations. Firstly, the lighting, sun/moon trajectories, and sunrise/set and moonrise/set times are all set on a per-season basis for one specific latitude, meaning any scenario set as summer will have the exact same sun/moon trajectories and timings. This particularly becomes an issue for scenarios set in winter months, where the sun should set between 4pm and 5pm (in the UK), but the season chosen in the scenario is spring to prevent there being snow on the ground, which gives a sunset time of 5:45pm. On the contrary, the 2D system is visually far more flexible and customisable, which is why Armstrong Powerhouse use it for their Sky & Weather Enhancement Pack 2.0.

The 3D system was introduced in Train Simulator 2015 under the Dynamic Clouds option. It improves upon the 2D system by dynamically setting the sun/moon trajectories and timings based on the scenario date and location, as well as having actual 3D clouds which move and cast shadows, compared to a static texture for the 2D system. However, it has less customisation and has other limitations, such as clouds not rendering in the distance.

This program gives you the best of both systems by combining the superior visuals and choice of sky/weather from the 2D system with the dynamic nature of the 3D system. This provides the most realistic sky/weather representation in Train Simulator Classic. Using the Sky & Weather Enhancement Pack 2.0 from Armstrong Powerhouse as a base (required for this program to function), it allows you to select which scenario you want to drive before you load it and updates the sun/moon trajectories and times to match the scenario date and location, just like the 3D system does by default. It will also set the lighting, sky colours and adhesion (on Armstrong Powerhouse rolling stock add-ons) to match the scenario date, rather than it being based on the season that is chosen in the scenario editor. For example, if you have a scenario with a date in January (northern hemisphere), but the season is set to spring so that there is no snow on the ground, the program will use lighting, sky colours and adhesion that is applicable to winter, rather than spring, to make it even more realistic.

The table below shows which lighting, sky colours and adhesion will be used, based on the scenario date.

There are a number of factors which could cause a specific route or scenario to generate an error message when using the program. Whilst the program has been thoroughly tested on multiple systems, it is impossible for us to test every route and scenario combination, so if you encounter any issues whilst using the program, please fill out the Google Form here, providing as much detail as possible.

Tags: accurate ap armstrong-powerhouse enhancement sky swep time-of-day tod weather

Dependencies

Installation Instructions

  1. Unzip the .zip file you have downloaded.
  2. Run the .exe file called “AP Sky Accurate Time of Day Installer.exe”
  3. Follow the steps to install the program.

The program is installed to “RailWorks\plugins\AP Sky Accurate Time of Day” and is called “AP Sky Accurate Time of Day.exe”. The program will start automatically when Train Simulator Classic is launched (this can be disabled, details in the manual), and a shortcut is included in the Start menu for ease of access.

Additional Comments

This program has been released with the permission of Armstrong Powerhouse, however they do not endorse it and are not liable for any issues that you may have as a result of using it. We (On Track Simulation) cannot be held responsible for any damage that this program causes to your installation, nor is it in any way affiliated with Armstrong Powerhouse and must be considered as a wholly third-party creation. It is essential to read the manual before attempting to use this program.

Changelog

v1.0.0 – Initial release.

v1.1.0 – Various fixes and improvements based on user feedback, including:

  • Routes and scenarios without an English display name should now be listed
  • Route and scenario names are now listed in the language the game is set to use in Steam (if the content has been translated to that language)
  • Extra white lines in the route and scenario lists removed
  • Attempts are now made to parse malformed XML files, reducing the number of errors when loading routes/scenarios
  • XML files in the wrong folder location should now be ignored in most cases
  • Added an option to have Lua scripts updated automatically when the program loads, so you don’t need to remember to press “Update Scripts” after installing/updating AP products
  • Added an option to set your RailWorks install path in the Settings window, rather than it relying on the install path set in the registry
  • Added an option to choose between light/dark mode, rather than it relying on the system setting
  • Relaunching Train Simulator Classic shouldn’t open a second window of the program if you hadn’t closed the previous window

v1.2.0 – Various fixes and improvements based on user feedback, including:

  • Fixed an issue where routes that directly reference the AP TOD files were unable to be selected with a file not found error
  • Fixed an issue when the TOD files referenced by a route differed between the route properties file and the route template file which meant the TOD didn’t update
  • Added a pop-up message when selecting a scenario that uses TOD files from Kuju/RailSimulatorCore that requires the simulator to restart
  • Fixed a crash if your Steam app manifest for TS had missing language fields
  • Added check to stop multiple instances of the program opening
  • Fixed an issue where the Class 66 EP and Class 442 SP (Pro) didn’t use amended sunrise and sunset times for determining headlight illumination (you’re required to press the “Update Scripts” button after installing this new version to apply the fix)
  • Steam should no longer register that the program is part of the game itself, meaning it should now be possible to restart Train Simulator Classic from Steam whilst keeping the program open
  • Moved all options to the Settings window
  • Added a new option to automatically close the program when TSC is closed
  • Added a new option to enable logging if asked to by support

v1.2.1 – Various fixes and improvements based on user feedback, including:

  • Fixed an issue where route template files weren’t properly extracted from .ap files which led to the TOD not being updated correctly
  • Fixed an issue with the program not automatically restarting after changing a setting which required a restart

v1.2.2 – Various fixes and improvements based on user feedback, including:

  • Fixed an issue with the sun and/or moon sometimes missing
  • Fixed an issue with night to sunrise and sunset to night transitioning too quickly

v1.2.3 – Various fixes and improvements based on user feedback, including:

  • Fixed an issue with a random cloudscape showing rather than the specific cloudscape selected from the Cloud EP
  • Adjusted the dates for each season for adhesion to be more accurate

v1.2.4 – Compatibility with the Sky & Weather Enhancement Pack 2.0 April 2026 update

  • If you have installed any of the following AP Packs between the 7th April 2026 and installing v1.2.4, AND you have run the Update Scripts function on v1.2.3 or older, please reinstall the AP Packs, and then run Update Scripts on v1.2.4.
    - Class 31 Enhancement Pack
    - Class 87 Locomotive Pack
    - Class 142 Diesel Multiple Unit Pack 2.0
    - Class 150/2 Diesel Multiple Unit Pack
    - Class 158/159 (Cummins) Enhancement Pack
    - Class 158 (Perkins) Enhancement Pack
    - Class 220/221 Enhancement Pack
    - Class 350 Enhancement Pack
    - Class 411/412 Electric Multiple Unit Pack
    - HST (MTU) Pack
    - HST (Valenta) Pack
    - HST (VP185) Pack

Files

Comments

Loading comments…

About this mod

Created
16 Feb 2025
Updated
9 Apr 2026
Game
Train Simulator Classic
Type of content
Enhancement pack
Avatar of On Track Simulation
Reskins, Rolling Stock and other Tools
by On Track Simulation