TC 7.04 unrar (multi-volume) part0x.rar broken?

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

Moderators: white, Hacker, petermad, Stefan2

tikimotel
Junior Member
Junior Member
Posts: 2
Joined: 2008-08-02, 10:21 UTC

TC 7.04 unrar (multi-volume) part0x.rar broken?

Post by *tikimotel »

When trying to extract multivolume rar files with the extension name "part0x.rar" the internal un-rar option only extracts the content of the selected file, not the whole multi-volume content.

TC7.03 (and many previous releases) did extract muti-volumes correctly.
(switching to winrar (CMD window) to extract whole volume)

work arround:
Configuration -> option -> packer.
unticking "use internal un-Rar if possible" is working properly (it the uses winrar to extract, if you did install winrar and point toward install folder)
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Confirmed.
5 files packed into 13-volume archive.
Alt+F6 on first volume.
TC 6.58 - all files extracted;
TC 7.04 - only 2 files extracted.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I can confirm that now, for example a file which is contained in the last archive part is not extracted.

In the meantime you can use fhRAR plugin:
http://en.totalcmd.pl/download/wcx/arc/fhRAR

Icfu
This account is for sale
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report. By mistake, TC is now trying to unpack the file internally instead of launching the external winrar.exe. I will revert back to the previous behaviour in TC 7.04a.
Author of Total Commander
https://www.ghisler.com
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

Can I ask WHY revert to previous behaviour? :?: Yes, "new" one is not working like it should, but it should be fixed, not reverted back to old "gee, split volume -> call external file" thing!
What's the point of internal unpack if it can only unpack single volume file? New behaviour is GOOD, it's just that TC do not realize that there is more files in next volume...I'm sure that there is a function or something in unrar.dll that detects rar file is splitted so TC should continue extracting all filenames... Just when we thought that we could get rid of external rar program for unpacking now you want to revert back! :shock: ...please don't.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately there are too many things to consider when unpacking multi-volume archives, so it's not something which could be added over night. For example, TC might need to ask the users to insert the other volumes, or some parts may be missing.
Author of Total Commander
https://www.ghisler.com
User avatar
JoSch
Junior Member
Junior Member
Posts: 6
Joined: 2008-01-05, 01:13 UTC

Post by *JoSch »

Could one use 7-zip instead of Winrar?
7-zip seems to handle split archives fine and is free.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately not, 7-zip does not use the same parameters as winrar. Someone would have to write a little tool which converts the parameters from the rar to the 7-zip format.
Author of Total Commander
https://www.ghisler.com
johnw
Junior Member
Junior Member
Posts: 7
Joined: 2008-08-09, 08:38 UTC

Post by *johnw »

If I understand correctly TC's internal RAR packer can't extract multipart rars, their new format nor old style ( i.e. partn.rar or +.nn)?
So you need Winrar command line unrar.exe copied into TC's folder and set TC to use external packer?

For future versions of TC, couldn't you negotiate with the patent owner of RAR files to incorporate RAR file technology into TC, for some small royalty? Then it would make the purchase of winrar unnecessary.:wink:
User avatar
JoSch
Junior Member
Junior Member
Posts: 6
Joined: 2008-01-05, 01:13 UTC

Post by *JoSch »

I don't think you have to pay to use unrar functionality in your code.
The Unrar source is available for free at http://www.rarlabs.com/rar_add.htm

There is also a implementation of unrar in the 7-zip sources.
The unrar license is:
****** ***** ****** UnRAR - free utility for RAR archives
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
****** ******* ****** License for use and distribution of
** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
** ** ** ** ** ** FREE portable version
~~~~~~~~~~~~~~~~~~~~~

The source code of UnRAR utility is freeware. This means:

1. All copyrights to RAR and the utility UnRAR are exclusively
owned by the author - Alexander Roshal.

2. The UnRAR sources may be used in any software to handle RAR
archives without limitations free of charge, but cannot be used
to re-create the RAR compression algorithm, which is proprietary.
Distribution of modified UnRAR sources in separate form or as a
part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.

3. The UnRAR utility may be freely distributed. It is allowed
to distribute UnRAR inside of other software packages.

4. THE RAR ARCHIVER AND THE UnRAR UTILITY ARE DISTRIBUTED "AS IS".
NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
OR MISUSING THIS SOFTWARE.

5. Installing and using the UnRAR utility signifies acceptance of
these terms and conditions of the license.

6. If you don't agree with terms of the license you must remove
UnRAR files from your storage devices and cease to use the
utility.

Thank you for your interest in RAR and UnRAR.


Alexander L. Roshal
johnw
Junior Member
Junior Member
Posts: 7
Joined: 2008-08-09, 08:38 UTC

Post by *johnw »

It would to brill if TC had both create and unpack RAR file functionalities. :lol:
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2johnw
JoSch wrote:the code may
not be used to develop a RAR (WinRAR) compatible archiver.
Dreams are allowed, of course. ;)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

The day before yesterday, I used the internal T.C. Unrar and extracted a multi-part RAR archive without any problems.

The RAR archives were named:
+ isoimage.rar
+ isoimage.r00
+ isoimage.r01
...
+ isoimage.r47

Does this mean the reported bug has been fixed in T.C. 7.04a?

Windows XP Pro SP2 (32bit), TotalCommander 7.04a

Regards,
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, the internal unpacking of a multi-volume RAR will be supported only by tC 7.50. You probably opened the first part and extracted it with F5. This does work, but will unpack only the files which start in that volume.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

Your reply explains why extracting by pressing <F5> worked for me:

The RAR filename "isoimage" was chosen on purpose. The 49 parts of the RAR archive indeed held only 1 single file, a DVD ISO image. So all files contained in this multipart RAR archive started inside the first RAR file. :wink:

Kind regards,
Karl
Post Reply