Closed kellyelton closed 11 years ago
In progress and nearly complete. The only remaining item is figuring out the best way for users to install a plugin. Asking them create a subfolder in the plugins directory, then copy the DLL to it is too cumbersome.
I'd like to have an install process for them. It's something that's in the works but there are some bugs and I've been busy with work.
I was about to move forward by creating an NSIS installer which will create the directory in the OCTGN plugins dir, then put the DLL inside. Possibly even check if it is overwriting a newer version and pop up a warning. I posted about it on the gamersjudgement forum, but didn't get any feedback yet.
http://octgn.gamersjudgement.com/viewtopic.php?f=58&p=3628
Think this is a good enough short-term solution?
Yeah I think that's good at this point. Sorry I don't have more for you at the moment.
Complete. I included the NSIS script code here, it is pretty generic so other plugins could use it with minimal modification.
I know exactly how I'm going to integrate plugins..if you want a head start http://www.myget.org/feed/Packages/octgnplugins
Basically since they don't really need an install, they will just be nuget packages...I have a public feed setup so anyone can add plugins to it...I will then use the nuget library to compare version numbers and install them in the proper place
Alright, to be more specific, go ahead and actually create a package, if you have any questions, just let me know. That way when I slap that together you're ready and your plugin and be downloaded by everyone.
I've been reading up on the concept of nuget, but haven't had time to mess with it yet due to work. I assume you'll make another example when you release the feature, so if I haven't figured it out by then, that'll do it.
About a week ago octgn got support for deck builder plugins, which allow for a person to integrate directly with the deck editor. You can check out http://octgn.gamersjudgement.com/viewtopic.php?f=58&t=614 for some info. We have a nuget package for the libraries you need, so you don't have to worry about using sqlite, or anything crazy.
There is also a demo project here https://github.com/kellyelton/OCTGN/tree/master/octgnFX/Octgn.DeckBuilderPluginExample
We will be providing a way for users to browse and download plugins from inside of octgn, as well as a CI system for your plugins, so it'd probably be best to jump on board now ;).