89 lines
No EOL
1.8 KiB
YAML
89 lines
No EOL
1.8 KiB
YAML
game: d2r
|
|
|
|
capture:
|
|
backend: window_x11 # or window_win32, wayland, vnc, spice, file
|
|
window_title: "Diablo II: Resurrected"
|
|
|
|
# VNC settings (if backend is vnc)
|
|
# vnc_host: "192.168.1.100"
|
|
# vnc_port: 5900
|
|
# vnc_password: "secretpassword"
|
|
|
|
# SPICE settings (if backend is spice)
|
|
# spice_host: "192.168.1.100"
|
|
# spice_port: 5900
|
|
# spice_password: "secretpassword"
|
|
|
|
# Wayland settings (if backend is wayland)
|
|
# output: "DP-1" # Wayland output name
|
|
# use_pipewire: true
|
|
|
|
# File settings (if backend is file)
|
|
# path: "/path/to/images/or/video"
|
|
# type: "image" # or "video", "sequence", "directory"
|
|
# frame_rate: 30.0
|
|
# loop: true
|
|
|
|
resolution: "1920x1080" # must match a supported profile (1920x1080 or 1280x720)
|
|
|
|
routine: mephisto
|
|
|
|
safety:
|
|
session_min_hours: 1.0
|
|
session_max_hours: 4.0
|
|
break_min_minutes: 10
|
|
break_max_minutes: 45
|
|
max_daily_hours: 12
|
|
|
|
# Loot filter settings
|
|
loot:
|
|
pickup_uniques: true
|
|
pickup_sets: true
|
|
pickup_rares: true
|
|
pickup_runes: true
|
|
min_rune_tier: 10 # El=1, Eld=2, ..., Zod=33
|
|
pickup_gems: false
|
|
|
|
# Safety thresholds (0.0 - 1.0)
|
|
health_potion_threshold: 0.5
|
|
mana_potion_threshold: 0.3
|
|
chicken_threshold: 0.2 # exit game if health below this
|
|
|
|
# Color detection ranges (HSV)
|
|
colors:
|
|
health_filled:
|
|
lower_h: 0
|
|
lower_s: 100
|
|
lower_v: 100
|
|
upper_h: 10
|
|
upper_s: 255
|
|
upper_v: 255
|
|
mana_filled:
|
|
lower_h: 100
|
|
lower_s: 100
|
|
lower_v: 100
|
|
upper_h: 130
|
|
upper_s: 255
|
|
upper_v: 255
|
|
item_unique:
|
|
lower_h: 15
|
|
lower_s: 100
|
|
lower_v: 180
|
|
upper_h: 30
|
|
upper_s: 255
|
|
upper_v: 255
|
|
|
|
# Game timing constants
|
|
timings:
|
|
loading_screen_max_ms: 15000
|
|
town_portal_cast_ms: 3500
|
|
teleport_delay_ms: 150
|
|
potion_cooldown_ms: 1000
|
|
pickup_delay_ms: 300
|
|
|
|
api:
|
|
addr: ":8080"
|
|
|
|
logging:
|
|
level: info
|
|
file: logs/bot.log |