Skip to content

Instantly share code, notes, and snippets.

@Cyphs
Cyphs / DowngradeEpic.ps1
Created December 26, 2025 21:30
Windows PowerShell script to downgrade the Epic Games Store version of Hogwarts Legacy to an older build compatible with the HogWarp Multiplayer Mod, using a manifest file with the third party client, Legendary
# This script downgrades the Epic Games version to a previous version using the 3rd party client Legendary
# 1. Download Legendary
# 2. Install with the provided manifest
# 3. Optionally update a registry key for HogWarp
# 4. If this script instantly closes after running, open the path that contains this file in PowerShell and run: powershell -NoProfile -ExecutionPolicy Bypass -File .\DowngradeEpic.ps1
$ErrorActionPreference = 'Continue'
Write-Host -BackgroundColor Red "Downloading Legendary, please wait..."
@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: