Thief - Deadly Shadows widescreen patch

by Massimiliano Goi (maxath@libero.it)

thanks to Rob Bloom for his tutorial.

INSTALLATION INSTRUCTION:

Replace the T3Main.exe file present in this archive with the one in the Thief - Deadly Shadows/System folder, that's it.
If you're using the Thief 3 Editor, replace the T3MainReleaseVersion.exe file with this one.
Maybe you would backup your original exe files before doing these operations.



Technical details:

If you are changing 640x480 with another value:

Set the game with 640x480 resolution.

Open the T3Main.exe with an hexadecimal editor.

The values're there, before the EAX strings (it should be around the hexadecimal
adress 0x0056edc4 in the T3Main.exe version designed for the fan missions).
They're stored as 32bit 
integers, which the hex editor is reading as four chars values: the values 80 02 00 00,
are the number 640, as the data interpreter shows it.

640 is decimal, in hexidecimal is 280, and, being this exe originally compiled* by an intel CPU, instead of writing this as 
00 00 02 80 on disk, all the bytes are backwards and it's instead written as 80 02 00 00.

I suggest to use a calculator to convert decimal to hexadecimal.

A table with the proper changes is included in this package, as Microsoft Excel file.



* = here the source code of the game is meant.