Skip to content

[1.4.0] Launching with +set fs_basepath parameter results in GLSL error #229

@BugFixesAndPerformanceImprovements

Description

Describe the bug
When setting the basedir to where Doom 3 BFG Edition is installed (ie. through Steam) with +set fs_basepath it results in the following error: ERROR: While linking GLSL program 0 with vertexShader gui and fragmentShader gui

Looking at the log file it seems DOOM BFA is not looking within its own base install/extracted path and only at the Save Game user folder for all the required files and the path provided by +set fs_basepath as evident by this section from the log:

Current search path:
C:\Users\<username>\Saved Games\id Software\DOOM BFA/base_BFG
C:\Games\Steam\steamapps\common\DOOM 3 BFG Edition/base_BFG
C:\Users\<username>\Saved Games\id Software\DOOM BFA/base
C:\Games\Steam\steamapps\common\DOOM 3 BFG Edition/base

To Reproduce
Steps to reproduce the behavior:

  1. Have DOOM BFA in its own folder, eg. C:\Games\Doom 3\sourceports\DOOM BFA
  2. Have DOOM 3 BFG Edition installed through Steam, eg. C:\Games\Steam\steamapps\common\DOOM 3 BFG Edition
  3. Run DOOM BFA with the +set fs_basepath launch parameter pointing to where Doom 3 BFG Edition is installed through Steam, ie. C:\Games\Doom 3\sourceports\DOOM_BFA_1.4.0-win_x64\DoomBFA.exe" +set fs_basepath "C:\Games\Steam\steamapps\common\DOOM 3 BFG Edition
  4. DOOM BFA crashes with the following error: ERROR: While linking GLSL program 0 with vertexShader gui and fragmentShader gui (see the full log at the bottom)

Expected behavior
DOOM BFA should run normally with the basedir provided with the +set fs_basepath runtime parameter without having to copy and paste all Doom 3 BFG Edition files for each Doom 3 source port out there, eg. DOOM BFA, RBDOOM 3 BFG, etc.

dhewm3 for instance works fine pointing it to the regular non-BFG version of Doom 3's install directory.

Screenshots
Image

Desktop (please complete the following information):

  • OS: Windows 11
  • CPU: Intel Core i7 6700K
  • GPU: AMD Radeon RX 9070 XT
  • Memory: 32GB
  • Monitor: 3840x2160, no HDR, no Free/G sync, DisplayPort
  • GPU Driver Version: AMD Software Adrenalin Edition 25.10.2
  • Version: 1.4.0

Additional context

Click for full log
QA Timing INIT: 000000ms

