A few questions about 2 LZMA libs from the TC installation kit

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

TCMDLZMA.DLL and TCLZMA64.DLL

what is the DIFFERENCE between these libs? For WHICH purposes we have to have 2 LZMA-libs?
As I see from https://www.7-zip.org/sdk.html - we have only 1 SDK kit there and this means
that these 2 libs were created by Ghisler "manually" from scratch - but based on that SDK....
But they have even identical export sections in resulted libs!
Explanation at Description file does not clean the darkness of misunderstanding...
TCLZMA64.DLL 64-bit LZMA packer/unpacker
TCMDLZMA.DLL Library to unpack WinZIP12 LZMA compression method (14)
So there is NO 32-bit LZMA packer/unpacker? No needs? Will not work?
WinZIP12 LZMA compression method (14) does not the same like "simple" LZMA?
So WHICH one we turn ON when we use 10 for InternalZipRate + LzmaAllowed flags?
Last edited by AntonyD on 2023-11-01, 14:52 UTC, edited 1 time in total.
#146217 personal license
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Re: small question about LZMA

Post by *Sir_SiLvA »

first: your topic title is terible bad

second: both libraries are for LZMA packer/unpacker one is 32bit and the other is 64bit and you need 2 as tc32 cant use 64bit-dll and visa.

third: "So WHICH one we turn ON when we use 10 for InternalZipRate + LzmaAllowed flags?"
obviously that depends if you use tc32 or tc64...
Hoecker sie sind raus!
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

one is 32bit and the other is 64bit
So you want to say that at least the wrongly named file TCMDLZMA.DLL
should be renamed into TCLZMA32.DLL
AND of course its description should be changed into:
TCLZMA32.DLL 32-bit LZMA packer/unpacker

Mr.Ghisler - can you confirm it?
obviously that
this answer will be self - explanatory ONLY if we will do the described renaming actions from above.
W/o such renaming and changing of description - all is NOT obvious)))))
#146217 personal license
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *Hacker »

AntonyD,
the wrongly named file TCMDLZMA.DLL
should be renamed into TCLZMA32.DLL
Would you also suggest to rename TOTALCMD.EXE into TOTALCMD32.EXE, TCUNINST.EXE into TCUNINST32.EXE, NOCLOSE.EXE into NOCLOSE32.EXE, etc.?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

TOTALCMD.EXE into TOTALCMD32.EXE
these 2 files more-or-less self-exclanatory were named. And we used to see these names. So let it be.
TCUNINST.EXE into TCUNINST32.EXE
as I understand there is simply NO another bitness for this file. So let it be.
NOCLOSE.EXE into NOCLOSE32.EXE
as I understand there is simply NO another bitness for this file. So let it be.
", etc."
As far as I see all other files have easy-to-understand names.
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *petermad »

2AntonyD
TCMDLZMA.DLL was introduced with TC 7.50. The first 64bit TC was TC 8.0. For backwards compatibility (I guess) the name TCMDLZMA.DLL was continued for 32bit TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *petermad »

TCUNINST.EXE into TCUNINST32.EXE
as I understand there is simply NO another bitness for this file. So let it be.
well there is TCUNIN64.EXE

NOCLOSE.EXE into NOCLOSE32.EXE
as I understand there is simply NO another bitness for this file. So let it be.
there is NOCLOSE64.EXE

You must realize that a lot of the 32bit filenames were already in use when 64bit TC was introduced.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

Strange, I was missing these analogs of files NOCLOSE and TCUNINST. really strange... well, damn them
They still have VERY mimic/identical names.
TCMDLZMA.DLL and TCLZMA64.DLL have much less identical logic in naming.
Because I know that MT stands for Multithreaded and MD stands for Multithreaded DLL
And so there is a logic to think that these 2 libs behave in very different ways...
PLUS their description ALSO is very-very different!
**************************************
TCLZMA64.DLL 64-bit LZMA packer/unpacker
TCMDLZMA.DLL Library to unpack WinZIP12 LZMA compression method (14)
**************************************
IF in fact this is just 32+64 bit variants of a single LZMA lib - so WHY wasn’t the description
reduced to one template, so that the difference should be only in bitness???
**************************************
TCLZMA64.DLL 64-bit packer/unpacker library for WinZIP12 LZMA compression method (14)
TCMDLZMA.DLL 32-bit packer/unpacker library for WinZIP12 LZMA compression method (14)
**************************************

