animetosho / ParPar

High performance PAR2 create client for NodeJS
190 stars 19 forks source link

slice-dist not working #45

Closed buggsi closed 1 year ago

buggsi commented 1 year ago

--slice-dist equal and --slice-dist uniform yield one big par2 file, and don't split it. --slice-dist pow2 (the default) can yield very big files once it's past the +32 file. Is it possible to generate par2 volume sizes like par2cmdline does, which don't surpass the largest rar file size? For example:

image

buggsi commented 1 year ago

Ok I figured it out, I have to use --slices-per-file in combination with --slice-dist. And to make it behave like par2cmdline, I need to set the --slices-per-file equal to: largest rar file / slice size.

image