OpenIV-PackageFormat icon indicating copy to clipboard operation
OpenIV-PackageFormat copied to clipboard

Modification. Missing the SkipIfNotExists="true" option for the archive tag

Open AndrewMuzik opened this issue 2 years ago • 0 comments

If you try to install a file that is not in the version of the game where we put it, then we will get an error. You need to be able to skip such files.

We install the necessary files using the "OIV" file: <archive path="update\x64\dlcpacks\mpheist4\dlc.rpf" createIfNotExist="true" type="RPF7">

But if the path "mpheist4" and the file "dlc.rpf" do not exist, the installation will fail. I assume that this happens when trying to copy the archive "update\x64\dlcpacks\mpheist4\dlc.rpf" to the folder with mods.

I think the best solution is to add a parameter to the archive tag.

There are no such paths in my version of the game (v. 1.0.1868.0): update\x64\dlcpacks\mpheist4\dlc.rpf update\x64\dlcpacks\mpsecurity\dlc.rpf update\x64\dlcpacks\mpsecurity\dlc1.rpf

But in the versions above, these paths will be present.

AndrewMuzik avatar Jan 24 '24 09:01 AndrewMuzik