FIX PER LE DIRECT X9
How to do it:
(disclaimer: don't do it if you don't understand what I'm talking about or you are not sure of it, don't do it! In the following I'll explain the way I've done it for my 5950 related to an ATI 9800 PRO, if you have a different card I guess you should relate it to a similar generation of ATIs, 5700/9600... I can't be sure of it, so you decide, and make sure to make copy of every modified files so you can be able to go back any time)
- Find the file dxsupport.cfg (half-life 2\bin\), make a copy of it and put it in a safe place (this is important!!!)
- Open it with notepad and locate the line about the ATI Radeon 9800 PRO settings, it should look like this:
"84"
{
"name" "ATI Radeon 9800 PRO"
"VendorID" "0x1002"
"MinDeviceID" "0x4E48"
"MaxDeviceID" "0x4E48"
"m_nDriverVersion_Build" "6240"
"DefaultRes" "1024"
"CentroidHack" "1"
}
- Select and copy everything from "VendorID"... to the "}" (6 lines)
-Than locate your card name, in my case NVIDIA GeForce FX 5950 Ultra, and change everything from "VendorID" to the "}" with the ATI settings. After the change it should look like this:
"355"
{
"name" "NVIDIA GeForce FX 5950 Ultra"
"VendorID" "0x1002"
"MinDeviceID" "0x4E48"
"MaxDeviceID" "0x4E48"
"m_nDriverVersion_Build" "6702"
"DefaultRes" "1024"
"CentroidHack" "1"
}
Hey! my card with ATI 9800's IDs! Yes! ;-)
-Save it and close it.
-Find the hl2\cfg\ directory and locate the config.cfg file and move it in a safe place, out the cfg folder (so you force HL2 to rebuild the settings for the game, which means HL2 has to read the new dxsupport.cfg file we have just modified.
-On the STEAM menu right click on HL2, propriety, launch options, you write: -heapsize and a number that is the equal of half of your total ram (this just speeds up a little bit HL2, I've removed the little pauses during the autosaves with this) and -dxlevel 90 (thanx rewt!!!)
-Launch HL2, enjoy direcx 9.
on my rig I have an acceptable fps range @ 1024x768 2xaa 2xanisotropic and water reflection to all (from min 35 to max >100fps). Water reflection is a big deal for FX cards, so if you don't get enough fps start to reduce things from there. I bet every FX can play at least over 35/40 fps at 800x600 (at that resolution you can increase aa and anisotropic and have still an awesome graphic, I think)
To test the directx 9 I usually load the WATER HAZARD level, full of huge water reflections, and the last one, rich of explosion and moving elements. If you are fine with them, your FX should rock over the all game.
FIX PER FP-16
-download 3D Analyze V 2.26 (thanx ViperExtream!) here:
http://www.3dfxzone.it/dir/tools/emutnl.htm
Open it and follow the numbers:
1. select HL2.exe file in half-life 2 folder
2. select any file inside the folder half-life 2\bin
3. select Steam.exe
than check these options:
- Under the section Pixel and Vertex Shader: FORCE LOW PRECISION PIXEL SHADER
- Under the section Remove stuttering: PERFORMANCE MODE
- on the bottom left: FORCE HOOK.DLL
If you haven't change the file dxsupport.cfg with the method described in the beginnig of this thread, you can obtain the same result typing in the section DIRECTX DEVICE ID'S the ATI Vendor and Device ID, there are just two device though.
4. press RUN.
In the end 3D ANALYZE gives me an error, CREATEPROCESS FAILED, I launch HL2 anyway, the water looked awesome, awesome detail and I noticed a boost in performance too. I think around 20/30% which allowed me to play the WATER HAZARD level with this setting: 1024x768 everything max, water relection to ALL, 2xAA, 4xAnisotropic with a range of fps of 40 and >150.
I hope this will help, let me know if doesn't work, or if does let me know if you think you got a better perfomance boost.
Li applichi tutt' e due non vedo dov'č il problema.. scusa se ho capito male quello che chiedevi.