Page 1 of 1 1
Topic Options
#140541 - 2005-05-29 05:00 PM UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
UPX (v1.25) can reduce the kix32.exe big time. But compressing v4.50rc1 gives an error with the default commandline of UPX. The -force parameter does seem to work without any problems though and reduces kix32.exe from 248kb to 108kb.

Questions is: does anyone have a reason not to use an executable packer like UPX, that is, does anyone know of any problems?

Top
#140542 - 2005-05-29 05:17 PM Re: UPX compression?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Curious as to why you feel the need to compress it?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140543 - 2005-05-29 05:54 PM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
Err... to make it smaller?

It's not that important, but still, if you can easily save on some bandwidth why not do it? But to elaborate... I do know, and even use some sort of version control to achieve the same. But for a new "project" I'm looking into packing a script and dependent files into a single exe and that exe won't be used by people who either use batch files or who could implement version control / local caching.

Top
#140544 - 2005-05-29 06:13 PM Re: UPX compression?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

Err... to make it smaller?



I wasn't asking whether bears shit in the bush.
This topic has been discussed at great length before.
Kix32.exe is too large, I use an old version...

I could use some support for my MakeEXE for KiX 4.5 suggestion.

You may also want to consider AdminScriptEditor.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140545 - 2005-05-29 06:54 PM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
I had read through that topic before posting and didn't find as much discussion as you seem to see there. Mostly I see a lot of talk why you would not want to compress, what use it might have or what nifty techniques one could use to conserve bandwidth but not an answer to the topic posters question, and none to mine so far for that matter.

Btw.. you definitely have my support for MakeEXE. I, and many others I'm sure, would like to see a sort of compile to .exe for KiX scripts. I've been using KiX since 1998, or perhaps even earlier and most of the time the plain .kix file + kix32.exe is fine but sometimes it's not.

Kixcrypt is very very useful, especially since it supports bundling dependent files. Perhaps Ruud and Richard should work together


Edited by iffy (2005-05-29 06:59 PM)

Top
#140546 - 2005-05-29 07:23 PM Re: UPX compression?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Hmmm.. your topic is about UPX and the problems it has with 4.5 and I see several references to UPX and the problem in that topic. As for your question, "does anyone have a reason not to use an executable packer like UPX" the answer pretty much depends on why you feel the need to compress, and the topic I linked discusses several. The topic of bandwidth was also very thoroughly covered, as were other ways to reduce it.

First you said that you just want to make KiX32.exe smaller, then later you shifted topic to wanting to package several files together. So what is the topic then that we are not addressing?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140547 - 2005-05-29 07:32 PM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
The point is that I would want the combined executable to be as small as possible to conserve bandwidth and make it start faster on the client (on low bandwidth connections like 64kbit to 256kbit). And I prefer, for different reasons, to make the source files smaller instead of the resulting combined package. As I said, local caching is not an option unfortionately in the project I'm currently playing with. As for ones views of the depth of a conversation I guess that different people have different standards.

Edited by iffy (2005-05-29 07:34 PM)

Top
#140548 - 2005-05-29 09:33 PM Re: UPX compression?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Many low bandwidth connections deploy compression so making the package smaller is often a false economy.

I still am not clear where this topic is heading. UPX has issues with 4.5 which has been discussed. What do you want done about it?

Packaging vs. local caching with CRC checking has been covered as well, so where to from here?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140549 - 2005-05-30 12:12 AM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
Just my original question: does anyone have a reason not to use an executable packer like UPX, that is, does anyone know of any problems?

I meant does it break functionality? Like suddenly script abc.kix doesn't work anymore on machine XYZ or something like that.

I thought that was pretty clear but perhaps I should have pointed that out better. I'm not interested in a debate of whether or not to compress, the shortcomings of UPX or any packer for that matter or techniques for bandwidth preservation. Those are of course a good topics but have nothing to do with my question. Same goes, imho, for the conversation thread you mentioned earlier. Ciper's basic question as to why the increase in size over time or why the kix executables aren't compressed already in some form is not answered.

You have way too much attitude for a moderator, calm down a bit, step down from your pedestal. Nothing wrong with your knowledge, but if you'd talk to your partner in the way you answer questions here you'd be sleeping on the couch a lot.

Top
#140550 - 2005-05-30 12:19 AM Re: UPX compression?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
lol.

what comes to not compressing executable and why the (w)kix32.exe is that huge...
the compiler probably was set to go for speed instead of small exe size.
_________________________
!

download KiXnet

Top
#140551 - 2005-05-30 12:34 AM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
Hadn't thought of that one even if I usually tend toward 'speed' instead of 'size' when setting compiler options myself. Could explain the size difference when packing but that's besides the question of 'known compatibility issues' when using a packer like upx or aspack for (w)kix32.exe
Top
#140552 - 2005-05-30 12:59 AM Re: UPX compression?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Ha! You ain't seen attitude yet! First off, I wasn't the one to retort with a flippant reply... I simply asked for clarification. Seems to me you should check your mirror for attitude.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140553 - 2005-05-30 02:00 AM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
Well, first I didn't think I was being "flippant", the smiley should have made that quite clear. But if you interpreted it that way then I'm sorry. Perhaps we got of on a wrong start. And about attitude and mirrors... ever heard the one about "it takes one to recognize one" ?
Top
#140554 - 2005-05-30 02:03 AM Re: UPX compression?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Gentlemen please take this discussion offline if you wish to continue on a personal level. Otherwise please stick only to the topic and do not disparage one another.
Top
#140555 - 2005-05-30 02:11 AM Re: UPX compression?
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
/me apologizes for any misbehaviour
Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 484 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.098 seconds in which 0.057 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org