perpetualKid, on 03 February 2019 - 03:10 PM, said:
finally got some time to complete work on the RailDriver implementation I started few weeks ago.
this includes:
- a new tab page on Options Dialog in Menu to customize Raildriver. The tab page will only show if an RD is connected
- on the page, RD buttons can be customized in a similar way as keyboard settings. Known limitation - each functionality can only have one unique button assigned. This means the horn and e-stop dual way switches can be assigned to different settings only, but not the same on either direction. In default config however, both switches still can be used in both ways for the same functionality.
- RailDriver calibration is now part of the options dialog. Calibration is fully integrated in ORTS, so there is no need for separate calibration program and calibration files. Therefore an initial calibration needs to be run in ORTS. While Calibration runs, a guidance dialog will be shown as in the screenshot, showing which lever to move in position to get a measurement, before moving to next. {snip}
Just a simple question: as this thread indicates, the OpenRails Options RailDriver tab has a 'Calibration' button, but after one has used it and confirmed to save the changes, where does ORTS put the new calibration settings?
Using RailDriver's own RDCalibration.exe produces a file called ModernCalibration.rdm, which as per instructions, you put in the Train Simulator root directory. I would have imagined OR's inbuilt Calibration process would write a similar file (somewhere) but I have no idea where. The file in the root folder is certainly not being updated after calibration via OR, so is OR actually saving the settings at all?
I'm not convinced that it is: I like to see positive proof such as an old-fashioned file with a timestamp ;)
In the Registry, OR has a series of entries which I had assumed are the defaults used if no calibration file is found? Or is that where it saves the new calibration settings? The OR installation manual says OR looks for the calibration settings .rdm file first in the root folder, then in PIEngineering's own folders in Program Files and if it still finds nothing, it uses defaults.
So the question is, if one uses OR to calibrate the RailDriver rather than the standalone RDCalibration.exe, how/where is OR actually updating and saving the settings? If it is the case that external files are no longer to be used, could it be displayed on the tab the date/time when the calibration was last run and saved?
(Ignore any iffy attachments which might creep in)