DEV Community

developer
developer

Posted on

Hogwarts Legacy save file location on Linux (with Heroic Games and Wine)

Where Are Save Files Stored in Heroic Games Launcher on Linux and Cachyos?

Heroic Games runs Epic games on Linux. Heroic Games runs Windows 11 through Wine, which emulates a fake C:\ drive inside a folder called a Wine prefix. Save files live inside that prefix, mirroring the same path they'd use on Windows.

The folder structure inside SaveGames includes a long hex ID subfolder — make sure to preserve that.

On Windows, Hogwarts Legacy saves to
C:\Users\[YourUsername]\AppData\Local\Hogwarts Legacy\Saved\SaveGames\[GameSaveFolder...25982be2be66c8]

Heroic has emulated a Windows-style Drive C: to store game files.

For Hogwarts Legacy on Linux, the prefix lives here:

~/Games/Heroic/Prefixes/Hogwarts Legacy/drive_c/users/[YourUsername]/AppData/Local/HogwartsLegacy/Saved/SaveGames/[GameSaveFolder...25982be2be66c8]

or look around for similar places if you are using Steam instead of Epic:

~/.local/share/heroic/prefixes/default/HogwartsLegacy/pfx/drive_c/users/steamuser/AppData/Local/Hogwarts Legacy/Saved/SaveGames/

Transferring Saves from Windows

Windows saves to:
C:\Users\<Username>\AppData\Local\<GameName>\Saved\SaveGames\[GameSaveFolder...25982be2be66c8]

Just copy the .sav files from that folder into the equivalent Linux path you found above.

Try this if that didn't help

Heroic lets you configure a custom prefix location per game, so the default path isn't always where things end up. To find the actual path, run:

cat ~/.config/heroic/GamesConfig/*.json | grep -i "winePrefix\|prefixPath"

This will print the configured prefix path for each of your installed games. Once you have it, append pfx/drive_c/users/<username>/AppData/Local/<GameName>/Saved/SaveGames/ and you're there.

Or if the game has already run at least once, try to search for the SaveGames folder directly:

find ~ -name "SaveGames" -type d 2>/dev/null

Top comments (0)