Page 1 of 1

invalid par2 files

Posted: August 18th, 2014, 12:23 am
by grambo
so i got some bad par2 files, but the rar files are fine. the unpacking process bails when the par2 check fails. is there any way to make it try to unrar anyway?

Re: invalid par2 files

Posted: August 18th, 2014, 1:34 am
by shypike
There is an option in Config->Switches to process unverified jobs.
You may end up with unrar refusing to unpack.
It may be useful when you have a download with multiple par2 sets,
of which only some fail.

Re: invalid par2 files

Posted: August 23rd, 2014, 7:17 pm
by rl85733
Falling Skies had this issue last week where the Rar files compiled manually fine. A few hours later they followed up with a PROPER which got processed successfully. As I rarely see this failure, I didnt take any action. The Proper worked. Not sure it is worth doing anything in this case as it rarely occurs.

Re: invalid par2 files

Posted: September 18th, 2014, 8:42 am
by Se7en
I had the same problem with Extant 1x13, the .rar archives were ok though and I was able to manually extract the .mkv. As far as I can tell it was some sort of mismatch in the naming between the .par2 files and the .rar files. I'm aware of the option to process unverified jobs, but I'd prefer to still verifiy each download before extracting. However, it would be nice with a feature similar to the retry option for failed downloads but with the option to disregard verification and just try to extract the archive.

Re: invalid par2 files

Posted: September 23rd, 2014, 8:02 am
by halfwalker
I occasionally see similar problems with par2. Most recent was with "'Tears of Steel 2012 2160p DM FLAC 5.1 Hi444PP 10-bit x264-DON". parts 1-15 were all renamed to "...part002.rar.1" types - note the suffix of .1

So of course the verify/extract failed. I renamed the .rar.1 files to just .rar and ran par2repair manually, and that worked. This is on Ubuntu precise with par2cmdline-0.4-tbb-20100203-lin64.

I also notice that LOTS of BARC0DE releases tend to have full-size files with NO valid data in them, and .par2 files with no data either. Other releases have troubles too, but my completion rates for BARC0DE is miserable.

Re: invalid par2 files

Posted: September 23rd, 2014, 1:26 pm
by shypike
The cause is duplicate file names.
The method for renaming duplicate files will change in the next release.
The current method of appending a .1 is no good, because it changes the file type (or the perception of it).
It will change to file.1.ext, which will work much better.

Re: invalid par2 files

Posted: September 23rd, 2014, 2:57 pm
by sander
shypike wrote: It will change to file.1.ext, which will work much better.
... because of Unwanted Extensions' last-rar-finding (and it's checking for '.rar'): can you change it to file.1.rar ?
If not, should I also scan for '.ext' in the name (assuming it's a rar)?

Re: invalid par2 files

Posted: September 23rd, 2014, 5:06 pm
by shypike
Sander, you misunderstand.
A duplicate par2 file is now renamed to name.par2.1
but will be named to name.1.par2 in the next release.