TrainSim Helper (Joystick/Overlay) release thread

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

Moderator: Moderators

Locked
User avatar
sonicm
Getting the hang of things now
Posts: 94
Joined: Tue Mar 29, 2005 8:37 am
Location: England
Contact:

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by sonicm »

Havner wrote: It's not possible ATM. I never thought anyone would like to use the stick itself for anything as it's not a lever per se.
I'll think about it.
Thanks for the response, yes I guess maybe I was looking for something that doesn't make sense? As when your stopped the breaks would come off, hum maybe I need to think about that a bit more !
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.11 released.

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

Minor release with updated configs for some locos that were patched and some new configs from my latest purchases.

Code: Select all

0.11:
 - WARNING: there are 5 scripts now in total now, make sure to
   put them all in the plugins directory.
 - Updates after TS patches: Connie, FEF-3, Talent 2
 - BR Blue pack
 - DR BR86 (units might be incorrent on the overlay)
 - DB BR261 Voith Gravita
 - Horseshoe Curve + Baldwin Centipede
 - Return to Maerdy
 - WCML Trent Valley locos
 - Merge all the alerters into one "Alarm", color changed to yellow.
   It's virtually impossible to be able to distnguish AWS/PZB from
   DSD/Sifa reliably on all locos. In any case the 'Q' should always
   fix the alarm. If you want to drive realistically look in the cab.
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 »

Thanks Havner for the update :-) Much appreciated.
I've not got to grips with the new scripting yet with my custom loco configurations.
Thanks again!
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 »

Timex wrote:Thanks Havner for the update :-) Much appreciated.
I've not got to grips with the new scripting yet with my custom loco configurations.
Thanks again!
Much appreciated for your words as well. Sorry there is no Simple GUI to configure all the locos, but I wrote this software initially mostly for myself and I honestly don't have so much free time to do that. I'm always happy to provide guidance on the forums though if you have any questions.
I do try to provide configs for all the locos I have. Even though I might not be using them anymore myself.
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 »

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.

Placement would be important as the details being in the bottom left of the screen is going to be hard on my 32 inch monitor to get to see easily (I sit 9 inches from the screen!).

Any thoughts or feedback appreciated.

Regards

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 »

All of this can be changed, but in the code. Not configurable elsewhere. You'd have to recompile the exe afterwards.
peterbeste
New to the Forums
Posts: 4
Joined: Sat Feb 13, 2016 11:16 pm

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by peterbeste »

Dear Havner,

Firstly, thank you very much for your software!

I am trying to get the joystick to work correctly with Railjet from Railways Austria.
I would like to assign the dyn brake and train brake under the same joystick axis, same as using keys semicolon and apostrophe.

When I assign the train brake to the joystick, the following happens:
- when moving the joystick backwards, the trainbrake fills, but empties immediately afterwards
- increasing the brake power is only possible by quickly moving the joystick back and forth within the joystick area "behind" the axis centre
- in case of no joystick movement, the brake releases itself.

When assigning the joystick to the dynamic brake, the dynamic brake jumps to the position of the train brake, unless it is decoupled from the train brake with keys Minus and DOT (as per manual).

When separately assigning the decoupled dyn brake and train brake to two separate joystick, each axis works correctly. However, assigning both decoupled brakes to the same joystick axis does not work, since the train brake fills and releases itself with the joystick movement.

Hope you can help.

Greetings
Peter
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 »

peterbeste wrote:I am trying to get the joystick to work correctly with Railjet from Railways Austria.
I would like to assign the dyn brake and train brake under the same joystick axis, same as using keys semicolon and apostrophe.
If there is an axis that is controlled by 2 keys (inc, dec) then there has to be a single ControlValue that can be assigned to an axis that controls both the throttle and some brake by itself. All the things you described later happen probably because you are trying to control low level values instead of the one combined/virtual axis.

I don't know the loco you mentioned, but it being 3rd party means that the author might've used some non-standard value for this axis that needs to be added to auto detection functions.
Try to read the readme, this process is partially described there.

Basically you need to find the name of this control value (e.g. by analyzing the keymap file). And the add this control value to the DetectThrottle() function. Then just assign the one lever you need to the throttle.

If you fail, send me the keymap file and the loco's bin file (as described in the readme). I'll have a look.
User avatar
peterfhayes
Very Active Forum Member
Posts: 2155
Joined: Mon Sep 26, 2011 5:07 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by peterfhayes »

Havner
I may be wrong but I understood that there were NO AXES in TS 2016 only key strokes?
Does that affect anything?
Regards
pH
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 »

peterfhayes wrote:I may be wrong but I understood that there were NO AXES in TS 2016 only key strokes?
I'm not sure I understand what you mean. Do you refer to my previous sentence about an axis that is controlled by keys? If so then I meant a physical loco axis/lever (not a game axis) that is controlled by keys. And if so that doesn't affect anything I wrote previously.
paweuek
New to the Forums
Posts: 1
Joined: Thu May 17, 2012 9:58 am

Re: TrainSim Helper (Joystick/Overlay) release thread

Post by paweuek »

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
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 »

I have a weird issue. Recently I had a crash and reinstalled my system from scratch. This week I got Settle to Carlisle a gift and decided to reinstall TS to try it out.
Downloaded TSH from your own download location, put the content in plugins (without the folder it comes in because I initially did that and then my keyboard stops working). Did the scripts, fired up TS and the first Settle to Carlisle scenario... message presented that TSH was active but no overlay.
reverted all the orig files back, set everything to run in Admin mode, redo the scripts, start game, choose engine I know worked before (ES44AC) ... TSH detects ES$$AC.... no overlay
Hitting all the toggles ... no overlay

I did everything the same as I always did.

Windows 10 64bit
Logitech F510 connected

What could be the issue?
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 »

Mavadelo wrote:I have a weird issue. Recently I had a crash and reinstalled my system from scratch. This week I got Settle to Carlisle a gift and decided to reinstall TS to try it out.
Downloaded TSH from your own download location, put the content in plugins (without the folder it comes in because I initially did that and then my keyboard stops working). Did the scripts, fired up TS and the first Settle to Carlisle scenario... message presented that TSH was active but no overlay.
reverted all the orig files back, set everything to run in Admin mode, redo the scripts, start game, choose engine I know worked before (ES44AC) ... TSH detects ES$$AC.... no overlay
Hitting all the toggles ... no overlay

I did everything the same as I always did.

Windows 10 64bit
Logitech F510 connected

What could be the issue?
Daft question but is TS in borderless mode in the settings?
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 »

Timex wrote:
Mavadelo wrote:I have a weird issue. Recently I had a crash and reinstalled my system from scratch. This week I got Settle to Carlisle a gift and decided to reinstall TS to try it out.
Downloaded TSH from your own download location, put the content in plugins (without the folder it comes in because I initially did that and then my keyboard stops working). Did the scripts, fired up TS and the first Settle to Carlisle scenario... message presented that TSH was active but no overlay.
reverted all the orig files back, set everything to run in Admin mode, redo the scripts, start game, choose engine I know worked before (ES44AC) ... TSH detects ES$$AC.... no overlay
Hitting all the toggles ... no overlay

I did everything the same as I always did.

Windows 10 64bit
Logitech F510 connected

What could be the issue?
Daft question but is TS in borderless mode in the settings?
I am an idiot, thank you
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:I am an idiot, thank you
Heh, and I was just getting to reply to you. I take it everything's fine now? ;-)
Locked

Return to “[TS] General Discussion”