PC Ts World Raildriver And Joystick Interface

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

  1. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    15
    Likes Received:
    2
    Alright, do you use any mods? bc if not it could be that causing the issues for me, or could be some sort of computer issue potentially but not sure since it only started after using the raildriver, I'm not blaming it on his product I think its great, but maybe the raildriver program alongside the mods is causing some sort of issue so I'm asking if its likely that or not.
     
    Last edited: Oct 3, 2025
  2. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    968
    Likes Received:
    569
  3. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    15
    Likes Received:
    2
    Just tried driving a service without the raildriver and same issue happened, so it's probably something wrong with my PC or something with TSW, although was happening only towards the end of TSW5 and only after I got the raildriver which is strange, I definitely don't have any mods to do with the raildriver so can't be that, and I installed all my TSW6 mods around 2 or 3 days ago and same issue was happening before I got my mods so it's really strange.
     
  4. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    968
    Likes Received:
    569
    the mod that made TSW 6 crash here was tmSpikeesCabCamFixesTSW5.pak
     
  5. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    15
    Likes Received:
    2
    I don't have that mod but I did on TSW5, maybe that was the issue on TSW5 but I had it since it released so not sure.
     
  6. sinnere

    sinnere Active Member

    Joined:
    Mar 9, 2019
    Messages:
    129
    Likes Received:
    239
    I'm having the same issue. Where did you go to recover these files?

    Nevermind I figured it out.
     
    Last edited: Oct 4, 2025
  7. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    TSW Raildriver & Joystick Interface V2.0.1.5 released.

    This update is for Steam users only.
    This version will look for previous Raildriver.ini files and automatically copy the last one over to the current version of TSW.
    What this means is, if you have TSW 5 installed with a Raildriver.ini, it will be copied over to TSW 6 for you. Epic games & Xbox for windows users will still have to do a manual copy.

    Download from: https://www.dropbox.com/scl/fi/udch...ey=7z3fa01yyihaw17c0owixdba9&st=uveewpdi&dl=1
    Chris
     
    • Like Like x 1
  8. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    First of all, make a backup copy of your current version,
    Then download V2.0.1.5 above and extract it to your current version overwritting existing files.
    Next, navigate to Documents\My Games\TrainSimWorld6\Saved\Config\WindowsNoEditor and delete the Raildriver.ini file.
    Now run V2.0.1.5 and it will copy the Raildriver.ini from your previous version of TSW to your TSW 6 folder and copy the correct PieHid64.dll to TSW.
    Chris
     
    Last edited: Oct 4, 2025
    • Like Like x 1
  9. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    TSW 6 Free Version - TSW Unniversal Controller Interface

    TSW 6 now has a api that allows programmers to talk directly to TSW without using the PieHid64.dll, but instead use HTTP requests.
    With the api, I can also extract the notches used on the levers in each loco which should give much better control of the levers
    I am working on a new version of my program (TSW Unniversal Controller Interface) that will talk to this api but there is a learning curve for me to do this, so it may take some time to come up with a viable solution and there is no guarantee I will be able to achieve this.
    In the meantime, the current version will remain working for the foreseeable future.

    As this will only work with TSW 6 onwards can I recommend users who do not have TSW 6, to get the free version asap. The option to get the free version expires on 11/11/2025. You just need to claim it, you don't have to install it straight away.

    Chris
     
    • Like Like x 9
  10. VGK

    VGK Member

    Joined:
    Aug 13, 2021
    Messages:
    34
    Likes Received:
    32
    That sounds amazing thanks Chris, best of luck developing the new software.
     
    • Like Like x 1
  11. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    968
    Likes Received:
    569
    http request i am pretty sure are working in TSW 5 too
     
  12. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    It is working for TSW 5 but not for the Raildriver. There is a command in the api to turn off the PieHid64.dll but that is not in the TSW 5 version of the api so the raildriver will continue to use the dll.
    Chris
     
  13. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    968
    Likes Received:
    569
    ah so thus it has improved
     
  14. PrimeMoverSimulator

    PrimeMoverSimulator Member

    Joined:
    Sep 21, 2024
    Messages:
    38
    Likes Received:
    35
    Since Train Sim World 6 is now upon us, for anyone that uses RailDriver and would like to have a better playing experience alongside using the Raildriver & Joystick interface, I have updated and overhauled my RailDriver Reconfiguration Mod for US Locomotives over the weekend on the Train Sim Community website.

    Among reconfiguring several button and lever inputs that I have previously implemented, I have also implemented deadzones on all throttle notches on most locomotives (which mostly prevents notch slipping, as well as unintended dynamic brake setups), improved upon the existing reconfigured deadzones and curves on all other RailDriver levers such as the Reverser, Auto-Brake, and Independent Brake, as well as implemented functionality for the 28 function keys on all locomotives.

    I have included support for the recent Morristown DLC (including the Arrow III's which had god-awful RailDriver throttle implementation that has since been fixed with my mod), as well as the Training Center SD40-2, and the Holiday Express F7, and also adds RailDriver support to the Metrolink Holiday Express DLC (which did not contain RailDriver support upon release, though you will need either Antelope Valley, or San Bernardino for it to work). There is an extremely big, but extremely helpful spreadsheet that I have provided which has all of the new and existing inputs that I have configured on each locomotive for this mod, it is recommended to take a look at said spreadsheet in case I need to update my mod.

    You are able to use these mods alongside CobraOne's RailDriver & Joystick Interface, as this mod will work really well with the program. Keep in mind, these mods were created with the RailDriver controller in mind, I do not know how well these mods will work with the TSC-X controller as I do not own the TSC-X, only the RailDriver controller.

    US Locomotives (Updated as of 10/3/25): https://www.trainsimcommunity.com/m...ail-driver-reconfiguration-mod-us-locomotives

    I have also uploaded a different version of this mod a while back, this time for several of the European Locomotives. Note that this mod is slightly outdated, as I have yet to reconfigure the function keys on the associated locomotives, though you are still able to use it in TSW6. It will be updated in due time.

    European Locomotives (Outdated, will be updated eventually): https://www.trainsimcommunity.com/m...iguration-mods-european-passenger-locomotives

    Once again, thank you CobraOne for the hard work you have put into the RailDriver And Joystick interface, as well as your contributions and fixes to this small TSW community of us RailDriver users.
     
    • Like Like x 2
  15. PrimeMoverSimulator

    PrimeMoverSimulator Member

    Joined:
    Sep 21, 2024
    Messages:
    38
    Likes Received:
    35
    Apologies for not getting to this reply sooner, as this mod had eaten up a lot of time on my hands.

    Please see the above post regarding an updated version of my RailDriver Reconfiguration Mod. Hopefully, you won't be disappointed ;)
     
    • Like Like x 1
  16. paul.pavlinovich

    paul.pavlinovich Well-Known Member

    Joined:
    Aug 21, 2020
    Messages:
    1,723
    Likes Received:
    2,079
    This is excellent news the API will make this much less fiddly install because most people I help via the channel have failed to get the DLL copied over properly. The API is definitely also in TSW5 although it was slightly different but for the most part should be the same. I assume you'll be using the Virtual Raildriver part of the API otherwise you'd need specific calls for every kind of locomotive. You will also be able to get telemetry and the like.

    Be careful with the notch idea as it ranges between infinitely variable such as a steam engine regulator, 3 notch, 5 notch, 8 notch, 11 notch, 33 notch (tap changers).

    Thank you on behalf of myself and the community of people who use this.

    Paul
     
  17. haskell99

    haskell99 Member

    Joined:
    Jul 5, 2024
    Messages:
    44
    Likes Received:
    31
    THANK YOU! The Arrow is so fun to drive now! Also, the deadzones in the other locos make it so much better not going from notch 1 to brake 1 accidentally. I really appreciate your contributions!

    Eddie
     
    Last edited: Oct 6, 2025
    • Like Like x 1
  18. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    968
    Likes Received:
    569
    Regarding your mod PrimeMoverSimulator
    did one service run with the arrow
    and i have the TSC-X controller
    and had no problems :)
    will soon test more US trains :)
     
  19. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    Not sure yet as I haven't tried it.

    I have been using CurrentDrivableActor to create a lever map file for each loco.

    I have managed to extract the notches (if the loco has any) assigned in each loco, also each levers min/max values which should help improve accuracy of the controls.
    Chris
     
    • Like Like x 6
    • Helpful Helpful x 1
  20. elyes

    elyes New Member

    Joined:
    Oct 5, 2025
    Messages:
    2
    Likes Received:
    1
    Hi, i built my own raildriver and everything works as expected and i am in the last testing stage.
    Altough the Vectron 193 is giving me problems. It has 3 levers ingame (AFB, ThrottleAndBrake and TrainBrake)

    I cant seem to find the right lever map for this kind of train because when i assign my lever to LocoBreak for AFB like always it doenst work it turns the Direct Brake in the Train not the AFB is there a solution to this?

    Elyes
     
  21. SJAY_ONE

    SJAY_ONE Active Member

    Joined:
    Mar 11, 2022
    Messages:
    157
    Likes Received:
    204
    Hi guys. How do I add the "BailOff" position to this list? upload_2025-10-8_19-48-27.png
     
  22. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,262
    Likes Received:
    2,225
    I have stopped using CobraOne's interface since moving over to TSW6. The only problem I have encountered is the 150 on Riveria. I have even gone back to TSW5 routes via TSW6 and they no longer give the jittering we saw in TSW5.
    Now, for me, the 150 is a total mess, even from the keyboard. The reverser seems to have a mind of its own. It won't stay in forward when using the Rail Driver and not always even from keyboard input. Further, when putting the throttle into the off position, the reverser goes into neutral, causing the brakes to apply. I have calibrated it several times.
     
  23. martin#2729

    martin#2729 Member

    Joined:
    Oct 2, 2022
    Messages:
    50
    Likes Received:
    25
    so congratulations, your raildriver is working without any problems..i still can't get the levers to move properly..they keep oscillating..in tsw 4 it's no problem..the problem is in tsw 5 and tsw 6
     
    • Like Like x 2
  24. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    I have just tried the Vectron 193 using the original PieHid64.dll that comes with TSW and although, according to the settings for the Vectron, the AFB is assigned to the Loco/Ind brake, moving the Raildriver lever does not move the AFB lever in the cab.
    This is not something I can fix using my program.

    Having said that, I have just tried moving the AFB using the new API using the CurrentDrivableActor command and it does indeed move the lever in the cab.
    I am working on my new version that will use the new API as fast as I can, but won't commit to a timescale at the moment or guarantee that it will be completed, but it is looking good at the moment.
    Chris

    EDIT: Just to confirm my suspicion re the AFB, I have just tried using the VirtualRaiildriver in the API and again moving the Ind Brake in the API did not move the AFB in the Vectron.
     
    Last edited: Oct 9, 2025
    • Like Like x 4
  25. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    You can't, it is assigned in the Master Lever Map :
    upload_2025-10-9_10-45-51.png

    and can only be used as the BailOff. The reason being, on the Raildriver the BailOff is activaved by moving the Independant brake to the right. It's more of a switch rather than a lever.
    Chris
     
    • Like Like x 1
    • Helpful Helpful x 1
  26. malkondo#4650

    malkondo#4650 New Member

    Joined:
    Jul 2, 2025
    Messages:
    2
    Likes Received:
    0
    Hey everyone,

    could someone please explain how to get the program working with the BR 101 Expert version? It works perfectly fine with all other locomotives, but not with the Expert 101. I can’t figure out what I’m doing wrong here!

    Thanks in advance!
     
  27. elyes

    elyes New Member

    Joined:
    Oct 5, 2025
    Messages:
    2
    Likes Received:
    1
    Thank you very much for your reply, so i need to wait until you release a newer version if i understood that right?

    Elyes
     
  28. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,262
    Likes Received:
    2,225
    Well, totally uninstalled, then reinstalled latest version and works great again. Solved the 150 issues so I can run it with my Rail Driver.
     
    • Like Like x 3
  29. tehangrybird345

    tehangrybird345 Well-Known Member

    Joined:
    Sep 17, 2020
    Messages:
    712
    Likes Received:
    804
    Is there a way to fix the Morristown ALP-45, ALP-46, and cab car throttle not letting you put it at 0, and jumping straight to dynamic braking?
     
  30. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,262
    Likes Received:
    2,225
    I do not remember have this problem but will check tomorrow.
     
  31. SJAY_ONE

    SJAY_ONE Active Member

    Joined:
    Mar 11, 2022
    Messages:
    157
    Likes Received:
    204
    In such cases, I adjust the notches so that the center (0.500) is expanded to a range that covers this error.
    upload_2025-10-10_10-3-31.png
     
  32. jannie#6483

    jannie#6483 New Member

    Joined:
    Nov 13, 2024
    Messages:
    18
    Likes Received:
    17
    • Like Like x 2
  33. Emmy_MAN

    Emmy_MAN Well-Known Member

    Joined:
    Apr 9, 2022
    Messages:
    252
    Likes Received:
    416
    Hi jannie#6483

    Your item on eBay states that you do not ship to Switzerland.

    Could I buy 1 or 2 controllers directly from you and pay via PayPal, with shipping to Switzerland?

    Feel free to send me a private message about this.
     
  34. öbb1601

    öbb1601 New Member

    Joined:
    Sep 5, 2025
    Messages:
    3
    Likes Received:
    0
    Thanks for your response. We have tried assigning the lever to LocoBrake and testing with the ÖBB1116. Unfortunatly, on this train the LocoBrake does indeed control said brake. So no chance using that trick. Any other advice?

    We also couldn't find a good asset setting for the Kombihebel. Either it didnt work at all or it also did the train brake (instead of starting at 0 and going up).

    We are still hoping to get these levers working for 5 (and 6)!
     
  35. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    In a word, Yes. Unless the creator of the content fixes the problem first.
    Chris
     
  36. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    In the Master Lever Map, have you
    1. Set the ThrottleAndBrake and Throttle to use the same lever.
    2. When assigning the Throttle, did you say Yes to using the whole lever as the throttle.
    3. Set a separate lever for the DynamicBrake.
    4. Selected the ThrottleAndDynamic as the Enabled Asset
    Doing this made the 1116 work fine for me.

    Regarding the AFB, it can only be controlled by the 'F' and 'R' keys in the 1116, so you will need to assign buttons to the following.
    Cruise Control Increase KEY_R
    Cruise Control Decrease KEY_F
    Chris
     
    • Like Like x 1
  37. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    You can also edit the Raildriver.ini file located in Documents\My Games\TrainSimWorld6\Saved\Config\WindowsNoEditor\.
    Look for the ControlIndex=1,CalibrationPointValues=(0.000000,0.480000,0.520000,1.000000) and decrease the 0.480000 to 0.450000 and increase the 0.520000 to 0.550000 This will increase the neutral gap in the middle of the lever.
    Chris
     
  38. Maclaw

    Maclaw New Member

    Joined:
    Jan 11, 2023
    Messages:
    4
    Likes Received:
    2
    HI CobraOne

    I used your software I have an old version TSW Raildriver And Joystick Interface V2.0.0.8 I used on TSW5.
    Today I launch this version with RSW6 and it works excactly like my TSW5.
    I decided to download the last version V2.0.1.5
    I do not see differences
    QUESTION 1-Concerning the Direct brake or Loco brake the small lever placed on the right near the Door Pusbutton it seems that
    LeftBracket does not move the lever?
    I use as TSW5 in TSW6 the Semicolon key not LeftBracket and it works perfectly.
    But I am in AZERTY keyboard I do not change it to Qwerty.
    QUESTION 2-About this file PIEHid64Net.dll I do not have RailDriver but I used my Joystcik Thrustmaster Warhog and Logitech for levers.
    So I copy your file located here C:\TSW Raildriver And Joystick Interface V2.0.0.8\PIEHid64Net.dll and replace in TSW5/TSW6 located here C:\Steam\steamapps\common\Train Sim World 6\WindowsNoEditor\TS2Prototype\Binaries\ThirdParty\PieHid\Binaries\PIEHid64Net.dll
    All works but is it the right method because with new update perhaps it is not necessary?

    Many thanks for this nice software
    Regards from France
     
    Last edited: Oct 24, 2025 at 12:31 PM
  39. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    15
    Likes Received:
    2
    Hi, I managed to fix my other issues but I have an issue when using the throttle option, when using it on the class 153 and 150, when in the position that should be 'off', instead its at throttle 5, so I can not put the throttle into idle at all, no idea why because no other trains have this issue and its only the trains from the cardiff city network route, it works fine using my keyboard but not with the raildriver, hope that makes sense and hopefully you can help.
     
  40. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    The changes are mainly under the bonnet or to automatically detect the new TSC-X controller.
    The actual keyboard key assignment is setup by DTG, I have no control over that.
    The correct version is the PieHid64.dll located in the DefaultSettings folder, not the PieHid64Net.dll. But if you are on Steam, my program now automatically copies the correct version to your TSW5/6 folder for you. Leaving the PieHid64net.dll there will not cause any issues.
    Your welcome :)
    Chris
     
    • Like Like x 1
  41. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    345
    Likes Received:
    321
    Try selecting the ThrottleAndBrake and not the ThrottleFullRange in the Enabled Assets. Although the two loco's have separate Throttle and TrainBrake levers, they are setup internally to use the whole of the ThrottleAndBrake lever as the Throttle and the TrainBrake lever for the Train Brake.
    Chris
     
  42. Anthony Pecoraro

    Anthony Pecoraro Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    3,860
    Likes Received:
    4,465
    In the throttle full range setting, if you move the throttle into the dynamic brake range, it'll decrease the throttle to 0.
     
  43. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    15
    Likes Received:
    2
    Thank you, I managed to get it working, one more question, I'm trying to drive the OBB 1020 'Crocodile' locomotive from the Mittenwaldbahn but the throttle lever is acting as one of the brakes and so are the other two levers, is there a way to change this so I am able to drive it or am I not able to since there are more than two brakes on the locomotive?
     

Share This Page