Multi-volume archives: RAR size "bytes" still wron
Moderators: Hacker, petermad, Stefan2, white
Multi-volume archives: RAR size "bytes" still wron
Just had reason to use the multi-volume archive feature in TC v6.01 and I notice that the terminology used to define the size of the resultant archives is still wrong when using RAR. It asks the user to specify the archive size of each volume in *bytes*, but it should be kilobytes.
I tried to compress and split a 10MB file into 2.5MB chunks, so in following the instructions I entered an archive size of 2621440 and I ended up getting one archive of considerably more than 2.5MB in size.
Enter a value of 2560 however and the archive sizes come out at 2621440 bytes.
I tried to compress and split a 10MB file into 2.5MB chunks, so in following the instructions I entered an archive size of 2621440 and I ended up getting one archive of considerably more than 2.5MB in size.
Enter a value of 2560 however and the archive sizes come out at 2621440 bytes.
Re: Multi-volume archives: RAR size "bytes" still
DRP535 wrote:Just had reason to use the multi-volume archive feature in TC v6.01 and I notice that the terminology used to define the size of the resultant archives is still wrong when using RAR. It asks the user to specify the archive size of each volume in *bytes*, but it should be kilobytes.
I tried to compress and split a 10MB file into 2.5MB chunks, so in following the instructions I entered an archive size of 2621440 and I ended up getting one archive of considerably more than 2.5MB in size.
Enter a value of 2560 however and the archive sizes come out at 2621440 bytes.

For the fun, I tested this packing-option with ZIP, but choosing an USB-key instead a diskette!

Amazing! That works, TC asked for the next "diskette" when the whole folder-files has been packed in the USB-stick! Of course, having only files to get a ~ 10 MB ZIP, the USB-sticks wasn't full...
In that case, TC didn't asked neither for a partial archive size, nor for the size unit (bytes, KB, MB...).
I posted already something in French about this test; it's in the French Forum: "Clé USB = disquette"; I could translate it for you if you wish ?

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
[face=courier]On 20-12-2003 04:59:11 +0000 DRP535 wrote:
D> I tried to compress and split a 10MB file into 2.5MB
D> chunks, so in following the instructions I entered an
D> archive size of 2621440 and I ended up getting one
D> archive of considerably more than 2.5MB in size.
I told you, read this.[/face]
D> I tried to compress and split a 10MB file into 2.5MB
D> chunks, so in following the instructions I entered an
D> archive size of 2621440 and I ended up getting one
D> archive of considerably more than 2.5MB in size.
I told you, read this.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
> RAR for Windows reads configuration information from the file rar.ini,
> placed in the same directory as the rar.exe file.
> This file may contain the following string:
> switches=<any RAR switches, separated with a space>
Configuration -> Choose rar.exe as your RAR Packer
switches=-2500000b (or more switches)
It's not a good idea but maybe useful sometimes. In fact, I built a rar/winrar sub-menu for many different purposes. For example,
One item in rar/winrar sub-menu of mine
Command : path\winrar.exe
Parameter : ?a -av -cfg- -ibck -r0 -ts4 -m5 -mdg -s -v2500000b "%t%O.rar" @%F
You can also create a button in toolbar, just like above.
> placed in the same directory as the rar.exe file.
> This file may contain the following string:
> switches=<any RAR switches, separated with a space>
Configuration -> Choose rar.exe as your RAR Packer
switches=-2500000b (or more switches)
It's not a good idea but maybe useful sometimes. In fact, I built a rar/winrar sub-menu for many different purposes. For example,
One item in rar/winrar sub-menu of mine
Command : path\winrar.exe
Parameter : ?a -av -cfg- -ibck -r0 -ts4 -m5 -mdg -s -v2500000b "%t%O.rar" @%F
You can also create a button in toolbar, just like above.
[face=courier]On 21-12-2003 16:16:24 +0000 jy Cheng wrote:
jC> Configuration -> Choose rar.exe as your RAR Packer
jC> switches=-2500000b (or more switches)
And force RAR always make multiparted archives this way? %)
jC> It's not a good idea but maybe useful sometimes.
You can solve the split size problem two other ways - like this and like this.
jC> Command : path\winrar.exe
If you have WinRAR installed, it's not necessary to use the path any more 'cause it sets "WinRAR" system alias in Registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths] key on installation. Just use "WinRAR" instead of path in user menu (doesn't work in "Settings | Packer").[/face]
jC> Configuration -> Choose rar.exe as your RAR Packer
jC> switches=-2500000b (or more switches)
And force RAR always make multiparted archives this way? %)
jC> It's not a good idea but maybe useful sometimes.
You can solve the split size problem two other ways - like this and like this.
jC> Command : path\winrar.exe
If you have WinRAR installed, it's not necessary to use the path any more 'cause it sets "WinRAR" system alias in Registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths] key on installation. Just use "WinRAR" instead of path in user menu (doesn't work in "Settings | Packer").[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
I have said It's not a good idea but maybe useful sometimes.Black Dog wrote:[face=courier]jC> Configuration -> Choose rar.exe as your RAR Packer
jC> switches=-2500000b (or more switches)
And force RAR always make multiparted archives this way? %)
jC> It's not a good idea but maybe useful sometimes.
You can solve the split size problem two other ways - like this and like this.[/face]

