Skip to content

How Detection Works

m4bwav edited this page Nov 21, 2026 · 1 revision

scan walks the install four folder levels deep and matches lower-case file and folder names. The first engine rule that matches wins, in this order:

Engine Marker
Unity UnityPlayer.dll, or a top-level folder ending _Data
Unreal a file ending -Shipping.exe or .utoc, or a .pak under Content/Paks
Godot a .pck file
GameMaker data.win
Ren'Py a .rpa file or a renpy folder
RPG Maker MV/MZ rpg_*.js or rmmz_*.js
Source gameinfo.txt or a .vpk
Bethesda Creation .esm, .ba2 or .bsa
XNA/FNA/MonoGame FNA.dll, MonoGame.Framework.dll or a .xnb
Minecraft .minecraft, or a .jar with a versions folder

Unity's runtime is IL2CPP when GameAssembly.dll or global-metadata.dat is present, Mono when Assembly-CSharp.dll is, otherwise None. Other engines report runtime None.

Anti-cheat markers

EasyAntiCheat, EasyAntiCheat_EOS, BattlEye, mhypbase.dll, vgk.sys, xigncode, GameGuard, PnkBstrA.exe, EQU8.dll. Any match makes scan exit 2.

Loader markers

Loader Path under the install Log
BepInEx 6 (IL2CPP) BepInEx/core/BepInEx.Unity.IL2CPP.dll BepInEx/LogOutput.log
BepInEx 6 (Mono) BepInEx/core/BepInEx.Unity.Mono.dll BepInEx/LogOutput.log
BepInEx 5 BepInEx/core/BepInEx.dll BepInEx/LogOutput.log
MelonLoader MelonLoader MelonLoader/Latest.log
Unity Mod Manager UnityModManager UnityModManager/Log.txt
UE4SS ue4ss ue4ss/UE4SS.log
SMAPI smapi-internal %APPDATA%/StardewValley/ErrorLogs/SMAPI-latest.txt

Recommended loader

Unity Mono: BepInEx 5 (or MelonLoader). Unity IL2CPP: BepInEx 6 (or MelonLoader). Unreal: UE4SS (+ pak mods). Godot: pck override. GameMaker: UndertaleModTool. The rest are in RECOMMEND in mw.py; an unmatched engine gives unknown: inspect by hand. On the rpg fixture, an Unreal layout:

python ../../skills/modwright/scripts/mw.py scan rpg
engine: Unreal
runtime: None
anticheat: []
loaders_installed: []
recommended_loader: UE4SS (+ pak mods)
loader_logs: []
notes: ['No mod loader installed yet. Back up saves before installing one.']

Clone this wiki locally