Can we get UPX packed TC ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
MaxX
Power Member
Power Member
Posts: 1117
Joined: 2012-03-23, 18:15 UTC
Location: UA

Can we get UPX packed TC ?

Post by *MaxX »

Can we get UPX packed 32 and 64 bit versions, please?
I have tried to make it myself, but TC shows an error and exits immediately.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3332
Joined: 2003-05-06, 11:46 UTC

Re: Can we get UPX packed TC ?

Post by *Sir_SiLvA »

32bit will be avail at https://totalcommander.ch/win/tcmd1103_upxpacked.exe once
Chris comes around to doing it.
(see https://www.ghisler.com/packed_download/)
sadly he doesnt do 64bit upx'ing :-(
Hoecker sie sind raus!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can we get UPX packed TC ?

Post by *ghisler(Author) »

once Chris comes around to doing it.
What do you mean? It has been available since the release of Total Commander 11.03.

I remember having troubles making a 64-bit UPXed version (crashes).
Author of Total Commander
https://www.ghisler.com
User avatar
beb
Senior Member
Senior Member
Posts: 478
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Can we get UPX packed TC ?

Post by *beb »

2MaxX
Out of curiosity, why do you need that?
What effects do you expect to get that overbid the price you have to pay for that?
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3332
Joined: 2003-05-06, 11:46 UTC

Re: Can we get UPX packed TC ?

Post by *Sir_SiLvA »

ghisler(Author) wrote: 2024-02-28, 09:51 UTC
once Chris comes around to doing it.
What do you mean? It has been available since the release of Total Commander 11.03.
https://www.ghisler.com/packed_download/ only shows the upxed exe for 11.02
So how would anyone know that https://totalcommander.ch/win/tcmd1103_upxpacked.exe is available? :D

beb wrote: 2024-02-28, 12:13 UTC What effects do you expect to get that overbid the price you have to pay for that?
Smaller Executables ofc. There is no price to pay for it:?:
Hoecker sie sind raus!
User avatar
Dalai
Power Member
Power Member
Posts: 9615
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Can we get UPX packed TC ?

Post by *Dalai »

Sir_SiLvA wrote: 2024-02-28, 13:51 UTCThere is no price to pay for it:?:
Yes, there is. UPX packed files are much more likely to be (falsely) detected as malicious. And since they're packed, they need to be unpacked in memory which adds overhead and also means that the OS can't share the same parts between multiple copies of the same program/process. In short, the memory usage will increase and so will CPU usage during unpacking.
Here are some (external) resouces where you can read more about it:
https://stackoverflow.com/questions/353634/are-there-any-downsides-to-using-upx-to-compress-a-windows-executable
viewtopic.php?t=7808
Ghisler also had reasons to stop distributing packed executables by default which are explained in %COMMANDER_PATH%\Size!.txt.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3332
Joined: 2003-05-06, 11:46 UTC

Re: Can we get UPX packed TC ?

Post by *Sir_SiLvA »

Dalai wrote: 2024-02-28, 14:31 UTC
Sir_SiLvA wrote: 2024-02-28, 13:51 UTCThere is no price to pay for it:?:
Yes, there is. UPX packed files are much more likely to be (falsely) detected as malicious. And since they're packed, they need to be unpacked in memory which adds overhead and also means that the OS can't share the same parts between multiple copies of the same program/process. In short, the memory usage will increase and so will CPU usage during unpacking.
Its not Chris problem if people use snake oil.
People these days have 32GB and more RAM (and growing) so sorry that point doesnt count.
Hoecker sie sind raus!
User avatar
Dalai
Power Member
Power Member
Posts: 9615
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Can we get UPX packed TC ?

Post by *Dalai »

Sir_SiLvA wrote: 2024-02-28, 15:17 UTCIts not Chris problem if people use snake oil.
It was - obviously - his problem so he made the decision to stop using it by default. And I can see why: If you have to deal with people complaining that your software is detected by some anti-virus software on a regular basis and you can't convince the user that it's the anti-virus software falsely detecting something, there comes a time you decide to spend your time on the things that matter instead: developing the software and proper support for it.

Furthermore, not everyone has a choice or even a say in which anti-virus software is used like in corporate, school or government environments for example. Put another way: Don't reduce TC to running in home environments.

NB: One other drawback I've just remembered is that resources like icons etc. are usually packed as well. This can make it difficult to see all embedded icons in a resource viewer/editor and it also might make it impossible to properly refer to all of these icons in things like shell links (LNK) or for internal purposes like TC's button bar.
People these days have 32GB and more RAM (and growing) so sorry that point doesnt count.
I hope you're aware that there are a lot of users not having big money to spend on hardware, so I strongly disagree with your statement. Secondly please keep in mind that not everyone around the world has the privilege to live in a developed country like you and me. Software usually is designed to work on computers world-wide - and TC certainly is.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3332
Joined: 2003-05-06, 11:46 UTC

Re: Can we get UPX packed TC ?

Post by *Sir_SiLvA »

Dalai wrote: 2024-02-28, 16:20 UTC one other drawback I've just remembered is that resources like icons etc. are usually packed as well. This can make it difficult to see all embedded icons in a resource viewer/editor and it also might make it impossible to properly refer to all of these icons in things like shell links (LNK) or for internal purposes like TC's button bar.
Upx can pack the executable without packing the resources.

but let's get back to the main points:
1. https://www.ghisler.com/packed_download/ only shows the download link for 11.02 upxed Exe
(11.03 is avail under the link I posted)
2. That it would be nice to have a 64bit upxed Exe for people who want to use them.

@Dalei: the upxed Exe was always an optional download so if people download it and then complain because their system uses snake oil it's not Chris responsibility IMHO.
Hoecker sie sind raus!
User avatar
Dalai
Power Member
Power Member
Posts: 9615
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Can we get UPX packed TC ?

Post by *Dalai »

Sir_SiLvA wrote: 2024-02-28, 18:57 UTCUpx can pack the executable without packing the resources.
While this is true it doesn't help when the developer decides to compress these resources and digitally signs the resulting executable. So users can't influence if and how a program is packed, especially if it has an internal validity check like TC does or even a tamper protection. Digital signatures will get invalid as soon as the file contents are changed, and AFAIK signatures can't be compressed by UPX.
@Dalei: the upxed Exe was always an optional download so if people download it and then complain because their system uses snake oil it's not Chris responsibility IMHO.
The file "Size!.txt" exists for a reason, don't you think? The UPX packed executable wasn't always an optional download. TC versions up to and including 7.04a were shipped with a UPX packed executable. Starting with 7.50 the executable is uncompressed.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
beb
Senior Member
Senior Member
Posts: 478
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Can we get UPX packed TC ?

Post by *beb »

2Dalai
By the way, SIZE!.TXT was eliminated from the installer package since 11.03 RC 2.

Code: Select all

23.01.24 Release Total Commander 11.03 release candidate 2
19.01.24 Fixed: Removed SIZE!.TXT from the installer (32/64)
Thus, the information there on the packed version existence has lost its meaning and is no longer considered relevant for the new Total Commander users.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Dalai
Power Member
Power Member
Posts: 9615
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Can we get UPX packed TC ?

Post by *Dalai »

2beb
I'm aware of this change. I mentioned the file to prove a point, that's all.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3332
Joined: 2003-05-06, 11:46 UTC

Re: Can we get UPX packed TC ?

Post by *Sir_SiLvA »

Dalai wrote: 2024-02-28, 19:28 UTC The file "Size!.txt" exists for a reason, don't you think? The UPX packed executable wasn't always an optional download. TC versions up to and including 7.04a were shipped with a UPX packed executable. Starting with 7.50 the executable is uncompressed.
Since 7.50 the upxed exe is available as a sepperate download -> https://www.ghisler.com/packed_download/
Hoecker sie sind raus!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3332
Joined: 2003-05-06, 11:46 UTC

Re: Can we get UPX packed TC ?

Post by *Sir_SiLvA »

Dalai wrote: 2024-02-28, 19:28 UTC While this is true it doesn't help when the developer decides to compress these resources and digitally signs the resulting executable.
Why are you derrailing with WHAT IFs? TCs Icons are (except the exe icon) stored in Wcmicon*.dll
Hoecker sie sind raus!
User avatar
petermad
Power Member
Power Member
Posts: 15560
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Can we get UPX packed TC ?

Post by *petermad »

TCs Icons are (except the exe icon) stored in Wcmicon*.dll
No - there are 59 Icons/icon overlays stored in totalcmd64.exe. and totalcmd.exe
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply