PDA

View Full Version : [RESOLVED] Game won't launch after Windows reinstall



Piercarlo
04-12-2017, 13:54
Hello,

I was forced to make a clean install of Windows 10. I re-installed Steam and of course PCars. When I hit the start button, the "Preparing for first start" (or something similar) appears, then disappers and the game won't start. It looks as though the game wants to install directX, but it fails. I turned off firewall, virus protection (even uninstalled it), but to no avail. I installed the latest video card drivers, updated Windows 10, etc. Searched on Google and Youtube for hours and hours but no solution was found. Is there a way to work around this problem? Any help would be appreciated.

Mad Al
04-12-2017, 14:45
There are a couple of folders where the installers for anything needed by Project CARS that you can run yourself

Steam\SteamApps\common\pCARS\_CommonRedist
That has the DirectX and vcredistributables folders.
Run DXsetup from the DirectX\jun2010 folder and the 4 vc_redist files (two each for the 32 and 64 bit version of both VC 2010 and 2012)

If that lot all install OK, that should be everything needed to get the game running

Piercarlo
04-12-2017, 15:34
There are a couple of folders where the installers for anything needed by Project CARS that you can run yourself

Steam\SteamApps\common\pCARS\_CommonRedist
That has the DirectX and vcredistributables folders.
Run DXsetup from the DirectX\jun2010 folder and the 4 vc_redist files (two each for the 32 and 64 bit version of both VC 2010 and 2012)

If that lot all install OK, that should be everything needed to get the game running
Thanks for your reply.

I forgot to mention that I have tried installing Directx 9 as you suggested, but the result is always the same: "An internal system error occured. Please refer to DXError.log and DirectX.log in you Windows folder to determine the problem"

My DirectX.log looks like this:

12/04/17 17:32:56: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_24_x64.inf [DefaultInstall]
12/04/17 17:32:56: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_24.dll'
Target file is Version 9.5.132.0
Source file is Version 9.5.132.0
12/04/17 17:32:56: infinst: C:\WINDOWS\system32\d3dx9_24.dll have been installed already.
12/04/17 17:32:56: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_25_x64.inf [DefaultInstall]
12/04/17 17:32:56: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_25.dll'
Target file is Version 9.6.168.0
Source file is Version 9.6.168.0
12/04/17 17:32:56: infinst: C:\WINDOWS\system32\d3dx9_25.dll have been installed already.
12/04/17 17:32:56: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_26_x64.inf [DefaultInstall]
12/04/17 17:32:56: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_26.dll'
Target file is Version 9.7.239.0
Source file is Version 9.7.239.0
12/04/17 17:32:56: infinst: C:\WINDOWS\system32\d3dx9_26.dll have been installed already.
12/04/17 17:32:56: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_27_x64.inf [DefaultInstall]
12/04/17 17:32:56: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_27.dll'
Target file is Version 9.8.299.0
Source file is Version 9.8.299.0
12/04/17 17:32:56: infinst: C:\WINDOWS\system32\d3dx9_27.dll have been installed already.
12/04/17 17:32:56: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_28_x64.inf [DefaultInstall]
12/04/17 17:32:56: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_28.dll'
Target file is Version 9.10.455.0
Source file is Version 9.10.455.0
12/04/17 17:32:56: infinst: C:\WINDOWS\system32\d3dx9_28.dll have been installed already.
12/04/17 17:32:57: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_29_x64.inf [DefaultInstall]
12/04/17 17:32:57: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_29.dll'
Target file is Version 9.11.519.0
Source file is Version 9.11.519.0
12/04/17 17:32:57: infinst: C:\WINDOWS\system32\d3dx9_29.dll have been installed already.
12/04/17 17:32:57: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\XACT_x64.inf [DefaultInstall]
12/04/17 17:32:57: infinst: Target file: 'C:\WINDOWS\system32\xactengine2_0.dll'
Target file is Version 9.11.519.0
Source file is Version 9.11.519.0
12/04/17 17:32:57: infinst: C:\WINDOWS\system32\xactengine2_0.dll have been installed already.
12/04/17 17:32:57: infinst: Target file: 'C:\WINDOWS\system32\x3daudio1_0.dll'
Target file is Version 9.11.519.0
Source file is Version 9.11.519.0
12/04/17 17:32:57: infinst: C:\WINDOWS\system32\x3daudio1_0.dll have been installed already.
12/04/17 17:32:57: infinst: Installing C:\Users\GZA~1\AppData\Local\Temp\DX5AB2.tmp\d3dx9_30_x64.inf [DefaultInstall]
12/04/17 17:32:57: infinst: Target file: 'C:\WINDOWS\system32\d3dx9_30.dll'
Target file is Version 9.12.589.0
Source file is Version 9.12.589.0
12/04/17 17:32:57: infinst: C:\WINDOWS\system32\d3dx9_30.dll have been installed already.

Mad Al
04-12-2017, 16:33
That looks normal.. you can run the DX installer as many times as you like, it will only update files that are either missing or older.
Only oddity is that it stopped at d3dx9_30 - or was there more after that?

If you try and run Project CARS directly, does it do anything

Steam\SteamApps\common\pCARS\pCARS.exe
or
Steam\SteamApps\common\pCARS\pCARS64.exe

and has it produced any folders in the Documents\Project CARS folder and in Steam\userdata\<Your Steam ID>\234630

Mahjik
04-12-2017, 17:23
With your new install, make sure your account is an Administrator account.

Piercarlo
04-12-2017, 18:14
The d3dx9 files do stop after d3dx9_30, there's only one more which is No. 41. Do I need 31 to 40 and perhaps 42 and 43 as well?

I tried to run both exe files as an administrator directly, but the result was the same.

No, there are no folders in the locations you have mentioned.

Any yes, my account is Administrator.

Sampo
04-12-2017, 18:18
Was there a DXError.log?

Install the vc_redist files first.

Piercarlo
04-12-2017, 18:30
Strange, but there's no DXError.log in the Windows folder.

I did install the vc_redist files (both the x64 and x86 version) and everything went fine. But the DirectX problem still persist and the game won't run.

Sampo
04-12-2017, 20:56
Did you save your Documents directory from the old Windows installation? If you did, delete the C:\Users\[you]\Documents\Project CARS 2\graphicsconfigdx11.xml file.

Also, where do you have the game installed? If it's under C:\Program Files (x86), uninstall it and Steam from there and reinstall them to somewhere else (C:\Steam for example).

Edit: read this thread also: http://forum.projectcarsgame.com/showthread.php?58291-Windows-10-Update-Problems

Piercarlo
05-12-2017, 05:49
Did you save your Documents directory from the old Windows installation? If you did, delete the C:\Users\[you]\Documents\Project CARS 2\graphicsconfigdx11.xml file.

Also, where do you have the game installed? If it's under C:\Program Files (x86), uninstall it and Steam from there and reinstall them to somewhere else (C:\Steam for example).

I did not save my previous installation, so I have no folder C:\Users\[me]\Documents\Project CARS. I even tried creat a new user (administrator) to run the game, but without success.

The Steam is indeed installed in C:\Steam as it was before the Windows 10 reinstall, and at that time, the game worked fine.

Mad Al
05-12-2017, 13:05
The d3dx9 files do stop after d3dx9_30, there's only one more which is No. 41. Do I need 31 to 40 and perhaps 42 and 43 as well?

I tried to run both exe files as an administrator directly, but the result was the same.

No, there are no folders in the locations you have mentioned.

Any yes, my account is Administrator.
Actually there should be some 38 files it's looking at, so after 30 should be plenty more.. for audio, input, D3D, etc.

OK, just a thought, delete the DirectX folder in the _CommonRedist folder and then do a file integrity check for Project CARS in Steam.. just wondering if there is actually an issue with the DX Installer possibly having a corrupt file in it.

Piercarlo
05-12-2017, 18:44
Actually there should be some 38 files it's looking at, so after 30 should be plenty more.. for audio, input, D3D, etc.

OK, just a thought, delete the DirectX folder in the _CommonRedist folder and then do a file integrity check for Project CARS in Steam.. just wondering if there is actually an issue with the DX Installer possibly having a corrupt file in it.
Actually I made a clean installation of Project Cars, but that didn't help either.

Mad Al
05-12-2017, 19:35
OK.. in the CommonRedist\DirectX\Jun2010 folder, create a new folder and copy everything into it, except
DSETUP.dll dsetup32.dll and DXSETUP.exe into it

so you have

246917

dxsetup should now work (it will do sod all.. but should at least say it's installed)

Now try starting Project CARS

Piercarlo
05-12-2017, 20:02
First of all thank you for your continous efforts to help me.

I tried what you have suggested and moved the files but the game still won't start. Steam says "running" for two seconds, but then nothing happens.

Strange, because Assetto Corsa does the same (even without moving the files from the CommonRedist\DirectX\Jun2010 folder), but eventually it starts.
RFactor2 runs flawlessly. RaceRoom and Automobilista won't start either. I'm confused!

Mad Al
05-12-2017, 21:53
Well if I think if anything else.. I'll let you know!

Piercarlo
06-12-2017, 05:42
I've just checked the compressed files of the DirectX installer. There are a lot more d3dx9_* files in them than in my Windows/System32 folder. Should all d3dx9_* files be present there from 24 to 43?

Mad Al
06-12-2017, 09:32
This is what got checked when I ran the installer
d3dx9_24.dll
d3dx9_25.dll
d3dx9_26.dll
d3dx9_27.dll
d3dx9_28.dll
d3dx9_29.dll
d3dx9_30.dll
d3dx9_31.dll
d3dx9_32.dll
d3dx9_33.dll
d3dx9_34.dll
d3dx9_35.dll
d3dx9_36.dll
D3DX9_37.dll
d3dx10.dll
d3dx10_33.dll
d3dx10_34.dll
d3dx10_35.dll
d3dx10_36.dll
d3dx10_37.dll
D3DCompiler_33.dll
D3DCompiler_34.dll
D3DCompiler_35.dll
D3DCompiler_36.dll
D3DCompiler_37.dll
xactengine2_0.dll
xactengine2_1.dll
xactengine2_2.dll
xactengine2_3.dll
xactengine2_4.dll
xactengine2_5.dll
xactengine2_6.dll
xactengine2_7.dll
xactengine2_8.dll
xactengine2_9.dll
xactengine2_10.dll
xactengine3_0.dll
x3daudio1_0.dll
x3daudio1_1.dll
X3DAudio1_2.dll
X3DAudio1_3.dll
xinput1_1.dll
xinput1_2.dll
xinput1_3.dll
XAudio2_0.dll


But you should probably have a lot more than that (d3dx9_24 through 43, d3dx10_33 through 43, d3dcompiler_33 through 47... all the Xinput and audio stuff as well, plus a load more misc stuff)

Piercarlo
06-12-2017, 15:04
Wow! There seems to be a problem here. Quite a good number of files are missing from my Windows/System32 folder. I don't have:

d3dx9_31.dll
d3dx9_32.dll
d3dx9_33.dll
d3dx9_34.dll
d3dx9_35.dll
d3dx9_36.dll
D3DX9_37.dll

d3dx10_33.dll
d3dx10_34.dll
d3dx10_35.dll
d3dx10_36.dll
d3dx10_37.dll
D3DCompiler_33.dll
D3DCompiler_34.dll
D3DCompiler_35.dll
D3DCompiler_36.dll
D3DCompiler_37.dll

xactengine2_1.dll
xactengine2_2.dll
xactengine2_3.dll
xactengine2_4.dll
xactengine2_5.dll
xactengine2_6.dll
xactengine2_7.dll
xactengine2_8.dll
xactengine2_9.dll
xactengine2_10.dll
xactengine3_0.dll

x3daudio1_0.dll
x3daudio1_1.dll
X3DAudio1_2.dll
X3DAudio1_3.dll
xinput1_1.dll
xinput1_2.dll

XAudio2_0.dll

So I guess that's why the game wants to reinstall DirectX again and again. But for one reason or another it fails to do so and without these files, it loooks as though it's not possible to launch the game. Permission problems perhaps? But I do have administrator rights and always try to install DirectX in administrator mode.

Is it possible to install these files manually? Or is it actually a good idea to install dll files manually?

Mad Al
06-12-2017, 15:52
Yes it does sound like a permissions problem.. the first file that it would try to install after skipping d3d9x_30, as its already installed, would be xactengine2_1


You could try adding them manually.. worst case is another clean install of windows.. and if it is permissions, who knows what else would have a problem down the road..

Piercarlo
06-12-2017, 16:27
I extracted the contents of all the compressed files which were located in the _CommonRedist directory and copied all the files into Windows/System32 folder. It didn't change anything, the game still won't run.

Sampo
06-12-2017, 17:20
Is your RFactor2 the steam version?

Maybe it's something to do with steam.

What happens if you delete everything in the C:\Steam directory except steam.exe, the steamapps directory and the userdata directory? Starting Steam.exe should reinstall it then. I know this is far fetched.

Piercarlo
07-12-2017, 18:17
Yes, my rFactor2 is a Steam installation.

I have tried deleting all those files from the Steam folder but that didn't make any difference. I'm still unable to lauch the game.

Sampo
08-12-2017, 12:18
Have you tried with controllers and wheel unplugged?

Piercarlo
08-12-2017, 16:53
Finally I managed to sort out the problem. It looks as thought that during the Winows reinstall, permisson settings got mixed up and that's why it wasn't possible to install DirectX. I downloaded Windows Repair Tool and reset all the permission settings back to factory presets. I started PCars again and - hey presto - the long awaited intro appeared on the screen. I couldn't be happier now!

Thanks a lot for providing me help throughout the week - your efforts are very much appreciated.