Just updated to TS 2017 and having trouble connecting your existing RailDriver install to the new update? Click here to follow the steps to resolve this issue.

Using the RailDriver with Train Simulator by Dovetail Games

Software

By downloading this software, you agree to our Terms & Conditions.

Download: MW3.1 Installation Package v. 1.1.1.79 (4.17 MB) Updated 1/26/16

    Contains:
  • RailDriver® Calibration v. 1.0.3.0
  • MacroWorks 3.1 for Train Simulator v. 1.1.1.79
    Release Notes:
  • Better compatibilty with Dovetial Game's notched lever system
  • Advanced notch lever system

Legends

Download Legends for Train Simulator here. (0.4 MB)

Installation

  1. Install Train Simulator through Steam.
  2. Plug in your RailDriver.
  3. Download and install the MW3.1(1.1.1.79)Installer_RD.exe installation file linked above.
  4. Follow the steps until the installer finishes.
  5. When MacroWorks 3.1 launches for the first time, it will ask you to calibrate. Follow the instructions through the calibration utility.
  6. In MacroWorks 3.1, go to File -> New to make sure that the latest script is running.
  7. Launch Train Simulator. Go to Options -> Gameplay and making sure the Driving Model is set to “Expert.”
  8. Select your route and train. Drive!

If MW3.1 says "Cannot find RailDriver.dll"

This happens if our software (MacroWorks 3.1) doesn’t know where Train Simulator is installed. You can either reinstall Train Simulator into the default location, or follow these steps to edit your script files to point to your actual install.

Windows XP:

  1. Double-click on My Computer and open the C:\ Drive.
  2. Click on 'Tools' -> 'Folder Options...', go to the 'View' tab and click the button by 'Show hidden files and folders' then click OK.
  3. Navigate to [C:\Documents and Settings\[your login name]\Local Settings\Application Data\PI Engineering\MacroWorks 3\MyScripts] and you should see a file like Script_210_##.mw3
  4. Double-click on this file to open it. Windows may tell you that it can’t open this file, if so choose 'Select the program from a list', find and choose 'Notepad' then click OK.
  5. Once this file is open, you will need to find the following line and change the letter from C: to the drive where you have Steam with Train Simulator installed, or change the full path if you have it in a non-default location – Dim dllpaths As String() = {"C:\Program Files\Steam\steamapps\common\railworks\plugins\", "C:\Program Files (x86)\Steam\steamapps\common\railworks\plugins\"} 'locations of the RailDriver.dll
  6. After changing this line, go to 'File' -> 'Save' and then close this window.
  7. Start up MacroWorks 3.1. It should load correctly now.

Windows Vista, 7 and 8/8.1

  1. Find Notepad on your computer, right-click on the icon and select 'Run as administrator.'
  2. In Notepad, go to 'File' -> 'Open'. If you don't have your computer set to show hidden folders, do this now ('Organize' -> 'Folder and Search Options'. Choose the 'View' tab and click the box by 'Show hidden folders, files'. Save these settings.)
  3. Change the file type from 'Text' to 'All files' then:
    • If you have received an error message about being unable to find the .dll file, navigate to [C:\Users\[your login name] \AppData\Local\PI Engineering\MacroWorks 3\MyScripts] and you should see a file that looks like Script_210_##.mw3. Select this and click 'Open'. You may also want to edit the file in the step below, as this is used if you ever start a 'New' script.
    • If you have not tried to run MacroWorks 3 at all and have never seen an error message about the missing .dll file, navigate to [C:\Program Files (x86)\PI Engineering\MacroWorks 3.1\Devices\RailDriver], select Script_210_template.mw3 and click 'Open'.
  4. Once this file is open, you will need to find the following line and change the letter from C: to the drive where you have Steam with Train Simulator installed, or change the full path if you have it in a non-default location – Dim dllpaths As String() = {"C:\Program Files\Steam\steamapps\common\railworks\plugins\", "C:\Program Files (x86)\Steam\steamapps\common\railworks\plugins\"} 'locations of the RailDriver.dll
  5. After changing this line, go to 'File' -> 'Save' and then close this window.
  6. If you are on Windows 8, please see this step: Windows 8.
  7. Start up MacroWorks 3.1. It should load correctly now.

Notes & Warnings

  • The MacroWorks 3.1 software must be running in order for the RailDriver to connect to Train Simulator. It will NOT work otherwise.
  • If you are using the RailDriver with other train software on the same computer, you will need to completely exit out of MW3.1 before starting the other software.

FAQ/Common Problems

I am on Windows 8 or 8.1, and no matter what I do I get the message that MW3.1 can't find a DLL.
With Windows 8, Microsoft stopped shipping an important dependency for RailSimulator.com's RailDriver.dll that is installed with Train Simulator 2013. We have uploaded this DLL file. Download and unzip the msvcr100.zip file. Move the mscvr100.dll file into the same folder your RailDriver.dll file resides in, by default: C:/Program Files (x86)/Steam/steamapps/common/railworks/plugins/. Restart MacroWorks 3.1.

I installed MW3.1 and do not get any errors, and the blue buttons work, but the analog controls do not respond at all.
This happens if you have previously installed an earlier version of MacroWorks 3. You need to go to File > New within the MacroWorks 3.1 software. This will ensure that your current installation is using the most updated script file.

I've closed the MacroWorks 3.1 window, but the RailDriver still isn't working with my other simulator.
MacroWorks 3.1 is not completely turned off when you close the programming window.  To shut it down completely, you will need to either right-click on the system tray icon and select 'Exit', or open up the programming window and go to 'File' > 'Exit'.  When you do this you will get a box asking you to confirm shutting down the software, and you must choose 'Yes' to completely shut down the software.

I programmed one of the blue keys with a keyboard shortcut, but it’s not working in Train Simulator.
This can almost always be fixed by setting up the programming just a little differently, especially if the key is meant to be held down (this is how pre-set keys like the Sander and Horn are set up).

  1. Open MacroWorks 3.1.
  2. If there's programming on the key, right click on it and go to Delete > Software Macros.
  3. Press the button on your RailDriver that you want to program (or double-click on it in the GUI).
  4. Make sure you are in "Keystrokes" mode.
  5. Check the box that says "Automatic separation of up and downstrokes."
  6. Program your key.
  7. Click 'Save' and try it out in RailWorks.

Reprogramming

  1. Right click on MW3.1 icon in the system tray by your clock, or double-click on the icon on your desktop.
  2. You should now see the MacroWorks 3.1 interface.
  3. Select the button you wish to program.
  4. Program your keystrokes or add your function.
  5. Click 'Save' when done with that key.
  6. When finished programming your keys close the MW3.1 interface.

There are some pre-set Train Simulator functions to select from if you wish to customize your RailDriver layout. To access these, open up MacroWorks 3.1, select a button, and choose the Functions tab. Click "Show Functions." You will find the Train Simulator functions under "RailWorks." Double-click on the function you wish to assign, and click "Save."

If you decide to save a custom layout for your RailDriver (or multiple layouts so you can have them set up for a specific engine, a steam train set, etc.) we highly recommend changing the save path to an easy to find location and giving the file a custom name. For any programming you do to the buttons on the RailDriver, you will need to make sure you have 'Keystrokes' selected in the programming pane and input the key shortcut that you would use in Train Simulator to do that function. 'Text' and 'Shortcuts' should not be used for Train Simulator programming, and double-clicking on something from the Functions sidebar will automatically set the programming mode to Functions.

Advanced Users

Advanced users of the Raildriver, who are interested in modifying and customizing the code for their RailDriver script (written in VB), should download UsingRailDriverwithDovetailTS.zip.

The above zip file contains description and usage of Dovetail Games’ RailDriver.dll file, as well as a sample application (with source code).

Note: The above is only for use with Dovetail’s Train Simulator. This is not for developers wishing to integrate the RailDriver into their own software. For more information on how to do that, visit P.I. Engineering’s Software Development Kit which includes samples for the RailDriver. Be sure to select "RailDriver" when installing.

Need Help?

Our tech support department would be glad to answer any questions you may have! Just call us at 1-800-628-3185 ex. 19 (Monday through Friday, 8AM - 5PM eastern time), or e-mail us at tech@piengineering.com

 

 

 

0 item(s) in cart

Shopping Cart
We accept VISA Mastercard American Express Discover

Join our Private E-mail List



Privacy Policy


RailDriver®
A Division of P.I. Engineering
101 Innovation Parkway
Williamston, MI 48895

Toll-Free: (800) 628-3185
Phone: (517) 655-5523
Fax: (517) 655-4926

raildriver.com
sales@raildriver.com
 
 

Visit our Parent Company:

piengineering.com