Jump to content
The Dark Mod Forums

Unable to initialize open gl


thelvyn

Recommended Posts

Running windows 10 up to date

I updated the Darkmod to 2.07

vcredist fails since I have a newer version installed( I use visual studio 2017 ) -

[3A40:23B0][2019-05-02T01:46:07]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

 

First I tried updating my drivers I have a gtx1080

Still same issue, all other games work just fine.

Any suggestions ?

I haven't lost my mind. It's backed up on disk!

Oops bad sectors damn floppy's!

Link to comment
Share on other sites

vcredist fails since I have a newer version installed( I use visual studio 2017 ) -

[3A40:23B0][2019-05-02T01:46:07]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

Any suggestions ?

Ignore the error.

As long as TDM starts without nasty message boxes, you are OK.

 

UPDATE: And if TDM does not start, then is not related to vcredist.

Report when and how exactly it fails. Provide condump and darkmod.cfg for a check.

 

Link to comment
Share on other sites

Title bar TDSM 2.07/64 Or 32 doesn't matter which one I try.
Edit box I suppose "Unable to initialize OpenGL"
And get an Empty blue box
on the bottom copy clear buttons and quit to the far right all on the bottom(i'm sure you get the picture)

 

darkmod.cfg

unbindall
bind "ENTER" "_impulse51"
bind "ESCAPE" "togglemenu"
bind "SPACE" "_moveUp"
bind "APOSTROPHE" "_impulse0"
bind "-" "_impulse50"
bind "0" "_impulse10"
bind "1" "_impulse1"
bind "2" "_impulse2"
bind "3" "_impulse3"
bind "4" "_impulse4"
bind "5" "_impulse5"
bind "6" "_impulse6"
bind "7" "_impulse7"
bind "8" "_impulse8"
bind "9" "_impulse9"
bind "=" "_impulse49"
bind "[" "_impulse48"
bind "\" "_mlook"
bind "]" "_impulse47"
bind "^" "_impulse0"
bind "a" "_moveleft"
bind "b" "inventory_hotkey '#str_02399'"
bind "d" "_moveright"
bind "e" "_impulse46"
bind "f" "inventory_hotkey '#str_02438'"
bind "g" "_impulse30"
bind "h" "inventory_hotkey '#str_02398'"
bind "i" "inventory_cycle_group '#str_02391'"
bind "k" "inventory_cycle_group '#str_02392'"
bind "l" "inventory_cycle_group '#str_02389'"
bind "m" "inventory_cycle_maps"
bind "o" "_impulse19"
bind "p" "_impulse24"
bind "q" "_impulse45"
bind "r" "_impulse52"
bind "s" "_back"
bind "u" "_impulse51"
bind "v" "inventory_hotkey '#str_02397'"
bind "w" "_forward"
bind "y" "clientMessageMode 1"
bind "z" "_zoom"
bind "BACKSPACE" "inventory_hotkey ''"
bind "PAUSE" "pause"
bind "UPARROW" "_forward"
bind "DOWNARROW" "_back"
bind "LEFTARROW" "_left"
bind "RIGHTARROW" "_right"
bind "ALT" "_strafe"
bind "CTRL" "_impulse23"
bind "SHIFT" "_speed"
bind "DEL" "_lookdown"
bind "PGDN" "_lookup"
bind "END" "_impulse18"
bind "F3" "_impulse17"
bind "F4" "savegame quick"
bind "F5" "savegame quick"
bind "F6" "_impulse20"
bind "F7" "_impulse22"
bind "F9" "loadgame quick"
bind "F12" "screenshot"
bind "MOUSE1" "_attack"
bind "MOUSE2" "_impulse41"
bind "MOUSE3" "inventory_hotkey ''"
bind "MWHEELDOWN" "_impulse14"
bind "MWHEELUP" "_impulse15"
bind "PRINTSCREEN" "screenshot"
seta gui_mediumFontLimit "0.30"
seta gui_smallFontLimit "0.15"
seta radiant_entityMode "0"
seta net_socksPassword ""
seta net_socksUsername ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksEnabled "0"
seta win_ypos "22"
seta win_xpos "3"
seta sys_lang "english"
seta s_decompressionLimit "6"
seta s_useEAXReverb "1"
seta s_numberOfSpeakers "2"
seta s_doorDistanceAdd "450"
seta s_globalFraction "0.8"
seta s_subFraction "0.75"
seta s_playDefaultSound "0"
seta s_volume_dB "-24.761906"
seta s_meterTopTime "2000"
seta s_reverse "0"
seta s_spatializationDecay "2"
seta s_maxSoundsPerShader "0"
seta s_device "default"
seta s_diffractionMax "10"
seta r_useMapBufferRange "0"
seta r_cinematic_legacyRoq "0"
seta r_nvidiaOverride "1"
seta r_fboResolution "1"
seta r_fboSharedDepth "0"
seta r_fboSharedColor "0"
seta r_fboColorBits "32"
seta r_useGLSL "1"
seta r_useFBO "0"
seta r_useBfgPortalCulling "0"
seta r_postprocess_bloomKernelSize "2"
seta r_postprocess_bloomIntensity "0"
seta r_postprocess "0"
seta r_screenshot_format "jpg"
seta r_debugArrowStep "120"
seta r_debugLineWidth "1"
seta r_debugLineDepthTest "0"
seta com_smp "0"
seta r_forceLoadImages "0"
seta r_testARBProgram "1"
seta r_shadows "1"
seta r_shadowPolygonFactor "0"
seta r_shadowPolygonOffset "-1"
seta r_offsetunits "-0.1"
seta r_offsetfactor "-2"
seta r_clear "2"
seta r_useSoftParticles "1"
seta r_skipDepthCapture "0"
seta r_skipBump "0"
seta r_skipSpecular "0"
seta r_skipNewAmbient "0"
seta r_brightness "1.309524"
seta r_gamma "1.761905"
seta r_swapInterval "1"
seta r_useIndexBuffers "0"
seta r_softShadowsRadius "1.0"
seta r_softShadowsQuality "0"
seta r_customHeight "1440"
seta r_customWidth "2560"
seta r_fullscreen "1"
seta r_mode "-1"
seta r_multiSamples "16"
seta image_mipmapMode "2"
seta image_blockChecksum "0"
seta image_downSizeLimit "256"
seta image_ignoreHighQuality "0"
seta image_downSizeBumpLimit "128"
seta image_downSizeSpecularLimit "64"
seta image_downSizeBump "0"
seta image_downSizeSpecular "0"
seta image_useCache "0"
seta image_cacheMegs "20"
seta image_cacheMinK "200"
seta image_usePrecompressedTextures "1"
seta image_useNormalCompression "1"
seta image_useAllFormats "1"
seta image_useCompression "1"
seta image_preload "1"
seta image_roundDown "1"
seta image_forceDownSize "0"
seta image_downSize "0"
seta image_lodbias "0"
seta image_anisotropy "16"
seta image_filter "GL_LINEAR_MIPMAP_LINEAR"
seta r_cinematic_checkImmediately "0"
seta r_cinematic_log_flush "0"
seta r_cinematic_log_ffmpeg "0"
seta r_cinematic_log "0"
seta net_serverDlTable ""
seta net_serverDlBaseURL ""
seta net_serverDownload "0"
seta mod_validSkins "skins/characters/player/marine_mp;skins/characters/player/marine_mp_green;skins/characters/player/marine_mp_blue;skins/characters/player/marine_mp_red;skins/characters/player/marine_mp_yellow"
seta g_mapCycle "mapcycle"
seta g_voteFlags "0"
seta g_gameReviewPause "10"
seta g_countDown "10"
seta g_password ""
seta g_testModelHeadJoint "Spine2"
seta g_testModelHead "atdm:ai_head_citywatch"
seta g_fov "90"
seta g_showBrass "1"
seta g_showProjectilePct "0"
seta g_showHud "1"
seta g_showPlayerShadow "0"
seta pm_walkspeed "70"
seta g_enablePortalSky "2"
seta g_showcamerainfo "0"
seta g_damageScale "1"
seta g_decals "1"
seta g_doubleVision "1"
seta g_bloodEffects "1"
seta g_projectileLights "1"
seta g_muzzleFlash "1"
seta gui_CenterY "0.5"
seta gui_CenterX "0.5"
seta gui_Height "1.0"
seta gui_Width "1.0"
seta r_fovRatio "0"
seta r_aspectRatio "1"
seta ui_showGun "1"
seta ui_autoSwitch "1"
seta ui_team "Red"
seta ui_skin "skins/characters/player/marine_mp"
seta ui_name "Player"
seta si_serverURL ""
seta si_spectators "1"
seta si_usePass "0"
seta si_warmup "0"
seta si_teamDamage "0"
seta si_timeLimit "10"
seta si_maxPlayers "4"
seta si_map "game/mp/d3dm1"
seta si_gameType "singleplayer"
seta si_name "DOOM Server"
seta tdm_lod_bias "1.0"
seta tdm_voice_from_off_volume "0"
seta tdm_voice_player_volume "0"
seta tdm_music_volume "-40"
seta tdm_ambient_method "0"
seta tdm_door_auto_open_on_unlock "1"
seta tdm_bow_aimer "1"
seta tdm_lp_debug_hud "0"
seta tdm_lp_pawlow "0"
seta tdm_lp_randomize "1"
seta tdm_lp_auto_pick "0"
seta tdm_lp_autopick_attempts "3"
seta tdm_lp_pick_timeout "500"
seta tdm_lp_sample_delay "10"
seta tdm_lp_base_count "5"
seta tdm_empty_model "models/darkmod/misc/system/empty.lwo"
seta tdm_lg_split "1"
seta tdm_lg_model "models/darkmod/misc/system/lightgem.lwo"
seta tdm_lg_weak "0"
seta tdm_lg_interleave_min "40"
seta tdm_lg_interleave "1"
seta pm_rope_snd_rep_dist "32"
seta pm_min_stepsound_interval "200"
seta pm_stepvol_crouch_creep "-7"
seta pm_stepvol_crouch_run "4"
seta pm_stepvol_crouch_walk "-2"
seta pm_stepvol_creep "-5"
seta pm_stepvol_run "8"
seta pm_stepvol_walk "0"
seta tdm_underwater_blur "3"
seta tdm_rope_pull_force_factor "140"
seta gui_objectiveTextSize "1.0"
seta gui_barSize "1.0"
seta gui_lightgemSize "1.0"
seta gui_bigTextSize "1.0"
seta gui_smallTextSize "1.0"
seta gui_iconSize "1.0"
seta tdm_inv_use_visual_feedback "1"
seta tdm_door_control "0"
seta tdm_inv_use_on_frob "1"
seta tdm_inv_loot_sound "frob_loot"
seta tdm_inv_hud_pickupmessages "1"
seta tdm_hud_hide_lightgem "0"
seta tdm_hud_opacity "0.7"
seta tdm_grabber_reverse_control "0"
seta tdm_bounce_sound_min_vel "80"
seta tdm_bounce_sound_max_vel "400"
seta tdm_throw_max_vel "900"
seta tdm_throw_time "1200"
seta tdm_throw_max "3500"
seta tdm_throw_min "600"
seta tdm_phys_show_momentum "0"
seta tdm_ai_hearing_hardcore "1.5"
seta tdm_ai_hearing_challenging "1.0"
seta tdm_ai_hearing_forgiving "0.6"
seta tdm_ai_hearing_nearly_deaf "0.2"
seta tdm_ai_hearing "2"
seta tdm_ai_vision_hardcore "1.5"
seta tdm_ai_vision_challenging "1.2"
seta tdm_ai_vision_forgiving "0.6"
seta tdm_ai_vision_nearly_blind "0.2"
seta tdm_ai_vision "1"
seta tdm_melee_difficulty "normal"
seta tdm_melee_max_particles "10"
seta tdm_melee_forbid_auto_parry "0"
seta tdm_melee_auto_parry "1"
seta tdm_melee_invert_parry "0"
seta tdm_melee_invert_attack "0"
seta tdm_melee_mouse_thresh_ "0"
seta tdm_dragged_item_highlight "1"
seta tdm_drag_encumber_max "0.4"
seta tdm_drag_encumber_maxmass "55"
seta tdm_drag_encumber_minmass "10"
seta tdm_drag_jump_masslimit "20"
seta tdm_drag_af_free "0"
seta tdm_drag_af_ground_timer "800"
seta tdm_drag_damping_af "0.4"
seta tdm_drag_damping "0.0"
seta tdm_drag_stuck_dist "38.0"
seta tdm_drag_force_max "100000"
seta tdm_drag_limit_force "1"
seta tdm_collision_damage_scale_horiz "0.5"
seta tdm_collision_damage_scale_vert "1"
seta tdm_frob_fadetime "100"
seta tdm_frob_width "10.0"
seta tdm_frob_distance_default "63"
seta pm_lean_toggle "0"
seta pm_lean_door_bounds_exp "8.0"
seta pm_lean_door_max "40"
seta pm_lean_door_increments "10"
seta pm_lean_to_valid_increments "25"
seta pm_lean_forward_stretch "15"
seta pm_lean_forward_height "0.4"
seta pm_lean_forward_time "400.0"
seta pm_lean_forward_angle "2"
seta pm_lean_stretch "2"
seta pm_lean_height "0.4"
seta pm_lean_time "400.0"
seta pm_lean_angle "15.0"
seta tdm_reattach_delay "100"
seta tdm_crouch_toggle_hold_time "400"
seta tdm_toggle_crouch "1"
seta tdm_footfall_sounds_movetype_specific "1"
seta pm_mantle_minflatness "0.707"
seta pm_mantle_height "0.2"
seta pm_mantle_reach "0.5"
seta pm_weightmod "1"
seta pm_push_max_mass "200"
seta pm_push_heavy_threshold "0.15"
seta pm_push_accel_time "1000"
seta pm_push_start_delay "1000"
seta pm_push_maximpulse "300"
seta pm_pushmod "0.15"
seta pm_max_swimspeed_mod "1.4"
seta pm_crouchmod "0.54"
seta pm_creepmod "0.44"
seta pm_runmod "2.35"
seta tdm_savegame_compress "1"
seta tdm_force_savegame_load "0"
seta tdm_mainmenu_confirmquit "0"
seta tdm_debug_aastype "aas32"
seta tdm_allow_http_access "1"
seta tdm_proxy_pass ""
seta tdm_proxy_user ""
seta tdm_proxy ""
seta tdm_fm_restart_delay "0"
seta tdm_default_relations_def "atdm:team_relations_default"
seta tdm_show_trainer_messages "1"
seta tdm_menu_music "0"
seta tdm_wideScreenMode "8"
seta tdm_ai_show_aasfuncobstacle_state "0"
seta tdm_show_health "0"
seta tdm_ai_debug_greetings "0"
seta tdm_ai_debug_transition_barks "0"
seta tdm_ai_opt_nolipsync "0"
seta tdm_ai_opt_update_enemypos_interleave "48"
seta tdm_ai_opt_interleavethinkframes "0"
seta tdm_ai_opt_interleavethinkskipPVS "0"
seta tdm_ai_opt_interleavethinkmaxdist "0"
seta tdm_ai_opt_interleavethinkmindist "0"
seta tdm_ai_search_type "4"
seta tdm_ai_visdist_show "0.0"
seta tdm_ai_search_show "0.0"
seta tdm_showko "0"
seta tdm_showsprop_radius "0"
seta tdm_showsprop "0"
seta tdm_spr_debug "0"
seta tdm_sndprop_disable "0"
seta tdm_ai_acuity_susp "1.2"
seta tdm_ai_acuity_L5 "1.5"
seta tdm_ai_acuity_L4 "1.3"
seta tdm_ai_acuity_L3 "1.1"
seta tdm_ai_show_conversationstate "0"
seta tdm_ai_show_enemy_visibility "0"
seta tdm_ai_sight_scale "1000.0"
seta tdm_ai_sight_thresh "1.0"
seta tdm_ai_showelevator "0"
seta tdm_ai_showdoor "0"
seta tdm_ai_debug_blocked "0"
seta tdm_ai_showAASarea "0"
seta tdm_ai_showgoalpos "0"
seta tdm_ai_showdest "0"
seta tdm_ai_showalert "0"
seta tdm_ai_showtasks "0"
seta tdm_ai_showanimstate "0"
seta tdm_ai_showko "0"
seta tdm_ai_showfov "0"
seta tdm_ai_debug "0"
seta tdm_ai_bumpobject_impulse "250"
seta tdm_ai_tact "20.0"
seta tdm_ai_sight_combat_cutoff "20.0"
seta tdm_ai_sightmin "15.0"
seta tdm_ai_sightmax "40.0"
seta tdm_ai_sight_mag "1.0"
seta tdm_ai_sight_prob "0.7"
seta tdm_ai_showname "0"
seta tdm_ai_showbark "0"
seta tdm_ai_sndvol "0.0"
seta tdm_player_wait_until_ready "1"
seta m_strafeSmooth "4"
seta m_smooth "1"
seta m_strafeScale "6.25"
seta m_yaw "0.022"
seta m_pitch "0.022"
seta sensitivity "9.746032"
seta in_toggleZoom "0"
seta in_toggleCrouch "0"
seta in_toggleRun "0"
seta in_alwaysRun "0"
seta in_freeLook "1"
seta in_anglespeedkey "1.5"
seta in_pitchspeed "140"
seta in_yawspeed "140"
seta gui_configServerRate "0"
seta com_savegame_preview_format "jpg"
seta com_numQuickSaves "2"
seta com_guid ""
seta com_fixedTic "0"
seta com_preloadDemos "0"
seta com_compressDemos "1"
seta com_product_lang_ext "1"
seta logFile "0"
seta com_showFPS "0"
seta com_purgeAll "0"

I did change seta logFile "2" but I still dont seem to have a dump file that I can see anywhere.

Maybe I should just start clean but downloading my FM's again will suck.

i'm on shitty internet for now unfortunately.

 

Edit: I just started downloading in another directory I can just move them over possibly ? Will advise when finished downloading if it works as a new download.

 

Edit2:I didnt understand what you were asking for before sorry. I used "thedarkmod.exe +gfxinfo +condump mylog.txt +quit" and it does not create a logfile at all something to do while downloading new files... still curious whats wrong

 

Clean install works just fine. Could it be the changed video card I went from a radeon to an nvidia, uninstalled radeon drivers first of course. I have the latest driver available.

Edited by thelvyn

I haven't lost my mind. It's backed up on disk!

Oops bad sectors damn floppy's!

Link to comment
Share on other sites

you can do a condump via changing or adding a setting in the darkmod.cfg

seta logFile "2"

 

But those logfiles dont show any video startuplines.

So i keep advising to use the arguments.

 

Its nice to hear you get tdm running, but I (or we) want to see how tdm loads your video driver

How about the following command: thedarkmod.exe +condump mylog.txt

and post the content op mylog.txt

 

a tutorial to get tdm with startup the arguments running:

hit the keyboard combination "windows + r", enter the following line and click on ok:

c:\games\darkmod\thedarkmod.exe +condump mylog.txt +quit

(assuming thats your location of the darkmod folder)

or

  1. hit the keyboard combination "windows-key + r" (or search for "cmd").

    a new window will apear, enther the following command in that window an click on run: cmd

  2. a new black window will apear.

    navigate to your tdm gamefolder by typing the following line in the black window and hit enter-key:

    cd c:\games\darkmod

  3. then enter the following line and hit the enterkey: thedarkmod.exe +condump mylog.txt +quit

    this will start tdm, generate a logfile and close tdm.

  4. open your windows explorer go to your the dark mod folder,

    search for mylog.txt, open it and copy its content in a new forumpost.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Try to change this line of darkmod.cfg:

seta r_multiSamples "16"
To:

seta r_multiSamples "1"
Then try again to see if it helps.

 

 

Also you might want to change:

seta r_useFBO "0"
To:

seta r_useFBO "1"
.

 

Or if you don't want to go through all this trial-and-error, then reset your darkmod.cfg:

1) Copy this file to safe place

2) Delete this file

3) Try to start TDM again

If only this part helps, then you may want to move all the "bind" lines from your old config to the new one to save key bindings, then just forget the old config.

Link to comment
Share on other sites

that blue box appears if there's something wrong with the darkmod install or you have conflicting scripts in the script directory, normally there is only one script in the script directory and that is tdm_custom_scripts.script and that file usually has additional scripts commented out with //

 

seta logFile "2"

creates a file called qconsole.log in the fm folder contains this in the one i tried

//

----- Initializing OpenGL -----
Initializing OpenGL subsystem
...getting default gamma ramp: success
...registered window class
...registered fake window class
...initializing QGL
...calling LoadLibrary( 'opengl32' ): succeeded
...calling CDS: ok
...created window @ 0,0 (1920x1080)
Initializing OpenGL driver
...getting DC: succeeded
...creating GL context: succeeded
...making context current: succeeded

//

 

which is where a OpenGL error would be listed if there was one

Link to comment
Share on other sites

I had already deleted the darkmod.cfg file as an initial experiment on my part before ever posting here.

I dont see a scripts file anywhere.

It was generating NO logfile whatsoever.

I just deleted everything except the pk4s and tdm_update.exe from the root folder reran the update and now it works. I dont know what caused it but its fixed now.

Thanks for your time

  • Like 1

I haven't lost my mind. It's backed up on disk!

Oops bad sectors damn floppy's!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...