The forum

C&C Generals cannot find DirectX

tried several approaches to install

Author Replies
v010dya Thursday 2 December 2021 at 18:59
v010dyaAnonymous

Here is what i have done so far:

Installed CC Generals via 'Install non-listed program' link.

The installaion completes, but Direct X (version 8.1 or higher) is not found. Despite me:

  1. 1 Installing 8.1 manually (came with CC)
  2. 2 Installing 9c manually (came with CC)
  3. 3 Running POL_Install_dxfullsetup
  4. 4 Running POL_Install_directx9 (This one obviously unsuccessfully, since MS has changed the link)
  5. 5 Manually downloading https://web.archive.org/web/20180619044052if_/http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe and installing it.
  6. 6 Installing directx_feb2010_redist.exe which i had lying around in my archive
  7. 7 Running POL_Install d3dx10
  8. 8 Running POL_Install d3dx11

The funny part is that i remember a long time ago installing everything just fine. But now i am running into a brick wall.

The output of the debug output from the last install and launch attempt (using #3 from above):

25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
[12/02/21 20:51:22] - Running wine- regedit /home/va/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/va/.PlayOnLinux/ressources)
[12/02/21 20:51:22] - Content of /home/va/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*d3dx9_24"="native, builtin"
"*d3dx9_25"="native, builtin"
"*d3dx9_26"="native, builtin"
"*d3dx9_27"="native, builtin"
"*d3dx9_28"="native, builtin"
"*d3dx9_29"="native, builtin"
"*d3dx9_30"="native, builtin"
"*d3dx9_31"="native, builtin"
"*d3dx9_32"="native, builtin"
"*d3dx9_33"="native, builtin"
"*d3dx9_34"="native, builtin"
"*d3dx9_35"="native, builtin"
"*d3dx9_36"="native, builtin"
"*d3dx9_37"="native, builtin"
"*d3dx9_38"="native, builtin"
"*d3dx9_39"="native, builtin"
"*d3dx9_40"="native, builtin"
"*d3dx9_41"="native, builtin"
"*d3dx9_42"="native, builtin"
"*d3dx9_43"="native, builtin"
"*d3dx10_33"="native, builtin"
"*d3dx10_34"="native, builtin"
"*d3dx10_35"="native, builtin"
"*d3dx10_36"="native, builtin"
"*d3dx10_37"="native, builtin"
"*d3dx10_38"="native, builtin"
"*d3dx10_39"="native, builtin"
"*d3dx10_40"="native, builtin"
"*d3dx10_41"="native, builtin"
"*d3dx10_42"="native, builtin"
"*d3dx10_43"="native, builtin"
"*d3dx11_42"="native, builtin"
"*d3dx11_43"="native, builtin"
"*xinput1_1"="native, builtin"
"*xinput1_2"="native, builtin"
"*xinput1_3"="native, builtin"
"*xinput9_1_0"="native, builtin"
"*d3dcompiler_33"="native, builtin"
"*d3dcompiler_34"="native, builtin"
"*d3dcompiler_35"="native, builtin"
"*d3dcompiler_36"="native, builtin"
"*d3dcompiler_37"="native, builtin"
"*d3dcompiler_38"="native, builtin"
"*d3dcompiler_39"="native, builtin"
"*d3dcompiler_40"="native, builtin"
"*d3dcompiler_41"="native, builtin"
"*d3dcompiler_42"="native, builtin"
"*d3dcompiler_43"="native, builtin"
-----------
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.22 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
[12/02/21 20:51:23] - Running wine- regsvr32 xactengine2_0.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_0.dll'
[12/02/21 20:51:24] - Running wine- regsvr32 xactengine2_10.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_10.dll'
[12/02/21 20:51:24] - Running wine- regsvr32 xactengine2_1.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_1.dll'
[12/02/21 20:51:24] - Running wine- regsvr32 xactengine2_2.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_2.dll'
[12/02/21 20:51:24] - Running wine- regsvr32 xactengine2_3.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_3.dll'
[12/02/21 20:51:24] - Running wine- regsvr32 xactengine2_4.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_4.dll'
[12/02/21 20:51:24] - Running wine- regsvr32 xactengine2_5.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_5.dll'
[12/02/21 20:51:25] - Running wine- regsvr32 xactengine2_6.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_6.dll'
[12/02/21 20:51:25] - Running wine- regsvr32 xactengine2_7.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_7.dll'
[12/02/21 20:51:25] - Running wine- regsvr32 xactengine2_8.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_8.dll'
[12/02/21 20:51:25] - Running wine- regsvr32 xactengine2_9.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine2_9.dll'
[12/02/21 20:51:25] - Running wine- regsvr32 xactengine3_0.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_0.dll'
[12/02/21 20:51:26] - Running wine- regsvr32 xactengine3_1.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_1.dll'
[12/02/21 20:51:26] - Running wine- regsvr32 xactengine3_2.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_2.dll'
[12/02/21 20:51:26] - Running wine- regsvr32 xactengine3_3.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_3.dll'
[12/02/21 20:51:26] - Running wine- regsvr32 xactengine3_4.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_4.dll'
[12/02/21 20:51:26] - Running wine- regsvr32 xactengine3_5.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_5.dll'
[12/02/21 20:51:27] - Running wine- regsvr32 xactengine3_6.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_6.dll'
[12/02/21 20:51:27] - Running wine- regsvr32 xactengine3_7.dll (Working directory : /home/va/.PlayOnLinux/ressources)
regsvr32: Successfully registered DLL 'xactengine3_7.dll'
[12/02/21 20:51:27] - ----- Ending function POL_Install_dxfullsetup -----
[12/02/21 20:51:49] - Running wine- /mnt/setup.exe (Working directory : /)
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.22 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
00bc:fixme:imm:ImeSetActiveContext (0x6caa00, 0): stub
00bc:fixme:imm:ImmReleaseContext (00010020, 006CAA00): stub
0104:fixme:imm:ImeSetActiveContext (0x5db5c8, 1): stub
0104:fixme:imm:ImmReleaseContext (0001008E, 005DB5C8): stub
0104:fixme:sfc:SfcIsFileProtected (00000000, L"C:\\users\\va\\Documents\\Command and Conquer Zero Hour Data\\options.ini") stub
013c:fixme:imm:ImeSetActiveContext (0x5e4678, 1): stub
013c:fixme:imm:ImmReleaseContext (00010154, 005E4678): stub
[12/02/21 20:54:07] - Running wine- winepath -u C:\\users\\va\\Desktop (Working directory : /home/va/.PlayOnLinux/wineprefix/Generals/drive_c)
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.22 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
/home/va/.PlayOnLinux//wineprefix/Generals/dosdevices/c:/users/va/Desktop
[12/02/21 20:56:02] - Running wine- generals.exe (Working directory : /home/va/.PlayOnLinux/wineprefix/Generals/drive_c/Program Files/CnC Generals/Generals)
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
wine: Read access denied for device L"\\??\\f:\\", FS volume label and serial are not available.

