BUG - unrar.dll 5.10.2 work not correctly in TCMD under W2K

Bug reports will be moved here when the described bug has been fixed

Moderators: Stefan2, white, sheep, Hacker

User avatar
BORG52
Junior Member
Junior Member
Posts: 25
Joined: 2011-04-23, 16:16 UTC

BUG - unrar.dll 5.10.2 work not correctly in TCMD under W2K

Post by *BORG52 » 2014-05-13, 07:42 UTC

Latest correctly working unrar.dll for TCMD under W2K is 4.20.1 from TCMD 8.01.

With unrar.dll v.5.10.2 I can compress, decompress,test archive, but can´t open RAR archives in TCMD.
Ctrl+PgDn or ENTER on SFX/RAR files cause with unrar.dll v5.10.2 under W2K this error:
"Error in packed file ..."

After downgrade unrar.dll v5.10.2 to v.4.20.1, all work normally.

User avatar
MVV
Power Member
Power Member
Posts: 8282
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2014-05-13, 07:51 UTC

Does WinRar 5 itself work in W2K?

User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 2790
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA » 2014-05-13, 08:28 UTC

no winrar5 doesnt support win2k

User avatar
BORG52
Junior Member
Junior Member
Posts: 25
Joined: 2011-04-23, 16:16 UTC

Post by *BORG52 » 2014-05-13, 09:01 UTC

Latest supported Winrar for W2K is v.4.11.

http://www.rarlab.com/rarnew.htm

krasusczak
Senior Member
Senior Member
Posts: 259
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak » 2014-05-13, 10:51 UTC

maybe on w2k tcm should use UNRAR9X.DLL lib.., will not open all files especial from version 3.80+, but at least should open something..

User avatar
karlchen
Power Member
Power Member
Posts: 4554
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen » 2014-05-13, 11:32 UTC

krasusczak wrote:maybe on w2k tcm should use UNRAR9X.DLL lib.., will not open all files especial from version 3.80+, but at least should open something..
Objection:
Trying to use a DLL which has been especially crafted for Windows 9x on an NT-based Windows is simply asking for trouble.
Instead it will make much more sense to drop support for any Windows version older than Windows XP completely from Total Commander 8.5x and future versions.

Karl
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Ubuntu 18.04.2 32-bit Mate Desktop, Total Commander 9.22a 32-bit
Windows? - 1 window in every room

User avatar
MVV
Power Member
Power Member
Posts: 8282
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2014-05-13, 11:53 UTC

I think the main problem of UNRAR9X is lack of Unicode support (native API in 9x only supports ANSI), the rest should be compatible with NT versions.

krasusczak
Senior Member
Senior Member
Posts: 259
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak » 2014-05-13, 12:03 UTC

MVV wrote:I think the main problem of UNRAR9X is lack of Unicode support (native API in 9x only supports ANSI), the rest should be compatible with NT versions.
exactly..


i didn't say that is a perfect solution for the problem, maybe adding separate dll for w2k (with the last working ver) to tcm will be a solution but this will increase size of install exe, but in today world i don't think that is a problem

User avatar
BORG52
Junior Member
Junior Member
Posts: 25
Joined: 2011-04-23, 16:16 UTC

Post by *BORG52 » 2014-05-13, 15:39 UTC

only +200kB - no problem.
Or best solution is place working library to
http://www.ghisler.com/download.htm
under "Still using Windows 2000?" as separate download :)

User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW » 2014-05-13, 20:56 UTC

I can't confirm. My Unrar.dll version in TC 8.51a is 5.10.2.1192.

Maybe this depends on rar archive version or CPU (some CPU-specific instructions problem).

I tested with AMD Duron and archive created with RAR 2.06 - displaying archive contents works fine for me.

@BORG52: can you open this archive?

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="Test.rar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Test.rar"

