TSW Python Announcements Program

Description

This is my A-Level Computer Science project, which is due in Feb 2024. Any feedback on it before that date would be much appreciated.
This is a Major update to the program. It now uses Tkinter interfaces and databases to run announcements, instead of the command line.

Well, well, well. I have an update for you at last. Sorry for the delay since May! I have been extremly busy with school work in my final year of A-Levels. This is my computer science project for my component 3. Any feedback would be greatly appreciated. I have really enjoyed coding this version, so I hope you like it too!

This python program adds extra realism to your Train Sim games. You can now have station by station announcements, just like you hear on real trains, with the ability to create custom routes between stations to fit whatever route you choose to play in the game.

For further information, please read the 'README.txt' attached in the downloadable file.

ChangeLog

  • Whole new program built from the ground up, using a tkinter interface, instead of command line
  • For a full changelog, look in the README.txt file, located in the main folder.

Tags: announcements bakerloo-line birmingham great-western-express isle-of-wight london-commuter northern-trans-pennine python southeastern-high-speed west-cornwall-local

Dependencies

Overview — mutagen

**External python module required. Installation instructions in 'README.txt'. **

Used to get length of MP3 file to not overlap the files.

PyAudio
PyAudio
PyPI

**External python module required. Installation instructions in 'README.txt'. **

Used to play all MP3 files when announcing.

www.pygame.org

**External python module required. Installation instructions in 'README.txt'. **

Used for an upcoming feature of a microphone passthrough.

Installation Instructions

-- Instalation for Windows
Make sure that 'Add Python to PATH' was ticked when IDLE was installed, or the modules won't work correctly.
If nessecary, reinstall Python IDLE and tick this option.
Do not install IDLE from the Windows Store.

-Required Modules
	- pygame
	- mutagen
	- pyaudio

-Download and unzip the folder. (NOTE: If you don't unzip it, it won't work.)

- Open command prompt.
- Install required modules listed above: 
	- 'python -m pip install MODULE_NAME_GOES_HERE'
- Open Train Sim Announcer.py, by double clicking, or opening in IDLE
- (IDLE) - Press F5 to run the program. 

-- Instalation for Linux

-Required Modules
		- pygame
		- mutagen
		- pyaudio
		
- Open command prompt.
- Install all required modules
	- 'sudo apt-get install python3-MODULE_NAME_GOES_HERE'
- Open Train Sim Announcer.py
- Run the program

- The program is not being maintained on Linux. If you notice a problem with running the program on Linux, please don't hesitate to contact me. 

Additional Comments

If you would like to donate, you can do so here:
https://www.buymeacoffee.com/LiamS494
Thank you for your support.

Files

Comments

Loading comments…

About this mod

Created
24 Sept 2022
Updated
17 Jan 2024
Game
Train Sim World
Type of content
Utility
Train Sim World Content
Bakerloo Line, Birmingham Cross-City Line, Brighton Main Line: London Victoria - Brighton, Great Western Express, Isle Of Wight: Ryde - Shanklin, Northern Trans-Pennine: Manchester - Leeds, Southeastern Highspeed, West Cornwall Local: Penzance - St Austell & St Ives
Train Sim World Version
Train Sim World 2 before Rush Hour update (UE4 4.23), Train Sim World 2: Steam version (UE4 4.26), Train Sim World 2: Epic Games Store version (UE4 4.26), Train Sim World 3, Train Sim World 4