TOTALCMD.EXE size

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

TOTALCMD.EXE size

Post by *m^2 »

I know I shouldn't do this, but I couldn't restrain myself from checking.
TOTALCMD.EXE has grown significantly since 6.55. But it doesn't have to be so big! Repacking with UPX 2.91 beta and --best --lzma switches gives 875.2 KB executable. Upack ( by default ) - 861.4 KB.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I know about UPX beta. The reason why I still use the old version of UPX is the following: Virus scanners have big troubles checking EXE-packed programs. Most good virus scanners have internal unpackers for UPX, at least for the older established versions. Therefore I will never use a beta where the format still changes, because virus scanners will have big troubles with such new unpackers. I will consider to use UPX 3 when it becomes final.

Of course, some virus scanners never learn to support EXE packers, for example f-prot...
Author of Total Commander
https://www.ghisler.com
User avatar
norfie²
Power Member
Power Member
Posts: 1038
Joined: 2006-02-10, 07:27 UTC

Post by *norfie² »

because virus scanners will have big troubles with such ... unpackers
Therefore I suggest to skip over the exe compression in the normal packages and add on default the uncompressed exe. In my case the load of compressed exe is remarkable slow compared with uncompressed exe (because of virus scanner scans the exe before it will be started...). On todays terrabyte harddiscs and on yesterdays gigabyte harddisc there is no need to save 2 megabytes and get some trouble with virus scanners instead. For people who wants/needs an exe compressed file it should be downloadable too or make two packages: one with uncompressed exe and another with compressed exe.

Only my 2cents.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

On most machines I work Total Commander starts faster when compressed - because I run it through USB 1.1. And for my pendrive 2 MB makes a difference. I never had any problems with TC and antiviruses.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

In my case the load of compressed exe is remarkable slow compared with uncompressed exe (because of virus scanner scans the exe before it will be started...).
Just exclude TOTALCMD.EXE file from virus scan (most scanners have such an option).
This will speed up most operations WITHOUT any risk. (TC has an internal CRC check which alerts you if the file is modified)
#5767 Personal license
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Not PB3..
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

norfie² wrote:
because virus scanners will have big troubles with such ... unpackers
Therefore I suggest to skip over the exe compression in the normal packages and add on default the uncompressed exe. In my case the load of compressed exe is remarkable slow compared with uncompressed exe (because of virus scanner scans the exe before it will be started...). On todays terrabyte harddiscs and on yesterdays gigabyte harddisc there is no need to save 2 megabytes and get some trouble with virus scanners instead. For people who wants/needs an exe compressed file it should be downloadable too or make two packages: one with uncompressed exe and another with compressed exe.

Only my 2cents.
I agree...

What is the standard memory config these days for PC's?
That must be 1gb allready.

And then we are talking about a few kb's more or less?

It's time to switch over to uncompressed exe with the compressed one on request!

DR...
#106383 Windows 10 Pro 64-bit
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Sorry but only because Harddrives gets bigger and bigger doenst that imply that exe-packers r useless.
I vote for a Compressed Exe in the Installer-Packege for making it as Small as Possible :!

If ppl r unwilling to learn how there virus-scanner work they have to live with it imhuo :D
Hoecker sie sind raus!
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

DarkRuleR wrote:
norfie² wrote:
because virus scanners will have big troubles with such ... unpackers
Therefore I suggest to skip over the exe compression in the normal packages and add on default the uncompressed exe. In my case the load of compressed exe is remarkable slow compared with uncompressed exe (because of virus scanner scans the exe before it will be started...). On todays terrabyte harddiscs and on yesterdays gigabyte harddisc there is no need to save 2 megabytes and get some trouble with virus scanners instead. For people who wants/needs an exe compressed file it should be downloadable too or make two packages: one with uncompressed exe and another with compressed exe.

Only my 2cents.
I agree...

What is the standard memory config these days for PC's?
That must be 1gb allready.

And then we are talking about a few kb's more or less?

It's time to switch over to uncompressed exe with the compressed one on request!

DR...
I think I missed something. Why don't you like compressed executables? They hardly have any disadvantages.
I'm using them a lot (I use only 1 program over 4 KB that is not compressed) on many computers. Did I have any problems? Once. When I compressed a program I got antivirus alert. So I deleted this copy and changed compressor.
User avatar
norfie²
Power Member
Power Member
Posts: 1038
Joined: 2006-02-10, 07:27 UTC

Post by *norfie² »

2Sir_SiLvA
Your argumentation says that you vote for an uncompressed exe file. ;)
Sir_SiLvA wrote:I vote for a Compressed Exe in the Installer-Packege for making it as Small as Possible :!
Uncompressed exe can be compressed better by the installer compression. That's leads to an installer package as small as possible. ;)
Sir_SiLvA wrote:If ppl r unwilling to learn how there virus-scanner work they have to live with it imhuo
Plz open your mind: not all people have all rights on the machines where they work. It's not funny if I go to a friend, plug in my usb stick, start TCmd from usb stick and her virus scanner told me that totalcmd.exe is quarantined (only for the reason of upx compression)

2sqa_wizard
sqa_wizard wrote:Just exclude TOTALCMD.EXE file from virus scan
That's only possible if I have the proper rights.
sqa_wizard wrote:(TC has an internal CRC check which alerts you if the file is modified
That's only true for an unmodified totalcmd.exe.

2m^2
In your special case you choose the compressed version. I didn't vote to omit a compressed version. :D
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

It isnt that I dont like compressed executables personaly.

But if there are disadvantages like startup speeds I like a bigger .exe size above slower startup speeds in general.

And I take it a non compressed executable hardly occupies more system memory.

DR..
#106383 Windows 10 Pro 64-bit
User avatar
norfie²
Power Member
Power Member
Posts: 1038
Joined: 2006-02-10, 07:27 UTC

Post by *norfie² »

Why don't you like compressed executables?
http://en.wikipedia.org/wiki/UPX#Disadvantages_2
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

DarkRuleR wrote:It isnt that I dont like compressed executables personaly.

But if there are disadvantages like startup speeds I like a bigger .exe size above slower startup speeds in general.

And I take it a non compressed executable hardly occupies more system memory.

DR..
Actually, compressed executable occupies more system memory c.a. 100-500 bytes.
Post Reply