TrainSim Helper (Joystick/Overlay) release thread

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

Locked
User avatar
Havner
Been on the forums for a while
Posts: 293
Joined: Thu Sep 11, 2014 1:32 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Havner »

paweuek wrote:I made a little video with some action featuring TrainSim Helper! Hope you like it;-) Thank you Havner for your excellent software!

https://youtu.be/Dr9jmKDbSU4
And sorry, I should've replied to you much earlier. Glad you like it. Nice hardware you have there. I still use of the shelve simulation throttles :-) Thanks for the video!
Mavadelo
Getting the hang of things now
Posts: 12
Joined: Fri Apr 10, 2015 3:03 pm

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Mavadelo »

Havner wrote:
Mavadelo wrote:I am an idiot, thank you
Heh, and I was just getting to reply to you. I take it everything's fine now? ;-)
Yes, back to proper running the tracks again. Now if only you could make a similar thing for that trucking simulator from another company that just got released a few months ago .... heheheheheh

and no that is not a request, just wishfull thinking ;)
User avatar
Havner
Been on the forums for a while
Posts: 293
Joined: Thu Sep 11, 2014 1:32 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Havner »

Mavadelo wrote:Now if only you could make a similar thing for that trucking simulator from another company that just got released a few months ago .... heheheheheh
As fair as I'm aware it does support joysticks pretty well, unless we're talking about a different sim :-)
User avatar
Havner
Been on the forums for a while
Posts: 293
Joined: Thu Sep 11, 2014 1:32 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Havner »

Version 0.12 released.

http://vega.livecd.pl/~havner/trainsim-helper/

Some minor changes, few more locos. Biggest reason for this release is the wonderful USATC S160 support.

Code: Select all

0.12:
- Academy BR189 after the patch
- Class 180 Adelante
- Semmeringbahn loco
- USATC S160
- Small changes for function conflicts in Class 380
Timex
Been on the forums for a while
Posts: 192
Joined: Fri Oct 17, 2014 4:21 pm

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Timex »

Havner wrote:Version 0.12 released.

http://vega.livecd.pl/~havner/trainsim-helper/

Some minor changes, few more locos. Biggest reason for this release is the wonderful USATC S160 support.

Code: Select all

0.12:
- Academy BR189 after the patch
- Class 180 Adelante
- Semmeringbahn loco
- USATC S160
- Small changes for function conflicts in Class 380
Thanks Havner, great work as always.
sharonna511
New to the Forums
Posts: 3
Joined: Fri Jul 15, 2016 3:00 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by sharonna511 »

Hello

I want to use your helper to map my joystick (saitek throttle) to the Railworks Austria Railjet.

Sadly the railjet seems to be incompatible because there are a few problems, i will described them:
Dynamic Brake: using the brake with ö/ü on keyboard moves both brake levers, but if i assign dynamic brake only the right one moves and bounce around, i think they are linked. or must i use train brake ?
Throttle: Inc/Dec the percentage seen in hud, but does not move the lever at all, even when unlocking is pressed.
AFB: Moves with Y/C on keyboard, Cruise Control does not move it / work.

Could you please try to make this DLC compatible ?
I provide you with the files you need.
Files: https://drive.google.com/file/d/0B1ietv ... sp=sharing

Thanks in advance.
Regards Sharonna
sharonna511
New to the Forums
Posts: 3
Joined: Fri Jul 15, 2016 3:00 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by sharonna511 »

Hello

Thank you for this tool.

Could you please make the DLC Railworks Austria Railjet compatible ?

The brake and AFB is not working.
AFB does not move, brake is jumping around and not moving both levers as ö/ü does.

Files: https://drive.google.com/file/d/0B1ietv ... sp=sharing

Thanks a lot.
thompson9100
Getting the hang of things now
Posts: 78
Joined: Fri Mar 25, 2005 1:59 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by thompson9100 »

thompson9100 wrote:2 questions for you if I may?

1) Can the font size be changed?

2) Can it be moved to a different location on the screen?

I don't see very well, so the size of the font you've shown in the screen shots is too small for me.
Hi

I've asked about this before, and you gave me an answer, but I didn't look any further at the time in how to do this. I've not worked in C++ before, but have a (very old) background in programming (like 1991-3!). Is there any advice you can give me in respect of where and what I'm looking to change, etc. If this is a huge job, and not for someone with no experience of C++, then can I ask that a SIZE option is added to your list of things for future consideration, along with the font, position and colour you've already noted?

Many thanks

Dan T
User avatar
Havner
Been on the forums for a while
Posts: 293
Joined: Thu Sep 11, 2014 1:32 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Havner »

@thompson9100, @sharonna511

Hi,
Please, give me a week or two, I'll try to look at your requests. I have little time at this moment. I'll see what I can do as soon as I'm able.
sharonna511
New to the Forums
Posts: 3
Joined: Fri Jul 15, 2016 3:00 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by sharonna511 »

