Initial commit: DayZ memory C++ port with DMA backend and overlay

This commit is contained in:
67
2026-06-16 15:18:44 +08:00
commit f04e38b8ae
163 changed files with 163380 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
# 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