Project-Diablo-2 / BH

A modified version of slashdiablo's BH for Project Diablo 2
GNU Affero General Public License v3.0
24 stars 25 forks source link

Attempt loading filter selected by PD2 launcher first #52

Closed xkanzeon closed 2 months ago

xkanzeon commented 7 months ago

With the removal of the symlink used by the old launcher, the local filter editing process has gotten...much more involved. Requiring either a re-copy of the filter via the launcher with each edit or editing of the main loot.filter and remembering to copy it into the local folder before the next run (lest the edited loot.filter be overwritten).

The idea behind this change is to load the launcher-selected filter directly, falling back to the current behavior of the root loot.filter then default.filter files in the events the launcher config can't be loaded or the expected filter doesn't exist.

A couple notes:

fergushev commented 2 months ago

Thank you!