RAR.exe handles options in rar.ini with the lowest priority, and WinRAR ignores the configuration file. Anyone can change rar.ini file or TC setting anytime

Right, I also known this very well, but I kept many old WinRAR versions (since v2.0x) in setup path. It's my way, I change the filename frequentlyBlack Dog wrote:[face=courier]jC> Command : path\winrar.exe
If you have WinRAR installed, it's not necessary to use the path any more 'cause it sets "WinRAR" system alias in Registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths] key on installation. Just use "WinRAR" instead of path in user menu (doesn't work in "Settings | Packer").[/face]

[face=courier]On 21-12-2003 19:45:34 +0000 jy Cheng wrote:
jC> I have said It's not a good idea but maybe useful
jC> sometimes.
Khem, I'd rather say this is a BAD idea... %)
jC> I think it's not too bad if I want to do a large
jC> number of duplicate actions, it's not necessary
jC> to type '-v2500000' everytime.
Why exactly "-v2500000"? And there is "b", actually? %) I really doubt someone have to split archives to 2500000-byte pieces 24/7 - I'm talking about rules, not exceptions %).
jC> RAR.exe handles options in rar.ini with the lowest
jC> priority, and WinRAR ignores the configuration file.
Can't see your point - actually this is why I suggest not to add "-v" parameter to basic configuration in rar.ini and send it this or this way.
jC> Anyone can change rar.ini file or TC setting anytime
I'm talking about most convenient way possible, but of course one CAN get the same result through the ass %).[/face]
jC> I have said It's not a good idea but maybe useful
jC> sometimes.
Khem, I'd rather say this is a BAD idea... %)
jC> I think it's not too bad if I want to do a large
jC> number of duplicate actions, it's not necessary
jC> to type '-v2500000' everytime.
Why exactly "-v2500000"? And there is "b", actually? %) I really doubt someone have to split archives to 2500000-byte pieces 24/7 - I'm talking about rules, not exceptions %).
jC> RAR.exe handles options in rar.ini with the lowest
jC> priority, and WinRAR ignores the configuration file.
Can't see your point - actually this is why I suggest not to add "-v" parameter to basic configuration in rar.ini and send it this or this way.
jC> Anyone can change rar.ini file or TC setting anytime
I'm talking about most convenient way possible, but of course one CAN get the same result through the ass %).[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
Sorry but you are all missing the point of my original posting. You are all suggesting work arounds or other ways of doing what I wanted to do - none of which are necessary because as I pointed out right from the beginning, I was able to figure out what was wrong immediately and it was simple enough to fix it just by dividing a number by 1024.
The point was simply to make aware that TC doesn't handle the size specification of multi-volume RAR archives correctly. I thought it worth pointing out because I thought this was going to be fixed with the release of v6x and it hasn't been.
The point was simply to make aware that TC doesn't handle the size specification of multi-volume RAR archives correctly. I thought it worth pointing out because I thought this was going to be fixed with the release of v6x and it hasn't been.