loot / libloot

A C++ library for accessing LOOT's metadata and sorting functionality.
GNU General Public License v3.0
32 stars 12 forks source link

Allow creation of game handles with local paths that do not exist #93

Closed Ortham closed 1 year ago

Ortham commented 1 year ago

If a game is installed but has never been launched it won't have a local data path, but it may be reasonable to still create the game handle - no plugins will be active (unless hardcoded) and the load order may be undefined, but that may be better than just erroring. It's worth investigating, at least.

This is probably more of an issue on Linux as on Windows you can pass an empty path so libloadorder figures out the correct path.

Ortham commented 1 year ago

Done in c6bc726783e301d7d1701bf8bcbebe646380b6b7.