UmFyIRoHAAqsc2gADQAAAH0AAADK6XQAgCkAFQAAAAUAAAAA5vNzS2e3rUQUNQkAIAAAAFRFU1Qx
LlRYVAAIgAAAAAAAAASbxbBYC9/A9dhcgB4vdBCAKQACAAAABQAAAABconrSabetRBQ1CQAgAAAA
VEVTVDIuVFhUhcxgRnYAQG4AFDQUTWR/sJ9iuyEv+gNO/sdzyivvOwIL6nrcdOd5SuCzucLWeRpq
KPv3IV7t8ac+Fu0cLwgxw/CTFUnw62RDBfvgBlcncXSlFneGnWrymLJXMXan2EDR7gZnkkjsBEEg
GU6e69fSTWTYeADAGgACAgAAFAEAAQAAAFByb3RlY3QhdkFSYXIhGgcACqxzaAANAAAAfQAAAMrp
dACAKQAVAAAABQAAAADm83NLZ7etRBQ1CQAgAAAAVEVTVDEuVFhUAAiAAAAAAAAABJvFsFgL38D1
2FyAHi90EIApAAIAAAAFAAAAAFyietJpt61EFDUJACAAAABURVNUMi5UWFSFzGBGdgBAbgAUNBRN
ZH+wn2K7IS/6A07+x3PKK+87Agvqetx053lK4LO5wtZ5Gmoo+/chXu3xpz4W7RwvCDHD8JMVSfDr
ZEMF++AGVydxdKUWd4adavKYslcxdqfYQNHuBmeSSOwEQSAZTp7r19JNAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

krasusczak
Senior Member
Senior Member
Posts: 259
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak » 2014-05-13, 23:18 UTC

Unfortunately i can confirm that problem on my Pentium E2180, i just test MIME that you add to post & on xp (Atom) work fine but with my w2k, tcm 8.51a & unrar.dll 5.10.2.1192 i have error in packed file : Test.rar


@:
basically i can't enter at any of my rar files even to check older rar version, i can't uncompress my old builds ;D


@2:
last working version for me is from tcm 8.50 - unrar.dll 5.1.100.1067 ! not 4.11

unrar.dll 5.10 on w2k have some problems with dll dependency with kernel32.dll

User avatar
Dalai
Power Member
Power Member
Posts: 6624
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai » 2014-05-13, 23:54 UTC

krasusczak wrote:@2:
last working version for me is from tcm 8.50 - unrar.dll 5.1.100.1067 ! not 4.11

unrar.dll 5.10 on w2k have some problems with dll dependency with kernel32.dll
Confirmed. There is function TzSpecificLocalTimeToSystemTime missing in kernel32.dll. I guess it was just a matter of time for something like this. Rarlab already wrote on the changelog that WinRAR 4.20 isn't officially supported on Win2k anymore. So it's more a bit of luck that it worked until now.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW » 2014-05-14, 00:40 UTC

Sorry, my mistake - I found an old version of Unrar.dll in my Windows\System32\ directory, which affected my tests.


After deleting this old Unrar.dll, TC can't get into any RAR archive under Windows 2000 anymore - its own Unrar.dll can't be loaded (because of missing import TzSpecificLocalTimeToSystemTime from kernel32.dll - exactly as Dalai said).

In particular, TC can't display contents of the archive that I attached in my post above.

So it's not a CPU-related problem, it's just an OS-related problem.


Conclusion: TC currently supports RAR archives under all Windows platforms, including old Win9x family - but without Windows 2000. So it seems that the last working Unrar.dll should be renamed to Unrar2k.dll and included to TC installation, similarly to Unrar9x.dll.

Regards

User avatar
BORG52
Junior Member
Junior Member
Posts: 25
Joined: 2011-04-23, 16:16 UTC

Post by *BORG52 » 2014-05-14, 00:59 UTC

to MarcinW:
Heh, i must decode it before...

No, i can´t open this file (contain 2files test1/test2.txt with test1 and test2 text) with 5.10.2
------

to krasusczak
I skipped 8.50 version of TCMD(never installed). Latest working is 5.1.0 version dll.OK, sorry.
---

RARLAB could be (re)add support for this OS.This is only unpacker, not complette Winrar.

User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 2790
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA » 2014-05-14, 06:48 UTC

Conclusion: TC currently supports RAR archives under all Windows platforms, including old Win9x family - but without Windows 2000. So it seems that the last working Unrar.dll should be renamed to Unrar2k.dll and included to TC installation, similarly to Unrar9x.dll.
yeah and in 5 years we add the one for xp, etc. wouldnt it be better making them available through the addon page instead of including x different librarys for ONE filetype?

Post Reply