HK OpenBVE Seltrac Plugin Issues
4 posters
Page 1 of 1
HK OpenBVE Seltrac Plugin Issues
Hi all
Noticed a problem suddenly where a train with a certain plugin now refuses to work.
The route in question is a HK one from here
https://hkrailsimcentre.weebly.com/282073794123663393403217119968263991997934892.html
The included train uses a unique plugin where you have to press the insert and delete keys to change the driving mode however in the latest stable build 1.8.4.3 these functions no longer work.
The developer is aware and has suggested downloading .NET 5 to attempt to fix
Not sure whether this can be looked at or is this a train plugin issue.
Noticed a problem suddenly where a train with a certain plugin now refuses to work.
The route in question is a HK one from here
https://hkrailsimcentre.weebly.com/282073794123663393403217119968263991997934892.html
The included train uses a unique plugin where you have to press the insert and delete keys to change the driving mode however in the latest stable build 1.8.4.3 these functions no longer work.
The developer is aware and has suggested downloading .NET 5 to attempt to fix
Not sure whether this can be looked at or is this a train plugin issue.
Re: HK OpenBVE Seltrac Plugin Issues
From a quick look in the train files, it looks like this should have been fixed in 1.8.4.3, although it would only ever have worked on the 32-bit version of OpenBVE.
(Broken in 1.8.4.1 & 1.8.4.2)
The basic issue is that it's actually using DetailManager to load multiple train plugins simulataneously. This hooked into something internal that whilst public wasn't really intended for external use.
This is a somewhat improved version of DetailManager.dll I tweaked when debugging the issue:
https://github.com/leezer3/OpenBVE/files/9491552/DetailManager.1.0.0.1.zip
Changes:
* Better handling if child plugins crash.
* Returns the most restrictive brake notch, as opposed to that of the last processed plugin per elapse call.
* Fixed to work on 64-bit. (AnyCPU compile)
* Corrects path resolution on case-sensitive filesystems (e.g. Linux)
Going to test a little in a minute.
(Broken in 1.8.4.1 & 1.8.4.2)
The basic issue is that it's actually using DetailManager to load multiple train plugins simulataneously. This hooked into something internal that whilst public wasn't really intended for external use.
This is a somewhat improved version of DetailManager.dll I tweaked when debugging the issue:
https://github.com/leezer3/OpenBVE/files/9491552/DetailManager.1.0.0.1.zip
Changes:
* Better handling if child plugins crash.
* Returns the most restrictive brake notch, as opposed to that of the last processed plugin per elapse call.
* Fixed to work on 64-bit. (AnyCPU compile)
* Corrects path resolution on case-sensitive filesystems (e.g. Linux)
Going to test a little in a minute.
Re: HK OpenBVE Seltrac Plugin Issues
OK, that's interesting.
It's running a Win32 version of DetailManager I haven't seen before, not the .Net version I was assuming....
https://github.com/mikangogo/DetailManager
May not be till next week that I get to have a proper look, but this may be messy.
Running multiple .Net plugins is bad enough, multiple Win32 plugins is a recipie for absolute chaos.
It's running a Win32 version of DetailManager I haven't seen before, not the .Net version I was assuming....
https://github.com/mikangogo/DetailManager
May not be till next week that I get to have a proper look, but this may be messy.
Running multiple .Net plugins is bad enough, multiple Win32 plugins is a recipie for absolute chaos.
Re: HK OpenBVE Seltrac Plugin Issues
Attempted to test, and I can't get it to work full-stop
Readme reccomends 1.8.1.0, which I've setup. Also tried 1.7.3.0 and latest master.
The plugin loads, either 64-bit proxied or in 32-bit. I've verified it's getting the keypresses it expects.
It next says to put the train in F, B8 and then change the driving mode using INS / DEL
This does nothing, but the plugin is clearly doing *something* as various panel bits are running correctly (next station distance, timer etc.)
Any chance of a specific routefile / train combo and full instructions as to how it should go?
Edit:
Sorry, this actually works OK for me in 64-bit mode, but not in 32-bit mode. 1.7.3.0 is only 32-bit, which is probably why it's broken.
My suspicion is that this is a similar issue to OS_ATS issues, in that some older Win32 plugins (normally been the OS_ATS variants) have been getting more and unreliable with modern computers. This route is really pushing the boundaries of the 32-bit memory limits, which will inevitably make issues like this surface more easily (as trains / plugins are loaded after the route and hence will be at a higher memory address)
Please try 64-bit mode and see if that works for you.
Readme reccomends 1.8.1.0, which I've setup. Also tried 1.7.3.0 and latest master.
The plugin loads, either 64-bit proxied or in 32-bit. I've verified it's getting the keypresses it expects.
It next says to put the train in F, B8 and then change the driving mode using INS / DEL
This does nothing, but the plugin is clearly doing *something* as various panel bits are running correctly (next station distance, timer etc.)
Any chance of a specific routefile / train combo and full instructions as to how it should go?
Edit:
Sorry, this actually works OK for me in 64-bit mode, but not in 32-bit mode. 1.7.3.0 is only 32-bit, which is probably why it's broken.
My suspicion is that this is a similar issue to OS_ATS issues, in that some older Win32 plugins (normally been the OS_ATS variants) have been getting more and unreliable with modern computers. This route is really pushing the boundaries of the 32-bit memory limits, which will inevitably make issues like this surface more easily (as trains / plugins are loaded after the route and hence will be at a higher memory address)
Please try 64-bit mode and see if that works for you.
Re: HK OpenBVE Seltrac Plugin Issues
The Seltrac plugin is unfortunately rather dated (Around the BVE4 era), it's a gamble on whether it will load on modern systems and there are probably nothing that can help this situation. (Likely suffering the same issue with OS_ATS)
I don't see this plugin being replaced anytime soon, it's rather tailor made and I don't think there are plugins out there that can achieve full feature parity.
So you probably just have to re-launch OpenBVE over and over and hope one day it will work
Interesting that there is a Win32 DetailManager though, was wondering how did they load multiple Win32 plugin.
I don't see this plugin being replaced anytime soon, it's rather tailor made and I don't think there are plugins out there that can achieve full feature parity.
So you probably just have to re-launch OpenBVE over and over and hope one day it will work
Interesting that there is a Win32 DetailManager though, was wondering how did they load multiple Win32 plugin.
Re: HK OpenBVE Seltrac Plugin Issues
That's interesting.
Maybe that's why it didn't work first time around, and then randomly decided to work on 64-bit (I was assuming I'd missed something in that startup sequence or something on my original attempt) :/
Maybe that's why it didn't work first time around, and then randomly decided to work on 64-bit (I was assuming I'd missed something in that startup sequence or something on my original attempt) :/
LXQt likes this post
Re: HK OpenBVE Seltrac Plugin Issues
Ended up finding a solution. It's .Net related.
A little cumbersome but I uninstalled all forms of .Net then went in and reinstalled the latest .net framework and now all is well.
A little cumbersome but I uninstalled all forms of .Net then went in and reinstalled the latest .net framework and now all is well.
Gothpaladinus and LXQt like this post
Re: HK OpenBVE Seltrac Plugin Issues
IIRC the Win32 DetailManager (by Rock_On) dates further back.
That is, ppl working with BVE5 are using multiple plugins way earlier, while DetailManager.NET developed by S520 is intended to mimic it.
https://github.com/mikangogo/DetailManager
That is, ppl working with BVE5 are using multiple plugins way earlier, while DetailManager.NET developed by S520 is intended to mimic it.
https://github.com/mikangogo/DetailManager
LXQt wrote:Interesting that there is a Win32 DetailManager though, was wondering how did they load multiple Win32 plugin.
Gothpaladinus and LXQt like this post
Similar topics
» Openbve Central line plugin issues
» Help me fix this openbve plugin for blender
» [Steam Deck] Routes missing in the main loader and encoding issues (OpenBVE 1.9.1.1)
» Incorrect plugin behavior? (all Openbve versions)
» openBVE plugin blinking lights problem
» Help me fix this openbve plugin for blender
» [Steam Deck] Routes missing in the main loader and encoding issues (OpenBVE 1.9.1.1)
» Incorrect plugin behavior? (all Openbve versions)
» openBVE plugin blinking lights problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|