Call of Duty 1 - OpenGL Fails to Load

  • tfpancakes
  • Topic Author
More
5 years 3 months ago #1 by tfpancakes Call of Duty 1 - OpenGL Fails to Load was created by tfpancakes
When attempting to use ReShade 4.0.2.489 for opengl with CoD 1 on Windows 10 it fails to launch. Any current workarounds?

Seems to have something to do with GLW_ChoosePFD

CoD log:
COD 1.3 build win-x86 Mar  2 2004
----- FS_Startup -----
Current language: english
Current search path:
D:\Steam Library\steamapps\common\Call of Duty\main\pakb.pk3 (60 files)
D:\Steam Library\steamapps\common\Call of Duty\main\paka.pk3 (41 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak9.pk3 (149 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak8.pk3 (235 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak6.pk3 (3 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak5.pk3 (4858 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak4.pk3 (1668 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak3.pk3 (1992 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak2.pk3 (694 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak1.pk3 (2642 files)
D:\Steam Library\steamapps\common\Call of Duty\main\pak0.pk3 (12816 files)
D:\Steam Library\steamapps\common\Call of Duty/main
D:\Steam Library\steamapps\common\Call of Duty\main\localized_english_pak5.pk3 (46 files)
    localized assets pak file for english
D:\Steam Library\steamapps\common\Call of Duty\main\localized_english_pak3.pk3 (7 files)
    localized assets pak file for english
D:\Steam Library\steamapps\common\Call of Duty\main\localized_english_pak2.pk3 (9 files)
    localized assets pak file for english
D:\Steam Library\steamapps\common\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
    localized assets pak file for english
D:\Steam Library\steamapps\common\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
    localized assets pak file for english

File Handles:
----------------------
30160 files in pk3 files
execing default.cfg
couldn't exec language.cfg
execing config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found Intel Pentium III
Measured CPU speed is 3.40 GHz
System memory is 1024 MB (capped at 1 GB)
Video card memory is 4096 MB
Streaming SIMD Extensions (SSE) supported

----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
Initializing OpenGL subsystem
...initializing QGL
...calling LoadLibrary( 'C:\WINDOWS\system32\opengl32.dll' ): succeeded
...setting mode -1: 2560 1080 FS
...using colorbits of 32
...calling CDS: ok
...registered window class
...created window@0,0 (2560x1080)
Initializing OpenGL driver
...getting DC: succeeded
...GLW_ChoosePFD( 32, 24, 8 )
...-2147467264 PFDs found
...GLW_ChoosePFD failed
...GLW_ChoosePFD( 32, 24, 0 )
...-2147467264 PFDs found
...GLW_ChoosePFD failed
...failed to find an appropriate PIXELFORMAT
...restoring display settings
...WARNING: could not set the given mode (-1)
...shutting down QGL
...unloading OpenGL DLL
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Hunk_Clear: reset the hunk ok
Could not load OpenGL.  Make sure that you have the latest drivers for your video card from the manufacturer's web site.

opengl32.log:
16:41:12:134 [10476] | INFO  | Initializing crosire's ReShade version '4.0.2.489' (32-bit) built on '2018-11-21 23:57:49' loaded from "D:\\Steam Library\\steamapps\\common\\Call of Duty\\opengl32.DLL" to "D:\\Steam Library\\steamapps\\common\\Call of Duty\\CoDSP.exe" ...
16:41:12:259 [10476] | INFO  | Registering hooks for "user32.dll" ...
16:41:12:259 [10476] | INFO  | > Libraries loaded.
16:41:12:259 [10476] | INFO  | > Found 13 match(es). Installing ...
16:41:12:291 [10476] | INFO  | Registering hooks for "ws2_32.dll" ...
16:41:12:291 [10476] | INFO  | > Libraries loaded.
16:41:12:291 [10476] | INFO  | > Found 8 match(es). Installing ...
16:41:12:321 [10476] | INFO  | Registering hooks for "C:\\WINDOWS\\system32\\d3d9.dll" ...
16:41:12:321 [10476] | INFO  | > Delayed.
16:41:12:321 [10476] | INFO  | Registering hooks for "C:\\WINDOWS\\system32\\d3d10.dll" ...
16:41:12:322 [10476] | INFO  | > Delayed.
16:41:12:322 [10476] | INFO  | Registering hooks for "C:\\WINDOWS\\system32\\d3d10_1.dll" ...
16:41:12:322 [10476] | INFO  | > Delayed.
16:41:12:322 [10476] | INFO  | Registering hooks for "C:\\WINDOWS\\system32\\d3d11.dll" ...
16:41:12:322 [10476] | INFO  | > Delayed.
16:41:12:322 [10476] | INFO  | Registering hooks for "C:\\WINDOWS\\system32\\dxgi.dll" ...
16:41:12:322 [10476] | INFO  | > Libraries loaded.
16:41:12:322 [10476] | INFO  | > Found 7 match(es). Installing ...
16:41:12:353 [10476] | INFO  | Registering hooks for "C:\\WINDOWS\\system32\\opengl32.dll" ...
16:41:12:353 [10476] | INFO  | > Delayed until first call to an exported function.
16:41:12:353 [10476] | INFO  | Initialized.
16:41:12:360 [10476] | INFO  | Redirecting 'RegisterClassA(0206F308)' ...
16:41:12:360 [10476] | INFO  | > Adding 'CS_OWNDC' window class style flag to 'Call of Duty'.
16:41:12:395 [10476] | INFO  | Exiting ...
16:41:12:395 [10476] | INFO  | Uninstalling 32 hook(s) ...
16:41:12:426 [10476] | INFO  | Exited.

Please Log in or Create an account to join the conversation.

  • tfpancakes
  • Topic Author
More
5 years 2 months ago #2 by tfpancakes Replied by tfpancakes on topic Call of Duty 1 - OpenGL Fails to Load
Update: As posted in another thread - it seems to be a windows 10 issue.

Partial workaround is to install as dx10+ or rename opengl32.dll to dxgi.dll

Unfortunately it is causing artifacting where certain geometry does not get drawn and deformed geometry.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.