HL-2, DX9 and GeForce FX


Recommended Posts

So a friend of mine has a Gainward Geforce FX 5900 Golden Sample (currently at 475core/970memory) and HL-2, so he wanted to turn on DX9 instead of DX8.1 so i found this info which DID work he now has full DX9, with no dissaperaing water and gets smooth framerates on that card and a Celeron 1.8Ghz with 512MB RAM at 1024x768 (highest monitor supports), all reflections and everything on high, AA off and trilinear filtering, maybe these could be turned on but haven't experimented so the game was playable with full DX9 on kinda high settings. The trick is making HL-2 think you have a Radeon so a functional DX9 path is used.

here's how to do it:

(this is by Presi at the Guru3D forums)

Ok, I made few experiments in the past days in order to force my 5950u to play HL2 with dx9.

I found an interesting way to do it and the result, I think, is the best one.

The old way is to put -dxlevel 90 in the launch options and add an Autoexec.cfg file in the cfg folder of HL2 with the lines mat_dxlevel 90 and mat_clipz 0. I finished the game in that way with high setting and water reflection to all. It works, but not really, in some level the water was showing some weird reflections, huge disturbing polygons flying in the water, creepy; if you did that an played the WATER HAZARD level, you know what I'm talking about.

Reading around the forums and trying some experiments I found another way to force DX9 on my 5950; I tricked HL2 to see my 5950 as an ATI 9800 PRO. It works and the water reflection doesn't seem to have any problems. I guess Valve has decided to run HL2 with different codes path for the FXs... interesting.

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.

Let me know if this help!

Oh BTW: I had to remove the -heapsize command since it made the game crash, still DX9, it's just for something about memory

originally posted by Presi at:

http://forums.guru3d.com/showthread.php?th...10&pagenumber=1

Edited by ArtOf_War
Link to comment
https://www.neowin.net/forum/topic/253971-hl-2-dx9-and-geforce-fx/
Share on other sites

" 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) "

This post would be more infomative if they gave a line by line comparison you know. Like these settings for an fx5200 etc at these Radeon 9200 blah blah other wise it's a hit and miss there are like 8 or 9 different FX models? so what ATI card goes with what FX card I would like to try it on my Girlfriends fx5200 so what is the corresponding ATI card settings? :unsure:

SLAYER,Dec 8 2004, 15:12]"  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) "

This post would be more infomative if they gave a line by line comparison you know. Like these settings for an fx5200 etc at these Radeon 9200 blah blah other wise it's a hit and miss there are like 8 or 9 different FX models? so what ATI card goes with what FX card I would like to try it on my Girlfriends fx5200 so what is the corresponding ATI card settings?  :unsure:

585067703[/snapback]

I'd say the lowest 9550SE

anyways those are just fo the auto settings (low, high, mid) you can change them in the game

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • ahh yes the good old your opinion differs from mine so you are therefore insane lol destiny 1 had no agenda pushing and was a massive success of a game, if you clearly look online the team for some reason thought they had too many men on the team and went on a woman and dei recruitment drive and we all know how destiny 2 performed from then on in
    • The limited imaginations and business acumen of non-dominant players is simply that: the abject lack of creative business acumen. Businesses often want to operate in a financially-rewarding marketplace (free market economics) and/or exit/cash-out at maximal financial recompense. Money is their incentive; regulations are both their obstacles and their tools; politics is their means of influencing the marketplace. Google, in this story's example, is crying that AWS and Azure are "too dominant" -- cuz Google Cloud is not printing as much money as Alphabet wants (although it is still dramatically more than they actually need). The EU DMA should truly follow-the-money and treat the EU as its own sovereign nation in order to protect European market players: Domestic entities are exempt from market-influence regulations until absolute monopoly is achieved; Foreign (non-EU/non-Euro) entities are all regulated via stricter DMA measures whereby regulated partnership with independent domestic entity becomes the only way for foreign entities to 'tip the scale' for favorable financial remunerations. Basically create a dual-track aligning with China's foreign investment models. In my eyes, this is the only way to properly protect the European marketplace beyond the current dot-com/ai-bubble/social-media crazes.
    • I have a fire n ice theme w my bedroom laptops. one is a red lenovo gaming laptop (fire) and the precision is ice
    • Adobe Acrobat Reader DC 2026.001.21691 by Razvan Serea Adobe Acrobat Reader DC software is the free, trusted standard for viewing, printing, signing, and annotating PDFs. Its the only PDF viewer that can open and interact with all types of PDF content – including forms and multimedia. It’s connected to Adobe Document Cloud – so you can work with PDFs on computers and mobile devices. Adobe Document Cloud is a revolutionary, modern and efficient way to get work done with documents in the office, at home or on-the-go. At the heart of Document Cloud is the all-new Adobe Acrobat DC, which will take e-signatures mainstream by delivering free e-signing with every individual subscription. Document Cloud includes a set of integrated services that use a consistent online profile and personal document hub. With Adobe Document Cloud, people will be able to create, review, approve, sign and track documents whether on a desktop or mobile device. Businesses will be able to take advantage of Document Cloud for enterprise which provides enterprise-class document services that integrate into systems of record such as CRM, HCM, CLM, and CMS, adding speed, efficiency and transparency to getting business done with documents. Adobe Acrobat Reader DC new feature highlights: Work with PDFs from anywhere with the new, free Acrobat DC mobile app for Android or iOS. Select functionality is also available on Windows Phone. Use the new Fill & Sign tool in your desktop software to complete PDF forms fast with smart autofill. Download the free Adobe Fill & Sign mobile app to add the same option to your iPad or Android tablet device. Save money on ink and toner when printing from your Windows PC. Store and access files in Adobe Document Cloud with 5GB of free storage. Get instant access to recent files across desktop, web, and mobile devices with Mobile Link. Sync your Fill & Sign autofill collection across desktop, web, and iPad devices. Adobe PDF Pack premium features includes: Convert documents and images to PDF files. Use your mobile device camera to take a picture of a paper document or form and convert it to PDF. Turn PDFs into editable Microsoft Word, Excel, PowerPoint, or RTF files. Combine multiple files into a single PDF (web only). Get signatures from others with a complete e-signature service. Send, track, and confirm delivery of documents electronically instead of using fax or overnight services (tracking not available on mobile). Store and access files online with 20GB of storage. Download: Adobe Acrobat Reader DC 64-bit | 719.0 MB (Freeware) Link: Adobe Acrobat Reader DC Home Page | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      Vistor earned a badge
      One Year In
    • First Post
      kinowa earned a badge
      First Post
    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      403
    2. 2
      +Edouard
      171
    3. 3
      PsYcHoKiLLa
      131
    4. 4
      Xenon
      72
    5. 5
      Michael Scrip
      71
  • Tell a friend

    Love Neowin? Tell a friend!