A Dying Light 2 (DL2) PAKFile Utility for Modders and Mod Makers.

Overview

Dying Light 2 PAKFile Utility

A Dying Light 2 (DL2) PAKFile Utility for Modders and Mod Makers.
This tool aims to make PAKFile (.pak files) modding a breeze for both Dying Light 2 modders and mod makers.
See the roadmap for a better idea of what's to come!
More TBA Soon.

Features

  • Ability to Examine PAKFiles (see size, validity, and any CRC / Header mismatch errors)
  • Ability to Extract PAKFiles into a Folder to Edit
  • Ability to Build a PAKFile from a Folder

Known Bugs / Issues

This is a collective list of known bugs / glitches / issues.

  • None / TBA

Running the Utility

As an Executable / Binary

Step-by-step instructions to running the utility as a standalone executable.

  1. Download the Latest Release from GitHub.
  2. Save it somewhere easy to remember. A mod management folder is recommended.
  3. Right-Click the DL2-PAKFile-Utility.exe File and Select Run as Administrator
  4. Follow the On-Screen Prompts

From Source

Step-by-step instructions to running the utility from source.

  1. Open an Elevated Command Prompt
  2. Make a Virtual Environment and Activate it
  3. pip install -r requirements.txt
  4. python main.py
  5. ???
  6. $$ PROFIT $$

Making Mods

