LINUX.ORG.RU
ФорумGames

The Dark Mod. Проблема c OpenGL

 ,


0

1

Операционная система NixOS. Установил The Dark Mod с помощью tdm_installer.linux64.zip. Пытаюсь запустить:

charlzk@nixos-test ~/G/tdm2> ./thedarkmod.x64 
TDM 2.11/64 #10264 (1435:10264) linux-x86_64 Jan 30 2023 02:02:43
/proc/cpuinfo CPU frequency: 4122.64 MHz
4123 MHz AMD CPU with SSE & SSE2 & SSE3 & SSSE3 & SSE41 & AVX
found interface lo - loopback
found interface enp4s0 - 192.168.1.48/255.255.255.0
Found AMD CPU, features: SSE SSE2 SSE3 SSSE3 SSE41 AVX
TDM using AVX for SIMD processing.
no 'darkmod' directory in exe path /home/charlzk/Games/tdm2, skipping
WARNING: using hardcoded default base path
Found 0 new missions and 0 packages.
------ Initializing File System ------
Current search path:
  [C] /home/charlzk/Games/tdm2/
  [C] /home/charlzk/Games/tdm2/tdm_textures_wood01.pk4 (382 files - 0x54c704d0)
  [C] /home/charlzk/Games/tdm2/tdm_textures_window01.pk4 (399 files - 0x50a48869)
  [C] /home/charlzk/Games/tdm2/tdm_textures_stone_sculpted01.pk4 (464 files - 0x3bd63c7c)
  [C] /home/charlzk/Games/tdm2/tdm_textures_stone_natural01.pk4 (141 files - 0x4d0836ff)
  [C] /home/charlzk/Games/tdm2/tdm_textures_stone_flat01.pk4 (302 files - 0x671a22d2)
  [C] /home/charlzk/Games/tdm2/tdm_textures_stone_cobblestones01.pk4 (271 files - 0xc46ab14f)
  [C] /home/charlzk/Games/tdm2/tdm_textures_stone_brick01.pk4 (527 files - 0x1d087cf8)
  [C] /home/charlzk/Games/tdm2/tdm_textures_sfx01.pk4 (69 files - 0x2c673886)
  [C] /home/charlzk/Games/tdm2/tdm_textures_roof01.pk4 (69 files - 0x24547b7)
  [C] /home/charlzk/Games/tdm2/tdm_textures_plaster01.pk4 (142 files - 0x9747529e)
  [C] /home/charlzk/Games/tdm2/tdm_textures_paint_paper01.pk4 (67 files - 0xa4a95a09)
  [C] /home/charlzk/Games/tdm2/tdm_textures_other01.pk4 (127 files - 0x36932451)
  [C] /home/charlzk/Games/tdm2/tdm_textures_nature01.pk4 (286 files - 0x19240606)
  [C] /home/charlzk/Games/tdm2/tdm_textures_metal01.pk4 (509 files - 0x441d098f)
  [C] /home/charlzk/Games/tdm2/tdm_textures_glass01.pk4 (51 files - 0x3f3721e)
  [C] /home/charlzk/Games/tdm2/tdm_textures_fabric01.pk4 (43 files - 0x649daf73)
  [C] /home/charlzk/Games/tdm2/tdm_textures_door01.pk4 (177 files - 0xb0130166)
  [C] /home/charlzk/Games/tdm2/tdm_textures_decals01.pk4 (474 files - 0xe2ff12c6)
  [C] /home/charlzk/Games/tdm2/tdm_textures_carpet01.pk4 (130 files - 0x79bc3d7c)
  [C] /home/charlzk/Games/tdm2/tdm_textures_base01.pk4 (435 files - 0xc07a324)
  [C] /home/charlzk/Games/tdm2/tdm_standalone.pk4 (4 files - 0xb3f36d20)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals_decls01.pk4 (32 files - 0x53cda0aa)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals07.pk4 (1111 files - 0xa13ec4c2)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals06.pk4 (696 files - 0x44c85e78)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals05.pk4 (119 files - 0x6cf23214)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals04.pk4 (2869 files - 0xd7ec1256)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals03.pk4 (743 files - 0xb3f2e0f1)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals02.pk4 (1299 files - 0x5092940e)
  [C] /home/charlzk/Games/tdm2/tdm_sound_vocals01.pk4 (82 files - 0xf4d326b2)
  [C] /home/charlzk/Games/tdm2/tdm_sound_sfx02.pk4 (605 files - 0x31673482)
  [C] /home/charlzk/Games/tdm2/tdm_sound_sfx01.pk4 (987 files - 0x97451b7a)
  [C] /home/charlzk/Games/tdm2/tdm_sound_ambient_decls01.pk4 (8 files - 0x9404877c)
  [C] /home/charlzk/Games/tdm2/tdm_sound_ambient03.pk4 (24 files - 0xd28ca9ec)
  [C] /home/charlzk/Games/tdm2/tdm_sound_ambient02.pk4 (163 files - 0x84efad22)
  [C] /home/charlzk/Games/tdm2/tdm_sound_ambient01.pk4 (220 files - 0xee228c81)
  [C] /home/charlzk/Games/tdm2/tdm_prefabs01.pk4 (1017 files - 0x506baa0b)
  [C] /home/charlzk/Games/tdm2/tdm_player01.pk4 (127 files - 0xd983fc45)
  [C] /home/charlzk/Games/tdm2/tdm_models_decls01.pk4 (101 files - 0x146c787)
  [C] /home/charlzk/Games/tdm2/tdm_models02.pk4 (2241 files - 0x42cdbf62)
  [C] /home/charlzk/Games/tdm2/tdm_models01.pk4 (3326 files - 0x829270f2)
  [C] /home/charlzk/Games/tdm2/tdm_gui_credits01.pk4 (49 files - 0xbff51863)
  [C] /home/charlzk/Games/tdm2/tdm_gui01.pk4 (758 files - 0xcbf4fd2d)
  [C] /home/charlzk/Games/tdm2/tdm_fonts01.pk4 (696 files - 0x7c5027bf)
  [C] /home/charlzk/Games/tdm2/tdm_env01.pk4 (176 files - 0x8bd4045b)
  [C] /home/charlzk/Games/tdm2/tdm_defs01.pk4 (194 files - 0xe5f440dc)
  [C] /home/charlzk/Games/tdm2/tdm_base01.pk4 (223 files - 0x9704b43c)
  [C] /home/charlzk/Games/tdm2/tdm_ai_steambots01.pk4 (31 files - 0x26416485)
  [C] /home/charlzk/Games/tdm2/tdm_ai_monsters_spiders01.pk4 (80 files - 0x15c3ef89)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_undead01.pk4 (55 files - 0x25e463ad)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_townsfolk01.pk4 (104 files - 0xa6f7c573)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_pagans01.pk4 (10 files - 0x566fb35a)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_nobles01.pk4 (51 files - 0x5ca54cab)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_mages01.pk4 (8 files - 0x5e7a666b)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_heads01.pk4 (100 files - 0x45ec787e)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_guards01.pk4 (379 files - 0x9801be8d)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_females01.pk4 (172 files - 0xc7de4598)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_builders01.pk4 (91 files - 0x6dea9b57)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_beasts02.pk4 (229 files - 0x886c9a98)
  [C] /home/charlzk/Games/tdm2/tdm_ai_humanoid_beasts01.pk4 (23 files - 0xba9da54c)
  [C] /home/charlzk/Games/tdm2/tdm_ai_base01.pk4 (9 files - 0x1de319e8)
  [C] /home/charlzk/Games/tdm2/tdm_ai_animals01.pk4 (82 files - 0x6c0fda50)
