Have an idea for a mod? Great! Hogwarts Legacy does not officially support mods, but thanks to the efforts of the community it's possible make significant changes to the game.
Change the behaviour of the game by unpacking, editing and re-packing the PhoenixShipData.sqlite
SQL database.
Cooking custom mods and loading them from the Hogwarts Legacy\Phoenix\Content\Paks\~mods
directory will allow items in the base game to be overwritten with new assets.
These are logic mods written in a programming language called LUA, which are injected into the game by an add-on called UE4SS.
These mods are more advanced and directly modify functionality or add features to the game.
Before you start modding Hogwarts Legacy there are a number of tools you may wish to install based on the type of mod you're trying to create.
Name | Description |
---|---|
UE4SS | Allows you to write Lua scripts and can also act as a modloader for Blueprint and C++ mods. It has a powerful live debugger that lets you view and edit the game's inner-workings in real-time. |
Blueprint Apparate Modloader | The most commonly used mod loader. It provides a simpler method to install Blueprints mods but has less functionality and does NOT support LUA scripts. |
Parseltongue | A tool to unpack and replace the .bin files used for dialogue, subtitles and UI text. |
Fmodel | A tool which allows you to browse through game files and extract models/animations/textures to editable format. |
PSK Import plugin for Blender | A plugin for Blender that allows you to import models in PSK format into blender, edit them and export to fbx format. The plugin from this author includes an easy to use menu, so you don't have to worry about scale. Recommended Blender version: 2.83.20 |
Unreal Engine 4.27.2 | Hogwarts Legacy game has been created with a Custom Engine based on Unreal Engine in version 4.27.2. You must have Unreal Engine in this version to create mods, though Narknon's Custom Engine (see below) is required for more complex mods or those involving Data Assets. Unreal Engine is available to download from Epic Games Launcher. More info in Getting started |
SQLite Browser | A tool for exploring/modifying the SQL data of Hogwarts Legacy. The database can be extracted from Phoenix/Content/SQLiteDB/PhoenixShipData.sqlite using Fmodel and then viewed/modified. |
SQLite Studio | An alternative to SQLite Browser which does largely the same thing. |
Narknon's Custom Engine | A custom version of Unreal Engine, allows you to create more complex mods. Install it by following the instructions below EXACTLY. |
Detailed Guide for Narknon's Custom Uproject/Engine | An alternative guide to installing the custom project by Narknon. Just incase you are having trouble getting it to work. |
JSON2DA | A python script to recreate a Data Asset from the JSON information in FModel so that you can edit it. Vital for making appearance mods. |