Plugin does not load
5 posters
Page 1 of 1
Plugin does not load
Hi there!
We have some problems with train plugins (e.g. OS_Ats1). This is a regular problem, but completely random. In this case the extra functions of the vehicle are unusable (turn signal, headlamp, etc.).
If I restart the computer sometimes it disappears, but most of the time it can't be resolved until the next day.
This is a problem that goes back many years, not BVE version dependent. When the error occurs, the indicator lights appear in the lower right corner of the screen (EB, const speed, ...)
Log: https://pastebin.com/NnJaDGNn
Thanks in advance for your reply!
We have some problems with train plugins (e.g. OS_Ats1). This is a regular problem, but completely random. In this case the extra functions of the vehicle are unusable (turn signal, headlamp, etc.).
If I restart the computer sometimes it disappears, but most of the time it can't be resolved until the next day.
This is a problem that goes back many years, not BVE version dependent. When the error occurs, the indicator lights appear in the lower right corner of the screen (EB, const speed, ...)
Log: https://pastebin.com/NnJaDGNn
Thanks in advance for your reply!
Re: Plugin does not load
The long and the short of this one is that it's nothing we directly have control over.
A Win32 C++ plugin is essentially a closed 'black box'- All we do is ask Windows to load the thing, and anything after that is not under our control.
My best guess would be that it's probably due to the way the plugin was compiled many years ago (Specifically, I believe the G++ compiler probably has an issue with the plugin being loaded in high address spaces), but I can't really do much even with this.
I've also never been able to personally reproduce this, which doesn't help either.
If the plugin in use is an unmodified copy of OS_ATS, then BVEC_ATS is a direct drop-in replacement which does not have this issue, and additionally works on Linux etc:
http://www.bvecornwall.co.uk/wordpress/bvec_ats-design-details/
A Win32 C++ plugin is essentially a closed 'black box'- All we do is ask Windows to load the thing, and anything after that is not under our control.
My best guess would be that it's probably due to the way the plugin was compiled many years ago (Specifically, I believe the G++ compiler probably has an issue with the plugin being loaded in high address spaces), but I can't really do much even with this.
I've also never been able to personally reproduce this, which doesn't help either.
If the plugin in use is an unmodified copy of OS_ATS, then BVEC_ATS is a direct drop-in replacement which does not have this issue, and additionally works on Linux etc:
http://www.bvecornwall.co.uk/wordpress/bvec_ats-design-details/
Re: Plugin does not load
Made one (experimental) change to today's build, so that it'll pause for 100ms and retry once with a failed Win32 plugin load.
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2019-07-31.zip
Whilst I strongly suspect this will have little to no effect, we can but hope
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2019-07-31.zip
Whilst I strongly suspect this will have little to no effect, we can but hope
Re: Plugin does not load
I've tried that plugin what you linked before, and I also experienced the error.
I also tried this build, but I've the same problem.
I also tried this build, but I've the same problem.
Re: Plugin does not load
Unfortunately, I can't do too much more then.
The linked plugin *should* work though- Did you remember to change the ATS.cfg file?
If not, link me to the train, and I can take a look.
(I can only see the original Combino V2 in my archive, which appears to have no ATS plugin. There seems also to be a newer Combino on a Hungarian blog, but no download link from a brief prod)
The linked plugin *should* work though- Did you remember to change the ATS.cfg file?
If not, link me to the train, and I can take a look.
(I can only see the original Combino V2 in my archive, which appears to have no ATS plugin. There seems also to be a newer Combino on a Hungarian blog, but no download link from a brief prod)
Re: Plugin does not load
Yes, I rewrote the ATS.cfg.
All of my trams do this error, the Combino is just an example.
You can find some here:
https://bveworks.wordpress.com/jarmuvek/
These do not use BVEC_ATS, but feel free to change it.
All of my trams do this error, the Combino is just an example.
You can find some here:
https://bveworks.wordpress.com/jarmuvek/
These do not use BVEC_ATS, but feel free to change it.
Re: Plugin does not load
I think this may work a little better:
http://vps.bvecornwall.co.uk/stuff/beta/BVEC_ATS_HUTest.zip
It didn't like the number of custom indicators you were using. There's also a lot of other incomplete work in there, but I don't think any of that should affect your trams. Please note that this version requires v1.5.3 or later of openBVE.
(I can build a copy which will work on any version if you need)
Other notes:
I'd strongly consider reducing your texture sizes. A lot of your textures don't conform to the power of two rule either, which means some are being upsized to absolutely silly proportions.
http://vps.bvecornwall.co.uk/stuff/beta/BVEC_ATS_HUTest.zip
It didn't like the number of custom indicators you were using. There's also a lot of other incomplete work in there, but I don't think any of that should affect your trams. Please note that this version requires v1.5.3 or later of openBVE.
(I can build a copy which will work on any version if you need)
Other notes:
I'd strongly consider reducing your texture sizes. A lot of your textures don't conform to the power of two rule either, which means some are being upsized to absolutely silly proportions.
Re: Plugin does not load
Not sure off the top of my head, what's happened there sorry
Can I see the configuration file it generated?
That should allow me to reproduce at this end.
Can I see the configuration file it generated?
That should allow me to reproduce at this end.
Re: Plugin does not load
Of course:
- BVEC_ATS.cfg:
- ;GenVersion=4
;DELETE THE ABOVE LINE IF YOU MODIFY THIS FILE
[Electric]
powerindicator=2
powergapbehaviour=2
powerpickuppoints=13.815, 38.815
[Interlocks]
klaxonindicator=133,900,133,1000,0,0,0
customindicators=90,91,92,93,94,95,96,102,103,104,105,106,107,108,109,110
doorapplybrake=2
neutralrvrbrake=1
[Vigilance]
overspeedcontrol=1
warningspeed=-1
overspeed=63
safespeed=58
overspeedindicator=-1
overspeedalarm=-1
deadmanshandle=1
vigilancelamp=-1
vigilancealarm=1
vigilanceinterval=[1000]
vigilancedelay1=10000
vigilancedelay2=3000
independentvigilance=1
vigilanceinactivespeed=0
vigilancecancellable=0
vigilanceautorelease=0
[AWS]
[TPWS]
[Windscreen]
[LegacyKeyAssignments]
customindicatorkey1=S
customindicatorkey2=A1
customindicatorkey3=A2
customindicatorkey4=B1
customindicatorkey5=B2
customindicatorkey6=C1
customindicatorkey7=C2
customindicatorkey8=D
customindicatorkey9=E
customindicatorkey10=F
customindicatorkey11=G
customindicatorkey12=H
customindicatorkey13=I
customindicatorkey14=J
customindicatorkey15=K
customindicatorkey16=L
safetykey=A2
Re: Plugin does not load
The following line is definitely broken:
Assuming you want the same interval for all power notches, you should be using this:
If you want a different interval on a per-notch basis, separate with commas.
This doesn't crash though, and I couldn't actually reproduce
I've found another issue, which is fixed in this & hopefully we might get somewhere:
http://vps.bvecornwall.co.uk/stuff/beta/BVEC_ATS_HUTest1.zip
- Code:
vigilanceinterval=[1000]
Assuming you want the same interval for all power notches, you should be using this:
- Code:
vigilanceinterval=1000
If you want a different interval on a per-notch basis, separate with commas.
This doesn't crash though, and I couldn't actually reproduce
I've found another issue, which is fixed in this & hopefully we might get somewhere:
http://vps.bvecornwall.co.uk/stuff/beta/BVEC_ATS_HUTest1.zip
Re: Plugin does not load
Sorry, can't be too much more help at the minute
I might be able to reproduce with the full train / route combo, but something is obviously funny somewhere, which I can't reproduce at all....
(At the minute, I'm using the ČKD Tatra T5C5K2\4011 & have tried a few random routefiles)
I might be able to reproduce with the full train / route combo, but something is obviously funny somewhere, which I can't reproduce at all....
(At the minute, I'm using the ČKD Tatra T5C5K2\4011 & have tried a few random routefiles)
Re: Plugin does not load
Could it be something "funny" happening due to language specific settings in the OS?
Quork- Posts : 1438
Join date : 2012-05-05
Age : 33
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Plugin does not load
I did think of that, but don't think so from a brief check with a comma as my decimal separator
The exception suggests not as well, but it's rather hard to find a silly little bug sometimes.....
The exception suggests not as well, but it's rather hard to find a silly little bug sometimes.....
Re: Plugin does not load
There is the point:
I have changed the language settings from Hungarian to English (UK) and it's working.
Maybe if you change your language settings to Hungarian, you can reproduce the error.
So you have to look somewhere here.
I have changed the language settings from Hungarian to English (UK) and it's working.
Maybe if you change your language settings to Hungarian, you can reproduce the error.
So you have to look somewhere here.
Re: Plugin does not load
Still can't reproduce at the minute
http://vps.bvecornwall.co.uk/stuff/beta/BVEC_ATS_HUTest2.zip
This fixes some issues when the regional setting was set to Hungarian, and also a couple of AI related glitches, but I can't get it to crash at all, all they would have done is reset a couple of settings to default.....
Do you have a link to your route, as it must be interacting with the plugin somehow?
http://vps.bvecornwall.co.uk/stuff/beta/BVEC_ATS_HUTest2.zip
This fixes some issues when the regional setting was set to Hungarian, and also a couple of AI related glitches, but I can't get it to crash at all, all they would have done is reset a couple of settings to default.....
Do you have a link to your route, as it must be interacting with the plugin somehow?
Re: Plugin does not load
I tried to set all the files to UTF-8 BOM because of an idea. It's not working like your plugin: The same error message.
The error came again: It's interesting bacuse only on a newly started route, the other routes are good.
The error came again: It's interesting bacuse only on a newly started route, the other routes are good.
Re: Plugin does not load
I do know there can be errors when mixing UTF and ANSI files within a route. I had it in the past, and had to make certain that all .b3d and .csv files were encoded in UTF. I'd check that first, there may be an ANSI encoded file or two lurking in the objects folder.
Re: Plugin does not load
gcs7e7 wrote:I tried to set all the files to UTF-8 BOM because of an idea. It's not working like your plugin: The same error message.
The error came again: It's interesting bacuse only on a newly started route, the other routes are good.
Interesting, is that with OS_ATS?
That suggests something is awry in the main program somewhere which may be contributing.
I'm not sure if this will have produced a crash log or not, but this might tell us something else.
In the bottom left of the main menu, there is a link entitled 'Report Problem'
It should then give you an option to view the latest crash log
Re: Plugin does not load
I also think the main program is wrong.
Here is the latest Crash Log, but the crashes only with BVEC_ATS:
With OS_ATS I can't reproduce that yet, the main program loaded, only the plugin not.
But with English language settings, the OS_ATS is great.
Here is the latest Crash Log, but the crashes only with BVEC_ATS:
- Spoiler:
- 2019. 08. 06. 12:44:24
OpenBVE 1.5.1281.1208-travis Crash Log
Program is running on the Windows backend
Current screen resolution is: Full-screen 1920px X 1080px 32bit color-mode
Current routefile is: C:\Users\gcs7e7_asztali\OneDrive\Railway\Route_new\3010_N_Etele tér - Bécsi út.csv
Current train is: D:\D_Sajat programok\OpenBVE\Train\Villamosok\Siemens Combino Supra NF12B\2001
Current train plugin is: BVEC_ATS.dll
8 file(s) not found
24 error(s), 8 warning(s)
The current train plugin caused the following exception:
Az index a tömb határain kívülre mutatott.
Current program memory usage: 816,67mb
System memory free: 11161mb
With OS_ATS I can't reproduce that yet, the main program loaded, only the plugin not.
But with English language settings, the OS_ATS is great.
Re: Plugin does not load
I was happy too early:
Does not work with English settings. Log:
Does not work with English settings. Log:
- Spoiler:
- openBVE Log: 08/08/2019 17:47:23
17:47:23 Initialising full-screen game window of size 1920 x 1080
17:47:24 Game window initialised successfully.
17:47:24 Loading route file: C:\Users\gcs7e7_asztali\OneDrive\Railway\Route_new\3500_N_Határ út - Béke tér.csv
17:47:24 INFO: Route file hash 07FC1F04E90D7664F82DA4943910D87B42A063B36F5F3DBAD94E6DD53B388925
17:47:24 C:\Users\gcs7e7_asztali\OneDrive\Railway : Railway folder found.
17:47:24 Route file format is: CSV
17:47:24 The FreeObject with an index of 17 has been declared twice: The most recent declaration will be used.
17:47:24 The FreeObject with an index of 18 has been declared twice: The most recent declaration will be used.
17:47:25 The FreeObject with an index of 304 has been declared twice: The most recent declaration will be used.
17:47:25 FileName 1V\duna.b3d could not be found in Structure.Freeobj at line 181, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:25 FileName 1V\ut\fu_2.b3d could not be found in Structure.Freeobj at line 190, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:25 FileName 1V\epitesitabla.b3d could not be found in Structure.Freeobj at line 191, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:25 FileName 1V\ut\út hoszszú.b3d could not be found in Structure.Freeobj at line 192, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:25 FileName 1V\ut\háromszög.b3d could not be found in Structure.Freeobj at line 193, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:26 FileName 1V\jelzok\piros_oszjes.b3d could not be found in Structure.Freeobj at line 206, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:26 The FreeObject with an index of 2500 has been declared twice: The most recent declaration will be used.
17:47:26 The FreeObject with an index of 300 has been declared twice: The most recent declaration will be used.
17:47:26 The FreeObject with an index of 301 has been declared twice: The most recent declaration will be used.
17:47:26 The FreeObject with an index of 302 has been declared twice: The most recent declaration will be used.
17:47:26 The FreeObject with an index of 285 has been declared twice: The most recent declaration will be used.
17:47:26 The FreeObject with an index of 720 has been declared twice: The most recent declaration will be used.
17:47:26 FileName 1V\faalj\fufabeton.b3d could not be found in Structure.Freeobj at line 310, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Structure.include
17:47:26 The FreeObject with an index of 741 has been declared twice: The most recent declaration will be used.
17:47:26 RailIndex is expected to be positive in Track.Railstart at line 3, column 1 in file C:\Users\gcs7e7_asztali\OneDrive\Railway\Object\3500\_Includes\Track_01.include
17:47:31 Route file loaded successfully.
17:47:31 Loading AI train: D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525
17:47:31 FileName contains illegal characters or is empty at line 3 in file D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\sound.cfg
17:47:31 FileName contains illegal characters or is empty at line 4 in file D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\sound.cfg
17:47:31 An incomplete set of bogie objects was provided in file D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\extensions.cfg
17:47:31 Loading player train: D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525
17:47:31 FileName contains illegal characters or is empty at line 3 in file D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\sound.cfg
17:47:31 FileName contains illegal characters or is empty at line 4 in file D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\sound.cfg
17:47:31 Loading train panel: D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\panel.animated
17:47:32 Train panel loaded sucessfully.
17:47:32 An incomplete set of bogie objects was provided in file D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\extensions.cfg
17:47:32 Loading train plugin: D:\D_Sajat programok\OpenBVE\Train\Villamosok\DÜWAG TW6000\1525\os_Ats1.dll
17:47:37 Error loading Win32 plugin: Nem sikerült egy dinamikus csatolású függvénytár (DLL) inicializáló rutinját végrehajtani (0x45a)
17:47:37 The train plugin os_Ats1.dll does not export a train interface and therefore cannot be used with openBVE.
Re: Plugin does not load
Just to add the result of my testing from Tuesday, I ran all three trams from https://bveworks.wordpress.com/jarmuvek on the Szigetújfalu line and also on Budapest Tram Line 12. The Ganz TM tram was all UTF-8 with BOM by that time, the other two trams were ANSI. Also ran along Vértesszentmihály Tram Line 9, no problems. Then I downloaded and clean installed the Saijou Line (never installed on this machine before), but it went perfectly well with the ANSI encoded ČKD Tatra T5C5K2 / 4011.
My language settings were Hungarian, the decimal separator being comma, I ran OpenBVE 1.6.0.0 on an up to date Windows 10 box.
To summarise, after running routes already installed and also a clean installed route I didn't experience any trouble and unfortunately couldn't reproduce the problem.
My language settings were Hungarian, the decimal separator being comma, I ran OpenBVE 1.6.0.0 on an up to date Windows 10 box.
To summarise, after running routes already installed and also a clean installed route I didn't experience any trouble and unfortunately couldn't reproduce the problem.
Similar topics
» The train plugin OS_SZ_Ats1.dll failed to load
» OpenBve won't load
» Routes won't load
» The (ATO).dll failed to load
» OpenBVE 1.5.1.5 and 1.5.1.6 fail to load on MacOS Sierra 10.12.6
» OpenBve won't load
» Routes won't load
» The (ATO).dll failed to load
» OpenBVE 1.5.1.5 and 1.5.1.6 fail to load on MacOS Sierra 10.12.6
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum