PC Ts World Raildriver And Joystick Interface

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

  1. taggart

    taggart New Member

    Joined:
    Mar 22, 2020
    Messages:
    2
    Likes Received:
    2
    Works great with TSW5 and VPC MongoosT-50CM3 Throttle. Many thanks
     
    • Like Like x 1
  2. jazzymanserg#1405

    jazzymanserg#1405 Member

    Joined:
    Sep 20, 2024
    Messages:
    31
    Likes Received:
    3
    Hello friends!!! How can i control AFB stick on my JOY with you programm? I found only throtle and brakes.
    Best regards!
     
  3. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    In TSW, if the loco has a AFB/Cruise Control, then it is usually assigned to the locobrake lever, I have no control over that :)
     
  4. jazzymanserg#1405

    jazzymanserg#1405 Member

    Joined:
    Sep 20, 2024
    Messages:
    31
    Likes Received:
    3
    Thx ! Working! And how you control AFB stick?
     
  5. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    If you mean, how to you control the afb in the loco, try this video
     
  6. haskell99

    haskell99 New Member

    Joined:
    Jul 5, 2024
    Messages:
    24
    Likes Received:
    9
    I just installed TSW5 and cannot get my joystick to work. When I open the Advanced Controls window there is no option to calibrate. Any ideas? Tried reinstalling but to no avail. It works fine in TSW4. Thanks. [​IMG]
     
    Last edited: Dec 29, 2024
  7. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    Make sure you are running at least version 2.0.1.2 or edit the DefaultSettings\Game Versions.txt file and add the line
    Train Sim World 5
    Chris
     
  8. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
  9. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    Copying the V2.0.1.3 files into your previous versions folder will not overwrite your calibration file.
    I'm away from my computer until next weekend and will have a look at the link then.
    Chris
     
  10. haskell99

    haskell99 New Member

    Joined:
    Jul 5, 2024
    Messages:
    24
    Likes Received:
    9
    You are a KING! Thank you for all your hard work making this app. Total game-changer when using a Honeycomb Bravo for train controls. Who wants to drive with a keyboard? :cool:
     
  11. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    Okay, thank you, good enough. I appreciate it. Happy New Year.
     
  12. DarthBelan

    DarthBelan New Member

    Joined:
    Aug 25, 2019
    Messages:
    23
    Likes Received:
    13
    Quick question, just got my Raildriver, and I'm attempting to set it up. Does Windows pick this up as a game controller? I noticed it's not in the game controller window.
     
  13. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    Is this what you are referring to, on Win11 23H2
    To get here I opened the control panel and then selected upload_2024-12-31_4-52-45.png
    Then scrolled down in the settings window.
    upload_2024-12-31_4-49-48.png
     
  14. DarthBelan

    DarthBelan New Member

    Joined:
    Aug 25, 2019
    Messages:
    23
    Likes Received:
    13
    Screenshot 2024-12-31 130502.png
    No this window. Raildriver is plugged in. Not a big deal, got it to work in TSW 5.
     
  15. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    Oh okay, I needed to go to list items to see that option. Either way very good. Have fun.
     
  16. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    The Raildriver is a HID device that uses its own driver (PieHid64.dll) to communicate with games and does not use DirectX. Therefore it does not show up in the game controller list, that's why you have to calibrate the Raildriver in my program.
    Chris
     
    • Like Like x 2
  17. davbeq

    davbeq New Member

    Joined:
    Jan 5, 2025
    Messages:
    2
    Likes Received:
    0
    Hey Chris,

    first of all: you're a legend! What a great tool! And the world is better because people like you make and maintain tools/libraries/programs etc. like this. As far as I can see you haven't set up anything to accept donations? If I'm wrong or if you ever do let me know :)

    Now, my issue ;-p I can't get the speedometer to work. I'm using an Arduino Due and a 1602 LCD. I use the SerialUSB to comunicate with the interface. I can launch the interface and start callback fine, but when I launch TSW5 the interface seems to crash. None of the levers/buttons work and the interface is frozen. It stays frozen after quitting TSW and can't even be killed. It only quits after I unplug the Arduino. Any help would be much appreciated.

    Thanks!
    David
     
  18. davbeq

    davbeq New Member

    Joined:
    Jan 5, 2025
    Messages:
    2
    Likes Received:
    0
    Ok sorry, I figured out that the problem was Arduino-side. In case you're interested: At first I was confused which Serial I was supposed to use and had it set to Serial1. Then I figured out it needs to be SerialUSB and I changed the setup but not the part where it reads from serial. I don't know why but it seems to cause the interface to crash if the information is not read. If that makes sense :-/
     
  19. dffdoncorleone

    dffdoncorleone New Member

    Joined:
    Jan 6, 2025
    Messages:
    4
    Likes Received:
    0
    Ok guys im having a real hard time configuring my warthog in TSW5 and this app, can anybody maybe do a discord convo or something and walk me through it? Im totally lost sorry haha
     
  20. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    Ran into a bit of a problem, I updated my GPU drivers "Yes I know totally unrelated" but nevertheless after doing a reboot and attempting to run TSW5 the program was (the program is showing unable to create Raildriver) I then tried updating your program, by copypasting the current version -TSW Raildriver And Joystick Interface V2.0.1.3- into -TSW Raildriver And Joystick Interface V2.0.1.0- folder and the program is still showing unable to create raildriver. I did follow the Quick Start guide again, recalibrated, and saved. The RD is working with default Piehid shipped with TSW5. My RD is a bit old, but still working with TSW2 -> TSW4 and dare I say TSW5 with the jitters. I'm not sure where to go from here.
    Unable To Crete Raildriver_01-07-2025_01.png
     
    Last edited: Jan 8, 2025
  21. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    Follow the following steps to get your warthog working.
    1. On the main window, check the "Show Lever Assignment" check box.
    2. Right click anywhere on the "Master Joystick Assignment" grid to bring up the "Assign Levers window"
    3. Repeat the following for each Joystick lever you wish to use:-

    A. Right click any the Loco Lever you wish to assign to your joystick
    B. Left click Assign Controller Axis
    C. Move the required joystick lever within 10 seconds
    D. In the next window, confirm the correct lever has been recognised
    E. If the lever has already been allocated, you will get a message showing you what the lever is already assigned to, and asking if you wish to remove the allocated lever. If you are using the same lever for multiple Loco Levers such as ThrottleAndBrake and Throttle, select No otherwise, select Yes.

    4. When finished, click OK and you will be asked if you wish to save the settings, select Yes.

    With regards the Enabled Assets where you select your loco, 99% of the trains in TSW use either the ThrottleAndBrake, ThrottleAndDynamic and ThrottleFullRange, try each of these with your loco to see which works best.

    Chris
     
  22. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    The error "Unable to Create Raildriver" means my program is unable to talk to the PieHid64.dll. Try running my program as an Administrator and see if that fixes it for you.
    Chris
     
  23. Julian

    Julian New Member

    Joined:
    Dec 21, 2023
    Messages:
    4
    Likes Received:
    0
    Hi CobraOne. I dont know if its porrible. But could you make a support for buttons? Im missing them for example for the PZB.

    Kind Regards.
     
  24. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
  25. dffdoncorleone

    dffdoncorleone New Member

    Joined:
    Jan 6, 2025
    Messages:
    4
    Likes Received:
    0
    CobraOne thank you so much for making this and the explanation to set up my warthog. I got it working. Only my dynamic brake will only go to 88%brake when I fully engage it. Any tips on fixing that maybe? (I did do the setup and advanced controls ingame as well)
     
  26. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    Hello Chris, I will give that a go and see what happens. Thank you for getting back to me.
    Have a great day.
     
  27. bigcal#1946

    bigcal#1946 New Member

    Joined:
    Jan 1, 2025
    Messages:
    6
    Likes Received:
    1
    Great program, everything working. But I do get some Freezing during the game. Is there a way to fix this?
     
  28. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    Can you:
    1. Post the contents of your "Documents\My Games\TrainSimWorld5\Saved\Config\WindowsNoEditor\Raildriver.ini"
    2. Post the contents of your "TSW Raildriver And Joystick Interface\KeyMaps\Master Levers\LeverSettings.xml"

    Chris
     
  29. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    Are these freezes for a short period and then the game unfreezes?
    Can you try running the program as an Administrator and see if they disappear.

    Chris
     
  30. bigcal#1946

    bigcal#1946 New Member

    Joined:
    Jan 1, 2025
    Messages:
    6
    Likes Received:
    1
    I am running as admin, and yes freezes for short time then unfreezes.
     
  31. dffdoncorleone

    dffdoncorleone New Member

    Joined:
    Jan 6, 2025
    Messages:
    4
    Likes Received:
    0
    Offcourse, raildriver.ini

    [/Script/DTGComm.DTGCommRailDriverConfig]
    Devices=(DevicePath="\\\\.\\TrainSimWorld",Calibration=((CalibrationPointValues=(1.000000,1.010000,1.020000)),(ControlIndex=1,CalibrationPointValues=(0.000000,0.274510,0.729412,1.000000)),(ControlIndex=2,CalibrationPointValues=(0.000000,0.109804,1.000000)),(ControlIndex=3,CalibrationPointValues=(0.000000,0.010000)),(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))))

    Leversettings.xml

    <?xml version="1.0" encoding="utf-8"?>
    <Joystick_Levers>
    <Levers>
    <Lever>Reverser</Lever>
    <JoystickGuid>811f7dc0-7e0e-11ed-8002-444553540000</JoystickGuid>
    <JoystickName>Throttle - HOTAS Warthog</JoystickName>
    <JoystickAxis>Slider0</JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>ThrottleAndBrake</Lever>
    <JoystickGuid>811f7dc0-7e0e-11ed-8002-444553540000</JoystickGuid>
    <JoystickName>Throttle - HOTAS Warthog</JoystickName>
    <JoystickAxis>Z</JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>Throttle</Lever>
    <JoystickGuid>811f7dc0-7e0e-11ed-8002-444553540000</JoystickGuid>
    <JoystickName>Throttle - HOTAS Warthog</JoystickName>
    <JoystickAxis>Z</JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>DynamicBrake</Lever>
    <JoystickGuid>811f7dc0-7e0e-11ed-8002-444553540000</JoystickGuid>
    <JoystickName>Throttle - HOTAS Warthog</JoystickName>
    <JoystickAxis>RZ</JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>TrainBrake</Lever>
    <JoystickGuid>811f7dc0-7e0e-11ed-8002-444553540000</JoystickGuid>
    <JoystickName>Throttle - HOTAS Warthog</JoystickName>
    <JoystickAxis>RZ</JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>LocoBrake</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>BailOff</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>False</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>Wipers</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>Lights</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>WalkForwardsBackwards</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>WalkLeftRight</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>LookLeftRight</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    <Levers>
    <Lever>LookUpDown</Lever>
    <JoystickGuid></JoystickGuid>
    <JoystickName></JoystickName>
    <JoystickAxis></JoystickAxis>
    <ReverseDirection>false</ReverseDirection>
    <Range>0, 1</Range>
    </Levers>
    </Joystick_Levers>
     
  32. bigcal#1946

    bigcal#1946 New Member

    Joined:
    Jan 1, 2025
    Messages:
    6
    Likes Received:
    1
    CobraOne I am running as admin, I am running in Ultra, but have tried running in High, medium, and low. But still no change. I'm running in Windows 11, I have a 5700x3d CPU, a 9800xt GPU with 48gb of ram, not sure if that matters, should be plenty enough. I'm on version 2.0.0.3, should I go to your next version? It freezes with any locomotive I use.
     
  33. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    The min spec for TSW5 is a RX460 which has 2 GB VRAM, I beleive your Radeon 9800XT has only 256MB VRAM, that is most likely what is causing your stuttering problem.
    It's worth a try upgrading to V2.0.1.3, then at least you can be sure you are running the latest version, but I don't think it will make any difference due to the lack of memory on your graphics card.

    Chris
     
  34. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    The range of the levers for a Joystick are always 0.000000 to 1.000000
    Your first set of values 1.000000,1.010000,1.020000 for the Reverser are wrong, those settings will make the reverser stay at either full reverse or full forwards. They should be something like
    0.000000,0.5000000,1.000000

    Your second set for the ThrottleAndBrake are also wrong at 0.000000,0.274510,0.729412,1.000000 this sets the neutral gap in the middle to 50% of your travel. They should be close to
    0.000000,0.400000,0.600000,1.000000

    Rename your Raildriver.ini to Raildriver_bak.ini and then run my program. This will create a new Raildriver.ini containing the settings above. Don't calibrate your joystick in TSW. Run the program and TSW and see if this fixes your Dynamic Brake.
    If it doesn't, you can delete the newly created Raildriver.ini and rename the Raidriver_bak.ini to Raildriver.ini.

    Your leversettings are OK.
    Chris
     
    Last edited: Jan 13, 2025
  35. bigcal#1946

    bigcal#1946 New Member

    Joined:
    Jan 1, 2025
    Messages:
    6
    Likes Received:
    1
    I'm sorry I have the Radeon 7800xt which has 16GB of GDDR6 VRAM and a 256-bit memory bus. I play Flight Simulator 2024 with everything set to ultra. I would think TSW5 should have no issues. I also went to the next version 2.0.1.3 and the freezing is still happening. Running as Admin. Is there anything else that could be causing this??
     
  36. 21c164fightercommand

    21c164fightercommand Well-Known Member

    Joined:
    Nov 6, 2021
    Messages:
    915
    Likes Received:
    901
    When you're really dedicated, have access to some prototype hardware and possess the skills and tools needed, you can fabricate yourself this:

    and use the interface to hook it up to the game.
    No one handle train for certain, and it seems over at the Run8 scene, 3D printed parts are being developed to create your own RailDriver or other hardware controls.
     
  37. dffdoncorleone

    dffdoncorleone New Member

    Joined:
    Jan 6, 2025
    Messages:
    4
    Likes Received:
    0
    Thanks I will try this tonight!
     
  38. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    I don't think my program is the issue as no one else is reporting the problem.
    Can you try the same scenario which freezes, but without using my program, just use the keyboard and mouse to see if the freezing is still there.
    Chris
     
  39. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    If it's stuttering and hitching, that is TSW either building the shaders the more you drive, different routes and services. There are ini modifications that help make the game run better. You can choose from here.
    https://www.trainsimcommunity.com/m...sw-5-lighting-visual-quality-enhancement-v141
    https://www.trainsimcommunity.com/search?query=ini
     
    • Like Like x 1
  40. bigcal#1946

    bigcal#1946 New Member

    Joined:
    Jan 1, 2025
    Messages:
    6
    Likes Received:
    1
    CobraOne and SGTDRE I want to thank you both for the help you are providing. The program and understanding of it is quite unique, I have just started learning how this works, so thanks for being patient with me as I learn. I was a Supervisor where I use to worked, retired now. And part of my job which was never ending, was to teach and train others under me, which I enjoyed. Learning new things is fun to me, and this program and game is quite challenging at times. I will try the things you have suggested and report back what I learn and find. Thanks again from both of you.
     
  41. bigcal#1946

    bigcal#1946 New Member

    Joined:
    Jan 1, 2025
    Messages:
    6
    Likes Received:
    1
    SGTDRE just a quick question, I have Windows 11, also CobraOne is correct it is not his program that is causing the freezing/stuttering. So I'm glad you responded to my issue. Also I'm on a desktop PC using a XBox app to run TSW5, so I don't use Steam, not sure if this will work. After reading it says to enable DX12 in the Steam launch option, which I don't use. Also reading in the TSW5 High FPS Ultra graphics V1.5 it says, Paste the .ini file in: TSW5: C:\Users[USER NAME]\Documents\My Games\TrainSimWorld5\Saved\Config\WindowsNoEditor. Mine is written C:\Users[USER NAME]\Documents\My Games\TrainSimWorld5WGDK\Saved\Config\WindowsNoEditor. Not sure what the WGDK stands for after TrainSimWorld5. Also when I installed the game, I put on a different drive on my PC, had more free space. Will this cause a problem.
     
    • Like Like x 1
  42. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    On a separate drive is Good, that is how all my games are installed, in my Honestg opinion, the Windows UAC pop can cause issues more quickly and when the game window is open you will not see it, also make sure the windows defender/Firewall "unless you use a GOOD 3rd party AV" does not interfere the game, you may need to run it with admin rights. As for WGDK and what that is I'm unsure, I run my TSW with Steam.
    And the launch options are for me, that is if you can in any way use them. Hope this was of assistance.
    upload_2025-1-15_18-40-11.png

    I am not sure you can add a launch option with the install you have, but I could be wrong.

    If you use the one from Jetwash, you may still be able to use it, it is easy enough to add and remove the saved file from the Saved folder and it will not harm anything, The Godmode mod still would be put in the DLC folder where that is on your install. I am only guessing here, but you can get much better info from Jetwash the author of the one modified ini.
    PC - Tsw 5 Enhancement | Lighting & Graphic Ep V1.41 | Wcml Over Shap | Page 12 | Dovetail Games Forums
    But the modified ini "Godmode.sav" would still go into here.
    upload_2025-1-15_18-26-36.png
    But if you are using any other ini file, then that just goes here, even if you overwrite Engine.ini and delete it, the game will recreate it, but still back it up. That is if you try any of these other ini files.
    upload_2025-1-15_18-20-2.png
     
  43. jannie#6483

    jannie#6483 New Member

    Joined:
    Nov 13, 2024
    Messages:
    14
    Likes Received:
    11
    THANK YOU Chris for making this possible.

    This is a "proof of concept" or prototype Train driver breadboard that I put together to test my ideas and practicalities.
    Not much to look at but it works like a charm, and really takes gameplay to another level.
    It 100% runs on Chris's joystick conversion and interface (V2.0.1.3).
    The main joystick is a Trust GTX555 = four main axis's, plus 12 buttons and HAT switch.
    HAT switch L+R are door open and close, Up and Down are whistle/horn

    Using an Arduino Micro, I put together another 3 axis joystick for the 1972 London Underground controller, plus the "walk around"
    thumbstick. It also provides another set of buttons (bottom row), up to 24 if required.
    Speedometer is on Arduino Nano, 0,96 Oled. (Sketch curtesy of Chris).

    Of immense interest is the 1972 LU controller. It is actually notched, like for like, and setup as a notched controller in the Joystick Interface.
    After many hours of testing and observations, I aim to now build a final, more professional set-up.
    There will be some ergonomic changes, for instance, the walk-about thumbstick needs to be on the Left hand side, and I need a decent
    button label system per train.

    (Parts prototyped and made at home on 3D printer)
    Thanks for looking and questions welcome if I can help.
    Regards
    Jan Top down labelled.jpg Underside.jpg
     
    • Like Like x 6
  44. pmanestar

    pmanestar New Member

    Joined:
    Jan 20, 2025
    Messages:
    2
    Likes Received:
    0
    CobraOne, Firstly, awesome work. For someone doing this for free, you are attentive and respond to all concerns. It's a rare trait these days, and you should be commended.
    I am new to the train sim world, but have an extensive background in building flight sim pits.
    I'm hoping my issue will be relatively simple to fix.
    I have a copy of train sim 2020.
    Installation path and executable: "C:\Program Files (x86)\Train Sim World 2020\WindowsNoEditor\TS2Prototype.exe".
    I have read through the forum to try and exhaust all possibilities before posting but cant seem to nut out why TSW Raildriver and Joystick Interface.exe cannot find the running instance of TSW 2020.
    I have tried everything mentioned in this thread including updating the software to V2.0.1.3, running the software as an administrator, running TSW 2020, switching to windowed mode, running TSW Raildriver and clicking back into the program.... all to no avail.
    I simple want to run some basic slide potentiometers via Arduino to control some basic train functions as opposed to spending north of $700 to get a Raildriver shipped to Australia.
    Your software looks great, and i suspect it's because of my version of TSW that the software wont connect.
    Should i just update to TSW5 and forget TSW2020?
    Many thanks in advance.
     
  45. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    If you're interested you can check out the videos here and the GitHub link. I've tried contacting the author, he only has YouTube videos and what you see on the GitHub page. It would be nice if someone like Cobraone or if you know what to do and expand on what he created as you see in the video for TSW2020.

    Releases ยท Yamazaki93/TSWRDConnector
     
    • Like Like x 1
  46. zappatime

    zappatime Well-Known Member

    Joined:
    Mar 19, 2020
    Messages:
    212
    Likes Received:
    370
    I dont think TSW2020 supported Raildriver (which the CobraOne's interface is dependent upon), hence it will not work as there's nothing it can link with. You could upgrade TSW2020 to TSW5 (I think youve just missed the free upgrade, alas) that should then work with your setup as the interface should then see TSW (5) working
     
    Last edited: Jan 21, 2025
    • Like Like x 1
  47. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    pmanestar
    Zappatime is correct, my program will only work with TSW2 onwards, I would suggest upgrading to a newer version.
    Chris
     
    • Like Like x 1
  48. CobraOne

    CobraOne Active Member

    Joined:
    Jun 3, 2022
    Messages:
    254
    Likes Received:
    190
    In view of the fact that TSW2020 was released in July 2018 and has now been superceeded by 4 updated versions, I wouldn't be interested in trying to improve TSWRDConnector program. It requires a new file written for every missing loco, and communicates by sending keyboard keys.
    I am not nocking it, as that was all that was available at the time, but my program vastly improves on its capabilities, which I could never add to the program.
    Chris
     
    • Like Like x 1
  49. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,546
    Likes Received:
    803
    Fair enough, I do understand and if memory serves it was built on UE 4.16 TSW2020 that is, So yeah it is just a bit old.
     
    • Like Like x 1
  50. haskell99

    haskell99 New Member

    Joined:
    Jul 5, 2024
    Messages:
    24
    Likes Received:
    9
    I am having issues setting up the throttle lever on the GP38-2 (Peninsula Corridor) in TSW5.

    There is a huge gap between notch 1 and notch 2. When I look at the values in Joystick interface IDLE is .500, Notch 1 is .600 and Notch 2 is .788. That's 35% of the lever travel for one notch. I have calibrated in TSW and restarted. Same issue.

    Oddly, the GP38-2 in Sand Patch Grade works beautifully with the same Lever Map.

    Any ideas?
    Thanks,
    Eddie
     

Share This Page