Option to fill missing parts with zeroes

Want something added? Ask for it here.

Option to fill missing parts with zeroes

Postby kukushka » January 21st, 2012, 4:12 pm

Right now missing parts are just getting skipped. The problem is that resulting filesize is different and if .rar files have recovery record - it's not possible to use it. so please-please, if it's possible, make that option so the resulting file could be restored.
Oh, btw, i saw a topic about recovery volumes - tbh, i didn't quite understood, last i checked, winrar was shareware, not payware. Anyway auto recovery using recovery record and/or volumes would be nice, but if it's not possible in auto mode - please make it possible for a future recovery in manual mode by giving the option of keeping the filesize intact (basing on the uniformity of size of posts). (probably in the case of missing par2) thank you
kukushka
Newbie
Newbie
 
Posts: 4
Joined: January 21st, 2012, 3:51 pm

Re: Option to fill missing parts with zeroes

Postby shypike » January 21st, 2012, 4:25 pm

Why do you think that filling zeros has any actual use?
It isn't possible to insert zeros for missing parts, because the NZB format doesn't
specify the actual amount of useful data in an article (only the raw byte count of the article).
So only extending the file with zeros would be possible and I have serious doubt that will solve anything.
User avatar
shypike
Administrator
Administrator
 
Posts: 18411
Joined: January 18th, 2008, 1:49 pm

Re: Option to fill missing parts with zeroes

Postby kukushka » January 21st, 2012, 5:11 pm

shypike wrote:Why do you think that filling zeros has any actual use?
It isn't possible to insert zeros for missing parts, because the NZB format doesn't
specify the actual amount of useful data in an article (only the raw byte count of the article).
So only extending the file with zeros would be possible and I have serious doubt that will solve anything.

..actually there's no need to make a fake post, it's just for pure binary part that will come out of it..
just made a field test - uploaded intentionally something with a missing part, downloaded nzb, figured out the missing part, doubled the previous string (with a changed part number), downloaded "custom" nzb with sabnzbd, it gave crc error check (of course), then - rar r badarch.rar - and voila, worked like a charm. ..before this with skipped part rar got stucked.
..if it can be useful, i can pm you links to nzb's or it can be easily found by searching for mvo in .boneless . the missing part has a #24
kukushka
Newbie
Newbie
 
Posts: 4
Joined: January 21st, 2012, 3:51 pm

Re: Option to fill missing parts with zeroes

Postby shypike » January 21st, 2012, 7:08 pm

So, you're asking us to compensate for a bad design of Winrar?
It's rather lame that rar would need fillers.
Are peope actual posting self-repairing rar files instead of par2 files?
I've never seen such a post.
User avatar
shypike
Administrator
Administrator
 
Posts: 18411
Joined: January 18th, 2008, 1:49 pm

Re: Option to fill missing parts with zeroes

Postby kukushka » January 22nd, 2012, 2:25 am

shypike wrote:So, you're asking us to compensate for a bad design of Winrar?
It's rather lame that rar would need fillers.
Are peope actual posting self-repairing rar files instead of par2 files?
I've never seen such a post.

nobody's perfect. the whole concept of putting binaries into something that was intended initially for text is far from being ideal as you may imagine too. rar recovery record scenerio works with corrupted bytes instead of skipped ones - so why not help him just a little bit to do its job if there is such a possibility. sometimes people post bad par2, bad archives, recovery record generally operates with smaller blocks than par2 does, files can come from ddl where rr is quite common and just dumped to newz..
another variant - the big set of archives with rr in every volume and par2 for the whole set. a good part of archive got lost so it's beyond repair with par2. on other parts - just a few blocks are missing. rr can deal perfectly with this situation.
so there are scenarios where par2 can't help while rr can. people use rr - jbinup, warezfaq guides recommend to use it (while, au contraire, quickpar guide discourage it).par2 should be present in normal situation - i agree on that, but if for whatever reason it fails - there is a relatively easy variant to have a second line of defense.
ps didn't experimented with it yet, but probably, even if there's no rr, rar will restore more files from a "full" broken archive than from a "short" variant.
kukushka
Newbie
Newbie
 
Posts: 4
Joined: January 21st, 2012, 3:51 pm

Re: Option to fill missing parts with zeroes

Postby joetilbone » July 6th, 2012, 1:47 pm

Make use of rar recovery thanks to you are able to recover muli-part archives of more than 4GB
joetilbone
Newbie
Newbie
 
Posts: 1
Joined: July 6th, 2012, 1:42 pm

Re: Option to fill missing parts with zeroes

Postby kenmacd » August 12th, 2013, 7:04 pm

This is kind of an old feature request, but here's how I'd find the option useful:

Sometimes there are missing articles for some file, but there also exists a torrent file using the same set of RAR files. Currently running a Bittorrent hash-check it seems to reject the files and download a lot of data. If the file was zero-filled the data would be more usable.
kenmacd
Newbie
Newbie
 
Posts: 1
Joined: August 12th, 2013, 6:58 pm


Return to Feature Requests