Only replace the first two pairs (width/height) – leave the rest of the bytes unchanged.

Alternatively, use (DirectX 8→Vulkan) with dxvk.conf containing:

: By setting the scaling mode to "Stretched, 4:3 Aspect Ratio" and checking "Keep window aspect ratio," you can play in high definition without vertically stretching the 3D models. Texture Fixes

Do you have a you are trying to get working?

Are you planning to play with a or the original keyboard controls?

After some digging, I got Chaos Legion running in proper widescreen without stretching. Here’s what works (tested on Windows 10/11).