# DayZ Memory Reader — runtime config
# Lines starting with # are comments.
# Changes take effect on next launch.

# ---- Refresh intervals (milliseconds) ----
nearEntityRefreshMs      = 50
farEntityRefreshMs       = 100
slowEntityRefreshMs      = 100
playersRefreshMs         = 50
bulletRefreshMs          = 50
itemRefreshMs            = 200
scoreboardRefreshMs      = 30000
networkMetadataRefreshMs = 30000

# ---- Batch sizes (entities processed per tick) ----
farEntityBatchSize  = 64
slowEntityBatchSize = 64
itemBatchSize       = 64

# ---- Main loop idle sleep (ms) — lower = more CPU, more responsive ----
liveLoopIdleMs = 1

# ---- VMM page-cache flush interval (ms) ----
# ForceRefresh flushes VMMDLL's internal page cache so stale physical-memory
# entries don't accumulate.  Without this the tool stops working ~1 h into a
# session as the game heap reallocates and cached pages go stale.
# 30 s is a safe default; lower values increase DMA bus load slightly.
vmmRefreshMs = 30000

# ---- Reconnect behaviour ----
reconnectThreshold     = 5      # consecutive failures before reconnect
reconnectGracePeriodMs = 5000   # ms to wait after session lost before reconnecting

# ---- Process ----
processName  = DayZ_x64.exe
useMemoryMap = true
