Installing Directx 9c on ReactOS 0.4.5

Ask your support questions in here

Moderator: Moderator Team

Post Reply
Zombiedeth
Posts: 119
Joined: Fri Jun 27, 2014 9:01 am

Installing Directx 9c on ReactOS 0.4.5

Post by Zombiedeth »

As of ReactOS 0.4.5 Directx 9c install can complete. ReactOS is still missing user.exe though and without it the install will not start. The installer only seems to need the user.exe to check it's version number so i wonder if a stub.exe could be added because many games will try to install this version of Directx and will fail if the file is not there. Unfortunately ReactOS hangs on boot after install i've checked the log and there are a few errors.

DirectX.log
https://pastebin.com/HUXwWmpF

chkdsk doesn't show any filesystem errors. and i'm unable to get a debug log on screen just a black screen and the OS hangs.
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Installing Directx 9c on ReactOS 0.4.5

Post by EmuandCo »

user.exe is a legacy 16 bit application and is only used for 16 bit applications. Strange that it wants to check this one.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Installing Directx 9c on ReactOS 0.4.5

Post by EmuandCo »

ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Installing Directx 9c on ReactOS 0.4.5

Post by hbelusca »

With r75126 I've added to compilation a stub user.exe that should be present in %SystemRoot%\system32, to mitigate the DirectX 9.0 installation check that always want user.exe to be present. As it can be seen from the commit log, this problem is indeed not a ReactOS problem, but is also known by some Windows users.

(Thanks EmuandCo for the GIT link btw ;) )
Zombiedeth
Posts: 119
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Post by Zombiedeth »

I tried installing Directx with the stub exe it still fails seems it's looking for something specific in the file.

Code: Select all

06/19/17 17:07:07: DXSetup: No command line switch
06/19/17 17:07:07: DXSetup: StartWizard()
06/19/17 17:07:16: DXSetup: CDXWSetup()
06/19/17 17:07:18: DXSetup: start installation
06/19/17 17:07:18: DSETUP: DirectXSetupA(): hWnd: 000A0126 dwFlags: 02010098



06/19/17 17:07:18: dsetup32: === SetupForDirectX() start ===
06/19/17 17:07:18: dsetup32: DXSetupCommand = 0.
06/19/17 17:07:18: DXSetup: DSetupCallback(): Phase = 0, Steps = 0
06/19/17 17:07:18: dsetup32: DirectXSetupIsJapanese == 0
06/19/17 17:07:18: dsetup32: DirectXSetupIsJapanNec == 0
06/19/17 17:07:18: dsetup32: Installing on Windows Server 2003
06/19/17 17:07:18: dsetup32: GetFileVersionInfoBlock(): Unable to get FileVersionInfoSize, file: C:\ReactOS\System32\user.exe, reason: 1812.
06/19/17 17:07:18: dsetup32: Installation ended with value -9 = Internal or unsupported error
06/19/17 17:07:24: DXSetup: WM_APP_ENDINSTALL
06/19/17 17:07:24: DXSetup: ~CDXWSetup()
I notice the error code is different
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."
User avatar
binarymaster
Posts: 481
Joined: Sun Nov 16, 2014 7:05 pm
Location: Russia, Moscow
Contact:

Re: Installing Directx 9c on ReactOS 0.4.5

Post by binarymaster »

Zombiedeth wrote:I notice the error code is different
when the file is missing "reason: 2."
with the stubbed exe "reason: 1812."
Try patch from CORE-13462.
Zombiedeth
Posts: 119
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Post by Zombiedeth »

I don't have a build environment setup
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Installing Directx 9c on ReactOS 0.4.5

Post by hbelusca »

Zombiedeth wrote:I don't have a build environment setup
Please retest with r75151+.
Zombiedeth
Posts: 119
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Post by Zombiedeth »

that resolved it :D
Zombiedeth
Posts: 119
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Post by Zombiedeth »

I also tracked down why ReactOS is hanging on boot after installing directx9 it replaces swenum.sys. If i copy back the ReactOS version booting to desktop succeeds
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Installing Directx 9c on ReactOS 0.4.5

Post by hbelusca »

Zombiedeth wrote:that resolved it :D
Perfect!

And yeah it appears DirectX modifies quite a lot of core multimedia files (it's not a problem for Microsoft since, as always, their products can be tightly integrated with the OS, but it can be a problem for us).
Zombiedeth
Posts: 119
Joined: Fri Jun 27, 2014 9:01 am

Re: Installing Directx 9c on ReactOS 0.4.5

Post by Zombiedeth »

I continue to be impressed with ReactOS and i'm sure it will overcome the hurdles to becoming a widely used windows compatible OS.

Back to testing i get the following error on boot

[ external image ]

and i get the following when running dxdiag
[ external image ]

[ external image ]
User avatar
Konata
Posts: 391
Joined: Sun Apr 20, 2014 8:54 pm

Re: Installing Directx 9c on ReactOS 0.4.5

Post by Konata »

hbelusca wrote:
Zombiedeth wrote:that resolved it :D
Perfect!

And yeah it appears DirectX modifies quite a lot of core multimedia files (it's not a problem for Microsoft since, as always, their products can be tightly integrated with the OS, but it can be a problem for us).
This makes me think ReactOS should detect installer/setup executables and have options/controls before running them that allow users to deny the executable write permissions to the files it attempts to write to. A tiny bit of a hack, but it could be useful, and it doesn't involve hardcoding anything aside from the common installer types.
Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests