حول
Diablo 4 Loot Filter
مشاريع أخرىما يمكنك فعله
- Filter equipment by item type, rarity, item power, affixes, roll values, and greater affixes
- Filter uniques by aspect value, seals and charms by affixes, rarity, set, or unique aspect
- Filter sigils by location, affix, and rarity; tributes by name or rarity
- Move items between stash and inventory
النمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلFilter Diablo 4 items, sigils, and tributes in your inventory and stash based on affixes, aspects, and roll values. For questions, feature requests, or bug reports, join the discord or open a GitHub issue. To support the project, see Ko-fi.
![]()
Features
- Filter equipment by item type, rarity, item power, affixes, roll values, and greater affixes
- Filter uniques by aspect value, seals and charms by affixes, rarity, set, or unique aspect
- Filter sigils by location, affix, and rarity; tributes by name or rarity
- Move items between stash and inventory
- Import profiles and Paragon boards from Maxroll, Mobalytics, D4Builds, D4Guides, InfinityBuilds, and d2core
- Info panel overlay for world events and session gold/experience statistics
- Supports all aspect ratios between 16:10 and 21:9
How to Setup
Installation
- Download and extract the latest
.zipfrom the releases. - Find your Diablo IV directory (Battle.net: gear icon next to Play > "Show in Explorer"; Steam: right-click the game > Manage > Browse local files).
- Run
install_dll.cmdfrom the d4lf directory. Grant administrator permissions, enter your Diablo IV path, and allow the certificate installation. See TTS. - Run
d4lf.exeand import a profile from a build planner, or create one with the profile editor (see Profiles). - In Settings > Profiles, check the profiles you want to use.
- Configure the game settings and start Diablo 4.
- Use the hotkeys listed in
d4lf.exe. By default, F11 runs the loot filter and F9 toggles vision mode.
If something is wrong, D4LF usually logs an error or warning on startup.
Game Settings
- Game language: English
- Options > Gameplay > Gameplay > Advanced Tooltip Information: enabled. Without it, item parsing is unreliable and there is no warning.
- Graphics > Font scale: small or medium
- HDR: disabled
- Options > Accessibility > Use Screen Reader and 3rd Party Screen Reader: enabled. The voice stops once the DLL is installed.
Common problems
- "TTS connection has not been made yet." The DLL is installed but Diablo 4 cannot connect to it. Set
Diablo IV.exeto run as administrator (Properties > Compatibility). If that does not help, also run Steam or Battle.net as administrator and launch the game through it. - Settings fail to load or the GUI crashes on start. Delete
params.iniinC:/Users/<WINDOWS_USER>/.d4lf/and reconfigure through the Settings window. - Mouse control does not work. Run D4LF as administrator, or enable Settings > Automation > Vision Mode Only.
TTS
Diablo 4 uses the Tolk TTS library, which loads third-party screen reader DLLs. D4LF's DLL (saapi64.dll) forwards
item text to D4LF instead of reading it aloud. The DLL must be signed for Diablo 4 to load it; install_dll.cmd
copies it to the game directory, downloads signtool, and signs it.
GUI
d4lf.exe runs the filter and hosts all configuration. d4lf-consoleonly.bat runs without the GUI.
- Profile Importer: paste a build URL from Maxroll, Mobalytics, D4Builds, D4Guides, InfinityBuilds, or d2core. Hover an option for details. InfinityBuilds imports always use Google Chrome, which must be installed, because only Chrome gets past the site's Cloudflare protection.
- Settings: every setting is described in the window. Notable ones:
- Profiles: activate and reorder profiles. Vision mode with highlighting shows markers for the top profile.
- Loot Behavior: handling for unmatched uniques, aspects, and cosmetics, plus Filter Equipment / Sigils / Tributes / Seals / Charms. A disabled category leaves non-Mythic items untouched.
- Stash & Transfer: set Max Stash Tabs to 6 if you own no expansion. All stash tabs must be unlocked.
- UI & Theme: theme and vision mode type.
highlight_matchesmarks matched affixes on the tooltip by reading the screen.fastshows the result immediately, also works with controllers, and can be repositioned with Advanced > Fast Vision Mode Coordinates.
- Profile Editor (beta): edit all profile sections described below.