Edited by v010dya

v010dya Thursday 2 December 2021 at 19:10
v010dyaAnonymous

$ uname --all
Linux xxx 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
$ playonlinux --version
PlayOnLinux 4.3.4

$ wine --version
wine-6.22 (Staging)

 

i7z DEBUG: Found Intel Processor
i7z DEBUG:    Stepping 9
i7z DEBUG:    Model a
i7z DEBUG:    Family 6
i7z DEBUG:    Processor Type 0
i7z DEBUG:    Extended Model 3
i7z DEBUG: msr = Model Specific Register
i7z DEBUG: Detected an i7 - 22nm (ivy bridge)

$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7,6Gi       2,6Gi       238Mi       330Mi       4,8Gi       4,4Gi
Swap:           18Gi       1,2Gi        17Gi

 

I am using XCFE... and i think that is all the information that was asked. I hope something here actually helps anybody to help me out.

Thanks in advance

v010dya Saturday 14 January 2023 at 14:56
v010dyaAnonymous

Ok, the major problem was the two files in the game directory, both are named 'dbghelp.dll', find and delete them, the game will work ok after you setup with the installation of dx9.

The problem remains that the game messes up the resolution of the screen (not restoring it back), however, i can deal with this.

v010dya Monday 16 January 2023 at 15:01
v010dyaAnonymous

And now, let me explain to you how i've fixed the game messing up my resolution issue. I've loaded the ARandR and have selected to save the script of my current screen configuration. I have then saved the shortcut of the game start on the desktop to see the command to start it. I have finally combined two things. In my case the script looks like:

#!/bin/sh
/usr/share/playonlinux/playonlinux --run "Generals" %F
xrandr --output LVDS-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA-1 --off

It's that simple. You can then start the game even from your normal game menu. In order to do that, you take the .desktop from ~/Desktop and place it in ~/.local/share/applications, edit it to change the start up from the regular playonlinux command to the script file (whereever you have it. And make sure to put Category=Game; in there so that it is categorised accordingly.

In my case the resulting file looks like:

[Desktop Entry]
Encoding=UTF-8
Name=Generals
Comment=PlayOnLinux
Type=Application
Exec=/home/va/bin/Generals.sh
Icon=/home/va/.PlayOnLinux//icones/full_size/Generals
Name[fr_FR]=Generals
StartupWMClass=generals.exe
Categories=Game;

Enjoy detecting nuclear launches!

IceNick Friday 7 April 2023 at 20:19
IceNick

It works for me, it's weird.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com