P.S.
btw, looks like next pair is also has the same problems with understanding:
*************************************
TCUNZL64.DLL 64-bit Unzip/ZLIB library
TCUNZLIB.DLL Library used for unpacking thumbnails and for FTP MODE Z
*************************************
That's how you can understand from such a different description that these are absolutely identical
libraries, the difference of which is only in bitness?
Or am I still wrong - and these are completely different files in essence????
They just have a slightly similar part of name 'UNZL'...
we just always discard the TS suffix!
#146217 personal license
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6969
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *Horst.Epp »

What's the problem discussed in this thread ?
The necessary files are installed by the setup.
There was never a problem with the naming in a combined installation.
For what reason should be any of them renamed ?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

For what reason should be any of them renamed ?
for proper understanding for which aim they stand for.
When I for example will be interested in creating a small|portable assemple of TC with some plugs
I definitely will be interested in deleting improper files. for example TCUNINST.EXE or TCUNIN64.EXE
definitely should not exist in such assemble. And when I come to the files TCMDLZMA.DLL and TCLZMA64.DLL
I would like to easily understand their essence. And now I've got only problems with such understanding.
If they had been named the same and only the addition of 64 to determine the bitness had been made - everything
would have been clear and readable. BUT this principle is violated here (what could have prevented simply adding 64
to the end of the name of the 32-bit library?????) and a completely different description was created in the description
file. Questions arose as a result of this and this topic was created.
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5785
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *white »

AntonyD wrote: 2023-11-02, 09:25 UTC TCMDLZMA.DLL and TCLZMA64.DLL have much less identical logic in naming.
Because I know that MT stands for Multithreaded and MD stands for Multithreaded DLL
And so there is a logic to think that these 2 libs behave in very different ways...
The logic is in the 8.3 short filename naming scheme.
TC = TCMD = Total Commander. Both are used in Total Commander filenames. For example, tcmd is used in filenames of installers of final versions and tc is used in filenames of installers of beta/rc versions.
AntonyD wrote: 2023-11-02, 09:25 UTC IF in fact this is just 32+64 bit variants of a single LZMA lib - so WHY wasn’t the description
reduced to one template, so that the difference should be only in bitness???
I wouldn't be against consistent descriptions like this.
AntonyD wrote: 2023-11-02, 09:25 UTC That's how you can understand from such a different description that these are absolutely identical
libraries, the difference of which is only in bitness?
Or am I still wrong - and these are completely different files in essence????
No, you're not wrong.
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

No, you're not wrong.
So more properly these files should be described like that?
*************************************
TCUNZL64.DLL 64-bit Unzip/ZLIB library (32 bit variant is pre-build into main EXE file)
TCUNZLIB.DLL Special 32-bit library used for unpacking thumbnails and for FTP MODE Z (64-bit does not needed)
*************************************
or how?
Or have I now misunderstood your answer?
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5785
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *white »

AntonyD wrote: 2023-11-02, 10:08 UTC Or have I now misunderstood your answer?
Yes, you misunderstood. You're not wrong in that the difference is only in bitness.
User avatar
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *AntonyD »

2white
you see! all because different phrases are used in the description, although the difference in such a pair of files is only in bitness
It's driving me crazy - honestly. what is this done for???

*************************************
TCUNZL64.DLL 64-bit Unzip/ZLIB library used for unpacking thumbnails and for FTP MODE Z
TCUNZLIB.DLL 32-bit Unzip/ZLIB library used for unpacking thumbnails and for FTP MODE Z
*************************************
NOW all is clear and much simpler....
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: A few questions about 2 LZMA libs from the TC installation kit

Post by *petermad »

2AntonyD
Well it is not as much the filenames, that it is the description of the file names that is problematic.

currently we have this in descript.ion:
TCLZMA64.DLL 64-bit LZMA packer/unpacker
TCMDLZMA.DLL Library to unpack WinZIP12 LZMA compression method (14)

Maybe this would be better with:
TCLZMA64.DLL Library to pack/unpack WinZIP12 LZMA (ZIP type 14) ZIP-files (64bit)
TCMDLZMA.DLL Library to pack/unpack WinZIP12 LZMA (ZIP type 14) ZIP-files (32bit)

Like I do in the extended descript.ion file that I provide with my Extended Menus. https://tcmd.madsenworld.dk/Description.zip

As far as I undertand the TCMDLZMA.DLL is also for packing, not just for unpacking
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply