Installing DirectX...

Permabanned
Joined
3 Oct 2009
Posts
14,033
Location
North Wales
"Peforming first time setup...installing directx"

Does anyone else feel the sheer banality of this message. Yes I'm installing a steam game I also had to install visual c++ which I'm sure is also already on my pc since I have many many games installed.

Its not just steam regular installers do it too. Why cant they detect if directx is on your pc and not reinstall? Pretty shocking in this day and age.

/Rant.
 
I know the feeling..

I have over 200 games on steam and every time i format i got reinstall directx and visual c++ again with almost every steam game i reinstall :mad: :mad: :mad:
 
Because bits are updated every couple months, games generally these days can't work without it and new pc's or reinstalling windows will leave you with the wrong version, or simply having not installed a game in a while and not having updated direct x yourself could leave you with an old version.

THe installer is what checks the direct x files, it compares version to whats in the installer, or whats available from microsoft and updates whatever it needs to.
 
Ok I thought since Im running XP and DX9 that I could play any game thats dx9 without updating anything.

It doesnt take 20 seconds for me, it can go on for a lot longer perhaps 2 or 3 minutes.
 
Ok I thought since Im running XP and DX9 that I could play any game thats dx9 without updating anything.

It doesnt take 20 seconds for me, it can go on for a lot longer perhaps 2 or 3 minutes.

Ahh, but there hasn't just been one version of DX9, it is (or was) constantly being tweaked and updated, sometimes every month.
 
once a steam game downloads, it takes a maximum of 2 minutes to install.
i cant say its something that has ever angered me
i have more important things to worry about...
 
The only games i had trouble with was metro2033 and dirt 3. I sat there for around 20-30 minutes installing direct x.....
 
I was bored last week and reinstalled Doom3, that gave popped up with the DX install as well. :D

I guess it makes sure you have it on your system, as that game you just installed doesn't know if that is the only game you have. ;)
 
2 Minutes? The DirectX bit takes forever for me. I was under the impression that it's simply a dx check as every new version includes all the files for the older versions... But yeah, it's stupid and annoying :D

Another thing I hate about steam is not having the option to install games where you want them. The process of moving the whole thing over to a new drive is driving me insane
 
This.

But I am curious as to why it needs to install every time?:o

Disclaimer: I sure there is a valid reason why.

Because steam itself doesn't check to see if they are installed, its game dependant. To copy and paste from a previous post of mine:



Basically, the game will go through the 'first time install' procedure, installing VCredists and DirectX numerious times. Its possible to avoid these with some simple regediting:

If you go into the steam folder for the game, there will be a file in there, either installscript.vdf or <numbers>install.vdf where the numbers are the game's steam app number. Opening these files in notepad show that when you run the game, for example here's Dogfighters file:

Code:
"InstallScript"
{
    "Registry"
    {
        "HKEY_CURRENT_USER\\Software\\DarkWaterStudios\\DogFighter"
        {
            "string"
            {
                "Install_Path"      "%INSTALLDIR%"
                "Exe_Path"          "%INSTALLDIR%\\dogfightersteam.exe"
            }
                      	          	
            "dword"
            {
                "PatchVersion"      "3"
            }
        }
    }
      	
    "Run Process"
    {
        "VCRedist"
        {
            "HasRunKey"     "HKEY_CURRENT_USER\\Software\\DarkWaterStudios\\DogFighter\\Installed\\VCRedist"
            "process 1"     "%INSTALLDIR%\\redist\\vcredist_x86.exe"
            "command 1"     "/Q"
            "NoCleanUp"     "1"
        }
        "DirectX"
        {
            "HasRunKey"     "HKEY_CURRENT_USER\\Software\\DarkWaterStudios\\DogFighter\\Installed\\DX"
            "process 1"     "%INSTALLDIR%\\redist\\DirectX\\DXSETUP.exe"
            "command 1"     "/silent"
            "NoCleanUp"     "1"
        }
    }
}

Essentually it will install the VCredist, and then create a registry key to say that its done this, and then installs DirectX and creates another reg key. Then whenever you start the game in the future, it sees the registry keys already exist so doesn't install them in the future. Obviously when you copy over these keys don't exist, so it goes through the whole process again. Its possible, but time consuming, to manually edit all these into the registry, but then its faster to simply run them all.

However, if you format fairly regularly, you could spend the time going through each game, getting the reg keys and compiling them into one large .reg file to run after the OS install, so steam won't check for any of these at all.
 
The biggest issue is each game having its own copy of DirectX and the Visual C++ redists in their own folders. It all adds up to a lot of disc space. It'd be better if Steam held a local cache of the latest DirectX, etc. and games used those instead.
 
Back
Top Bottom