Combine files did not work properly

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pedro22
Junior Member
Junior Member
Posts: 4
Joined: 2017-01-25, 15:49 UTC

Combine files did not work properly

Post by *pedro22 »

According to me, combine files did not work properly
I have rar archive divided into two parts

Dolby.part1.rar
Dolby.part2.rar

Total Commander, and indeed merges two files - only that original is 3199 files and 1726 after the merge - I've noticed that when you merge two files size is correct. :shock:

The problem also applies to previous versions.
User avatar
Dalai
Power Member
Power Member
Posts: 10032
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

A split archive is NOT something you are supposed to merge. The packer - WinRAR in this case - takes care of that when unpacking any files from the archive.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
pedro22
Junior Member
Junior Member
Posts: 4
Joined: 2017-01-25, 15:49 UTC

Post by *pedro22 »

I am seeking a way to merge these two files into one file without unpacking and repacking as a single file.

And I think that this option is precisely this.
User avatar
Dalai
Power Member
Power Member
Posts: 10032
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

pedro22 wrote:I am seeking a way to merge these two files into one file without unpacking and repacking as a single file.
You could pack the RAR parts again with no compression. This would create an archive inside an archive, but it's quite fast to decompress. You might be able to do some kind of conversion into a single archive in WinRAR itself, but I'm not sure. It it doesn't offer such feature, you need to do exactly this: repack everything.
And I think that this option is precisely this.
No, this is not how it works. Split archives contain a header in each file. In this case you can see this by viewing the parts in TC Lister where you'll see "Rar!" at the beginning of each part file.

Split files on the other hand MUST NOT contain any header or any other additional data - they're just cut in parts, i.e. the next part begins where the previous left off.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
pedro22
Junior Member
Junior Member
Posts: 4
Joined: 2017-01-25, 15:49 UTC

Post by *pedro22 »

Dalai wrote:You could pack the RAR parts again with no compression. This would create an archive inside an archive, but it's quite fast to decompress. You might be able to do some kind of conversion into a single archive in WinRAR itself, but I'm not sure. It it doesn't offer such feature, you need to do exactly this: repack everything.i
Winrar offers conversions, but extracts all files and packed again. So you think the option to combine files work properly? and Total Commander does not merge these files correctly.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7018
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

To say it simple, TC can't merge parts of files
which where not made by using TCs split.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.6 x64
User avatar
Dalai
Power Member
Power Member
Posts: 10032
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

pedro22 wrote:So you think the option to combine files work properly?
Yes, absolutely.
and Total Commander does not merge these files correctly.
Yes, it does. It's just not a valid RAR archive anymore after doing it with a split archive. As I said, there are headers which get placed in the middle of the combined single archive, in the middle of the file stream which represent the archive contents (the packed files). In other words: you create an invalid, corruped RAR archive when using TC's Combine files function.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
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.
Post Reply