PC Ts World Raildriver And Joystick Interface

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

  1. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    Can you download V2.0.1.5 from the following link, extract the exe file and copy it into your current program folder replacing the V2.0.1.4 exe. Your joystick should then work correctly.
    I have adjusted the code so that moving the lever up to half way in each direction will send one key press, and you have to return the lever to the center position before you can send another key stroke.
    Moving the lever further towards it's max, will send the keystrokes continually as if you are holding the key down. This only works on X, Y, Z, Rx, Ry and Rz axis.

    Here is the link:
    https://www.dropbox.com/scl/fi/udch...ey=7z3fa01yyihaw17c0owixdba9&st=6qerngrs&dl=1

    Let me know how you get on and if it works OK for you I will announce the release officially.
    Chris
     
    • Like Like x 1
  2. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    Thanks so much Chris.

    I’ll give it a go tomorrow (work gets in the way as usual) and report back.

    ps. Think I’m still on 2.0.1.3. Do I need to go via 2.0.1.4 first?
     
  3. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    No, you should be OK to go straight to v2.0.1.5
     
  4. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    Hi Chris,

    Just had a quick test before going back to work and it now works but not quite as you described. Moving the joystick slightly forward or backwards gives continuous inputs, but once the axis moves past half either up or down it stops the inputs completely and you have to recenter it again.

    Thanks again

    Neil
     
  5. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    That is odd. I have just tried the software with three different flight sticks and a joypad and they all worked as I described.
    Have you got the T.A.R.G.E.T software running in the background?
    If so, try closing it and see if that makes a difference.
     
    Last edited: Aug 15, 2025
  6. pandabt#8473

    pandabt#8473 New Member

    Joined:
    Aug 15, 2025
    Messages:
    1
    Likes Received:
    0
    Hi everybody, So I just received the TSC-X controller from simworkshop and I'm having troubles setting it up. As I would really like to use this program, I tought maybe reaching out would help.

    So I've been using the raildriver and joystick interface and for most things like the buttons it works super well, when I drive a certain train with the throttle and brake in 1 lever, it works really well having the premade lever maps.

    Now I've been trying to set-up or look for a lever map to use on loco's like the BR 101 DB or the VECTRON for example, I cant seem the use my trainbrake, electrc brake or my AFB lever.

    Anyone that would know how to help?

    Thank you in advance guys :))
     
  7. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    Hi Chris,
    No other software running. If I calibrate the 16000 It shows this at neutral position on the Y axis:
    Rail1.png
    This at full up:
    Rail up.png

    This at full down:
    Rail down.png

    And this is my button cfg:

    Rail Config.png

    Currently I am getting continuous inputs when moving the stick a little, and then the last bit of travel it stops.

    I
     
    • Like Like x 1
  8. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    Everything looks ok, your calibration values are the same as mine. Can you give me the names of a couple of locomotives you use this on and I will try to replicate your results.
    Chris
     
  9. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    I tried it on the standard BR101. I’ll try some others and report baxk
     
  10. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    Tried with a couple more Locos (BR182 and 185). Both respond the same way. A small deflection from centre (either up or down) repeats the input. If I go straight to max deflection either way it only increments by one, and then I have to return to centre. Sometimes, if I give a little up deflection and then return to neutral it goes into runaway mode again (AFB increases to maximum whilst stick is in neutral position until I put in negative deflection).

    Just to clarify, it seems to work as you describe just in reverse. A small movement either way from centre gives continuous movement, a large deflection does single increments.
     
    Last edited: Aug 15, 2025
    • Like Like x 1
  11. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    That is weird, I have just tried the BR101 and the Class 377 and I get the same results as you.
    Can I get you to run my program and Start Callback. Then open up a blank notepad page, and move your joystick to see if you then get the results your supposed to get.
    In the mean time, I will try and fathom out a fix!
    Chris

    Edit: To clarify, I mean see if you get single r or f in notepad with slight movement from center and the continuous r and f's with the lever at full deflection.
     
    Last edited: Aug 16, 2025
    • Like Like x 1
  12. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    I've tried the text document test and it is all working as you intend. I wonder why it works differently in the game???
     
  13. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    That's what I'm having trouble working out.
    Another option would be to copy both commands and assign the hat switch up and down to them, you could use that for the finer control.
     
  14. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    Just done as you suggested and the hat switch for fine tuning works brilliantly. Thanks again for all your hard work, you don't know how much we all appreciate it!!!!!!
     
  15. Choo choo

    Choo choo Well-Known Member

    Joined:
    Apr 10, 2019
    Messages:
    160
    Likes Received:
    321
    I did try this and it works on the notepad the way you intend, though in game it does the opposite: a slight push giving a continuous input, and a bigger push sending one key stroke.

    I would like to ask regarding dead zones. On the Vectron (combined Throttle-Electric brake lever), 0.22-0.34 is the range for the E-brake, while 0.76-0.88 is the range for the throttle. Anything else being dead zones. Is there a way to fix this? (I'm on TSC-X :))
     
  16. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    I don't own the Vectron, so can't comment. Have you tried calibrating the TSC-X controller in windows.
    Type joy.cpl in the search bar on the task bar, see if that makes a difference.
    Chris
     
    • Helpful Helpful x 1
  17. Choo choo

    Choo choo Well-Known Member

    Joined:
    Apr 10, 2019
    Messages:
    160
    Likes Received:
    321
    Thanks for helping out. The calibration was done, and the issue actually lied in the Raildriver.ini settings. The following calibration of the throttle did solve the issue, for the vectron as well as most modern German locos and EMUs.
    ControlIndex=1,CalibrationPointValues=(0.000000,0.450000,0.550000,1.000000)

    This might not work super well with rolling stock from other countries (I haven't tested yet), so if someone has a good Raildriver.ini calibration for british rolling stock, I'm interested. :)
     
  18. Emmy_MAN

    Emmy_MAN Active Member

    Joined:
    Apr 9, 2022
    Messages:
    169
    Likes Received:
    208
    Tschu Tschu, I will create a thread tomorrow about the TSC-X controller and the ts-world-raildriver-and-joystick-interface, where you can download profiles for different locomotives and ask for such profiles.

    Perhaps the thread will then be moved to the FAQs & Guides section by a DTG employee.

    This way, anyone who has created profiles for specific locomotives and the like can make them available for download.
    I have already read that several users have been looking for a profile for the BR 101 Expert, for example.

    And I have also noticed that more and more users have purchased this TSC-X controller, which I think is a great thing.

    I will also take a picture of the TSC-X controller and label the levers and buttons so that it is easier to write down which button and lever has been assigned to what.
     
    • Like Like x 3
  19. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    The main problem with the expert BR101 is that only the main Lok works with rail driver.
    The cab car and the other two variants don’t seem to have been enabled to work by the developer. I’m not sure that a profile would help
     
  20. Emmy_MAN

    Emmy_MAN Active Member

    Joined:
    Apr 9, 2022
    Messages:
    169
    Likes Received:
    208
    Hi LCYCowboy

    Well then, you should probably post this problem in the feedback threads for these locomotives.

    Or you can write directly to the user: cwf.green.


     
  21. LCYCowboy

    LCYCowboy Active Member

    Joined:
    Aug 23, 2021
    Messages:
    102
    Likes Received:
    129
    Already done :)
     
  22. Emmy_MAN

    Emmy_MAN Active Member

    Joined:
    Apr 9, 2022
    Messages:
    169
    Likes Received:
    208
    LCYCowboy, ok that's great. Maybe they'll change it then.

    Does anyone know where the profiles are stored in which folder?
     
  23. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,160
    Likes Received:
    2,153
    If you are on a pc, just do a search for that ini file.
     
  24. Emmy_MAN

    Emmy_MAN Active Member

    Joined:
    Apr 9, 2022
    Messages:
    169
    Likes Received:
    208
    Hi CobraOne
    You created three profiles for the TSC-X controller in version V 2.0.1.4.

    Am I correct in assuming that these profiles are stored in the folder " Ts World Raildriver und Joystick-Schnittstelle\TSW Raildriver And Joystick Interface V 2.0.1.4\DefaultSettings " ?

    And the profiles are stored there as .xml files?
     
  25. Thorgred

    Thorgred Well-Known Member

    Joined:
    Jun 8, 2018
    Messages:
    830
    Likes Received:
    457
    actually there are more profiles
    the trains can be loaded too
    if i am correct everything is under the directory KeyMaps

    unless those are raildriver files lol or they are for any device that is possible too

    default folder is for reverting back to default settings i assume

    for me watching the following video was very useful
    TSC X Setup for Train Sim World (TSW) Tutorial
     
    Last edited: Aug 23, 2025
  26. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    Emmy_MAN
    Thorgred is correct, when my program starts, it looks for the TSC-X controller and if found, it copies over the 'DefaultSettings\TSCXLeverSettings.xml' file to the 'Settings\LeverSettings.xml'. The same file is also copied to the 'KeyMaps\Master Levers'
    folder for when you have multiple Master Lever Maps.
    The same is done for the Raildriver and Joysticks if found, this is why you need your controller plugged in when you run the program for the first time.
    The individual loco lever maps are located in 'KeyMaps\Levers' and the button maps are located in 'KeyMaps\Buttons'.
    To get any lever map you create manually without going through the Menu Options 'KeyMaps\Lever Maps\New Lever Map' to display in the Enabled Assets dropdown box, you will need to manually add it to the 'Settings\Loco's.txt' file. adding the region name, loco name and whether you want it displayed in the Enabled Assets box.
    An example would be (note the comma and space between each item).
    GERMANY, HRR BR101, True
    or
    USA, CRR SD40, False

    I hope that makes sense?

    Chris
     
  27. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,593
    Likes Received:
    4,300
    CobraOne

    I am still having problems with the stability of this application - The interface just quits responding to TSW without any error being logged in windows event logs. I usually notice it has quit responding when apply the brakes as I come into a station at too high of speed. :).
    what I mean by stop responding is the application does not respond to inputs from the raildriver nor direct mouse input to the applications UI. I have to use task manager to kill the interface. If I restart the interface - sometimes it comes right up and connects to TSW and all is well. More often than not though it comes up with the message 'Waiting for TSW".

    If I just leave it running and continue on with TSW eventually if does reconnect to TSW.

    I have tried running as Administrator with no luck in improving the stabilty
    I have deleted and instatled the latest version
    Running with the -DX12 switch
    Anyway, love the program in TSC - would like to understand why in TSW the interface seems to hang and loose conection to the sim.
     
    • Helpful Helpful x 1
  28. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    LeadCatcher
    To try and ascertain where the problem may be, can I get you to revert back to the original PieHid64.dll and then run a few sessions in TSW to see if the Raildriver still quits responding.
    In order to revert back to the original, go to your
    Train Sim World 5\WindowsNoEditor\TS2Prototype\Binaries\ThirdParty\PieHid\Binaries
    folder and delete the PieHid64.dll which should be 31kb in size and rename the PieHid64_bk to PieHid64.
    Don't run my program at all or the dll will be reverted back to mine.
    You may need to calibrate the Raildriver in TSW again.
    Chris
     
    • Helpful Helpful x 1
  29. tof70110

    tof70110 Active Member

    Joined:
    Dec 13, 2016
    Messages:
    103
    Likes Received:
    38
    Hello, I just wanted to know if anyone who has the TSC-X has managed to configure the BR 86/87 class in JustTrain.
    Thanks in advance. tof
     
  30. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,593
    Likes Received:
    4,300
    I have been running with the original PieHid64.dll for the past several days and besides the jumpy levers, it has been working fine.
     
  31. öbb1601

    öbb1601 New Member

    Joined:
    Friday
    Messages:
    1
    Likes Received:
    0
    Hi - we are trying to get our realistic homemade driving set-up working. We have a lever (no spring) that we use for AFB/Cruise Control, assigned to X axis. In TSC when there are problems, we could just adjust the name in the lever in the lever map and that to 90% solved the problem. Here we now have the issue that the cruise control doesn't show up in the lever map. Instead it is in the button map. While it lets me assign the lever to the button, it doesn't have the function that we need. Since it is a sliding lever, it only ticks once, regardless. We are told by the person who sold the components that you can get it to work in TSW. The question though, is how?? We are currently testing on the ÖBB 1116.
    Best,
    Marc + Jessica
     
  32. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    6
    Likes Received:
    2
    Hi, I have been having an issue with your TSW raildriver, when I set the far left lever to the 'throttle' option rather than the 'power brake' option, it doesn't work, to drive things such as the 47, I have to set the lever to the power brake one rather than the normal throttle because or else the throttle doesn't move/respond in game so I can't move, I can only move if its on the power brake option, no idea why and I hope that makes sense
     
  33. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    Hi Tof, If you select the ThrottleAndBrake in the Enabled Assets, then your TSC-X should work fine.
    The problem with the 86/87 is that they use a TapChanger that when using the keyboard, requires you to hold down the key in either the RunUp or RunDown positions. To emulate this with a lever would require me to send the RunUp.RunDown commands continually,
    This would block my program from doing anything else until you move the lever away from those positions.
    Chris
     
  34. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    That is odd, especially as, at the moment, you are the only one reporting the problem.
    I have a couple of things I can try to see if I can fix this, but it might take me a while to come back to you with something to test.
    Chris
     
    Last edited: Sep 7, 2025 at 8:49 AM
  35. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    H1 Romeozonex
    I am not sure where you are setting the lever to the PowerBrake option, is it here in the lever map?
    upload_2025-9-7_8-44-18.png

    or are you updating something manually?
    Can you give me the full names of a couple of loco's that you are having trouble with. I tried the Class 47 (UK stock) and it worked fine with the settings above .
    Chris
     
    • Like Like x 1
  36. CobraOne

    CobraOne Well-Known Member

    Joined:
    Jun 3, 2022
    Messages:
    311
    Likes Received:
    278
    Hi Marc + Jessica
    This program is not as powerful as the TSC version because all it does/can do, is emulate the Raildriver. If I recall, most loco's have the AFB/Cruise Control assigned to the loco brake in TSW.
    Chris
     
  37. Sharon E

    Sharon E Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    2,160
    Likes Received:
    2,153
    Not really, some use the independent brake handle, others the rocker switch and some no assigned location on the Rail Driver. I always have to try out various levers, switches to see where it is, if at all.
     
  38. romeozonex#9575

    romeozonex#9575 New Member

    Joined:
    Oct 12, 2024
    Messages:
    6
    Likes Received:
    2
    Hi, yes it’s called ThrottleAndBrake sorry I always call it power brake, when driving trains like the 47, 150, 43 etc, all diesel trains and a few electric that have a separate throttle and brake lever. I have to use the ThrottleAndBrake option rather than the normal Throttle option, same with any train, and that lever map is the exact same as mine, didn’t realise you had to enable it but now I have and tested it out it doesn’t work still so not sure
     
  39. tof70110

    tof70110 Active Member

    Joined:
    Dec 13, 2016
    Messages:
    103
    Likes Received:
    38
    Thank you for your reply. I've indeed created three maps for my British, American, and German joysticks/buttons, and it seems to work perfectly. I hope the boxes in your interface [TSW RailDriver and Joystick] for my 86/87 accelerator are correctly filled in (see photo below). However, I was unable to configure it with the Windows game controller, because with TSW5, it only has keyboard/mouse, joysticks, RailDriver, but no joysticks without a third-party interface!!!
    Thanks again for everything and good luck for the future!
    Sincerely, tof
    reglage  leviers TSC-X via  interface Chris.png
     
    Last edited: Sep 9, 2025 at 10:51 AM

Share This Page