Skip to content

A simple Python3 script for quickly creating an up-to-date Infinite Weapon Durability mod for Dying Light 2

License

Notifications You must be signed in to change notification settings

Lomeli12/DL2IDScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DL2IDScript

A simple Python3 script for quickly creating an up-to-date Infinite Weapon Durability mod for Dying Light 2

How to use

Using Python (Recommended)

  1. Install Python 3 for your system.
  2. Download DL2IDScript.py.
    1. To download, click on DL2IDScript.py and click on Download raw file.
  3. Place DL2IDScript.py into the same folder as your data0.pak file.
    1. On Steam, right-click Dying Light 2, go under Manage, then click on Browse local files.
    2. Open the ph folder and then the source folder. data0.pak should be in there.
  4. Open up Command Prompt (or your terminal of choice) in the source folder.
    1. On Windows 11, you can right-click an empty spot and select Open in Terminal.
    2. On Windows 10 and lower, you can hold Shift while right-clicking an empty spot and select Open command window here.
  5. Type the following in the terminal and hit Enter
python DL2IDScript.py
  1. Follow the prompts to generate an up-to-date mod.

Using the executable

  1. Download the newest DL2IDScript.zip from the Releases page.
  2. Open the zip file and copy DL2IDScript.exe into the same folder as your data0.pak file.
    1. On Steam, right-click Dying Light 2, go under Manage, then click on Browse local files.
    2. Open the ph folder and then the source folder. data0.pak should be in there.
  3. Double-click on DL2IDScript.exe and follow the prompts to generate an up-to-date mod.

Known issues

  • During events, the event break the player variable files this script patches for infinite weapon durability. Playing in offline mode until the event ends might solve this issue. See here.

Thanks to