This program simulates a Passenger Information System for the game Train Driver 2. The tool was created from 2 individual Powershell programs which have now been rewritten in Python and have been combined. There is a separate mode for the train driver to generate announcements for the train and its passengers and a mode for the dispatcher to generate platform announcements. The tool is designed to maximize the degree of automation with minimal input from the user.
– General: If a new version is detected, you can download the new version via the app
– General: Support for English, German and Polish
– Driver Mode: Automatic determination of the timetable
– Driver Mode: Custom Announcement for the Starting Station
– Driver Mode: Custom Announcement for the Last Station
– Driver Mode: Announcement option for exiting right or left, alternatively only the announcement of the next stop.
– Driver Mode: 5 Buttons for Special Announcements
– Driver Mode: Option to use a chime that is played before each announcement.
– Driver Mode: Auto selection of the next Station
– Driver Mode: All Audio Announcements can be customized
– Driver Mode: Announcements can be played via a Hotkey
– Driver Mode: Adjustment of the Output Volume for the Chime and Announcement
– Dispatcher Mode: Auto-load all available Stations
– Dispatcher Mode: Automatic detection of the trains in the station
– Dispatcher Mode: Automatic generation of the station announcement based on the timetable (“passing through”, “stop”, “train ends”)
– Dispatcher Mode: 10 buttons to generate a fast train passing announcement
– Dispatcher Mode: Automatic mention of the delay if it is over 5 minutes
– More features to come
This mode is intended for the train driver to generate announcements for his train. The announcements are logically only for passenger trains. As soon as you have received a timetable in Train Driver 2, enter the train number at the top and click on “Load Schedule”. The timetable will then be loaded. Note: The first and last stations are always loaded as well as all stops that are defined as PH in the timetable, all other entries in the timetable are ignored. To generate an announcement, select the stop for which you want to make an announcement.
There are now 3 options for the announcement: Exit right, Exit left and Next Stop Only. The first two options add the exit side to the announcement and Next Stop Only only mentions the next stop without mentioning an exit side. These 3 buttons also offer a hotkey function. More about this in the Hotkeys section. The announcements are always generated in the currently selected language. To change this, simply change the language in the selection menu.
There is also the option to play a chime before each announcement: To do this, press the “Select Gong” button and select the corresponding audio file.
The driver also has the option of generating special announcements. Buttons S1 to S5 are available for this purpose. The texts for these can be customized via config.cfg. Attention: Please make sure that the language selection corresponds to the text in the config.cfg.
This mode is for the dispatcher. The tool is designed to generate platform announcements. Audio announcements are generated and the announcement text is copied to the clipboard so that it can be pasted into the Train Driver 2 in-game chat. The tool automatically reads the train timetable and generates the announcements accordingly. Output is implemented in English, German, and Polish.
At the moment, the App generates the following Announcements fully automatically depending on the Timetable (EN is just an example. PL and DE have their own Text):
If a train has a PH in a Station and has no Delay, the Announcement looks like this:
Quote
*STATION ANNOUNCEMENT* Attention at track 1, The pospieszny from Trzymałkowice to LIGOTA GRABOWSKA is arriving. The planned Departure is 12:05.
If a train has a PH in a Station and has a Delay > 5 Minutes, the Announcement looks like this:
Quote
*STATION ANNOUNCEMENT* The pospieszny from station CZERMIN to station ŻORY, scheduled arrival 12:02, will arrive approximately 9 minutes late at platform 1. The delay is subject to change. Please pay attention to announcements.
If a Train ends at the Station, the Announcement looks like this:
Quote
*STATION ANNOUNCEMENT* Attention at track 1, the pospieszny from is arriving. This train ends here, please do not board the train.
If a train has no PH, is passing through, or has no timetable, this announcement is generated:
Quote
*STATION ANNOUNCEMENT* Attention at track 1, A train is passing through. Please stand back.
How to use the Mode:
1. Select the Station where you want to generate the Announcements
2. In the language selection, select the language in which the announcement is to be generated. Attention: This selection also applies to the audio announcements.
3. **Wait until the Train arrives at your Station**, click the Update Trains Button to Refresh the List of Trains
4. Select the Train for which you want to generate the Announcement
5. Select the track for which the announcement is to be made.
6. **OPTIONAL**: Do you want to hear the Announcement too? Then Select Play Audio. You can also choose a .wav File if you want the App to play a Gong before the Announcement
7. Click the Button Generate. **It will now generate the Announcement and copies the Text into your Clipboard** so that you can easily paste it into the Chat of TD2 with STRG+V. There is also a Pop Up appearing where you
can Check the generated Announcement.
Note: The announcements for a PH are generated only for the primary station, not for small stops.
The program offers the possibility to adapt the text for the voice generation in the Driver mode. This currently requires 2 files:
Categories.cfg
This file is used to convert the train category from the shortcode to the long version for the announcements. This is currently only used for the special announcement at the departure station.
config.cfg
This is the main file that is used for the announcements. Here you can see the templates for English, German, and Polish. These can be customized individually. Please note: The adjustment must be made before the program is started, otherwise the changes will be ignored.
Additional_Announcement: are special announcements that are randomly added to the announcement.
Special: These are for the buttons S1 to S5 which you can use for your own special announcements. German special announcements are currently defined there.
Hotkey: The hotkeys for the 3 buttons in driver mode are defined here.
Hotkeys can be used for the Buttons “Exit Left, “Exit Right” and “Next Stop Only” The Hotkeys can be defined in the config.cfg (see above). Please note that the Hotkeys only work when the App is started as Admin!
You can Download the Tool via Github: https://github.com/bravuralion/TD2-Driver-PIS-SYSTEM/releases
Add comment