PC Ts World Raildriver And Joystick Interface

Discussion in 'TSW General Discussion' started by CobraOne, Nov 8, 2022.

  1. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,566
    Likes Received:
    4,214
    Thanks for the info - but for me, it isn't the levers not responding but CobraOne's program stops interacting with windows (Windows Event ID 1002 Application hanging with Task category "Hanging Events" That being said - that entry could very well be from me forcing the non responding application closed. I will try the double tap on "1" next time it hangs to see if it clears up the problem.
     
  2. Conductor B

    Conductor B Well-Known Member

    Joined:
    Feb 18, 2022
    Messages:
    272
    Likes Received:
    310
    I like how this mod fixes a lot of throttle problems I experience - mainly, having the brakes apply in the M-units on LIRR or the dynamics engaging on passenger diesels when the raildriver throttle is in position .05 or higher. In other words, the mod prevents unintended brakes/dynamics.

    However, one thing I noticed is that any natively-mapped function keys are gone and not available. For example, I used to be able to toggle the marker lights of the M9 with a function key. I used Cobra One's mod to switch which function key, but now that option is completely gone. I can easily map keyboard inputs to another function key, but I now have no access at all to pre-existing function keys that have no corresponding keyboard key.

    For context, many of the function keys in the below screenshot used to be yellow. Now they are all gray. This is true for all trains. Is there some way to return the natively-mapped Raildriver function keys so that those cab controls that lack equivalent keyboard mappings can still be used with your mod?
    2025-07-27_15-58-48.png


    Otherwise, great work! With your mod and Cobra One's, the Raildriver experience is leaps and bounds over what the native Raildriver support used to be.
     
  3. PrimeMoverSimulator

    PrimeMoverSimulator New Member

    Joined:
    Sep 21, 2024
    Messages:
    24
    Likes Received:
    21
    When I was making the mods, the main focus was to reconfigure and remap ONLY the main face buttons and levers that are used on the RailDriver (as well as including the Zoom/Rocker Button, and the panning control button as actual controls, because why not lol). Since I personally hardly used the function keys in the first place, I felt that mapping those buttons was unnecessary, as well as the fact that there are simply far too many buttons to figure out what value numbers they are in the EHC files and how I would consistently map them across all of the applicable locomotive, although they will be mapped sometime in the future. I even mentioned this (albeit very briefly) in the readme file that I attached alongside the mods.

    Again, eventually, I will get around to figuring out which in-game switches and buttons on each trains will get mapped onto the function keys. The plans that I have for the function keys are to find a consistent way to map them out across all of my mods. For example, leftmost function control keys will revolve around the safety systems, rightmost keys will revolve around anything brake related, and the middlemost keys will revolve around anything electrical related, such as the pantographs. Currently, other reconfiguration mods that I am currently working on (mainly some of the German locomotives that AREN'T the DB ICE trains) are taking up my time from doing so.
     
  4. dirtydigs#8424

    dirtydigs#8424 New Member

    Joined:
    Monday
    Messages:
    2
    Likes Received:
    0
    Just found a handy tip for Honeycomb Bravo users and how to stop accidentally going into the emergency brake range. You'll need to accept that the train brake lever will only be able to be used with full physically forward being brake off, full back being full on. The detent button will put it into (and out of) emergency.

    With this awesome bit of software open on the screen and running, move the lever you want as train brake down until the full service position is reached in game. Copy the value in the joystick interface. Stop the interface and edit the master joystick assignment (I strongly recommend making a new one for that loco obviously). Edit the max range for that lever to be negative whatever that number was (e.g. -0.1764706, 1 is what I got for the Class 47/4 HI). That stops in the ingame lever from moving beyond that position.

    Now create a new button map for the loco and assign the detent button to Auto Brake Increase and Decrease respectively. Edit current command for each, assigning pressed and released to each as required, and add a delay (200ms works for me). You may also need to change KEY_APOSTROPHE to KEY_APOSTROPHE_US depending on your keyboard.

    Note: When testing, it won't work when the Raildriver and Joystick interface window is open and on top of the game window. Keyboard strokes don't seem to, and the detent is acting as a keyboard button.

    Make a copy of the initial lever assignment you used (e.g. throttlefullrange) and save it as the name of that loco. Assign the new button map to that lever assignment in the <keymaps> <button map> drop down menu.

    When you want to drive that loco, load the Master Joystick Assignment for that loco, choose the lever map from the drop down, Start Callback. Enjoy moving the lever to the full service position at full speed without hitting the emergency brakes accidentally.
     
    Last edited: Jul 30, 2025 at 4:07 AM
  5. DarthBelan

    DarthBelan New Member

    Joined:
    Aug 25, 2019
    Messages:
    28
    Likes Received:
    14
    So I downloaded SprattyHeath excellent Class 66 Megapack mod from Train Sim Community. I've found that the locos in his pack don't work with the Raildriver. Is there anything I can do, like create a custom profile with this interface to get it to work? Sprattyhealth doesn't own a Raildriver, and doesn't have the know how to make it compatible.
     
  6. Justinminers

    Justinminers New Member

    Joined:
    Jul 3, 2025
    Messages:
    1
    Likes Received:
    0
    Hi there, im very new to using controllers for TSW5. I recently got the TSC-X Controller and also the TS Interfact Software, my problem is that im trying to use the BR 101 Expert but the power lever does not work it just somehow puts the dynamic brake to 0, am i doing something wrong?
     
  7. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    287
    Likes Received:
    256
    In the Enabled Assets dropdown box on the main screen, try selecting ThrottleFullRange.
     
    Last edited: Jul 29, 2025 at 12:27 PM
  8. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    287
    Likes Received:
    256
    Unfortunately. the mod does not work with either my program or using the original PieHid64.dll supplied with the game.
    This is something the mod creator will have to look at.
    Chris
     
  9. SprattyHeath

    SprattyHeath Well-Known Member

    Joined:
    Jul 12, 2018
    Messages:
    420
    Likes Received:
    1,775
    I dont have access to a RailDriver to test it, nor do I know how to set it up in the editor.
     
  10. DarthBelan

    DarthBelan New Member

    Joined:
    Aug 25, 2019
    Messages:
    28
    Likes Received:
    14
    As I said, and Spratty said above, he doesn't have a Raildriver, or the know how to set it up in the editor. Is there anything you, or anyone here, can do to help him out?
     
  11. raz22

    raz22 New Member

    Joined:
    Jul 9, 2025
    Messages:
    10
    Likes Received:
    2
    Hi SprattyHeath . I think I can help you and DarthBelan , and anyone else who uses your pack. I believe the RailDriver issue lies in the custom liveries. This came up with Trag and his usage of custom liveries in his Oakville timetable - the locos with custom liveries would not respond to levers (buttons were ok, strangely enough). I worked with Trag and gave him this info that I got from the modding community on Discord:

    ISSUE:

    “the separated RVDs require either a modified original EHC file to support it, or a new EHC file for only it it's likely those mods you bring up didn't add the EHC file and thus don't support raildriver”


    When I gave that info to Trag (and after checking a version without the special liveries DID work), he replied:

    "I found "RailDriver Reconfiguration Mod - US Passenger & Freight Locomotives" on the TSC site which mentioned EHC. After looking at this I found a EHC folder in the locomotive folders in the Editor. I have copied them over to my reskins but not sure if there is anything that I need to hook up."

    When I tried that PAK, it still did not work. So I replied:

    "The reskinned locos still aren't responding to the inputs, but I think it's what you said: there is something you need to hook up. In the modding forum I had asked: "Is there anything I can do to try to get it to work?" - this is before you had replied. The answer was this: basically all you'd need to do is get in the editor, make a new plugin, copy the EHC file from the original DLCs somewhere in your plugin, assign the EHC file to the modified engines, save and pak (you'd likely need to recreate the mod plugins too, you can find those in FModel and just create a blank RVD with the same name as the modded one to point the EHC to) So there is an action of having to assign the EHC file to the modified engines."

    Trag replied;

    "I have uploaded a new version using the same link. When you get a chance can you download it and give it a try. All locomotives should be listed under OSD (don't know if that makes a difference). I had to modify the EHC file and not the RVD."

    And that worked! So now his Oakville timetables and Birmingham Cross Country timetables that use custom liveries were updated, and Raildriver now works for everyone. I am currently trying to get ahold of Fawx to help with the custom LNER liveries in his Fife Circle timetable. They are also not hooked up properly for Raildriver support. There is a special edition Leven re-skin that also breaks Raildriver support for Raildriver (and thus this software and any lever).

    So the key seems to be getting the EHC file and modifying it to have Raildriver support. I hope that this starts spreading in the modding community because it's a 50-50 chance that a new reskin may or may not be controllable with this software, only because of the livery used and the hookup not being there.

    I hope that is helpful! Trag was very responsive on Discord if you want to reach out to him (at Trag)
     
    • Like Like x 2
  12. CFTFC

    CFTFC Well-Known Member

    Joined:
    Apr 18, 2020
    Messages:
    210
    Likes Received:
    266
    Just as a follow up here is what I did in picture form,
    Screenshot (270).jpg

    1. Copy the RailDriver or EHC folder located in the Data folder from the original plugin to your reskin plugin.
    2. Open EHC file.
    3. Change RVD to your reskin RVD. You can add more than one RVD if you have multiple liveries.
     
    • Like Like x 1
  13. SprattyHeath

    SprattyHeath Well-Known Member

    Joined:
    Jul 12, 2018
    Messages:
    420
    Likes Received:
    1,775
    Thanks a ton! I will get this updated ASAP
     
    • Like Like x 2
  14. DarthBelan

    DarthBelan New Member

    Joined:
    Aug 25, 2019
    Messages:
    28
    Likes Received:
    14
    Thanks raz22 and CFTFC for chiming in, this is only going to make Spratty's excellent mod that much better.
     
  15. raz22

    raz22 New Member

    Joined:
    Jul 9, 2025
    Messages:
    10
    Likes Received:
    2
    I agree! SprattyHeath if this works then please spread the word to other modders who make amazing content like you and Trag! I love using the customized timetables but it's a bummer to move that lever and...nothing happens! :D
     
  16. haskell99

    haskell99 Member

    Joined:
    Jul 5, 2024
    Messages:
    31
    Likes Received:
    16
    Where is the "master joystick assignment?" Is that a file somewhere?

    Thanks!
     
  17. dirtydigs#8424

    dirtydigs#8424 New Member

    Joined:
    Monday
    Messages:
    2
    Likes Received:
    0
    In the 'Raildriver and Joystick' interface on the right hand side (where you assign the levers to throttle, train brake etc.). There are some buttons above (new, open, copy, edit). I forgot to mention creating a new lever assignment as well (copy it from whichever default lever assignment you would use for that loco. e.g. 'throttlefullrange'). Then create the new button assignment, assign the detents etc.,and assign the button assignment from the <keymap> <button map> menu to that loco (which will be whatever you saved that lever assignment as).

    When you are testing to see if it worked, you'll need to click on the game window first such that the Raildriver and Joystick interface is hidden. If the interface is open and on top of the game window, the game stops reading keystrokes. Try pressing the apostrophe or semi-colon key with the window on top and then hidden, and you'll see what I mean.

    Then you can just choose that lever assignment from the drop down list, load the master joystick assignment and Start Callback.
     
    Last edited: Jul 30, 2025 at 4:10 AM
  18. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    287
    Likes Received:
    256
    It's the grid on the right hand side of the main screen. If you can't see it. then click on the "Show Lever Assignment" check box next to the Enabled Assets..
     
  19. chippiearnold

    chippiearnold Member

    Joined:
    Oct 24, 2017
    Messages:
    35
    Likes Received:
    62
    Has anyone got levers working with the new Class 170? I can't seem to get any response apart from key presses. Lever assignments don't do anything. For reference, I'm using a Honeycomb throttle. All working fine on other trains (150,153,158,323 tested).
     
  20. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,124
    Likes Received:
    2,119
    Only one of the 4 170s are connected to the Rail Driver. It is going to take a patch by Rivet to fix this.
     
    • Like Like x 2
  21. Crosstie

    Crosstie Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    5,815
    Likes Received:
    13,287
    Well, since I only drive trains using the RD, I'll have to pass on this pack.

    Despite all the issues raised in the forum, I was actually reconsidering buying it, just to have something other than an emu to drive.

    But the lack of RD compatibility puts it on hold once again.

    Hard to fathom how this could happen, though this is not the first time a 3rd party has " forgotten " to include RD in a release.

    It really should be caught by DTG QA but I guess they dropped the ball.
     
    • Like Like x 1
  22. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,124
    Likes Received:
    2,119
    Crosstie, this is the reason that I refunded this dlc. As soon as I found out that only 1 of 4 train sets worked with the Rail Driver, it was, sorry no go on this. I may not even buy it once fixed since I have the mod tt for this route which includes both the XC and WM 170s, maybe not fully accurate, the WM set still has the 1st class section, but they are there and drivable. I really don't see much difference between the 2019 tt from Rivet and the 2021 tt in the mod.
     
  23. Crosstie

    Crosstie Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    5,815
    Likes Received:
    13,287
    Fair enough. When that same point was raised by another member, she was shot down by other posters.

    However, as I don't do mods I would likely pop for this dlc when it's patched for RD compatibility. Maybe.
     
    Last edited: Jul 30, 2025 at 2:35 PM
  24. haskell99

    haskell99 Member

    Joined:
    Jul 5, 2024
    Messages:
    31
    Likes Received:
    16
    Ah. I keep that section hidden normally. That explains it. Thank you both!
     
  25. Carlos Alexandre

    Carlos Alexandre New Member

    Joined:
    Aug 11, 2018
    Messages:
    12
    Likes Received:
    0
    I set up RaidDriver by calibrating it using this app.
    I logged into my TSW5 and calibrated the levers as usual.
    When I run any locomotive with fixed levers in RailDriver, the levers move automatically during the game's cab animations.
    Note:
    I'm using Google Translate.
     
  26. PrimeMoverSimulator

    PrimeMoverSimulator New Member

    Joined:
    Sep 21, 2024
    Messages:
    24
    Likes Received:
    21
    If you haven't yet, you may need to set the Raildriver/Joystick Sensitivity value to either 2 or 3 (for me personally, I set it to 2), otherwise, you will still continue to get the ghost inputs if the value is set lower than 2. Any higher than 3 will cause the in-game levers to be stiffer to control.
    bandicam 2025-07-30 13-14-24-305.jpg
     
    Last edited: Jul 30, 2025 at 9:25 PM
    • Like Like x 1
  27. PrimeMoverSimulator

    PrimeMoverSimulator New Member

    Joined:
    Sep 21, 2024
    Messages:
    24
    Likes Received:
    21
    Furthermore, it's likely the locomotives that are included in the DLC don't have an EHC file associated with it, which if it did, would make the locomotive RailDriver compatible with the locomotives.

    As I don't have this DLC (nor do I care to buy it since I'm not interested), I am unable to check for sure, but this would be extremely easy to implement and create using the editor.
     
  28. raz22

    raz22 New Member

    Joined:
    Jul 9, 2025
    Messages:
    10
    Likes Received:
    2

    THIS. ^^^ 1000 times this. Thanks to CobraOnes software there are likely thousands of people using not only Raildrivers but other PC peripherals and it's so disheartening to move a lever and not see a reaction from the mod in the game. Trag was SUPER responsive and fixed the custom livery locos in his modded timetables that didn't have the proper RD configuration / EHC file associated.

    If anyone is reading this and you're in the modding community, please help spread the word about this (easy?) fix!

    My top two "I wish this worked with Raildriver!" trains right now are:

    - Fawx's Fife Circle timetable's LUMO / LNER loco (Tom Hill custom livery): https://www.trainsimcommunity.com/mods/c3-train-sim-world/c111-timetables/i4676-fife-circle-2024

    - ADSTRAINSUK's Leven reskin on the 158: https://www.trainsimcommunity.com/mods/c3-train-sim-world/c19-patches/i5602-leven-158-e2g

    - I'm not interested in the new 170 but that also apparently needs a fix.


    If anyone knows those guys I'd love to give them a shout to let them know about the fixes above. It would also prevent people from telling CobraOne his software doesn't work when it's the train all along! :)
     
  29. Carlos Alexandre

    Carlos Alexandre New Member

    Joined:
    Aug 11, 2018
    Messages:
    12
    Likes Received:
    0
    I set the sensitivity to 2.
    It improved a little, but nothing 100%.
    Only TSW3 or 4 is good...
     
  30. PrimeMoverSimulator

    PrimeMoverSimulator New Member

    Joined:
    Sep 21, 2024
    Messages:
    24
    Likes Received:
    21
    That's TSW5 for you, where the "alpha" version of Native RailDriver support is worse than the "Beta" RailDriver support from TSW4 and lower.

    I'd set the sensitivity to 3.
     
    • Like Like x 1
  31. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,124
    Likes Received:
    2,119
    Carlos Alexandre, I have run with a setting of 3 since started using CobraOne's interface after TSW 5 came out. Tried 2 several times and always went back to 3.
     
    • Like Like x 1

Share This Page