highlight_matches |
fast |
|---|---|
![]() |
![]() |
Profiles
Profiles are YAML files in C:/Users/<WINDOWS_USER>/.d4lf/profiles, where imported profiles are saved automatically. Profiles are validated on startup and errors explain what is wrong.
All filters are whitelists. An item in an enabled category is kept if any active profile keeps it and is discarded
otherwise. If no active profile has a Sigils or Tributes section, all sigils or tributes are kept. Mythics are
always kept.
Names in profiles are lowercase with spaces replaced by underscores. Valid names are in
assets/lang/enUS: affixes.json, aspects.json, uniques.json, item_types.json,
sigils.json, tributes.json, seals_affixes.json, charms_affixes.json, and sets.json. Valid rarities are
common, magic, rare, legendary, unique, mythic, and set.
Affixes
Affixes is a list of named filters. Each filter can combine:
| Key | Meaning |
|---|---|
itemType |
One item type or a list |
rarity |
One rarity or a list; omitted matches all |
minPower |
Minimum item power |
minGreaterAffixCount |
Minimum number of greater affixes on the item |
affixPool |
List of count groups; every group must match |
inherentPool |
Like affixPool, but matched against inherent affixes |
uniqueAspect |
List of uniques (name, optional value or minPercentOfAspect); the item must be one of them |
A count group lists affixes and optional minCount/maxCount (both default to the number of listed affixes). Each
affix has a name and optionally one of:
value: minimum roll. When lower is better for that affix, it is a maximum instead.minPercentOfAffix: minimum position in the roll range, for example 50 keeps strength 125+ when the range is 100-150. Greater affixes always pass.want_greater: true: see Greater affixes.
Affixes:
# Chest armor or pants with item power 800+ and at least 3 of these affixes
- NiceArmor:
itemType: [chest armor, pants]
minPower: 800
affixPool:
- count:
- { name: dexterity, value: 33 }
- { name: damage_reduction }
- { name: lucky_hit_chance }
- { name: armor, minPercentOfAffix: 70 }
- { name: maximum_life }
minCount: 3
# Boots with movement speed, one resistance, and an evade inherent
- ResBoots:
itemType: boots
inherentPool:
- count:
- { name: maximum_evade_charges }
- { name: attacks_reduce_evades_cooldown_by_seconds }
minCount: 1
affixPool:
- count:
- { name: movement_speed, value: 16 }
- count:
- { name: cold_resistance }
- { name: fire_resistance }
- { name: lightning_resistance }
minCount: 1
# Penitent Greaves with movement speed and an aspect roll in the top half
- GreatUniqueBoots:
affixPool:
- count:
- { name: movement_speed }
uniqueAspect:
- name: penitent_greaves
minPercentOfAspect: 50
# Rare craft bases only; a legendary with the same affixes is not kept
- RareCraftBase:
itemType: chest armor
rarity: rare
affixPool:
- count:
- { name: maximum_life }
- { name: total_armor }
# Every item with item power 900+
- HighPower:
minPower: 900
Greater affixes
minGreaterAffixCount counts greater affixes anywhere on the item. To require specific affixes to be greater, mark
them want_greater: true (the "Greater" checkbox in the editor; "Include GAs" in the importer). want_greater only
applies when minGreaterAffixCount is above 0:
- If
minGreaterAffixCountis at most the number ofwant_greateraffixes, at least that many of them must be greater. - If it is higher, all matched
want_greateraffixes must be greater; flagged affixes may still be absent ifminCountallows it.
Affixes:
# movement_speed or maximum_life must be greater; a greater strength does not count
- GaBoots:
itemType: boots
minGreaterAffixCount: 1
affixPool:
- count:
- { name: movement_speed, want_greater: true }
- { name: maximum_life, want_greater: true }
- { name: strength }
minCount: 2
Seals and Charms
Seals and Charms are lists of named filters supporting rarity, minGreaterAffixCount, affixPool, and
uniqueAspect (mythic seals, unique charms). Charms also support set, a list of charm set names.
Seals:
- UtilitySeal:
affixPool:
- count:
- { name: cooldown_reduction }
- { name: charm_slot }
minCount: 1
Charms:
- DenMotherSet:
set: [might_of_the_den_mother]
- ArreatsBearing:
uniqueAspect:
- name: arreats_bearing
AspectUpgrades
AspectUpgrades lists legendary aspects to favorite and highlight in orange when the item is a codex upgrade. It only
applies to items no other filter keeps and respects the mark_as_favorite setting. Other aspects are handled by the
Aspect Upgrade Handling setting.
AspectUpgrades: [of_singed_extremities, snowveiled]
Sigils
Sigils has blacklist and whitelist lists of locations or affixes, an optional priority (blacklist by default),
and an optional rarity. Without a rarity, a blacklist-only profile keeps every non-blacklisted sigil and a whitelist
limits keeps to matching sigils. With a non-empty rarity, a listed rarity or a whitelist match keeps a sigil. Blacklist
matches still discard it, unless priority: whitelist lets whitelist matches win. A [location, affix] entry matches
only that location with that affix. Sigil rarity is derived from its affixes; with a rarity set, a sigil whose rarity
cannot be derived needs a whitelist match.
Sigils:
rarity: rare
blacklist: [armor_breakers, resistance_breakers]
whitelist:
- vault_of_the_forsaken
- [iron_hold, shadow_damage]
priority: whitelist
Tributes
Tributes has a name list and a rarity list. A tribute is kept if it matches either list. Tributes: {} keeps
nothing. The tribute_of_ prefix may be omitted, and United/Resolute variants are part of the name.
Tributes:
name: [harmony, ascendance_resolute]
rarity: [legendary, unique]
GlobalUniques
GlobalUniques keeps any unique that matches one of its entries; keys within an entry must all match. To target a
specific unique, use uniqueAspect under Affixes. Uniques matching nothing are handled by the Unfiltered
Unique Behavior setting.
| Key | Meaning |
|---|---|
minPower |
Minimum item power |
minGreaterAffixCount |
Minimum number of greater affixes |
minPercentOfAspect |
Minimum aspect roll as a percentage of its range |
profileAlias |
Label shown in logs and vision mode instead of the file name (<alias>.<unique>) |
GlobalUniques:
- minPower: 900
- minGreaterAffixCount: 2
minPercentOfAspect: 80
profileAlias: cool_stuff
Paragon overlay