Thanks, i got it working now.

Use Throttle, Trainbrake and Cruise Control.

Changed the following:

AFBHebel added.
AFBHebel has to be over AFB.

Code: Select all

function FindCruiseCtl()
   if Call("ControlExists", "SpeedControlTarget", 0) == 1 then     -- BR266
      return "SpeedControlTarget"
   elseif Call("ControlExists", "SpeedSet", 0) == 1 then           -- Class 90 AP
      return "SpeedSet"
   elseif Call("ControlExists", "CruiseControlSpeed", 0) == 1 then -- Acela
      return "CruiseControlSpeed"
	elseif Call("ControlExists", "AFBHebel", 0) == 1 then        -- RWA Railjet
      return "AFBHebel"
   elseif Call("ControlExists", "AFB", 0) == 1 then                -- German
      return "AFB"
   elseif Call("ControlExists", "SpeedTarget", 0) == 1 then        -- Class 365
      return "SpeedTarget"
   elseif Call("ControlExists", "TargetSpeed", 0) == 1 then        -- Class 375/377
      return "TargetSpeed"
   end
end
TrainBrakeControl has to be over VirtualBrake/VirtualTrainBrakeControl.

Code: Select all

function FindTrainBrake()
   if Call("ControlExists", "TrainBrakeHandle", 0) == 1 then  -- FEF-3
      return "TrainBrakeHandle"
	elseif Call("ControlExists", "TrainBrakeControl", 0) == 1 then
      return "TrainBrakeControl"
   elseif Call("ControlExists", "M8Brake", 0) == 1 then
      return "M8Brake"
   elseif Call("ControlExists", "VirtualBrake", 0) == 1 then
      return "VirtualBrake"
   elseif Call("ControlExists", "VirtualTrainBrakeControl", 0) == 1 then
      return "VirtualTrainBrakeControl"
   end
end
Throttle works by default, but you have to press unlock key before and druing moving it up over 1%.

Folowing .out files need patching with trainsim-helper-lua-out:

Assets\RWAustria_2\Austria_RailVehicles\Electric\OEBB_Railjet\OEBB_1116\1116_enginescript.out
Assets\RWAustria_2\Austria_RailVehicles\Electric\OEBB_Railjet\OEBB_8090\8090_enginescript.out
Assets\RWAustria_2\Austria_RailVehicles\Electric\OEBB_Railjet\OEBB_8090\8090SBB_enginescript.out

I would also appreciate a position option, as i run TS2016 on 5980x1080 it is on the far left side.
Also a setting for setting or rembering the hud toggled elements would be nice.

Thanks for you work.
Havner wrote:@thompson9100, @sharonna511

Hi,
Please, give me a week or two, I'll try to look at your requests. I have little time at this moment. I'll see what I can do as soon as I'm able.
User avatar
Havner
Been on the forums for a while
Posts: 293
Joined: Thu Sep 11, 2014 1:32 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Havner »

sharonna511 wrote:Also a setting for setting or rembering the hud toggled elements would be nice.
You can set the toggles with command line switches. This way TSH launches with the controls you want visible/hidden from the start.

I'll have a look at the changes you made to include them in the next version when I have some time to sit down to it.

Glad you figured some of the stuff out anyway.
JPS2K5
New to the Forums
Posts: 9
Joined: Tue Aug 16, 2016 2:38 pm

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by JPS2K5 »

Hello,

Can someone help me ? I'm using this to have my thrustmaster HOTAS throttle working, and basicly it runs fine. However, the brakes of the Donner Pass SD70M_SP won't work, while it works at the (standard) Sherman Hill SD70M...
I can look in the controls, I see differences, I realise that the SD70M is in the joystick lua.... But other than that I have no clue what to do about this :(
JPS2K5
New to the Forums
Posts: 9
Joined: Tue Aug 16, 2016 2:38 pm

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by JPS2K5 »

I fixed it. Basicly it's just a matter of looking for some unique identifiers to make sure you have the loco you want in the detect-locos.lua, and then add correct values into the joystick.lua 8)

Great little program! :D
User avatar
Havner
Been on the forums for a while
Posts: 293
Joined: Thu Sep 11, 2014 1:32 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by Havner »

Version 0.13 released.

http://vega.livecd.pl/~havner/trainsim-helper/

Code: Select all

0.13:
- Small update to be able to find the TS2017 window, no other changes
gwrdevon
Been on the forums for a while
Posts: 257
Joined: Mon Dec 10, 2007 9:30 pm

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by gwrdevon »

Thanks Havner for the quick update to support TS2017.

I remember last year being in a panic after the upgrade to TS2016 and your excellent Overlay not working until you helped me out!
Locked

Return to “[TS] General Discussion”