About this mod
Herbata's Mod-as-DLC Loader is a Windows application designed to streamline the process of preparing and managing mods as DLC for the game S.T.A.L.K.E.R. 2: Heart of Chornobyl. This program automates the creation of a compatible mod loader, ensuring an easy setup for users to enjoy community-driven content.
- Requirements
- Permissions and credits
- Mirrors
- Changelogs
- Donations
Please reach out to me via discord: herbata (231531878060916746)
Herbata's Mod as DLC Loader
A WPF-based tool to load mods as DLCs for Stalker 2. This tool simplifies the process of configuring and packaging mods by generating the required folder structure, configuration files, and repackaging the data into a .pak file.
Features
- Generates the required folder structure for Stalker 2 mods.
- Creates and configures the SteamPlatformProviderEngine.ini file.
- Runs repak.exe to package mods as .pak files.
- Automatically copies the generated .pak file to the Stalker 2 ~mods folder.
- User-friendly GUI for folder selection and mod loading.
- Clickable links to GitHub and NexusMods for additional resources.
Requirements
- .NET 9
- repak.exe in the bin folder of the application.
- Stalker 2 installed with the required folder structure.
Usage
- Launch the application.
- Click "Select Folder" and navigate to the Stalker 2 installation path.
- Click "Load mods as DLCs" to generate the necessary files and package the mods.
- Verify that HerbatasDLCModLoader.pak is created and placed in the ~mods folder.
File Structure
The tool generates the following folder structure in the system's temp directory:
HerbatasDLCModLoader/
Stalker2/
Plugins/
PlatformProviderController/
Config/
Steam/
SteamPlatformProviderEngine.ini
Configuration
The config.json file stores the last selected folder path and is located in the same directory as the executable. This ensures a smoother user experience by remembering the previously selected path.
Building a Standalone Application
To build a self-contained application:
- Clone the repository:
git clone https://github.com/herbatka/HerbatasDLCModLoader.git
- Open the project in Visual Studio.
- Build the solution in Release mode.
Troubleshooting
- Missing repak.exe: Ensure repak.exe is located in the bin folder.
- Invalid folder structure: Verify the selected folder contains Stalker2/Content/GameLite/DLCGameData.
- Configuration errors: Delete config.json and restart the app.
Links
How to make a mod to use this?
Follow this guide.
If you want to see it in action, head over to my other repo here.
Enjoy modding with Herbata's Mod as DLC Loader!