Why do I get a popup message asking for the location of GameFolderName.002 during compression with CLS-Diskspan?
In my case specifically it was "Wasteland 2 Director's Cut.002"
Of course, there's no such file...
The specific compression method in said case was this:
Code:
srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
Diskspan sizes was DVD5 (4467mb:4474mb)
My command uses lots of information taken from variables, many of them are read from INI files, anyway, translating it to the actual command (approximately) it would look like this:
Code:
arc.exe a -ep1 -r -ed -s; -w"MyFolder\TempFiles" -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8+diskspan:4467mb:4474mb "MyFolder\WL2_2xDVD5\Data.bin.001" "*" "-xUnins*" -dp"I:\Games\Wasteland 2 Director's Cut"
It compressed fine until it got to the point it need to create the .002 file, any help will be appreciated.
Of course I'm still trying to figure it out myself but if anyone could provide an explanation to the problem it'll help.
Thanks.
UPDATE:
Might have solved it by moving the exclude switch to be before the archive path (after the method), like this:
Code:
arc.exe a -ep1 -r -ed -s; -w"MyFolder\TempFiles" -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8+diskspan:4467mb:4474mb "-xUnins*" "MyFolder\WL2_2xDVD5\Data.bin.001" "*" -dp"I:\Games\Wasteland 2 Director's Cut"
Still testing but it looks promising.
UPDATE 2:
Nope, it ends correctly but it doesn't exclude the files in the exclude switch.
I also have a problem with errorlevel check after using the arc.exe --sort command, from some reason it sets the errorlevel as 2 (two), which causes a problem with a following check in my batch script.
Arc.exe also shows an error unknown command when using the --sort command, it still sorts the file thought but as I said, set the errorlevel as 2 (two) which is a problem for me at the moment.
I'll update again when I know more.
UPDATE 3:
OK, I believe it finally working....
The correct command was this:
Code:
arc.exe a -ep1 -r -ed -s; -w"MyFolder\TempFiles" -dp"I:\Games\Wasteland 2 Director's Cut" "-xUnins*" -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8+diskspan:4467mb:4474mb "MyFolder\WL2_2xDVD5\Data.bin.001" "*"
As for the errorlevel problem, I just changed the code the test for it a little and it now seems to work correctly.
I'll leave it all here in case someone else need to know the correct syntax to make Diskspan work with the exclude (-x & -x@) and the -dp switches.