Blender + UPX (for Windows version)

General discussion about the development of the open source Blender

Moderators: jesterKing, stiv

Post Reply
Friday13
Posts: 54
Joined: Wed Oct 16, 2002 10:40 pm

Blender + UPX (for Windows version)

Post by Friday13 » Wed Aug 20, 2003 8:52 pm

Hello, maybe this isn't the right forum section, or the right forum at all, but yesterday i did some testing with UPX (Ultimate Packer for eXecutables) to see if it could reduce the size of Blender program files. So, here are the results:
http://omarmodesto.tripod.com/blenderupx.txt

It might be a good idea to distribute the official BF-Blender (or even Tuhopuu) using this, to reduce download times and disk space. That's all :D

(Note: no harsh comments, flames, or anything like that, just in case)

Fred_Pyo
Posts: 25
Joined: Sat Nov 02, 2002 8:31 pm
Location: Somewhere in South America

Post by Fred_Pyo » Thu Aug 21, 2003 4:13 am

That would be great! I love faster download times...

Pablosbrain
Posts: 254
Joined: Wed Jan 28, 2004 7:39 pm

Post by Pablosbrain » Thu Aug 21, 2003 5:27 am

Too funny... I'm not sayin its a bad idea... I just find it funny your trying to make a 3D application that is still under 5 megs total even smaller... hah. To much fun in this group! I'm assuming that it uncompresses itself when run. In my mind this probably adds to the startup time... not very much but still... I'd rather have a fast app than a small one. If I'm wrong let me know... also.. would there be an equivalent for the other platforms? If not I would say stay away from it and stick to doing stuff as identically as possible between platforms.

Timothy
Posts: 93
Joined: Sun Sep 29, 2002 3:20 pm
Contact:

Post by Timothy » Thu Aug 21, 2003 9:46 am

hmm I'm not sure if this is true since I really dunno how this tool achieves it's compression; but I would assume this would make the actual loading of Blender slower, since it would have to decompress before loading into memory? In my opinion anything that makes a program slower only at the gain of extra diskspace is silly, since diskspace, in perticular the amount Blender takes up, is cheap :!:
Asfor downloading size, I doubt you would be able to compress this alot with zip, so the downloading size would be roughly the same as the current 2.2mb for the zip and .exe download.
I don't think this is really worth looking into.
(Note: no harsh comments, flames, or anything like that, just in case)
You tempt me! :)

Bab
Posts: 34
Joined: Fri Oct 25, 2002 3:40 pm
Location: France

Post by Bab » Thu Aug 21, 2003 9:53 am

UPX is a good compressor executable but with this, the program get one big block on memory and the program is slower. But with this you can after decompress it, if the download is smaller than the original installation, yes it is a good idea because anyone can decompress it with the UPX program.

I make a test with the 7zip compressor http://www.7-zip.org/%20(only%20on%20wi ... han%20UPX.

Timothy
Posts: 93
Joined: Sun Sep 29, 2002 3:20 pm
Contact:

Post by Timothy » Thu Aug 21, 2003 12:58 pm

Bab wrote:UPX is a good compressor executable but with this, the program get one big block on memory and the program is slower. But with this you can after decompress it, if the download is smaller than the original installation, yes it is a good idea because anyone can decompress it with the UPX program.

I make a test with the 7zip compressor http://www.7-zip.org/%20(only%20on%20wi ... han%20UPX.
I think it's very important that a compression format is well supported,.. the basic .zip format is extremely well supported and can basicly be opened by most people with a windows computer.
Having to download other tools, plugins, or whatever to decompress blender would kind of suck. Besides, how many users would think about decompressing a .exe file?

Bab
Posts: 34
Joined: Fri Oct 25, 2002 3:40 pm
Location: France

Post by Bab » Thu Aug 21, 2003 2:23 pm

Yes Timothy it is true, I make a sfx version and it is at 1.75Mo and I think I can make lower (nearly 1.7Mo).

Friday13
Posts: 54
Joined: Wed Oct 16, 2002 10:40 pm

Post by Friday13 » Thu Aug 21, 2003 7:09 pm

Pablosbrain: i haven't noticed slowdowns in my crappy 500mhz PoS (Piece of Shiznit) computer.

Timothy: but when Blender is getting bigger and bigger in filesize, using UPX is a good idea for keeping it compact.


Maybe this sounded like a bad idea for most of you, so i'll just keep using UPX myself.


There, end of discussion.

(and again, no harsh comments, etc :P )


<edit> BTW, did you read this? http://upx.sourceforge.net/#overview <edit>

Yet again, no flames, harsh comments, of throwing of files made with other 3D apps :P

ideasman
Posts: 0
Joined: Tue Feb 25, 2003 2:37 pm

Post by ideasman » Fri Aug 22, 2003 4:47 am

I have used UPX on linux an Windows and have found it to great- I think it best to distribute un-fiddeled with binaries.

That- Or give the user an option.

I wouldrather compress it with upx myself.

Post Reply