Sorry for resurrecting this old thread, but for anyone searching about this issue, it has been resolved for some time.
Plasmasum now accepts the -old parameter. For example:
I:\libplasma\plasmasum.exe -c -old -i I:\POTS\dat\Ahnonay_District_BuiltIn.prp I:\POTS\dat\ahnonay.sum
This will add this line to the sum file:
7c6eb9f3a335c1795ff473b8901b80b8 2004/05/26 16:38:36 Ahnonay_District_BuiltIn.prp
Without the -old parameter, it adds this line:
7c6eb9f3a335c1795ff473b8901b80b8 2004/05/26 16:38:36 dat\Ahnonay_District_BuiltIn.prp
Also, by reading the source I finally understood how the "-c" parameter works.
Plasmasum usage is as follows:
Usage: plasmasum.exe [options] sumfile [...]
- Code: Select all
Options:
-L List the contents of the sumfile
-c Create a new sumfile (or overwrite one if it already exists)
-i path Insert `path` into the sumfile (or re-hash if it exists)
-d path Remove `path` from the sumfile
-y Answer YES to delete prompts
-old Use the older (pre-Path of the Shell) format
If no options are specified, the default is to re-sum the contents of `sumfile`
The -c parameter only works with -i. It does NOT create a new, empty file when used by itself.
It only prevents an error when trying to insert a new `path` into a sumfile that does not exist, or when the `path` already exists in the sumfile.
So the correct syntax for building a brand new sumfile seems to be this:
' Create the file if it doesn't exist, or overwrite if it does, then add the first line in it
I:\libplasma\plasmasum.exe -c -i I:\POTS\dat\Ahnonay_District_BuiltIn.prp I:\POTS\dat\ahnonay.sum
' then add a second line
I:\libplasma\plasmasum.exe -i I:\POTS\dat\Ahnonay_District_Textures.prp I:\POTS\dat\ahnonay.sum