CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 13, 2018, 21:59:09 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: CamBam Plugin MX (Manager)  (Read 1060 times)
GeoffreyGRoy
Storm Trooper
***
Offline Offline

Posts: 151


View Profile
« on: July 27, 2018, 10:06:06 am »

I have experimenting with developing a workable plugin manager following the earlier proposal at (http://www.cambam.co.uk/forum/index.php?topic=4961.0).

In this case I am focusing on the  local installing/uninstalling of individual plugins, rather than automating the download process. It provides a local library (folder) where the plugin dlls are stored, then copied to and from the plugins folder as required.  I have tired to contact BaNoBi with no success, as some of his code may be of use.

So, pushing on, here is my first attempt.  It is not a CamBam plugin, it is a separate application, and needs to be run when CamBam is not running - as it can alter the content of the "plugins" folder.

The multi language support is still rudimentary - needs to be hard coded.  I was not sure if I could use the CamBam translation files in a separate application - please advise.

Any ideas, suggestions, bugs, are most welcome.  Use with caution as plugin dlls in the plugins folder can be deleted, after a confirmation prompt.

Geoff

The French and German translations have been done (thanks to David and Ralf).   I have also made the Plugin web site (default) so it points to the correct language version.

Geoff

* CamBamPluginMX-V1.0.0.zip (456.63 KB - downloaded 33 times.)
* CamBamPluginMX-V1.0.1.zip (458.25 KB - downloaded 13 times.)
« Last Edit: August 03, 2018, 08:24:11 am by GeoffreyGRoy » Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3654



View Profile
« Reply #1 on: July 27, 2018, 11:06:42 am »

Geoff,

The files from BaNoBi's plugin can be opened using ILSpy;

https://github.com/icsharpcode/ILSpy/releases

code in both the .dll and .exe can be viewed and saved.

Once opened in ILSpy select, File->Save Code and choose 'C# project'
You will probably have to hand edit some code in Visual Studio but you should be able to work it out.

Of course this works for almost all plugins here.
« Last Edit: July 27, 2018, 13:59:13 pm by EddyCurrent » Logged
GeoffreyGRoy
Storm Trooper
***
Offline Offline

Posts: 151


View Profile
« Reply #2 on: July 28, 2018, 01:32:07 am »

Thanks, I will try it out.
Geoff
Logged
pixelmaker
CNC Jedi
*****
Offline Offline

Posts: 1651


View Profile WWW
« Reply #3 on: July 30, 2018, 22:56:27 pm »

I will translate the User Guide into German in the next few days. I will then also send the translations for the program interface in German.
It'll take a few days. Because of nice high temperatures (about 40°C) I work early in the morning and in the evening. So I won't get to write anything about it until midnight.

For years I have been working with two plugin folders for activating / deactivating the plugins.
This program gives me a better overview. Thank you very much for that.

Ralf
Logged
GeoffreyGRoy
Storm Trooper
***
Offline Offline

Posts: 151


View Profile
« Reply #4 on: July 31, 2018, 00:10:31 am »

Dear Ralf

As I indicated the UI translations are a bit simple at the moment, but I can provide (after a rebuild) alternative language support.  This is done in a Class (Params).  I am attaching this file below.  It should quite clear how to add the translated text elements.  I would greatly appreciate a German translation - that I can rebuild and circulate.

Once any initial bugs are sorted I will circulate the full code.

Geoff

* MXpartsrc.zip (1.58 KB - downloaded 24 times.)
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5214



View Profile WWW
« Reply #5 on: July 31, 2018, 01:12:36 am »

Hello Geoff

I'll give you the French translations soon Wink

++
David
Logged
GeoffreyGRoy
Storm Trooper
***
Offline Offline

Posts: 151


View Profile
« Reply #6 on: July 31, 2018, 09:28:55 am »

Thanks David, Geoff
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5214



View Profile WWW
« Reply #7 on: July 31, 2018, 23:21:17 pm »

Hello

translated  Wink ; maybe you need to change the position of the \n in some texts ... (it's a carriage return if I well remember C ?)

++
David

* Params - FR.zip (2.17 KB - downloaded 23 times.)
Logged
lloydsp
CNC Jedi
*****
Online Online

Posts: 7636



View Profile
« Reply #8 on: July 31, 2018, 23:42:36 pm »

No, "new line" (a line-feed).  A carriage return is "\r".

Lloyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
GeoffreyGRoy
Storm Trooper
***
Offline Offline

Posts: 151


View Profile
« Reply #9 on: August 01, 2018, 01:13:51 am »

Dear David,

Many thanks, when I get the German translation I will release a new version.

Geoff
Logged
pixelmaker
CNC Jedi
*****
Offline Offline

Posts: 1651


View Profile WWW
« Reply #10 on: August 01, 2018, 19:27:13 pm »

Hello Geoff
here is the German translation.
I set them the way it was in the French text.
Under "public static string websiteURL" is the link to the english plugin page.
But this seems to be a static text that is not exchanged for language. Of course, it would also make sense to fill this variable from according to the language used.

ralf

* Params-DE.cs.zip (2.54 KB - downloaded 12 times.)
Logged
GeoffreyGRoy
Storm Trooper
***
Offline Offline

Posts: 151


View Profile
« Reply #11 on: August 02, 2018, 01:58:22 am »

Dear Ralf

Many thanks, I had not fully appreciated the websiteURL (language version) issue, I will update the next version to insert the associated language version URL when the language is changed.

Apart from EN, FR and DE are there any other language version web sites for plugins?

Geoff
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5214



View Profile WWW
« Reply #12 on: August 02, 2018, 03:23:50 am »

Hello

Quote
Apart from EN, FR and DE are there any other language version web sites for plugins?

I never heard about other  ...

++
David
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.132 seconds with 20 queries.

Copyright © 2018 HexRay Ltd. | Sitemap