Solution 1
First back up DXWrap.dll. Open DXWrap.dll from the bin folder of your game installation in a hex editor, search for this: (the actually changed parts are bolded, the rest is just to make sure you've got the right area)
02 00 05 00 00 C7 00 00 04 00 00 C3 8B 4C 24 08 8B
and overwrite it with this:
02 90 06 00 00 C7 00 1A 04 00 00 C3 8B 4C 24 08 8B
This will change 1280x1024 to 1680x1050. The other resolutions appear to be in the same area, so if you want to change something else you should be able to figure it out.
--------------
Solution 2
I found that using the uniWS patcher ( remember to put the patches.ini file in the uniWS folder), while using the 2K4 Custom resolutions option works for me.
Find the DXWrap.dll file in the BIN folder, select width and height you want ( I used 1168x656 for my 57" WS CRT HDTV, which is in 720P timing mode), and patch.
I use the 800X600 option ( in game), and it gives me 1168x656, I know thats what it is giving me because I found out exactly what size I wanted ( in 720P mode) using the resolution box in powerstrip.
I WILL say that I tried the modified DXWrap.dll file that is in the other TW2k6 thread first, but it didn't work for me...
I LEFT the modified DWWrap.dll in the Bin folder when using the uniws patcher, so I don't know if you have to use the modified DXwrap first or not.
I wouldn't think so, but if it doesn't work with the games original DXWrap.dll file, then use the modified one.
REMEMBER to copy the original DXWrap.dll file before doing any of this(I put the copy on another drive), in casrer you run into issues.
This worked NP for me.
--------------
Solution 3
After using various threads from this forum, I finally figured out how to hack my TW PGA 06 to allow my preferred WS resolution. I thought I'd share what I learned so others could do this themselves as the previous solutions were a little too vague. My main issue was I didn't have the resolution available in game to choose from that the other fix mentions to hack. My next issue was I had no clue how to get the hex codes for the resolution I wanted to use. To save you the same frustration, I'll join the forum and share.
I'm using a 37" HDTV as my monitor with a native res of 1360x768. TW06 only gave me the options to use 1024x768 or 800x600 in the game menu. I chose to hack the 800x600 setting.
Anyways....
to hack the 800x600 setting
--Go to \bin folder of your TW06 Installation
--Back up DXWrap.dll (copy it, zip it, etc)
--Open DXWrap.dll with a hex editor
--In hex editor, go to line 8346 (00020990 on left column)
--and look for this string:
C7 01 20 03 00 00 C7 02 58 02
C7 01 20 03 00 00 C7 02 58 02
#s for (Width) .....x...... (Height)
...and change it to the hex codes for your preferred resolution...
1280x800
C7 01 00 05 00 00 C7 02 20 03
1360x768
C7 01 50 05 00 00 C7 02 00 03
1440x900
C7 01 A0 05 00 00 C7 02 84 03
1680x1050
C7 01 90 06 00 00 C7 02 1A 04
1920x1200
C7 01 80 07 00 00 C7 02 B0 04
2560x1600
C7 01 00 0A 00 00 C7 02 40 06
--Then save the file.
--Enter the game and select the 800x600 resolution.
(Note- the menus may not be affected, but the game play will now be widescreen)
I can't guarantee anything but the 1360x768 resolutions work, but they should.
To determine Hex codes for other #'s/resolutions:
open the windows calculator (Start-->All Programs-->Accessories)
click the "view" tab, and select Scientific mode
Make sure "Dec" is checked/ticked in upper left
Input your resolution number (ex: 768)
Now tick the "Hex" in upper left
look at the resulting # and use example below to determine the hex code
Example:
768 = 300
but we want 4 digits...
since it's only 3 digits, put a 0 in front of the 3
760 = 0300
ok, almost there, now...
switch the first pair (0300) of the 4 digits with the last pair (0300)
so now it reads 0003
add a space in between the pairs
0003 = 00 03
so the hex code for 768 = 00 03
got it?
(sometimes it will be letters, but do the same thing)