-unpacking multivolume RAR archives

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

-unpacking multivolume RAR archives

Post by *TW »

hi,

i tried to use the internal RAR unpacker, before i always used the original winrar.

the internal version unpacks from multivolume archives only files from the one i have selected.
if i have files from

.rar
.r01
....
.r12

and select let's say .r05, only files starting from .r05 to .r12 get unpacked.
the external winrar.exe always unpacks ALL files starting with .rar

ok, maybe this is intended, but still i think the internal solution should act the same as winrar itself. also it's a lot easier to unpack, we don't have to search the .rar, just select any file and start unpacking.
also, if we select by accident the wrong file (not the .rar), some files don't get unpacked, and we maybe won't even notice...
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

NOT confirmed. The new version 8.50 uses unrar.dll, which always unpacks from all parts. However, TC 8.01 only shows the contents of the part which you open.
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

so what could be the reason it does NOT work here? i removed all other packer plugins, no luck.
started TC without any .ini, still the same. :(

it's even worse than i expected, for solid archives it doesn't unpack at all, i only get a "Fehler beim lesen".
i can also enter and display the content, but not extract.
but then, selecting a file in the archive part and press F3 (lister) DOES work...
so, viewing works, extracting does not. makes no sense at all.


drives me mad.
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

1. Does it work with Winrar?
2. How are the parts named? Maybe the dll doesn't find the other parts due to a strange naming scheme?
3. Are the parts all in the same directory?
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

i just can't get this working... :(

i tried again, now i only get a "disk read error!" when i start with something else than part01.rar.
yes, winrar works fine. i only have this when i use the INTERNAL rar unpacker.
and i used TC with no packer plugins.

i uploaded a small example here:

http://thomasweber.bplaced.net/test/test.part1.RAR
http://thomasweber.bplaced.net/test/test.part2.RAR
http://thomasweber.bplaced.net/test/test.part3.RAR
http://thomasweber.bplaced.net/test/test.part4.RAR
http://thomasweber.bplaced.net/test/test.part5.RAR
http://thomasweber.bplaced.net/test/test.part6.RAR

i also mad a screen capture video.
http://thomasweber.bplaced.net/test/rar_fail.avi
licenced and happy TC user since 1994 (#11xx)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

TW wrote:i just can't get this working... :(

i tried again, now i only get a "disk read error!" when i start with something else than part01.rar.
yes, winrar works fine. i only have this when i use the INTERNAL rar unpacker.
and i used TC with no packer plugins.

i uploaded a small example here:

http://thomasweber.bplaced.net/test/test.part1.RAR
http://thomasweber.bplaced.net/test/test.part2.RAR
http://thomasweber.bplaced.net/test/test.part3.RAR
http://thomasweber.bplaced.net/test/test.part4.RAR
http://thomasweber.bplaced.net/test/test.part5.RAR
http://thomasweber.bplaced.net/test/test.part6.RAR

i also mad a screen capture video.
http://thomasweber.bplaced.net/test/rar_fail.avi
Cinfirmed with TC 8.50 b13
but I get "Error in packed file" if I start with other than the 1st part.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, that's what you mean! There was a change in TC 8.5: You can still open individual RAR parts with ENTER and unpack files from them. However, when you do Alt+F9, it will work only on the FIRST part, but will unpack ALL files from ALL parts. The errors in the other parts should prevent TC from unpacking the same files multiple times when the user has selected all parts.

However, I'm not sure whether this should fail with an error or not.
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

when i enter, let's say par02.rar by using CTRL+PGDN, select a file and try to copy it to the other window, i also get the "Error in packed file".

The errors in the other parts should prevent TC from unpacking the same files multiple times when the user has selected all parts.
but that way we need to search for the first part.
i don't know, but i think, people know they only have to select ONE of the parts to unpack the whole archive.

if i select the external winrar.exe for unpacking, it works like it always had with TC.
but now with TC 8.5, TC ts completely different, depending on what unpacking method we chose (internal/external). :?
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

when i enter, let's say par02.rar by using CTRL+PGDN, select a file and try to copy it to the other window, i also get the "Error in packed file".
Did you try to unpack it with Alt+F9, or with F5? Only F5 works here.
Author of Total Commander
https://www.ghisler.com
Post Reply