Brian The Dog on 10/9/2009 at 08:31
A Hex-editor is a program that edits a binary file for you. You can download (
http://www.pspad.com/en/download.php) PSPad for free, which does the job.
1) Completely Uninstall Thief2, and re-install it. Play it and it will crash, but it will add some lines to the file cam.cfg which you need to edit. Place all the DDFix files in your Thief 2 directory.
2) Make a copy of the file thief2.exe for backup purposes, then open thief2.exe in PSPad (choose "Open with Hex editor", not the normal "Open").
3) Edit the 3rd instance of the word DDRAW.DLL in the file, change it to read DDFIX.DLL as it describes in the DDFix readme file. It should be the instance of DDRAW that has "DirectDrawCreate" just after it. Don't change anything else in the file.
4) Then make sure the resolutions in the files cam.cfg and ddfix.ini are the same (e.g. 1280 by 1024), and the various options in the ddfix.ini file are what you want.
5) Play Thief 2!
Nameless Voice on 10/9/2009 at 15:16
Quote Posted by Brian The Dog
3) Edit the 3rd instance of the word DDRAW.DLL in the file, change it to read DDFIX.DLL as it describes in the DDFix readme file. It should be the instance of DDRAW that has "DirectDrawCreate" just after it. Don't change anything else in the file.
It's the first instance of DDRAW.DLL - there are only two instances in the file.
(
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) XVI32 is another free hex editor.
Using the pre-patched .exe is still easier if you are unfamiliar with hex editing, though.
Brian The Dog on 10/9/2009 at 15:33
It depends on which version of the thief2.exe file you have - mine has at least four instances (I think it is four), the first two seem to be related to error messages that are displayed if something fails.
This may be because the Premier patch is different to the standard patch for Thief 2. Certainly the memory address mentioned in the DDFIx readme.txt file to edit is incorrect for the Sold Out version. This is why the pre-patched versions don't work for us.
Nameless Voice on 10/9/2009 at 16:03
By default, there are no instances of DDraw.dll, as it's in the (encrypted) .icd file instead.
If the pre-patched version doesn't work at all with the Premier version, it makes me wonder how much the "Premier patch" mangled the install. They ought to be swappable since the game's resources themselves shouldn't change.
Nameless Voice on 10/9/2009 at 20:50
It's part of the Safedisc copy protection. Does the Premier version not come with that nonsense?
The Brain on 10/9/2009 at 21:20
Quote Posted by Brian The Dog
Oh, OK, all I know is that there's definitely four references to ddraw.dll in the Thief2.exe file (see (
http://img215.imageshack.us/img215/682/ddfixthief2premierpatch.jpg) here
for two of them, the first one is the one that needs to be changed to ddfix.dll) when I look at it after installing the Premier patch
These two you find in non-protected thief2.exe-file if you use "ddraw
.dll" (remove quotation marks) as a search term in your favourite hex editor.
There two aren't references to ddraw.dll (you need to add
.dll-file extension to search term). They are maybe configuration options "skip_
ddraw_check" and "fail_
ddraw_check".
Brian The Dog on 10/9/2009 at 22:20
Ah, I see! Thanks for the explanation :thumb:
Dirty-Harold on 11/9/2009 at 02:17
Quote Posted by Brian The Dog
A Hex-editor is a program that edits a binary file for you. You can download (
http://www.pspad.com/en/download.php) PSPad for free, which does the job.
1) Completely Uninstall Thief2, and re-install it. Play it and it will crash, but it will add some lines to the file cam.cfg which you need to edit. Place all the DDFix files in your Thief 2 directory.
2) Make a copy of the file thief2.exe for backup purposes, then open thief2.exe in PSPad (choose "Open with Hex editor", not the normal "Open").
3) Edit the 3rd instance of the word DDRAW.DLL in the file, change it to read DDFIX.DLL as it describes in the DDFix readme file. It should be the instance of DDRAW that has "DirectDrawCreate" just after it. Don't change anything else in the file.
4) Then make sure the resolutions in the files cam.cfg and ddfix.ini are the same (e.g. 1280 by 1024), and the various options in the ddfix.ini file are what you want.
5) Play Thief 2!
With step 4, I cannot see the resolutions in the cam.cfg file. I changed the resolution to my desired (1440x900) in the .ini file though. When I try to open the game I am still getting the direct x 7 error message. I think this is because of the res in the cam.cfg file, because I followed all the other steps right (I think).
So why can't I see the res?:o
mudi on 11/9/2009 at 03:29
Just a check: I believe that message also comes up if you choose a resolution your video card or monitor isn't capable of. Make sure you didn't make a typo or anything...
Other than that, I don't really know...