The location of the two default PAKFiles (data0.pak and data1.pak) is \steamapps\common\Dying Light 2\ph\source . Opening these PAKFiles and extracting them allows you to see all of the scripts that run in the game's engine, the C-Engine. To make a mod, extract one of these PAKFiles and then simply find the files inside of the extracted contents that include what you wish to change, modify them how you'd like, delete everything else that wasn't changed, and then build a PAKFile from that folder! To use the mod you've made, build it as dataN.pak where N is the next highest available number in your default PAKFile location (for example, if you only have data0.pak and data1.pak, you'd build a data3.pak). If other users wish to use it and they have a different number of PAKFiles than you, they may simply rename it to be a higher number in the filename.

Theory on Mod Loading Order

As writing a new mod makes use of upping the integer in the dataN.pak filenames, I'm assuming the higher the integer, the higher the order of precedence is. This is perhaps to say, for example, if one mod (data3.pak) gives unlimited stamina and another (data4.pak) removes unlimited stamina, I believe data4.pak's effects would take priority over data3.pak's and would render stamina untouched / not unlimited.

FAQ

Q1: Why does this need to be ran as an administrator?
A1: Some people store their games / mod management folders in weird places that non-elevated applications typically can't access. This is simply insurance on that possibility, making sure any user who stores their files anywhere can use this tool!
Q2: Why not opt for a better compression algorithm?
A2: This application originally used LZMA compression, which works great, but is unfortunately unsupported by C-Engine. It appears the current compression method, the default zip compression method of deflation, is the only functioning method of compressing .pak files.

Roadmap

This is a loose outline of what is in the future for the DL2 PAKFile Utility!

  • Ability to Examine PAKFiles (see size, validity, and any CRC / Header mismatch errors)
  • Ability to Extract PAKFiles into a Folder to Edit
  • Ability to Build a PAKFile from a Folder
  • Search PAKFiles for Specific Contents
  • GUI Integration
  • Intelligently Browse DL2 PAKFile Folder Contents (MOD MANAGER FUNCTIONALITY)
  • Detailed Documentation for both the Application and for Modding DL2
  • Auto-Updating Feature for the Utility that Pulls from GitHub
  • More Modding Tools Built-In

More to be Announced Soon!

You might also like...
CVPR '21: In the light of feature distributions: Moment matching for Neural Style Transfer
CVPR '21: In the light of feature distributions: Moment matching for Neural Style Transfer

In the light of feature distributions: Moment matching for Neural Style Transfer (CVPR 2021) This repository provides code to recreate results present

CondenseNet: Light weighted CNN for mobile devices
CondenseNet: Light weighted CNN for mobile devices

CondenseNets This repository contains the code (in PyTorch) for "CondenseNet: An Efficient DenseNet using Learned Group Convolutions" paper by Gao Hua

A light-weight image labelling tool for Python designed for creating segmentation data sets.
A light-weight image labelling tool for Python designed for creating segmentation data sets.

An image labelling tool for creating segmentation data sets, for Django and Flask.

Official code of
Official code of "R2RNet: Low-light Image Enhancement via Real-low to Real-normal Network."

R2RNet Official code of "R2RNet: Low-light Image Enhancement via Real-low to Real-normal Network." Jiang Hai, Zhu Xuan, Ren Yang, Yutong Hao, Fengzhu

LLVIP: A Visible-infrared Paired Dataset for Low-light Vision
LLVIP: A Visible-infrared Paired Dataset for Low-light Vision

LLVIP: A Visible-infrared Paired Dataset for Low-light Vision Project | Arxiv | Abstract It is very challenging for various visual tasks such as image

PyTorch Implementation of
PyTorch Implementation of "Light Field Image Super-Resolution with Transformers"

LFT PyTorch implementation of "Light Field Image Super-Resolution with Transformers", arXiv 2021. [pdf]. Contributions: We make the first attempt to a

Light-weight network, depth estimation, knowledge distillation, real-time depth estimation, auxiliary data.
Light-weight network, depth estimation, knowledge distillation, real-time depth estimation, auxiliary data.

light-weight-depth-estimation Boosting Light-Weight Depth Estimation Via Knowledge Distillation, https://arxiv.org/abs/2105.06143 Junjie Hu, Chenyou F

Yolo Traffic Light Detection With Python

Yolo-Traffic-Light-Detection This project is based on detecting the Traffic light. Pretained data is used. This application entertained both real time

Implementation of light baking system for ray tracing based on Activision's UberBake

Vulkan Light Bakary MSU Graphics Group Student's Diploma Project Treefonov Andrey [GitHub] [LinkedIn] Project Goal The goal of the project is to imple

Releases(v0.4.6)
  • v0.4.6(Feb 11, 2022)

    v0.4.6 | General Improvements

    This release is just an update to fix some crashing issues (now gives detailed error output and won't close / exit the application) and to address the false-flagging by some anti-virus softwares of this application. It should now give 0 flags on an anti-virus, and should feel a lot smoother in terms of user experience. Also addressed was a minor formatting but when the rebuild feature has been enabled with errors giving a limit of 1-4 when the limit is 1-6 for the main menu selection integer.

    Known Issues

    There are no known issues within this release.

    Upcoming

    Full cross-platform support is planned, and the GUI is a work-in-progress! Big things are coming to this utility soon. Plans for a fully-functional and fully-featured mod loader / manager are in the works.

    Changelog

    This is what is new or different:

    • Better Error and Exception Handling (no more random crashes)
    • Fixed Integer Bounds Formatting
    • Cleanly-Built Pyinstaller Bootloader to Fix False AV Flags
    Source code(tar.gz)
    Source code(zip)
    DL2-PAKFile-Utility.exe(7.29 MB)
  • v0.3.9(Feb 10, 2022)

    v0.3.9 | Hotfix and Improvements

    This is a hotfix. It is intended to fix a bug with built PAKFiles not loading properly into Dying Light 2 / C-Engine. The issue was with LZMA vs Deflation compression methods. Additionally, an option to rebuild the last built .pak has been added for rapid development as you tweak the mods you're making. There won't be much in terms of information in this release, as more work is still being done for future updates. This is simply a hotfix release coupled with a feature request.

    Known Issues

    There is one main issue to be aware of for this release:
    False-Flagging for Antiviruses

    • See this link for an in-depth explanation.
    • TL;DR - a lot of people use pyinstaller, the tool used to freeze the executable, for malicious purposes. Thusly, applications built with the signature of pyinstaller may also be flagged as a virus simply by association of the method used to compile the executable.
    • This will be fixed soon once I've rewritten the pyinstaller bootloader, or possibly switched to nuitka.
    • If the issue annoys you or gives you problems, simply create an antivirus / firewall exception for the app, or build it from source yourself.

    Changelog

    This is what is new or different:

    • Application-Built PAKs Now Work Properly with Dying Light 2 / C-Engine
    • Ability to Rebuild Last PAK from Main Menu
    • Changed Icon Color to Neon Cyan for Visibility (Contrast to Dying Light 2 Game Icon)
    Source code(tar.gz)
    Source code(zip)
    DL2-PAKFile-Utility.exe(7.29 MB)
  • v0.0.1(Feb 9, 2022)

    v0.0.1 | Initial Release

    This is an initial release. It is being released as a "beta" because it's more in a beta state and not in an ideal "release" state currently.
    By no means is it complete and / or finished. It is still lacking in a lot of ways that I wish to improve upon in the near future (see the roadmap).
    Make sure to read the instructions on how to run it before getting upset that it's "immediately closing".
    There are bound to be some bugs and errors, and I implore you to report them in this repository's issue tracker.

    Features

    With all of that being said, here is what you can expect to be working as of this release:

    • Ability to Examine PAKFiles (see size, validity, and any CRC / Header mismatch errors)
    • Ability to Extract PAKFiles into a Folder to Edit
    • Ability to Build a PAKFile from a Folder
    • Incredibly Efficient Mod Builder with 79% (21% of Original Size) LZMA Compression on the size of the mods!
    Source code(tar.gz)
    Source code(zip)
    DL2-PAKFile-Utility.exe(7.55 MB)
Owner
RHQ Online
RHQ Online.
RHQ Online
Official pytorch implementation of Active Learning for deep object detection via probabilistic modeling (ICCV 2021)

Active Learning for Deep Object Detection via Probabilistic Modeling This repository is the official PyTorch implementation of Active Learning for Dee

NVIDIA Research Projects 130 Jan 06, 2023
Apache Flink

Apache Flink Apache Flink is an open source stream processing framework with powerful stream- and batch-processing capabilities. Learn more about Flin

The Apache Software Foundation 20.4k Dec 30, 2022
This project intends to use SVM supervised learning to determine whether or not an individual is diabetic given certain attributes.

Diabetes Prediction Using SVM I explore a diabetes prediction algorithm using a Diabetes dataset. Using a Support Vector Machine for my prediction alg

Jeff Shen 1 Jan 14, 2022
Hyperparameter Optimization for TensorFlow, Keras and PyTorch

Hyperparameter Optimization for Keras Talos • Key Features • Examples • Install • Support • Docs • Issues • License • Download Talos radically changes

Autonomio 1.6k Dec 15, 2022
Open source hardware and software platform to build a small scale self driving car.

Donkeycar is minimalist and modular self driving library for Python. It is developed for hobbyists and students with a focus on allowing fast experimentation and easy community contributions.

Autorope 2.4k Jan 04, 2023
Official Repository for the paper "Improving Baselines in the Wild".

iWildCam and FMoW baselines (WILDS) This repository was originally forked from the official repository of WILDS datasets (commit 7e103ed) For general

Kazuki Irie 3 Nov 24, 2022
Official code for "Eigenlanes: Data-Driven Lane Descriptors for Structurally Diverse Lanes", CVPR2022

[CVPR 2022] Eigenlanes: Data-Driven Lane Descriptors for Structurally Diverse Lanes Dongkwon Jin, Wonhui Park, Seong-Gyun Jeong, Heeyeon Kwon, and Cha

Dongkwon Jin 106 Dec 29, 2022
Multimodal Descriptions of Social Concepts: Automatic Modeling and Detection of (Highly Abstract) Social Concepts evoked by Art Images

MUSCO - Multimodal Descriptions of Social Concepts Automatic Modeling of (Highly Abstract) Social Concepts evoked by Art Images This project aims to i

0 Aug 22, 2021
Automatically align face images 🙃→🙂. Can also do windowing and warping.

Automatic Face Alignment (AFA) Carl M. Gaspar & Oliver G.B. Garrod You have lots of photos of faces like this: But you want to line up all of the face

Carl Michael Gaspar 15 Dec 12, 2022
PyTorch implementation of Wide Residual Networks with 1-bit weights by McDonnell (ICLR 2018)

1-bit Wide ResNet PyTorch implementation of training 1-bit Wide ResNets from this paper: Training wide residual networks for deployment using a single

Sergey Zagoruyko 122 Dec 07, 2022
Instant Real-Time Example-Based Style Transfer to Facial Videos

FaceBlit: Instant Real-Time Example-Based Style Transfer to Facial Videos The official implementation of FaceBlit: Instant Real-Time Example-Based Sty

Aneta Texler 131 Dec 19, 2022
ALFRED - A Benchmark for Interpreting Grounded Instructions for Everyday Tasks

ALFRED A Benchmark for Interpreting Grounded Instructions for Everyday Tasks Mohit Shridhar, Jesse Thomason, Daniel Gordon, Yonatan Bisk, Winson Han,

ALFRED 204 Dec 15, 2022
Re-implementation of the vector capsule with dynamic routing

VectorCapsule Re-implementation of the vector capsule with dynamic routing We implement the vector capsule and dynamic routing via graph neural networ

ZhenchaoTang 10 Feb 10, 2022
Implementation detail for paper "Multi-level colonoscopy malignant tissue detection with adversarial CAC-UNet"

Multi-level-colonoscopy-malignant-tissue-detection-with-adversarial-CAC-UNet Implementation detail for our paper "Multi-level colonoscopy malignant ti

CVSM Group - email: <a href=[email protected]"> 84 Nov 22, 2022
Voxel Set Transformer: A Set-to-Set Approach to 3D Object Detection from Point Clouds (CVPR 2022)

Voxel Set Transformer: A Set-to-Set Approach to 3D Object Detection from Point Clouds (CVPR2022)[paper] Authors: Chenhang He, Ruihuang Li, Shuai Li, L

Billy HE 141 Dec 30, 2022
Advanced Signal Processing Notebooks and Tutorials

Advanced Digital Signal Processing Notebooks and Tutorials Prof. Dr. -Ing. Gerald Schuller Jupyter Notebooks and Videos: Renato Profeta Applied Media

Guitars.AI 115 Dec 13, 2022
WRENCH: Weak supeRvision bENCHmark

🔧 What is it? Wrench is a benchmark platform containing diverse weak supervision tasks. It also provides a common and easy framework for development

Jieyu Zhang 176 Dec 28, 2022
AISTATS 2019: Confidence-based Graph Convolutional Networks for Semi-Supervised Learning

Confidence-based Graph Convolutional Networks for Semi-Supervised Learning Source code for AISTATS 2019 paper: Confidence-based Graph Convolutional Ne

MALL Lab (IISc) 56 Dec 03, 2022
Source code for our paper "Improving Empathetic Response Generation by Recognizing Emotion Cause in Conversations"

Source code for our paper "Improving Empathetic Response Generation by Recognizing Emotion Cause in Conversations" this repository is maintained by bo

Yuhan Liu 24 Nov 29, 2022
DECAF: Deep Extreme Classification with Label Features

DECAF DECAF: Deep Extreme Classification with Label Features @InProceedings{Mittal21, author = "Mittal, A. and Dahiya, K. and Agrawal, S. and Sain

46 Nov 06, 2022