2.9 KiB
UnlockedByDaylight
Unlocks all perks, skins, items and addons
chatgpt slop instructions below
Requirements
Before building the project, ensure you have the following installed on your system:
- Git: To clone the repository and its vendored submodules.
- Visual Studio 2022: You must install the following workloads:
- Desktop development with C++
- .NET desktop development (for the C# dumper project)
- .NET 8.0 SDK: Required for the dumper tools. Usually included with the Visual Studio .NET desktop development workload.
- CMake
4.1.0or newer: To generate the build files for the C++ unlocker proxy. - OpenSSL: Download and install the full (non-Light) 64-bit version from Win32 OpenSSL.
- Important: You must install the full version, not the "Light" version, as the project requires the developer headers and libraries to compile (
find_package(OpenSSL REQUIRED)).
- Important: You must install the full version, not the "Light" version, as the project requires the developer headers and libraries to compile (
Building Instructions
The project uses several Git submodules (such as nerutils, simdjson, and CUE4Parse), so you must clone it recursively to pull all dependencies.
Step 1: Clone the repository
Open your terminal or command prompt (such as PowerShell or Git Bash) and run:
git clone --recursive https://git.neru.rip/neru/UnlockedByDaylight.git
cd UnlockedByDaylight
(Note: If you have already cloned the repository without the --recursive flag, you can fetch the submodules by running git submodule update --init --recursive inside the project folder).
Step 2: Generate project files using CMake
Generate the Visual Studio solution and project files in a build directory:
cmake -B build
(Note: Depending on how OpenSSL was installed, CMake usually detects it automatically. If it doesn't, ensure your OpenSSL installation is added to your system PATH or manually provide the path via CMake arguments).
Step 3: Compile the project
You can build the project directly from the command line using CMake, or open the generated solution file in Visual Studio.
Option A: Command Line (Recommended)
cmake --build build --config Release
Option B: Visual Studio 2022
- Navigate to the
buildfolder. - Open the newly generated
.slnfile (e.g.,dbd-unlocker.sln). - Set your build configuration to
Releaseand architecture tox64in the top toolbar. - Right-click the
dbd-unlockertarget in the Solution Explorer and select Set as Startup Project. - Build the entire solution (Press
Ctrl + Shift + B).
Additional Notes
- Resources: When building the unlocker (
dbd-unlocker), the JSON files inside theres/directory will be automatically copied into the target output directory as configured by the CMake post-build step. - Ensure you run the applications from folders where they have access to their respective resources.