You are here

Shrink it more...

7 posts / 0 new
Last post
pps
Offline
Last seen: 4 years 7 months ago
Joined: 2006-05-11 03:35
Shrink it more...

...just repack ("classic" ZIP, for example from Total Commander) with maximum pack level this files:

PortableFirefox\App\firefox\chrome\*.jar

You can save 2.6 MB

Greetings

pps

Torpedro
Offline
Last seen: 11 years 7 months ago
Joined: 2006-02-05 14:52
Thx

Thank you for the great idea! 8)
You can also Re-Pack the Extensions Crome\*.jar
This saved me also over 1 MB.

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 53 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not allowed

Modifying any of Firefox's files and redistributing it is not permitted by Mozilla's trademark policy. I used to recompress the JARs and UPX the EXEs and DLLs, shrinking Firefox to about 8MB, but that's not allowed now.

Sometimes, the impossible can become possible, if you're awesome!

azjerry
Offline
Last seen: 7 years 7 months ago
Joined: 2005-12-09 12:42
What if we compress ourselves?

While you can't redistribute TB and FF with compressed files, what about providing instructions on what files to compress after we've installed and how?

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 53 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
You can do it yourself

And the instructions are pretty easy. Compress all the EXEs and DLLs with UPX using the following options: --best --compress-icons=0 --nrv2d --crp-ms=999999 -k

And then re-zip all the JAR files to use the highest level of compression. I recommend using 7-zip to do this as it has the best compression. If you're using the 7-zip commandline, use: -r -mx=9 -mpass=4 -mfb=255

Sometimes, the impossible can become possible, if you're awesome!

azjerry
Offline
Last seen: 7 years 7 months ago
Joined: 2005-12-09 12:42
auto update problems?

Thinking back, was there some kind of problem with auto update not working when the files were compressed? If so that may be a good reason to not bother with the compression after all.

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 53 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Update Semi-fails

The partial updates that just download the differences will fail. But the full update will work fine. At which point you can UPX-compress it again.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked