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

    • Doogee and Ulefone regularly release phones with 10k-25k mAh batteries, but those are bricks. I don't understand how they could make it only weigh 220 grams with a battery that size.
    • Windows 10 quietly gets one more year of support and updates by Taras Buria Windows 10 reached its end of life at the end of 2025. Microsoft kicked off the Extended Security Updates program, aimed at giving regular consumers one more year of security-only updates. By doing so, Microsoft gave users more time and money to update their computers to a newer operating system or compatible hardware. Now, with the end of the Extended Security Updates program quickly approaching, Microsoft is making an important adjustment. Users discovered that the official support article for the program now lists a new end-of-support date: The Extended Security Updates program is not a new concept. It has been an official way for business consumers to continue receiving critical updates for unsupported Microsoft products for many years. However, all this time, it was a business-only, paid feature. With Windows 10, Microsoft brought ESU to regular consumers, allowing them to get security updates for Windows 10 past October 2025 essentially for free. When Windows 10 was approaching the end of support, many guessed that Microsoft might adjust its support timelines, and this is exactly what seems to be happening. Of course, Microsoft would love everyone to switch to new computers, such as its latest Surface devices, but in the days of ever-growing hardware prices, not everyone is lucky enough to have money for a new PC. Leaving hundreds of millions of customers with a Windows version that no longer receives security updates is a major risk that Microsoft is not willing to take. If you have a Windows 10 PC to enroll in the Extended Security Updates program, check out this guide to learn how to do so.
    • Sony announces Bungie layoffs that will affect "significant number of employees" by Pulasthi Ariyasinghe Sony today announced that major layoffs are happening at its first-party studio Bungie, the developer that has spawned series like Halo, Destiny, and Marathon over the past decades. The news arrives just weeks after Bungie delivered the final update to Destiny 2, and it's that team being hit with the layoffs the most. CEO of Sony Interactive Entertainment Hermen Hulst revealed the staff reduction today, calling it "painful news." "Over the past several months, together with Bungie leadership, we reviewed the studio’s long-term direction, development priorities, resource needs, and role within our broader portfolio strategy," said Hulst, explaining the decision. "We explored multiple alternatives before concluding that a reduction was necessary to align the studio’s resources with its current priorities and long-term goals." The layoffs will be hitting "a significant number of employees" across most of the Destiny franchise development team. It doesn't look like Sony is planning to continue the series following Destiny 2's sunsetting update. The studio is said to be in early stages of looking at other projects to pivot to, but it's said that keeping the size of the team at current levels is no longer feasible. "We know this decision has a profound impact on the people affected, their families, friends, and teammates," said Bungie leadership in a separate message on social media. "While these changes are necessary to best position the studio now and for the future, that does not lessen the difficulty of this moment or the impact it has on those affected." At the same time, "some" of the Marathon development team are also affected by the layoffs. The recently released multiplayer-only extraction shooter title hasn't seen a big boom of players either, but the company is reportedly hoping that the live service experience will pick up players with future updates.
    • Microsoft adds reusable skills and finance data connectors to Copilot in Excel by Karthik Mudaliar Microsoft is giving Copilot in Excel a collection of new features aimed squarely at finance teams. The update introduces reusable instructions for common tasks, connections to services such as FactSet and Morningstar, and a better way to review what Copilot intends to do before it starts changing a workbook. The most interesting addition is 'Skills' finally coming to Copilot in Excel. Skills let companies teach Copilot how to handle a recurring process, so employees do not need to write the same detailed prompt every month. Users can create skills that can specify the steps Copilot should follow, along with the required layout, formulas, and formatting. Microsoft says users can create their own skills by saving a SKILL.md file in OneDrive. The file is written using Markdown and tells Copilot when and how to perform the task. Once it is available, a user can select the skill in the Copilot pane or mention it in a prompt using the @ symbol. There is also a library of prebuilt finance skills for customers who do not want to create their own. Microsoft plans to let developers distribute additional skills through the Microsoft Marketplace and the Microsoft 365 Admin Center, with LSEG, Ramp, Rogo, samaya.ai, Velixo, and Vena among the first partners involved. The company says that it is also expanding the external data that Copilot can access from inside Excel. New connectors are being added for CB Insights, Daloopa, FactSet, Morningstar, PitchBook, and S&P Global data through technology developed by Kensho. There is a catch, however. Accessing these services may require a separate subscription from the relevant data provider, so a Microsoft 365 Copilot licence will not necessarily unlock all of them. FactSet is also only available in preview for now, with general availability planned for July. Microsoft is also trying to make Copilot’s workbook edits easier to inspect. Users can switch to a planning mode that shows which sheets, cell ranges, formulas, and assumptions Copilot intends to work with before it begins making changes. Once the work is complete, the Show Changes pane can distinguish edits made by Copilot from those made by human collaborators. The update continues Microsoft’s push to turn Excel Copilot from a chatbot into an agent that can carry out longer tasks. The company previously added an Agent Mode capable of planning and completing multi-step Excel work. Microsoft also recently acquired financial AI startup Fintool, another indication that finance is becoming a key target for its Excel AI strategy. Prebuilt skills, personalization, workbook rules, external connectors, planning mode, and Copilot attribution in Show Changes are generally available to Microsoft 365 Copilot customers using Excel on the web, Windows, and macOS. Custom skills are initially available to Microsoft 365 Insiders on Windows and Mac starting today. Microsoft plans to make them generally available across Windows, Mac, and the web over the next month. Partner-built skills are expected during the third quarter of the year. Availability may still differ depending on region and licensing.
    • Exactly. They serve different (although related) purposes.
  • Recent Achievements

    • 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
    • Dedicated
      Scoobystu earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      438
    2. 2
      +Edouard
      169
    3. 3
      PsYcHoKiLLa
      134
    4. 4
      Xenon
      77
    5. 5
      Michael Scrip
      75
  • Tell a friend

    Love Neowin? Tell a friend!