smx-smx / open-sauce

Automatically exported from code.google.com/p/open-sauce
5 stars 4 forks source link

Halo Fatal Error: We are sorry, but you need to install DirectX 9.0b to run this program. Please run Halo PC setup again to install DirectX" #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: PROVIDE AS MANY DETAILS AS HUMANLY POSSIBLE. We can't read your mind
or your computer's.

What did the Exception Report say (if this was on Windows)? Include Fault
Executable Name and Offset.

There is none.

What steps will reproduce the problem? If this happened in a command line
program, GIVE US THE COMMAND LINE ARGUMENTS YOU USED!
1. Install Open Sauce 3.0.3
2. Open Halo Custom Edition (Both with either "-console -windowed" or no 
command arguments)

What is the expected output? What do you see instead?

I expected to see the Halo UI to appear and show me the main menu. Instead I 
got a Halo Fatal Error message saying: "We are sorry, but you need to install 
DirectX 9.0b to run this program. Please run Halo PC setup again to install 
DirectX".

What version of the product are you using? On what operating system?

Halo Custom Edition: v1.0.9
OpenSauce: v3.0.3
DirectX: v11
Operating System: Windows 7 Ultimate

Please provide any additional information below. E.g. PC specs

Reinstalling Halo Custom Edition , OpenSauce 3.0.3 from here and Visual Studio 
C++ 2008 Redistributable does not fix this issue. Nor does trying to install 
the DirectX Redistributable or DirectX 9.0b (Both will tell me that I have a 
more up to date version of DirectX, and will cancel the installation.)

Removing the d3d9.dll from the Halo Custom Edition directory will allow it to 
load properly. If the DLL is in the folder, the error "We are sorry, but you 
need to have DirectX 9.0b installed to run this program. Please run Halo PC 
setup again to install DirectX." appears and the game will not let you start it.

There is no crash or debug file left behind (at least to my knowledge) when 
this error appears. I am at a loss as to what I am supposed to do.

I will also say that Halo PC (Halo Combat Evolved) works as well, but that's to 
be expected, the DLL doesn't work with it (that and the DLL in question isn't 
even in the folder to begin with)

CPU: Intel i5 2500k Sandy Bridge
GPU: ATI Radeon 5850 HD

If that is not enough information, please tell me and I will be glad to add 
more to help you/help me with this issue.

Original issue reported on code.google.com by codebr...@codebrainshideout.net on 24 Jun 2012 at 1:39

GoogleCodeExporter commented 9 years ago
On second thought I think I know what the issue might be, but I don't think it 
is a major factor.

Maybe around 3 or 5 weeks ago I was playing a different game through Steam(Halo 
was not installed at this time). I alt-tabbed when I had died and was going to 
unpause a Youtube video (which I was watching before the game actually 
started). Two seconds after doing so Windows BSOD'd. When logging back into 
Windows, every game on my Steam list that I had installed would crash on load 
or display weird effects. Source engine based games in particular would crash 
on load saying "Invalid Access to memory location" (involving DEP if I remember 
correctly) An example of a game displaying weird effects would be Sonic 
Generations. While the game worked fine, there was no UI, I couldn't see it at 
all.

Sometimes these games were fixable by validating steam cache, but there were 
some cases where validating cache, deleting the gcf file associated with the 
game, and reinstalling steam did not fix it. It was basically a random chance 
of being fixed or not. Some crashes of hl2.exe reported the fault module of 
"StackHash_db93" but this seems to change every other time a crash happens.

What I am thinking could possibly be the problem is that because of the BSOD, 
certain pieces of my DirectX install/Windows/RAM could have gotten corrupt, but 
one thing that has me think otherwise is that the games, when actually fixed, 
work as intended with no crashes to speak of. No glitches of any kind. And as I 
said before, Halo PC and Halo Custom Edition work just fine without the DLL in 
it. Perhaps the d3d9.dll (which if I remember what you said Kornman a long ass 
time ago) the DLL is basically a fake that Halo loads thinking it's DirectX but 
instead is OpenSauce) uses something from DirectX/Windows that is corrupt, and 
is not letting it run because of that.

Original comment by codebr...@codebrainshideout.net on 24 Jun 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Going to assume this is fixed by revision 830474666259 as we don't use d3d9.dll 
anymore. Let us know if this still happens after the next official release.

Original comment by TheFieryScythe@gmail.com on 5 Oct 2012 at 11:45