New plugin that can handle a plurality of plugins

Go down

New plugin that can handle a plurality of plugins

Post by S520 on Tue Aug 28, 2018 10:35 am

Hello Fans of BVE all over the world. I am S520, nice to meet you. I am developing a Japanese Shinkansen ATC plugin named "ATCFS".
ATCFS For OpenBVE: https://github.com/s520/ATCFS_For_OpenBVE

A few days ago, I released a brand new plugin named "DetailManager For OpenBVE" that can handle a plurality of plugins.
DetailManager For OpenBVE: https://github.com/s520/DetailManager_For_OpenBVE

This enables plugins become subdivided and more realistic. Also, it can add functions to existing plugins.

Now, I'd like to explain how to use "DetailManager For OpenBVE" specifically.

1. Download "DetailManager For OpenBVE" from the below link.
https://github.com/s520/DetailManager_For_OpenBVE/releases

2. Describe relative path to plugins which you want to use in DetailManager.cfg, which exist in the same directory as DetailManager.dll.

NOTE:DetailManager For OpenBVE can handle ONLY .NET Assembly plugins. Besides, in DetailManager.cfg, description must be in UTF-8 with BOM.

3. Describe relative path to DetailManager.dll in ats.cfg which in train folder.

4. Run openBVE and enjoy it!

I would highly appreciate it if you find any bug and report it to Issue in my GitHub.

This post was translated by F81 tec200. I really appreciate it.


Last edited by S520 on Fri Sep 07, 2018 2:27 pm; edited 1 time in total
avatar
S520

Posts : 8
Join date : 2018-08-24
Location : Japan

https://github.com/s520

Back to top Go down

Re: New plugin that can handle a plurality of plugins

Post by Quork on Fri Sep 07, 2018 12:35 pm

I'm astonished nobody reacted to this yet. If this actually does work as described, then it's definitely one of the biggest breakthroughs in the newer history of OpenBVE IMHO!
avatar
Quork

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

Back to top Go down

Re: New plugin that can handle a plurality of plugins

Post by zbx1425 on Sat Sep 15, 2018 9:58 am

Ah, this is awesome! Why people hadn't came up with this earlier......
BTW I'd like to @leezer3 , for this function could be built into openBVE itself! Just read the ats.cfg line by line and load the plugins written on each.
leezer3 wrote:openBVE (and by extension BVE2 / BVE4) only support a single true track- Rail 0.

zbx1425

Posts : 53
Join date : 2017-08-18

Back to top Go down

Re: New plugin that can handle a plurality of plugins

Post by S520 on Sat Sep 15, 2018 12:09 pm

I prepared the sample of for DetailManager for OpenBVE.
The sample that can download shown below site.

https://github.com/s520/DetailManager_For_OpenBVE/releases/download/1.0.0.0/DetailManager_Sample.zip

Please extract DetailManager_Sample.zip at a any your train folder.
Next, run OpenBVE v1.5.3.8 or newer, choose extracted train and start the simulation.
When you press 'SECURITY_S' key (the default setting is attached for SPACE key), the new two windows that titled "Extra Window".
These windows are opened by each ExtraWindow.dll.
Now, please open DetailManager.cfg by some text editor where from the ats folder.
-----------------------------------------
ExtraWindow\ExtraWindow.dll
ExtraWindow\ExtraWindow.dll
-----------------------------------------
Written as shown upper.This sample means the twice read of ExtraWindow\ExtraWindow.dll.
As a test, to comment out, write ';' that at the beginning of line 2.
And save this. Play again and press SECURITY_S key.
This time, the ExtraWindow\ExtraWindow.dll is loaded only one, so that the "Extra Window" is created only one window.
As this way, DetailManager for OpenBVE can read and run several plugin at the same time.
In addition, ExtraWindow.dll is now in under development. 
I am attempting to LCD touch panel operating simulate now.

This post was translated by Midnight Express Ginga81(ginga81). I really appreciate it.
avatar
S520

Posts : 8
Join date : 2018-08-24
Location : Japan

https://github.com/s520

Back to top Go down

Re: New plugin that can handle a plurality of plugins

Post by Glory! koshikii on Fri Oct 19, 2018 12:13 pm

When I read the topic title, I thought to myself: "Huh, someone made a DetailManager clone for OpenBVE." Turns out it's the real deal. Congratulations, S520 for porting it over.
Quork wrote:I'm astonished nobody reacted to this yet. If this actually does work as described, then it's definitely one of the biggest breakthroughs in the newer history of OpenBVE IMHO!
Indeed it is a breakthrough. From my limited experience, DetailManager speeds up development as you can basically grab each individual component instead of requiring you to make one gigantic plugin with what you need or using something that has it all (BVEC_ATS, OdakyufanAts, etc). And if you don't find what you need, you just make what you don't have.

Side note: compiling OpenBVE plugins for testing is tiresome *in my opinion*. I was thinking some time back of making a plugin that reads a Lua script and runs it as the plugin.
avatar
Glory! koshikii

Posts : 51
Join date : 2016-06-18
Location : At the desk

Back to top Go down

Re: New plugin that can handle a plurality of plugins

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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