Important: Read the wiki page on the possibility of corrupted saves due to mod usage, and then consider how you want to use the mod or whether you want to use it at all.
- Put the
dataX.pak
file into yourSteam\steamapps\common\Dying Light 2\ph\source
folder. Increment the number if there are conflicting data files. data2, data3, ..., data7
- Make a copy of
data0.pak
nameddataX.pak
. - Extract
dataX.pak
archive using 7Zip or whatever. - Remove everything except for the files you intend to modify. For now, that is everything except for the
dataX/scripts/player/player_variables...
files. - Modify the files by changing whichever variables.
- Zip the folder and rename it from
dataX.zip
todataX.pak
. Make sure the zip does not contain thedataX
folder as a wrapper. The structure inside thedataX.pak
archive should bescripts/player/...
, NOTdataX/scripts/player/...
.
Releases are created when new tags are pushed (if the tag name starts with "v"). Below is an example of creating and pushing a tag:
git tag -a v1.0 -m "Version 1.0 of mod for game version 1.10.2"
git push --follow-tags