Enable Import Paragon in the importer to store the build's Paragon boards in the profile. Toggle the overlay with F10 (Settings > Hotkeys) and follow the on-screen instructions to scale it until the golden outline matches the red board lines; the position is saved. Use borderless windowed mode if the overlay does not appear.
Info Panel Overlay

Toggle with F6 (Settings > Hotkeys). It shows World Boss, Legion, and Helltide timers synced from helltides.com and session gold and experience rates. Drag to move it; right-click for options such as locking, layout, size, font, and which stats to track.
Gold and experience are read through TTS. Gold tracking starts when you open the inventory. Experience tracking starts when you hover the experience bar, or automatically on inventory open if enabled, using the bar position set under Exp Config > Configure EXP Bar Position:

Develop
git clone https://github.com/d4lfteam/d4lf
cd d4lf
uv sync
uv run python -m src.main
On macOS/Linux the app starts in GUI-only mode: settings and profiles work, but TTS, window detection, overlays, hotkeys, and automation are disabled. If installation asks for Visual Studio, install the Build Tools with "MSVC C++" and "Windows 11 SDK".
Before submitting a PR:
prek run -a
uv run pytest -m "not selenium" -n logical
prek install runs the checks before every push.
Use of AI for PRs
AI is allowed, but you are responsible for your PR: test it, understand it, and fix bugs it causes. Keep each PR small and to one feature, since release notes are generated from PR titles. Follow the Python comment guidance in AGENTS.md. The maintainer does not use AI and must be able to read and maintain the code.
Credits
- Icon based on CarbotAnimations
- Some of the OCR code is originally from @gleed
- Names and textures for matching from Blizzard
- Thanks to NekrosStratia for the initial idea and help with TTS mode
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…


