Plan your route, adjust switches, and view car placement on an interactive map of the valley in the browser on your desktop, tablet, or phone. Play with a friend as your dispatcher.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are allowed to use the assets in this file in mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.2.0
Update for Derail Valley B99.4.
Version 1.1.0
Add support for B99.
Add setting to show or hide undiscovered demonstrator locomotives.
Version 1.0.4
Fix error loading leaflet.zoomhome.
Fix exception on load when PersistentJobsMod is not active.
Version 1.0.3
Add support for Derail Valley B98.
Improve responsiveness of locomotive remote control panel.
Fix player marker arrow being cut off.
Version 1.0.2
Add compatibility with Passenger Jobs 4.x.
Add compatibility with Persistent Jobs.
Add filter to show only accepted jobs in the job list.
Version 1.0.1
Fix crash during driving UI initialization in DV b96.
Fix controls not updating in loco remote display when player is not aboard the locomotive.
Fix rendering of reverser controls and coupling point list in loco remote tab.
Fix Couple button not being enabled at the correct coupling distance.
Version 1.0.0
Add compatibility with Derail Valley: Simulator.
Version 0.5.1
feat: more controls on DE2 remote interface, including coupling controls
fix: small styling changes to make license icons more readable
fix: embedded URL credentials
fix: CCL cars showing as locomotives
Version 0.5.0
Add locomotive remote capability to give limited control of DE2 shunters from the browser. Now dispatchers can assist with shunting!
Add job mass, length, base payment, and required licenses to the job list. Thanks to saltlands/@KremlinJanitor for the inspiration.
Version 0.4.0
Add permissions. All connected players will appear in the mod options UI, where the player can individually grant them permission to affect junctions / switches.
Add search function to job list.
Improve readability of job list by adding separator lines between jobs and highlighting the entire job entry with the followed car.
Add icon and title to web UI.
Improve in-game performance (eliminate freezing) when clients with slow connections are attached.
Improve responsiveness when adjusting junctions.
Improve handling when loading the web page while the game is in the middle of loading.
Improve readability of locomotive markers by making them pointier.
Add handling of special named trains from Passenger Jobs.
Version 0.3.0
Add sidebar with lists of cars and jobs. Clicking on a track or car will follow that car in the main view, and the lists will scroll to show a car clicked in the main view.
Add dark mode and different car color coding schemes in a new settings UI.
Add a button to zoom to the player's current location.
Siding labels render on top of cars for improved visibility.
Show multiple labels on longer sidings.
Enlarge zoom controls and track labels.
Change icons.
Reduce bandwidth usage.
Clicking near to a car but outside of the car itself should no longer follow the car.
Fix loading problem when tracks take a long time to load (e.g. on slow mobile connection).
Fix freezing issues when a connected browser has a slow connection.
Version 0.2.0
Add setting to start server at game load.
Color code cars by job.
Add job ID to cars.
Add track labels in stations.
Add a marker at the player position.
Initially show the player position when loading the web interface.
Click (or tap) player or car markers to follow them as they move. Click an empty part of the map to stop following.
Add a setting to optionally password protect the dispatcher web interface.
Note
Derail Valley only supports IPv4 connections. If your ISP gives you only an IPv6 internet address, you can use the IPv6->IPv4 reverse proxy tool written by GamingCoookie found here.
How to connect
Starting the Remote Dispatch server.
Install the mod with Unity Mod Manager.
Start Derail Valley.
Open the Unity Mod Manager interface (Ctrl-F10 by default, if you do not have it configured to appear at startup).
Find the entry in the list for the Remote Dispatch mod.
Click the options button.
Adjust the network port is necessary (7245 by default).
Set a server password, or leave it blank.
Start a new session, or load an existing session. Wait for the game to load. The server will start automatically as the game loads.
Connecting with your desktop computer
Open a modern web browser (Chrome, Firefox, Opera, Edge, etc.) on your computer, and navigate to http://127.0.0.1:7245. (Adjust the port number here if you changed it in step 4.)
Enter a username to identify yourself and the server password if you set one.
Connecting with your mobile device
Determine your desktop's local IP address. On Windows 10, this can be found in Settings->Network & Internet->Properties (button next to your network adapter)->scroll down to Properties->IPv4 address. Alternatively, open a command prompt and run ipconfig, then look for the IPv4 Address entry.
Ensure your device (tablet/phone) is connected to the same Wifi network as your desktop.
Open the device web browser and navigate to http://192.168.0.64:7245, adjusting the address to what you found in the prior step, and the port if you changed it when setting up the server.
Enter a username to identify yourself and the server password if you set one.
Playing with a friend
Set up port forwarding for your router. You can find guides for your router make and model at https://portforward.com. You want to forward the TCP port you set up above (7245 by default) to your desktop computer.
Determine your external network address. (https://ip.me/)
Tell your friend to point their web browser (desktop or mobile) to http://1.1.1.1:7245, using the correct IP address that you discovered in the prior step, and have them enter a username to identify them, and the server password if you set one.
Granting permissions
By default, you can use the web browser to examine the map, cars, and jobs, but cannot affect anything. To change junctions or drive a locomotive using the web browser, you must go into the Unity Mod Manager interface, open the Remote Dispatch mod options, and click the appropriate checkboxes next to the selected username(s).
Using the map view
Click (or tap) and drag to move the map. Zoom in or out via the mouse wheel (or pinch gestures).
Click (or tap) the red/white signs next to junctions to change them.
Click (or tap) train cars or the arrow-shaped player marker to keep them centered in view as they move. Click (or tap) a blank area of the map to stop following.
Using the job list
Click the clipboard icon in the sidebar to display the job list.
At the top of the job list is a search field. Typing a (possibly partial) job ID, track ID, or car ID will restrict the list to show only matching jobs.
Clicking a car ID or track ID in a job will scroll the map to that car or track.
Click a car in the map will scroll the job list to the job for that car (if any).
Using the locomotive remote
Click the controller icon in the sidebar to show the locomotive remote.
Select the DE2 locomotive ID from the drop down list.
Use the sliders and buttons to operate the locomotive just as you would for the in-game remote.
Ask for assistance on the official Derail Valley Discord if you are having trouble.
DO NOT REPORT BUGS TO THE GAME DEVELOPERS IF YOU ARE RUNNING MODS.