Source language: Translate to:

A question about NeoBook, plugins and UPX

Questions about NeoBook PlugIns

Moderator: Neosoft Support

A question about NeoBook, plugins and UPX

Postby dec » Tue Oct 29, 2013 3:32 pm

Hello,

I use UPX to compress my plugins DLL's for long time ago, before NeoBook itself count with the appropiate compiler option in order to optionally compress the publication executable's using UPX too. It's a good idea to continue with this approach? Can be a better idea to let the plugins uncompressed and let the user the hability to compress it along the publication using the NeoBook UPX compiler option?

What do you think about?
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: A question about NeoBook, plugins and UPX

Postby chromebandit » Tue Oct 29, 2013 10:35 pm

Hi David i remove upx or do not use on any dll ist better in my opinion size is bigger but less problems.

Regards
User avatar
chromebandit
 
Posts: 283
Joined: Wed Nov 24, 2010 5:00 pm

Re: A question about NeoBook, plugins and UPX

Postby HPW » Tue Oct 29, 2013 11:23 pm

Hello,

Interesting question, I am in the same Situation with my plugins.
Maybe we should do it like neobook and make them optional.

Or Dave will offer an automatic Option in a neobook update:
When neobook is configured to use UPX , it will search/use a pluginname.nbru (or *.nbu) else it will use pluginname.nbr

As Long this is not done, we could deliver both nbr+nbru and the user renames the files as he want to use.

Even better would be the additional Option which was suggested here:

viewtopic.php?f=5&t=18741&p=11202826#p11202826


Regards
Hans-Peter
User avatar
HPW
 
Posts: 2518
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: A question about NeoBook, plugins and UPX

Postby dec » Wed Oct 30, 2013 1:00 am

Hello,

Thanks for the comments. I did not realize some tests (which is unforgivable) but presumably we can expect the same compression ratio (publication size) if let the NeoBook UPX compiler option to work. In other words, I want to mean that the final publication size probably is the same in these two scenarios:

1º We compress the plugins and the user check the "Compress with UPX" in NeoBook

2º We do not compress the plugins and the user check the "Compress with UPX" in NeoBook

This mean we really do not need to worry about UPX compression at all, passing the decision of UPX usage to the NeoBooker. About the plugins distribution size I think we do not need to worry again, since we can compress into the Zip format or just (like me) compress the plugin installer with the provided installer maker options (Inno Setup in my case).

But may I forget something? Maybe I am not thinking on others scenarios in which compress the plugins (or have an option to do it) can be a good idea?
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: A question about NeoBook, plugins and UPX

Postby Neosoft Support » Wed Oct 30, 2013 10:43 am

With today's large hard drives and fast Internet connections, file size isn't as critical as it used to be. Reducing file size is really the only purpose of utilities like UPX. The compression can be reversed so they don't offer any significant copy protection.

I'm not sure of the value if having NeoBook apply UPX compression to plug-ins. For one thing, NeoBook would have to try and figure out which plug-ins were already compressed (with UPX or some other tool), since files cannot be compressed more than once. Also, when NeoBook compiles plug-ins inside an exe, they are always compressed, so a pre-compressed plug-in has little impact on exe size.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: A question about NeoBook, plugins and UPX

Postby chromebandit » Wed Oct 30, 2013 2:43 pm

With today's large hard drives and fast Internet connections, file size isn't as critical as it used to be. Reducing file size is really the only purpose of utilities like UPX. The compression can be reversed so they don't offer any significant copy protection.


I think upx compression isnt necesarry i dont use it no more @ all and i decompress any plug from other developers if posible also i dont use upx compression in NeoBook..... when i pack software with setup software it will be compressed anyway and the most important part!- if compressed to much or the wrong way with upx some antivirus give some false positives
User avatar
chromebandit
 
Posts: 283
Joined: Wed Nov 24, 2010 5:00 pm

Re: A question about NeoBook, plugins and UPX

Postby dec » Thu Oct 31, 2013 7:57 am

Hello,

Thanks for the commens. Finally I decide to release my plugins uncompressed, leaving the user the choice of usage the new "Compress with UPX" NeoBook compiler option. As I presume, the plugin installers maintain their sizes, so this have not too much impact from the server side of view or when download the installers. ;)
Last edited by dec on Fri Nov 01, 2013 8:07 am, edited 2 times in total.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: A question about NeoBook, plugins and UPX

Postby HPW » Fri Nov 01, 2013 7:40 am

Hello,

I followed DEC and have done it:

viewtopic.php?f=3&t=20231

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2518
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: A question about NeoBook, plugins and UPX

Postby dec » Fri Nov 01, 2013 8:48 am

Hello,

HPW wrote:Hello,

I followed DEC and have done it:

viewtopic.php?f=3&t=20231

Regards


I think is a good idea Hans. The final installers (or Zip) size are the same. The compiler process (52 plugins in my case are too much plugins to compile even in a batch) is reduced. And finally the user can choose the appropiate NeoBook option if want the executable's compressed with UPX including also our plugins.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain


Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 2 guests

cron