RailDriver connector for Train Sim World. This program connects to RailDriver via USB, reads control lever value on RailDriver and from TSW and synchornizes them by applying keystrokes.
As such:
Hopefully, this makes your TSW experience better, more realistic and exciting.
Anti-Virus Software: As the program reads value from TSW by accessing memory locations. Anti-Virus software may produce false positive, most likely on the underline library Memory.dll
. This program IS NOT A VIRUS. If you are not sure, you can always download the source code and compile from source.
This program is NOT endorsed by either P.I. Engineering (RailDriver) or Dovetail Games (TSW). This is simply a fan creation. I am NOT affilated with either of them.
Please use Issues
to discuss any specific problems or request new features.
No discussion/works here will be related to circumventing any digital rights protection mechanisms. Please supports the developers! (Yes, even though there's no official RailDriver support, it is still a very good game)
You do NOT need MacroWorks running for this to work. In fact, it may not work if MacroWorks is running so exit it first.
Note, you will need to switch the TSW keyboard mappings back to default if you have adjusted them. Otherwise it won't work.
Release
page, unzip it.TSWMod.exe
under administrator mode.Load RailDriver Calibration
and browse to the RailDriver calibration file ModernCalibration.rdm
. (It should be under <Your MacroWorks Install Location>/Devices/RailDriver
).See here for key legeneds for RailDriver function keys. Download and open the file with Google Docs.
This should only happen in rare cases and intermittent. In this case, simply tapping the keyboard key assoicated with the lever should re-sync it. For example, if the automatic brake lever ran away, tapping automatic brake increase/decrease key on the keyboard should get it back in sync.
If this happens consistently for a certain train, please report it in Issues
.
Sometimes the connector will fail to connect to TSW. Simply restart the connector mid-session should fix this. The connector will directly enter calibration mode and you can proceed with step 7. in Getting Started.
This should be improved in following releases.
Unfortunately, due to the nature of the program, this may happen. This can be solved by restarting the connector and re-calibrate.
For now, the focus has been on supporting the control levers in the train. Limited buttons are supported (Alerter, Bell, Sand etc.). More supports are yet to come.
The full list of supported trains and their respective packages:
To build this from source, Visual Studio 2019, C# WindowsForm Development Option is needed.
Thanks to:
For their contributions and feedbacks.
Big shout-out to crrispy on Steam. The detailed scripts really inspired this work. You can find them at here. Thread on RailsimFR (in french)
Railsim-FR Discussion For TSWRDConnector
Memory.dll Library (GPL-3.0 Licensed)
GPL-3