diff --git a/setup_tool_dynamic.py b/setup_tool_dynamic.py index 460c769..ed01b22 100644 --- a/setup_tool_dynamic.py +++ b/setup_tool_dynamic.py @@ -76,11 +76,9 @@ _CUSTOM_GLUES_SITES = ( (0x2F11F1, 0x5E, 0xB2), ) -# Numeric fields are intentionally allowed to keep legitimate values already -# selected by Turtle/Octo/community launchers. Safety comes from validating the -# actual managed patch regions plus tight per-field supported ranges; the exact -# source bytes are then snapshotted so the upstream patcher may only preserve -# them or replace them with the Tool's requested value. +# Numeric fields may already contain legitimate Turtle/Octo/community values. +# Preflight only sanity-checks those fixed-offset fields; normalization later +# overwrites them with the exact values selected in the Tool. _NUMERIC_SITES = ( ("fov", 0x4089B4, "FoV", 0.5, 3.5), ("farclip", 0x40FED8, "Farclip", 777.0, 10000.0), @@ -323,28 +321,15 @@ class ModernWowSetupTool(_ModernWowSetupToolCore): desired["sound_bytes"] = sound_channels.ljust(4, b"\x00") return desired - @staticmethod - def _numeric_bytes_from_desired(desired): - return { - "fov": struct.pack("