Win8
4008 MHz Intel CPU with MMX & SSE & SSE2 & SSE3
CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Winsock Initialized
Found interface: {05A33D5C-760F-4D1A-8836-FB57CE592BA5} Intel(R) Ethernet Connection (2) I219-V
Sys_InitNetworking: adding loopback interface
doom using MMX & SSE for SIMD processing
enabled Flush-To-Zero mode
------ Initializing File System ------
Loaded resource file _common.resources
Loaded resource file _ordered.resources
Loaded resource file _sound_pc.resources
Loaded resource file _sound_pc_en.resources
Loaded resource file maps/admin.resources
Loaded resource file maps/alphalabs1.resources
Loaded resource file maps/alphalabs2.resources
Loaded resource file maps/alphalabs3.resources
Loaded resource file maps/alphalabs4.resources
Loaded resource file maps/caverns1.resources
Loaded resource file maps/caverns2.resources
Loaded resource file maps/comm1.resources
Loaded resource file maps/commoutside.resources
Loaded resource file maps/cpu.resources
Loaded resource file maps/cpuboss.resources
Loaded resource file maps/d3ctf1.resources
Loaded resource file maps/d3ctf2.resources
Loaded resource file maps/d3ctf3.resources
Loaded resource file maps/d3ctf4.resources
Loaded resource file maps/d3dm1.resources
Loaded resource file maps/d3dm2.resources
Loaded resource file maps/d3dm3.resources
Loaded resource file maps/d3dm4.resources
Loaded resource file maps/d3dm5.resources
Loaded resource file maps/d3xpdm1.resources
Loaded resource file maps/d3xpdm2.resources
Loaded resource file maps/d3xpdm3.resources
Loaded resource file maps/d3xpdm4.resources
Loaded resource file maps/delta1.resources
Loaded resource file maps/delta2a.resources
Loaded resource file maps/delta2b.resources
Loaded resource file maps/delta3.resources
Loaded resource file maps/delta4.resources
Loaded resource file maps/delta5.resources
Loaded resource file maps/deltax.resources
Loaded resource file maps/enpro.resources
Loaded resource file maps/erebus1.resources
Loaded resource file maps/erebus2.resources
Loaded resource file maps/erebus3.resources
Loaded resource file maps/erebus4.resources
Loaded resource file maps/erebus5.resources
Loaded resource file maps/erebus6.resources
Loaded resource file maps/hell.resources
Loaded resource file maps/hell1.resources
Loaded resource file maps/hellhole.resources
Loaded resource file maps/le_enpro1.resources
Loaded resource file maps/le_enpro2.resources
Loaded resource file maps/le_exis1.resources
Loaded resource file maps/le_exis2.resources
Loaded resource file maps/le_hell.resources
Loaded resource file maps/le_hell_post.resources
Loaded resource file maps/le_underground.resources
Loaded resource file maps/le_underground2.resources
Loaded resource file maps/mars_city1.resources
Loaded resource file maps/mars_city2.resources
Loaded resource file maps/mc_underground.resources
Loaded resource file maps/monorail.resources
Loaded resource file maps/phobos1.resources
Loaded resource file maps/phobos2.resources
Loaded resource file maps/phobos3.resources
Loaded resource file maps/phobos4.resources
Loaded resource file maps/recycling1.resources
Loaded resource file maps/recycling2.resources
Loaded resource file maps/site3.resources
Current search path:
C:\Users<username>\Saved Games\id Software\DOOM BFA/base_BFG
C:\Games\Steam\steamapps\common\DOOM 3 BFG Edition/base_BFG
C:\Users<username>\Saved Games\id Software\DOOM BFA/base
C:\Games\Steam\steamapps\common\DOOM 3 BFG Edition/base
_common.resources
_ordered.resources
_sound_pc.resources
_sound_pc_en.resources
maps/admin.resources
maps/alphalabs1.resources
maps/alphalabs2.resources
maps/alphalabs3.resources
maps/alphalabs4.resources
maps/caverns1.resources
maps/caverns2.resources
maps/comm1.resources
maps/commoutside.resources
maps/cpu.resources
maps/cpuboss.resources
maps/d3ctf1.resources
maps/d3ctf2.resources
maps/d3ctf3.resources
maps/d3ctf4.resources
maps/d3dm1.resources
maps/d3dm2.resources
maps/d3dm3.resources
maps/d3dm4.resources
maps/d3dm5.resources
maps/d3xpdm1.resources
maps/d3xpdm2.resources
maps/d3xpdm3.resources
maps/d3xpdm4.resources
maps/delta1.resources
maps/delta2a.resources
maps/delta2b.resources
maps/delta3.resources
maps/delta4.resources
maps/delta5.resources
maps/deltax.resources
maps/enpro.resources
maps/erebus1.resources
maps/erebus2.resources
maps/erebus3.resources
maps/erebus4.resources
maps/erebus5.resources
maps/erebus6.resources
maps/hell.resources
maps/hell1.resources
maps/hellhole.resources
maps/le_enpro1.resources
maps/le_enpro2.resources
maps/le_exis1.resources
maps/le_exis2.resources
maps/le_hell.resources
maps/le_hell_post.resources
maps/le_underground.resources
maps/le_underground2.resources
maps/mars_city1.resources
maps/mars_city2.resources
maps/mc_underground.resources
maps/monorail.resources
maps/phobos1.resources
maps/phobos2.resources
maps/phobos3.resources
maps/phobos4.resources
maps/recycling1.resources
maps/recycling2.resources
maps/site3.resources
file system initialized.

WARNING: Unable to open resource file maps/_startup.resources
----- Initializing Decls -----

Couldn't open journal files
execing default.cfg
execing joy_360_0.cfg
execing joy_righty.cfg
couldn't exec DBFAConfig.cfg
couldn't exec autoexec.cfg
----- R_InitOpenGL -----
Changing to Height: 2160
Initializing OpenGL subsystem with multisamples:0 stereo:0 fullscreen:1
...registered window class
...registered fake window class
Using GLEW 2.2.0
display device: 0
DeviceName : \.\DISPLAY1
DeviceString: AMD Radeon RX 9070 XT
StateFlags : 0x5
DeviceID : PCI\VEN_1002&DEV_7550&SUBSYS_88111EAE&REV_C0
DeviceKey : \Registry\Machine\System\CurrentControlSet\Control\Video{0A5B07AC-97F1-11F0-9ED9-806E6F6E6963}\0000
DeviceName : \.\DISPLAY1\Monitor0
DeviceString: ROG PG27AQ
StateFlags : 0x3
DeviceID : MONITOR\ACI27B3{4d36e96e-e325-11ce-bfc1-08002be10318}\0002
DeviceKey : \Registry\Machine\System\CurrentControlSet\Control\Class{4d36e96e-e325-11ce-bfc1-08002be10318}\0002
dmPosition.x : 0
dmPosition.y : 0
dmBitsPerPel : 32
dmPelsWidth : 3840
dmPelsHeight : 2160
dmDisplayFlags : 0x0
dmDisplayFrequency: 60
display device: 0
DeviceName : \.\DISPLAY1
DeviceString: AMD Radeon RX 9070 XT
StateFlags : 0x5
DeviceID : PCI\VEN_1002&DEV_7550&SUBSYS_88111EAE&REV_C0
DeviceKey : \Registry\Machine\System\CurrentControlSet\Control\Video{0A5B07AC-97F1-11F0-9ED9-806E6F6E6963}\0000
DeviceName : \.\DISPLAY1\Monitor0
DeviceString: ROG PG27AQ
StateFlags : 0x3
DeviceID : MONITOR\ACI27B3{4d36e96e-e325-11ce-bfc1-08002be10318}\0002
DeviceKey : \Registry\Machine\System\CurrentControlSet\Control\Class{4d36e96e-e325-11ce-bfc1-08002be10318}\0002
dmPosition.x : 0
dmPosition.y : 0
dmBitsPerPel : 32
dmPelsWidth : 3840
dmPelsHeight : 2160
dmDisplayFlags : 0x0
dmDisplayFrequency: 60
...created window @ 0,0 (3840x2160)
Initializing OpenGL driver
...creating GL context: created OpenGL 4.6 context
succeeded
...making context current: succeeded
Using GLEW 2.2.0

------- Input Initialization -------
Initializing DirectInput...
mouse: DirectInput initialized.
keyboard: DirectInput initialized.

OpenGL Version : 4.6
OpenGL Vendor : ATI Technologies Inc.
OpenGL Renderer : AMD Radeon RX 9070 XT
OpenGL GLSL : 4.6
maxTextureAnisotropy: 16.000000
...using GL_ARB_direct_state_access
...using GL_EXT_texture_lod_bias
...using GL_ARB_seamless_cube_map
X..GL_GREMEDY_string_marker not found
...using GL_ARB_framebuffer_object
...using GL_EXT_framebuffer_blit
----- Initializing Render Shaders -----
While linking GLSL program 0 with vertexShader gui and fragmentShader gui
Program Link Failed for unknown reason.

--------- Game Map Shutdown ----------


ERROR: While linking GLSL program 0 with vertexShader gui and fragmentShader gui


Unknown command 'vid_restart'
While linking GLSL program 0 with vertexShader gui and fragmentShader gui

Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): success
...deleting GL context: success
...releasing DC: success
...destroying window

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions