# sots-engine shim configuration. Read once when binkw32.dll (the proxy) loads. # One key=value per line; '#' starts a comment. See docs/shim-trace.md. # # hooks = off | trace | compare | replace # default mode for every hook # off forward Bink calls only; touch nothing in the exe (nothing is installed) # trace run the original, log args/ret/side effects to shim.trace.jsonl # compare run the original AND our reimplementation on the same inputs, log both + diff # replace run our reimplementation instead of the original (nothing logged) hooks=trace # hook. = off | trace | compare | replace # per-hook override; is the hook's record name (the "hook" field in the log) #hook.Shim::SelfTest::Fill=off #hook.Mars::GlobalConsts::LoadFile=compare # M1: the flat KEY/value constants loader (docs/M1.md) #hook.Game::WeaponDictionary::Init=compare # M2: Weapons/_weapons.txt id manifest (docs/M2.md) #hook.Game::SectionDictionary::SectionDictionary=compare # M2: the seven _shipsections.txt manifests # trace.path = default: shim.trace.jsonl next to the DLL (overwritten each run) # trace.inline_max = regions up to this size are logged as hex (default 256) # trace.flush = always | lazy fflush every record (default) or only on divergence/err/exit #trace.path=C:\SOTS\shim.trace.jsonl #trace.inline_max=256 #trace.flush=always