Legilimens is a tool to help you find your last few missing collectibles in Hogwarts Legacy and finally get that 100% completion. All you need to do is run Legilimens with your save file, and it will analyze and return a list of every collectible that you're missing, including a link to a Youtube video with a timestamp showing its location. Legilimens does not edit your save file, it only reads the databases contained within it.
You can find the old (Python) version of this tool here. You can also find this tool on Nexus.
- Field Guide Pages
- Collection Chests
- Demiguise Statues
- Vivarium Chests
- Butterfly Chests
- Daedalian Keys
- Merlin Trials
- Balloon Sets
- Landing Platforms
- Ancient Magic Hotspots
- Infamous Foes
- "Finishing Touch" achievement enemies (inconsistent)
- Items that you are required to get during a quest. For example, there are two field guide pages that you are forced to pick up during the History of Magic class quest
- Collectible items that can be bought from vendors
- Collectible items that are rewards for completing quests
There's now a video guide, available here
Simply run Legilimens.exe
and follow the prompts on screen. Alternatively, you can drag and drop your save file onto Legilimens.exe
, or run it from the command line as described below.
The first (optional) positional argument is the path to your .sav file. If you don't provide this, Legilimens will prompt you for it when it runs.
You can pass filters to Legilimens to only show certain types of collectibles, using --filters FILTER1 FILTER2 ...
. The available filters are: ALL, PAGES, CHESTS, DEMIGUISE, DAEDALIAN, MERLIN, ASTRONOMY, LANDING, BALLOONS, HOTSPOT, FOE, ACHIEVEMENTS, TRAITS, CONJURATIONS, WANDS, SORTTYPE. If you don't provide any filters, Legiliments will prompt you for it when it runs
You can remove the "Press enter to close this window..."
prompt by passing the argument --dont-confirm-exit
to Legilimens
You can choose where the output file goes with -o [OUTPUT_FILE]
. It can be a path relative to the folder containing Legilimens.exe
, or an absolute path
You can also pass -o
without a file after it to make Legilimens not output to a file at all
Some example commands:
Legilimens.exe C:\Users\USER\AppData\Local\HogwartsLegacy\Saved\SaveGames\USERID\HL-00-00.sav --filters ALL
will find every collectibleLegilimens.exe C:\Users\USER\AppData\Local\HogwartsLegacy\Saved\SaveGames\USERID\HL-00-00.sav --filters ALL SORTTYPE
will find every collectible and sort them by type instead of locationLegilimens.exe --filters PAGES DEMIGUISE
will prompt you for your save file, and then print all of the missing collection chests and demiguise statuesLegilimens.exe C:\Users\USER\AppData\Local\HogwartsLegacy\Saved\SaveGames\USERID\HL-00-00.sav --filters ALL -o output.txt
will write the output tooutput.txt
in addition to printing it outLegilimens.exe C:\Users\USER\AppData\Local\HogwartsLegacy\Saved\SaveGames\USERID\HL-00-00.sav --filters ALL -o
will only print out the output and won't write it to a file
Legilimens says I'm missing Butterfly Chest #1, but there aren't any butterflies there and I've already done the "Follow the Butterflies" quest?
- This is a known bug with Hogwarts Legacy, where following any of the other 14 butterflies allows you to complete the quest, which then prevents the intended quest butterflies from ever appearing. This save editor has a fix for it, as does this mod, but I haven't tested either one myself and take no responsibility for them, so make sure you backup your save before using them!
- This is almost certainly another bug in the game, and I haven't found anything that indicates it's a problem with Legilimens. This mod has a fix for it, but I haven't tested it myself and take no responsibility for it, so make sure you backup your save before using it!
I have 33/34 Field Guide Pages in The Bell Tower Wing, but Legilimens says I've completed them all. Where is it?
- This is a known bug in Hogwarts Legacy that has since been patched, where a certain Bell Tower Wing flying page doesn't count towards your total. I don't know if the patch retroactively fixed the problem.
- I did my best to make it as accurate as possible, but achievements are broken in my game, so testing the Finishing Touches achievement is basically impossible. Hopefully it's helpful for a few people though.
Legilimens says that I'm missing something that I've already collected, or doesn't detect all of my missing collectibles, or links to the wrong Youtube video/timestamp, or any other error.
- It's likely an error in my code, so open an issue on GitHub, and attach your
.sav
file. I'll do my best to figure out what went wrong and fix it as soon as possible. If you don't have a GitHub account, you can also email your save file to me at [email protected], or post the output of Legilimens on Nexus. If you don't send me either the save file or output, I won't be able to fix the problem for everyone else.
I'm getting the error "SQLite was unable to read parts of the database", which is preventing me from finishing certain collectibles. How can I fix this?
- For some reason, it's possible for parts of your save file to be corrupted and unreadable by SQLite. Unfortunately, I haven't been able to figure out a fix or workaround yet. Sorry.
- Make sure you've either read the instructions or watched the video guide, and read the FAQ. If you're still having problems, actually describe what's going wrong so I can help you fix it
- Thanks to 100% Guides, Game Guides Channel, and Lukinator 2321 on Youtube for making the videos that Legilimens links to.
- Thanks to ekaomk, whose Hogwarts Legacy Save Editor code I looked at to learn how to read the save files, and who created a fix to the butterfly quest bug.
- Thanks to p-ranav for creating the argparse and tabulate C++ libraries, and aafulei for creating the color-console library.
- Thanks to kaivar for creating a fix for the 139/140 conjuration bug and the butterfly bug.
- Thanks to lillaka for not only giving me ideas to improve the mod, but actually implementing those ideas and giving me the code.