how about making smaller ZIP/7z/7z-SFX package?
openttd-0.7.0-beta2-windows-win32.zip
- 3419306 bytes - original size
- 3306146 bytes - repacked using 7-zip - with: pass=10 fb=258
- 3299626 bytes - Optimized using ZIPMAX. - 96.50% of original size
- 3249106 bytes - optimized PNGs + ZIPMAX
- 2984825 bytes - optimized PNGs + main exe packed with UPX 3.03 with "--lzma --best" + ZIPMAX - 87.29% of original size
- 2490051 bytes - optimized PNGs + main exe packed with UPX 3.03 with "--lzma --best" + 7z format made with maximum compression, solid archiving, 64mb dictionary size and single thread.
- 2463158 bytes - optimized PNGs + 7z format made with maximum compression, solid archiving, 64mb dictionary size and single thread - 72.04% of original size; for 10000 downloads it saves ~8.9gb of traffic
- 2603446 bytes - optimized PNGs + 7z format made with maximum compression, solid archiving, 64mb dictionary size and single thread - SFX archive, so you can unpack it on any computer w/o 7-zip. 76.14% of original size
- Recent WinRAR versions support 7z unpacking.
- As you can see, UPXing main exe causes better compression for ZIP and worse for 7z - because 7-zip uses BCJ2
- UPXing (any) exes causes false alarms made by pesky AV programs. Luckily, only eSafe cause problems for OpenTTD.
- NSIS installer uses the same LZMA compression as 7-zip. So it owns any other solution.
- See also: Optimizing PNG files (by ~45% for OpenTTD)