Skip to content

Instantly share code, notes, and snippets.

@Cyphs
Cyphs / HLModsTransfer.py
Last active March 9, 2025 11:59
Python script to copy downloaded CurseForge Mods for Hogwarts Legacy from the Documents folder to destination folder with the naming structure that the game expects. Change the destination_path before running. Only useful for debug purposes.
import os
import shutil
# Get the path to the user's Documents folder
documents_folder = os.path.expanduser('~/Documents')
# Define source and destination paths
source_path = os.path.join(documents_folder, 'Hogwarts Legacy', 'Mods', '87986')
destination_path = r'E:\SteamLibrary\steamapps\common\Hogwarts Legacy\Phoenix\Mods'
@Cyphs
Cyphs / TrimPak.bat
Last active March 13, 2025 06:09 — forked from ToeKneeRED/TrimPak.bat
Yeet DevelopmentAssetRegistry.bin from a single .pak file or a directory for bulk processing
:: REQUIRES REPAK https://github.com/trumank/repak/
:: Process a single .pak file or all .pak files in a directory
@echo off
setlocal enabledelayedexpansion
cls
title TrimPak
echo Select an option: