Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Shrinking Using UPX
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Onoitsu2
USA (248 posts) Bio
|
Date
| Fri 10 Aug 2007 01:28 PM (UTC) |
Message
| I have been shrinking MANY programs and dll's lately using UPX compression, so that I can put a few more things on my USB Pen Drives. I have discovered that the LUA dll can be shrunk quite a bit, actually for LUA50.dll (Version 3.74 of MUSHclient) the compression ratio was slightly over 50%. This is not VERY much, but might even shrink the installer by 75k, that is not much at all, but for those on dialup connections, that can be considered bloat of up to a minute or more depending on ISP.
Just something I stumbled upon, and I noticed that the MUSHclient.exe itself was fully UPX compressed, which was nice to know, and if you are using an older version of the program, like myself, the spell checker dll can be packed by about 43%. This is not an issue with newer versions as I believe that is no longer included, due to licensing.
Even the installers can be UPX packed by a little bit (Version 4.06 was packed by 0.015MB). Again it is not much, but adds up to something on bandwidth for something being downloaded several hundred times a month.
Just my 2 Cents :)
Laterzzz,
Onoitsu2 | Top |
|
Posted by
| Shaun Biggs
USA (644 posts) Bio
|
Date
| Reply #1 on Fri 10 Aug 2007 05:24 PM (UTC) |
Message
| Not to knock it, but isn't UPX just LZO compression? Does it have a self-extractor? Most people probably wouldn't recognize the extension even though it's been out for over a decade, but if it self-extracts, that's a non-issue.
|
It is much easier to fight for one's ideals than to live up to them. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #2 on Fri 10 Aug 2007 05:33 PM (UTC) |
Message
| Not to be overly obsessive about this but it is Lua, not LUA. It's not an acronym. :) |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,121 posts) Bio
Forum Administrator |
Date
| Reply #3 on Fri 10 Aug 2007 09:43 PM (UTC) |
Message
| I used to UPX compress MUSHclient, but stopped doing it when I moved the resources to the resources DLL file. After all, the installer download is compressed anyway, and compressing a compressed file doesn't generally do much. If I was worried about that last 1% for the installer size, I can always crank up the compression ratio for the installer.
Anyone who downloads MUSHclient, and wants to put it somewhere small (like a memory stick) can always use UPX themselves, after installing. However I think these problems go away a bit - we used to have small floppy disks (around 1.4 Mb) but nowadays you have 2 Gb memory sticks, so I think the need to save tiny amounts of disk are gone, a bit. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,211 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top