COPY ~torment.exe~ ~torment.exe~

READ_SHORT "0x432300" 4CDx
READ_SHORT "0x432307" 4CDy
READ_SHORT "0x432f60" 2CDx
READ_SHORT "0x432f67" 2CDy

ACTION_IF (4CDx < 799) OR (2CDx < 799) BEGIN 
FAIL ~ Widescreen Mod not detected. You must have Bigg's Widescreen Mod installed with a resolution >= 800x480 pixels, prior to installing this mod. ~
END