PC Ts World Raildriver And Joystick Interface

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

  1. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    104
    Likes Received:
    132
    Anyone tried it with TSW6 yet. Don’t think I can live without my TSC-X and this brilliant software
     
  2. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    I've had a go with it and the Voyager. It works but the Voyager only goes into power notches 2 and 4, off, 56% brake and max brake. I don't think that's an issue with the software though, more likely to be something in the game. That was with my TSC-X. I managed to complete the scenario I tried though! :)
     
  3. Choo choo

    Choo choo Well-Known Member

    Joined:
    Apr 10, 2019
    Messages:
    170
    Likes Received:
    348
    I’ve had no issues with the 150 or 220 so far. I’m on the TSC-X as well.

    A minor issue in the 802 though is that I can not manage to brake beyond 88% braking. I had the exact same issue with the 801 in previous TSW iterations. My theory is that this is caused by some wonky Raildriver.ini settings, but I have no been able to confirm that (or rather, my changes to the Raildriver.ini file have not helped). Has anyone encountered this issue before and managed to solved it?
     
  4. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    What settings did you use for the 220 to make it play nicely?
     
  5. Anthony Pecoraro

    Anthony Pecoraro Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    3,848
    Likes Received:
    4,447
    I don't know what's up with my throttle inputs. It seems to not find idle, then jumps to notch 4, then max, nothing in between.
     
  6. Choo choo

    Choo choo Well-Known Member

    Joined:
    Apr 10, 2019
    Messages:
    170
    Likes Received:
    348
    My raildriver.ini is set up like this

    [/Script/DTGComm.DTGCommRailDriverConfig]
    Devices=(DevicePath="\\\\.\\TrainSimWorld",Calibration=((CalibrationPointValues=(0.000000,0.010000,0.020000)),(ControlIndex=1,CalibrationPointValues=(0.000000,0.450000,0.550000,1.000000)),(ControlIndex=2,CalibrationPointValues=(0.000000,0.200000,1.000000)),(ControlIndex=3,CalibrationPointValues=(0.000000,1.000000)),(ControlIndex=4,CalibrationPointValues=(1.000000,1.010000)),(ControlIndex=5,CalibrationPointValues=(0.000000,0.010000,0.020000)),(ControlIndex=6,CalibrationPointValues=(0.000000,0.010000,0.020000))))

    Could be your raildriver.ini settings? How do they look like?
     
  7. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    Are you using ThrottleAndBrake or SingleLeverThrottleAndBrake? That made a difference for me, but the notches seem super close together.
     
  8. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    I will have to look up this raildriver.ini, never even heard of it.
     
  9. Anthony Pecoraro

    Anthony Pecoraro Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    3,848
    Likes Received:
    4,447
    Throttle and brake.
     
  10. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    Try the SingleLever version, that gave me more fluidity and I could get all the notches.
     
    • Like Like x 1
  11. Anthony Pecoraro

    Anthony Pecoraro Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    3,848
    Likes Received:
    4,447
    Can you still use the dynamic brake?
     
  12. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    Good question, I haven't played with that as I tend to just use the train brake.
     
    • Like Like x 1
  13. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,208
    Likes Received:
    2,191
    Right now, running Morristown, I am having very few issues with the Rail Driver and the game's dll file. My attempt to set up CobraOne's interface gives me issues with an error message. Did not, at the time, think to screen grab it, will do it later.
     
  14. Choo choo

    Choo choo Well-Known Member

    Joined:
    Apr 10, 2019
    Messages:
    170
    Likes Received:
    348
    This is the correct way to do this on the 220, which has a combined throttle and brake handle.
     
  15. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,617
    Likes Received:
    4,366
    Just a little follow up - In TSW6 I am experiening the sa,e problem I reported here -https://forums.dovetailgames.com/threads/ts-world-raildriver-and-joystick-interface.61440/page-20#post-1032218

    Additional information is that when the program quits responding and I kill it in task manager.. when I restart it immediately and start call back, it shows it is waiting for TSW even though TSW is still running. If I wait several minutes before restarting the program and start call back - it connects to TSW - as if after closing the program, some parameter must time out before I can connect again.
     
  16. Sgt Salt

    Sgt Salt New Member

    Joined:
    Sep 21, 2017
    Messages:
    19
    Likes Received:
    14
    I dont think its a Cobra one problem but has anyone been able to get the raildriver to work with 802/0? I can get it to work with all trains even 802/1 just not 802/0
     
  17. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,208
    Likes Received:
    2,191
    Will try it tomorrow.
     
  18. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    I have just tested the 802/0 and can confirm that it does not work with my program or using the original dll without my program, but the 802/1 does. This is a fault that DTG will have to fix.
    Chris.
     
    • Like Like x 1
  19. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    Those who are having trouble with notches being skipped or the levers not responding as well as they did in TSW5, can you copy the Raildriver.ini file from 'Documents\My Games\TrainSimWorld5\Saved\Config\WindowsNoEditor' to 'Documents\My Games\TrainSimWorld6\Saved\Config\WindowsNoEditor'
    Chris
     
  20. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    LeadCatcher It's difficult to diagnose the problem as I can't recreate it myself.
    I am working on the possibility of an alternative way to communicate with TSW but it involves quit a bit of rewritting of my code, and a steep learning curve for the new method..
    Chris
     
  21. martin#2729

    martin#2729 Member

    Joined:
    Oct 2, 2022
    Messages:
    49
    Likes Received:
    23
    hi, I have a problem with Cobraone in the game TSW 6.. when using your program I can't start TSW 6.... the game crashes.. when I start the game without your program it works fine... I used it in TSW 5 without any problems.. I don't know what happened... it's a shame because without your program the raildriver is unusable because the sticks oscillate by themselves... any ideas?.. thank you
     
  22. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,617
    Likes Received:
    4,366
    I appreciate your efforts. Even with this problem, I continue to use your fantastic program since it is head and shoulders above the implementation in TSW itself.
     
  23. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    I can't think of any reason why this should be happening as both 5 & 6 are basically the same game as far as my software is concerned and many are using it with no problems.
    Can you try running TSW 6 first, then run my program and see if it works OK then.
    Chris
     
  24. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,208
    Likes Received:
    2,191
    martin#2729 I had the same issue with CobraOne's interface crashing out my TSW6, while it works great in 5. Now running without the interface, as far as the levers oscillating, I have found that you have to make sure that the lever on the Rail Driver is in the middle of the area for that notch. This is hard to explain, but I found that when you just get TSW6 to change a notch setting, say 2 to 3, and you leave the Rail Driver lever at that point, it oscillates, if you move the lever just a bit further, this stops, and it is steady.
     
  25. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    873
    Likes Received:
    493
    it oscillates
    i had to look the exact meaning up since English is not my main :)
    so when at idle you set it at slightly breaking you move you hand away from your device then the brake value jumps back at 0
    at least that what was happening here on the 802/1
    i also noticed the same as others
    that you can not get it set to max braking but it stops at 88%
    maybe someone will find a way to fine tweak it
     
  26. Michael Newbury

    Michael Newbury Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    4,107
    Likes Received:
    3,329
    No raildriver will not work with this specific loco for now. I believe it's known issue and a fixed is been worked on.
     
    • Like Like x 1
  27. martin#2729

    martin#2729 Member

    Joined:
    Oct 2, 2022
    Messages:
    49
    Likes Received:
    23
    The thing is that if I copy the Piehid64.dll file from your program to the TSW 6 directory, the game crashes. If I leave the original Piehid64.dll file, the game runs normally.. it's caused by that file...
     
  28. martin#2729

    martin#2729 Member

    Joined:
    Oct 2, 2022
    Messages:
    49
    Likes Received:
    23
    I'm trying to calibrate it like you wrote...I'm putting the lever in the middle of the notch...I don't know if I'm doing it right..
    I'm not putting the reverse all the way down?.Do you think so? Because I'm still not succeeding..
     
  29. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,617
    Likes Received:
    4,366
    Not sure if that is correct as to the problem since I have copied CobraOne’s DLL and TSW 6 works fine. I do experience Cobra’s Raildriver program locking up on occasion, but seemingly I am the only one reporting that problem so could be some combination of my configuration, my USB drivers or some other interactions, but TWS6 does run with that DLL.
     
  30. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    873
    Likes Received:
    493
    in TSW 6 i had it that it was not responding anymore once (froze had to kill/end the task)
    not sure if i was running it with admin rights then
    i now have just turned that on under compatibility tab (right click shortcut click properties)
    i also disable full screen optimizations
    the last few runs where ok :)

    for TSW 6 i also have full screen optimizations disabled
     
  31. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    It does for me too, the only way I can get TSW 6 to crash is if I start my program and then copy the wrong dll ie the PIEHid64Net from the main folder and not the PieHid64.dll from the DefaultSettings folder to the
    'Train Sim World 6\WindowsNoEditor\TS2Prototype\Binaries\ThirdParty\PieHid\Binaries folder.
    But starting my program automatically copies the correct dll over if you have run TSW 6 at least once.

    Can I get those experiencing a crash to make sure TSW 6 is not running by looking at it in your steam libray and make sure it says Play and not Stop. Then start my program which should make sure the correct dll is placed in TSW 6 and then try the game again.
    Chris
     
  32. martin#2729

    martin#2729 Member

    Joined:
    Oct 2, 2022
    Messages:
    49
    Likes Received:
    23
    Chris, thanks for the help..I copied the wrong Piehid.dll and that's why the game crashed...my stupid mistake...now everything is fine and works ok..thanks!
     
    • Like Like x 1
  33. LondoSpark

    LondoSpark Member

    Joined:
    Jan 23, 2021
    Messages:
    41
    Likes Received:
    65
    Is there a way of only making half the ThrottleAndBrake lever use notches? The 220 has power notches and a smooth brake, then one of the 700 series uses notched brakes and smooth power.
     
  34. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    Unfortunately not, it's all or none i'm afraid.
    Chris
     
  35. railsmith

    railsmith New Member

    Joined:
    Tuesday
    Messages:
    2
    Likes Received:
    0
    I'm afraid I messed things up. I installed TSW6 last night and calibrated my Raildriver with it successfully. Operating the Arrow III on the Morristown line, I noticed that the throttle was a bit twitchy, flip-flopping back and forth between notches fairly frequently (for example, it would switch from notch 3 to 4 and back again repeatedly). That being said, it was usable overall, just not steady in one notch unless I moved it to just the right position on the throttle.

    I thought installing the TSW raildriver & Joystick interface software would make it less twitchy, so that's what I did today. However, now as soon as I move the throttle, it goes right to full throttle or full dynamic brake with no in between. To make matters worse, when I shutdown the software and tried to re-calibrate my Raildriver natively in TSW6 to just go back to how it was, I no longer see the active movement of the control surfaces in calibration mode and when I try to use Raildriver, it doesn't work even though TSW indicates it's been calibrated.

    I uninstalled and am currently re-installing TSW6 to try to reset it to how it was out of the box. Any help on either getting my Raildriver working properly in the native software OR fixing TSW raildriver and joystick software to not skip notches would be greatly appreciated.
     
    Last edited: Sep 30, 2025 at 12:49 AM
  36. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    13
    Likes Received:
    2
    Hi, no one ever responded to my issue so I'm wondering if reinstalling your program might help? Also another question, will the raildriver work on TSW6?
     
  37. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    Have you assigned the lever you use for ThrottleAndBrake to the Throttle also in the Master Lever Assignment?
    When my program detects that you have a lever assigned to something else, it will ask if you wish to delete the original assignment. In the case of the ThrottleAnsBrake and Throttle, say No. Your Master Lever Map should look like this:
    upload_2025-10-1_9-23-31.png

    Yes it will but see my next post.
    Chris
     
    • Helpful Helpful x 1
  38. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    Using TSW Raildriver & joystick interface with TSW 6

    If you have used my program with TSW 5, do the following:
    1. Install TSW 6 but do not run my program yet.
    2. Start TSW 6 and once you are at the main menu, close down TSW 6.
    3. If you used my program with TSW 5, locate the Raildriver ini file for TSW 5 located in
    'Documents\My Games\TrainSimWorld5\Saved\Config\WindowsNoEditor\'
    and copy it to
    'Documents\My Games\TrainSimWorld6\Saved\Config\WindowsNoEditor\'
    4.Do not calibrate your controller in TSW 6
    5. Run my program and TSW 6 and you should be good to go with no joystick jitters.

    If you have NOT used my program with TSW 5, do the following:
    1. Install TSW 6 but do not run my program yet.
    2. Start TSW 6 and once you are at the main menu, close down TSW 6.
    3.Do not calibrate your controller in TSW 6, a default calibration file will be created.
    4. If you are using a Raildriver controller and have not calibrated it in my program yet, do so now.
    5. Run my program and TSW 6 and you should be good to go with no joystick jitters.

    Chris
     
    • Helpful Helpful x 3
  39. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    13
    Likes Received:
    2
    Hi, didn't realise I needed to say no so I would always click yes, is that what's causing the issue?
     
  40. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
  41. Anthony Pecoraro

    Anthony Pecoraro Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    3,848
    Likes Received:
    4,447
    CobraOne I have a question. I found that the "Throttle and Brake" has the best functionality for the light and wiper switches, as well as the reverser, but the throttle seems to have a huge dead zone. But if I set it to throttle and dynamic, then the throttle is better, but the reverser and rotary switches don't work as well. What can I do about that?
     
  42. DarthBelan

    DarthBelan Member

    Joined:
    Aug 25, 2019
    Messages:
    33
    Likes Received:
    16
    Did the above and none of the controls on my RailDriver work. The speedometer works fine, though. Tried the RD with the TSW 6 default dll, and the controls work fine. I seem to remember I had this problem once before, but can't, for the life of me, figure out what I did to fix it.

    *EDIT* Nevermind, I found the problem. Somehow all the mapping xmls got deleted from the folder. Works now.
     
    Last edited: Oct 2, 2025 at 12:26 AM
    • Like Like x 1
  43. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    The only difference between the ThrottleAndBrake and ThrottleAndDynamic is with how the throttle works. The settings for the Reverser, Wiper and Lights are exactly the same, so they should work the same with both lever maps.
    There is an error in the ThrottleAndBrake lever map where the ThrottleAndBrake has notches allocated and the UseNotches set to Yes. Check your lever map for the ThrotleAndBrake and set the UseNotches to No, see if that helps.

    I have uploaded a corrected version 2.0.1.4 so anyone downloading now won't have this problem.

    I assume you are using a Raildriver controller? if so try recalibrating it in my program under Settings\Calibrate Raildriver.
    When I calibrate mine, when I get to the ThrottleAndBrake lever and it says "Move Throttle to the Throttle Idle position" I move my lever up past the gate in the Raildriver to almost the top of the gate, this then reduces the dead zone.
    Unfortunately because of the design of the Raildriver, it will never be 100% accurate.

    Chris
     
    • Like Like x 1
    • Helpful Helpful x 1
  44. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    873
    Likes Received:
    493
    just checking something
    it is right that theTSC-X does not require any calibration?

    i never did calibrate it
     
  45. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    332
    Likes Received:
    286
    Not in my program or TSW, but I would always advise doing so in windows just to be sure. You can do that by typing joy.cpl in the search bar or I believe it is an option on the settings menu (I'm not at my pc at the moment) :).
    Chris
     
  46. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    873
    Likes Received:
    493
    that just pops up calibration for gamepad yes you can select the correct device
    but the calibration stuff is the same
    i would not know on how to do that since the calibration does not say exactly what levers to pull or press which buttons :)
    that was the reason i never tried that part

    never mind i just did calibrate it after watching and reading carefully what it exactly did :)
     
    Last edited: Oct 2, 2025 at 12:01 PM
  47. railsmith

    railsmith New Member

    Joined:
    Tuesday
    Messages:
    2
    Likes Received:
    0
    Hi Chris, thanks very much for your detailed reply. Of course, I re-installed and re-calibrated prior to reading this. Now that I've calibrated in TSW6, how can I 'reset' things without reinstalling TSW6 so I can use your software and not the default drivers in TSW (because its not a great experience)?
     
  48. Anthony Pecoraro

    Anthony Pecoraro Well-Known Member

    Joined:
    Dec 11, 2016
    Messages:
    3,848
    Likes Received:
    4,447
    I downloaded the newest version, and calibration as you said. I did have to manually assign the levers, but it's working better now. I still have to get the left side buttons to work yet. Thanks for the help.
     
  49. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    13
    Likes Received:
    2
    Hi, not sure if this is because I have mods installed or not, but on TSW5 and also now TSW6, after around 30 minutes in game using your controller or at random times, the game completely freezes and I have to restart the game, even on the routes I don't have a mod for this is an issue. Do I need to uninstall every mod I have or is that not the issue? It was never an issue before I purchased your raildriver on TSW5.
     
  50. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    873
    Likes Received:
    493
    first of all it is not his controller or raildriver

    he is the creator of 2 great software tools for Train Sim World and Train Sim Classic :)

    i myself use the TSC-X controller and except in the beginning of playing TSW 6
    did not have any big issues such as freezing

    the only rare odd thing is that sometimes
    the game refuses to close down after hitting exit in the game
    but I had that in tsw 5 also a few times
    maybe once in 20 times I did not keep a count
     
    Last edited: Oct 3, 2025 at 12:22 PM
    • Like Like x 1

Share This Page