+[8.50b1] Can't list content of RAR V4 archives

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

+[8.50b1] Can't list content of RAR V4 archives

Post by *Biozynotiker »

Can't list content of RAR V4 archives, if the extension is not ".rar".
(Use archives like folders option is enabled)

Example:
Press Return on "Test.rar", TC list content
Press Return on "Test.rar4", TC shows a empty filelist

This behavior wasn't exists on TC 8.01.
#92832
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Confirm.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed I have limited allowed extensions to .rar and .exe to avoid that people list files multiple times in multi-volume RAR archives: This is a problem with unrar.dll, if you open part two of a RAR, you see again all files. So when a user selects all parts and tries to unpack them all, unrar.dll will try to unpack each file multiple times.

I will have to find a better solution to exclude other parts.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2ghisler(Author)
Here's possible solutions:

1.
You can add "LimitRarExts" option for ini.
LimitRarExts=1 -> detect only exe and rar
LimitRarExts=0 -> detect anywhere

2.
Just remove selection of multiple parts if 1st is selected before extracting.

3.
(evolution of "2")
Add parameter to remove sel (1) or not (0). Default is 1.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found a better solution: I don't show files if the archive is named .r00, .r01 etc. or .000, .001 etc.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler,
But what if I have only volume .r50 and want to extract file that begins from that volume?
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

I don't show files if the archive is named .r00, .r01 etc. or .000, .001 etc.
So strange... Even WinRar does not do such a thing...
Deselection looks better.

p.s.
Sometimes I have to work with rar-parts and need to unpack some files from the middle or the end of the part. And in most cases I can't put all the parts together.
Ukrainian Total Commander Translator. Feedback and discuss.
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

I can confirm that this is fixed with 8.50b2a
#92832
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Yeah, it's much better now.
Ukrainian Total Commander Translator. Feedback and discuss.
Post Reply