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:
    131
    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,830
    Likes Received:
    4,439
    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,830
    Likes Received:
    4,439
    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,830
    Likes Received:
    4,439
    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,199
    Likes Received:
    2,184
    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,609
    Likes Received:
    4,342
    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,199
    Likes Received:
    2,184
    Will try it tomorrow.
     
  18. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    327
    Likes Received:
    282
    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.
     
  19. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    327
    Likes Received:
    282
    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:
    327
    Likes Received:
    282
    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,609
    Likes Received:
    4,342
    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:
    327
    Likes Received:
    282
    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,199
    Likes Received:
    2,184
    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:
    855
    Likes Received:
    473
    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,609
    Likes Received:
    4,342
    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:
    855
    Likes Received:
    473
    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:
    327
    Likes Received:
    282
    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:
    327
    Likes Received:
    282
    Unfortunately not, it's all or none i'm afraid.
    Chris
     

Share This Page