File System Initialized.
--------------------------------------
Couldn't open journal files
/proc/cpuinfo CPU processors: 2
/proc/cpuinfo CPU logical cores: 4
----- Initializing Decls -----
------------------------------
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1321 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
Couldn't exec editor.cfg - file does not exist.
execing default.cfg
Gamepad modifier button assigned to 6
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1321 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
----- Initializing OpenAL -----
Setup OpenAL device and context
OpenAL: device '' not found, using default
OpenAL: no device found, sound disabled
----- Initializing OpenGL -----
Initializing OpenGL display
Borderless fullscreen - using current video mode for monitor 0: 2464 x 900
Failed creating window
Retrying OpenGL initialization in safe mode
Initializing OpenGL display
Failed creating window
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
Sys_Error: Unable to initialize OpenGL
About to exit with code 1

Что-то там с OpenGL-ем буксует. Подскажите, куда двигаться? Какие там библиотеки требует этот OpenGL? Что может не хватать?


Можно изучить, что говорят при попытке установить из реп:

error: tdm has been removed because nobody can figure out how to fix OpenAL integration. Use precompiled binary and `steam-run` instead

Будет классно, конечно, если вы научитесь эту проблему решать и вернете все это хозяйство в nixpkgs, но на этом форуме вам вряд ли кто поможет. Пользуйтеcь steam-run.

akho
()
Ответ на: комментарий от monkdt

Вот за это вас, линуксоедов, и не любят. Любой вопрос сводят к выбору дистрибутива.

(пользователей Nix за это не любят вдвойне, но всем лучше как-то сдерживаться)

akho
()
Ответ на: комментарий от monkdt

я бы сказал где легче всего работается тот дистрибутив и используй. По этой причине не меняю федору уже который год

Задолбал на Федоре пердолинг с установкой и апдейтами вайна+hyprland+ freeworld драйверов и ffmpeg, ага

anonymous
()