PDA

View Full Version : UPX'ed applications packed on ROM?


Brazilian Joe
17-07-2006, 09:29 PM
Hi all,

I don't know if 'The Devs' already use it, but UPX (http://upx.sourceforge.net) is free (open source) and can pack binaries so that they take up a smaller space. they get a small overhead to unpack, so they may end up taking a little bit more memory. But in the case of the Blue Angel, it looks like memory is not going to be an issue, right? even though, it looks like the memory overhead isn't that much.

Disadvantages:
* longer load time because of uncompresion
* more memory consumption
Advantages:
* Exes and DLLs take up less space

The UPX devs themselves explicitly say compressing DLL may cause way more consumption, because less resources would be shared. compressing exes does not look that troublesome.

I realized compressing the exes contained in ROM could save up a bit more of space, which would give the devs more space to let other stuff in.

I have experimented with installed apps, as I can't copy/paste the system exes, because (gues what?) they reside in ROM. but it looks like the compresion can be significant.

Maybe I am being silly and the devs already know about it, but I haven't read anywhere about this being used, so I felt like suggesting.

kudos to Helmi and Bepe for the new breakthrough!

Midget_1990
17-07-2006, 09:40 PM
afaik they are allready using upx in their roms.