RailDriver Desktop Train Cab Controller supported in OpenBve

View previous topic View next topic Go down

RailDriver Desktop Train Cab Controller supported in OpenBve

Post by jb69 on Sun Feb 23, 2014 2:00 pm

Dear all,

Some of you surely know (or own) the RailDriver Desktop Train Cab Controller from P.I. Engineering. Unfortunately this device, specifically developed for train simulations, is not recognized by Windows as a joystick; therefore, it is(was) not usable in OpenBve. That's why I've developed a "workaround" that makes it now recognized by OpenBve as a "normal" joystick. Please see https://sites.google.com/site/raildriver4openbve/ for more details.

This piece of software is still in beta version and your feed-back is highly welcome !

Kind regards.

jb69

Posts : 3
Join date : 2014-02-23

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by jack123 on Mon Feb 24, 2014 7:42 pm

Hi,
Downloaded the software and works a treat!! Really fantastic makes the whole unit appeal to more customers! There is no way I would recommend an RD unit to anyone who is just buying it for MSTS. Way to complicated and just a right pain to set up and when you drive it there is nothing special about it MSTS Is just to old but this is perfect! This is what this unit was built for and I'm so glad that you have made this. Only issues I experienced was I cannot get the reverser to work and the speed display just displays R.D The whole time but I don't think there is anyway of making this work with openbve anyway. Apart from that perfect! Really really fantastic! Anyone who hasn't a rd unit and plays openbve go and get one! This just now adds to the experience!

jack123

Posts : 40
Join date : 2012-12-05
Age : 19

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by jack123 on Mon Feb 24, 2014 7:46 pm

Also you get a must better response from the train than you would do on a keyboard. If your like me and drive a lot of LU Routes by using this software with the RD you get a lot more rapid responses from the train especially with braking making it easier to drive the train.

jack123

Posts : 40
Join date : 2012-12-05
Age : 19

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by jb69 on Mon Feb 24, 2014 8:47 pm

Dear Jack123, 

I've just sent you a "quick response" (at least I tried as the interface of this forum is new for me).
If someone else encounters the same problem with the reverser, could you:

  • tell me what happens when you move the reverser in OpenBve "Customize controls menu" (first axis should move accordingly)

                                    

  • change "level value" from "INFO" into "DEBUG" in the "root" section of log4net.xml located in RailDriverCalibration.exe directory
  • re-run Calibration process
  • send me a copy of following files: RailDriverCalibration.log  and calibration.dat

Regarding the RD display, I'm currently investigating how to implement this feature without having to modify OpenBve code.

Thanks again for your comments.

jb69

Posts : 3
Join date : 2014-02-23

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by jack123 on Tue Feb 25, 2014 9:23 pm

Hi jb69 thanks for your help. Problem sorted. I re calibrated the reverser settings and now it works a treat! Look forward to any further developments what might happen! Smile

jack123

Posts : 40
Join date : 2012-12-05
Age : 19

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by CaptED on Fri Aug 22, 2014 12:58 am

Hi jb69..
I am considering buying a 'RailDriver'.. after reading your instal-setup of the RailDriver with OpenBve.. 
I am wondering if RailDriver works as intended with other train sims. 
But once you start openbve all joysticks disappear and RailDriver is only the device.

Thanks 
Ed
avatar
CaptED

Posts : 54
Join date : 2012-08-19
Age : 72
Location : Bryant, Arkansas

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by CaptED on Sun Sep 07, 2014 5:04 pm

Hi to Readers....
A very big thanks goes to "jb69" for the work on the RailDriver fix...(making it look like a joystick)

Well I bought a used one for OpenBVE... while not cheap it was a $100.00 savings.... 
It took me a few minutes to calibrate the controller ... and of course getting OpenBVE Controls setup...
All together about 1 hour to setup... (changed my mind on some buttons...)

I will say it was well worth it.   The program worked great...

Later
Ed
avatar
CaptED

Posts : 54
Join date : 2012-08-19
Age : 72
Location : Bryant, Arkansas

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by edgreenberg on Thu Apr 13, 2017 1:25 pm

Hi, I downloaded this patch but in 1.5.1.0, it does not work.  Both before and after installation, I get a message that the joystick is not supported since it has too many buttons.

Is this supposed to work with 1.5.1.0 or should I use an older release?

edgreenberg

Posts : 18
Join date : 2017-04-13

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by edgreenberg on Thu Apr 13, 2017 1:27 pm

I should point out that 1.5.1.0 does not seem to ship with a Tao.Sdl.dll

edgreenberg

Posts : 18
Join date : 2017-04-13

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by leezer3 on Thu Apr 13, 2017 1:58 pm

1.5.1.0 uses a different backend system to prior versions.

This patch is not going to work unfortunately.

The 'Too Many Buttons' error suggests that OpenTK actually recognises the RailDriver, but we currently have a limit of 32 recognised buttons per joystick.

I'll look into things, but at the minute I suspect that support isn't going to happen; I really need one of these in my hands to test with, and they're not cheap Smile
Coding blind isn't good....

leezer3

Posts : 875
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by edgreenberg on Thu Apr 13, 2017 2:09 pm

Any chance I could help?  If you give me a few directions as to where to look I could load the source up and see if I can find a solution.

Otherwise, do you think I could get a result out of 1.4.3?

Ed

edgreenberg

Posts : 18
Join date : 2017-04-13

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by leezer3 on Thu Apr 13, 2017 3:21 pm

1.4.3 should work, assuming the PI engineering interface works OK Smile

The buttons limit is internal to openTK's HID driver; As it's throwing a too many buttons error, openTK seems to be talking to the stick itself, which is a good sign.

How competent with C#, or programming in general are you?
The current development version of openTK patches the buttons limit to 64, but I'm reluctant to merge this straight into openBVE as the interface versions aren't backwards compatible, and it requires some changes from my end (I also have no means of testing this.....).
This has the potential to completely confuse things when mixing versions.

(The method signature of Joystick.GetButton has changed from using a custom JoystickButton enum to a simple Int)

TLDR:
Compiling openBVE from source, replacing the included opentk.dll with one built from their latest development source *may* make things work.

Otherwise, unless someone wants to lend me a raildriver, I'm afraid we're stuck Razz

leezer3

Posts : 875
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by Quork on Sat Apr 15, 2017 9:24 pm

Maybe it's time you'd consider donations after all. Maybe we could finance such a thing together. One could also consider reselling it afterwards, if you don't want to own one.
avatar
Quork

Posts : 1074
Join date : 2012-05-05
Age : 25
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by leezer3 on Sun Apr 16, 2017 11:48 pm

Quork wrote:Maybe it's time you'd consider donations after all. Maybe we could finance such a thing together. One could also consider reselling it afterwards, if you don't want to own one.

€220 ?  Shocked Shocked  (Can't even see a UK stockist, Aerosoft appear to be the EU distributor & they just straight convert € to £, IIRC charging in €)

Really not a sum I'm particularly comfortable with......
Never actually seen one secondhand either, they're rare as hens teeth, I suspect due to the cost involved.

First I saw them was ~10 years ago after MSTS had first been introduced, at that time they were about £120. Doubling in price over that period is pretty impressive.....

No idea whether I could get the thing to work either without actually fiddling with it, and that's another argument against donations Smile

leezer3

Posts : 875
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by graymac on Mon Apr 17, 2017 12:58 pm

The manufacturer, on its website http://raildriver.com/products/raildriver.php , lists the programs which the device is compatible with, it does not include BVE among them.
It would be my contention that it is up to this manufacturer to produce software to allow the device to be used with BVE program variants, NOT the other way round.
The market demographic probably precludes production of such software - most users of freeware sims aren't going to be spending those sort of sums on what is essentially a "jumped up joystick".
Chris's valuable time and expertise is wasted messing around catering for overpriced minority "add-ons" like this.
avatar
graymac

Posts : 1740
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by Quork on Mon Apr 17, 2017 1:30 pm

Nah, in this case, it's indeed the sim's technical and not the manufacturer's problem. The manufacturer delivers a working piece of hardware with a working software driver, which, to my knowledge, conforms to all standards. Thus their part is done.
It's a valid question indeed whether it's worth the time and fuss on Chris' side to deal with this admittedly very specific problem - but there's neither fault nor lacking on the manufacturer's side.
avatar
Quork

Posts : 1074
Join date : 2012-05-05
Age : 25
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: RailDriver Desktop Train Cab Controller supported in OpenBve

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum