BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

NEW: Route Loading Plugin (Testers Please!)

Page 2 of 2 Previous  1, 2

Go down

NEW: Route Loading Plugin (Testers Please!) - Page 2 Empty Re: NEW: Route Loading Plugin (Testers Please!)

Post by leezer3 Thu Jul 09, 2020 11:34 am

zbx1425 wrote:A little bit of idea, does it sound reasonable for a route to specify additional plugins to be loaded?

The current method of loading all dlls in the Data/Plugin folder is very flexible as it enables easy extension. However, since the Data/Plugin folder is a part of the installation, one cannot add a plugin without having to use admin right or root privilege, which makes it hard for route developers to make use of the extendable design.

For instance, maybe we can search and load plugin dlls from the folder the route file is in, or add a command in the route file to load a plugin. That will enable route developers to extend the functionality without having to tell the players to get root privilege and manually place a dll file somewhere deep in the file system.

A better idea is probably to allow a specific plugin package type & search the folder these are installed in.

At the minute though, I haven't got as far as thinking about that too hard; I'm trying to work out the issues caused by creating the interface first Smile

leezer3

Posts : 1772
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top


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