For Steam/RailWorks installed using non-default settings:
Windows XP:
Double-click on My Computer and open the C:\ Drive.
Click on 'Tools' -> 'Folder Options...', go to the 'View' tab and click the button by 'Show hidden files and folders' then click OK.
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
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.
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 RailWorks 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
After changing this line, go to 'File' -> 'Save' and then close this window.
Start up MacroWorks 3. It should load correctly now.
Windows Vista & 7
Find Notepad on your computer, right-click on the icon and select 'Run as administrator.'
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.)
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\Devices\RailDriver], select RailWorks_Script_210_template.mw3 and click 'Open'.
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 RailWorks 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
After changing this line, go to 'File' -> 'Save' and then close this window.
Start up MacroWorks 3. It should load correctly now.
Reprogramming
The above is from the RailDriver site at http://www.raildriver.com/support/railworks.php
Bring back the "Go" button