Doom3 sound issue

I installed Doom3 and it works but the sound although working, does not work right.
Depending on the situation the sound is totally distorted.

Through a Doom forum, I learned I better use iodoom instead of the one I used.

Here is the explanation on what to do:

Downloading and Compiling under Linux - Iodoom3

Through yast I checked if I have everything installed I need.
I only was missing git, so installed git.

But…

when I do:
$ git clone git://git.iodoom.org/iodoom3/iodoom3.gitguus@linux-n2go:~> $ git clone git://git.iodoom.org/iodoom3/iodoom3.git
If ‘$’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf $

With something not related I got this answer too, so I tried to leave out the $
( does anybody know what that $ does, I wonder if that is an Ubuntu ( debian ? ) thingy which openSUSE does not like.

guus@linux-n2go:~> git clone git://git.iodoom.org/iodoom3/iodoom3.git
Cloning into ‘iodoom3’…
fatal: unable to connect to git.iodoom.org:
git.iodoom.org[0: 65.59.189.198]: errno=Verbinding is geweigerd

Verbinding is geweigerd means in English, connection is refused.

Am I doing something wrong or is the problem not at my site of the internet?

For those wondering, what Doom3 is:
Linux Native Game: Doom 3 - YouTube

Leave the $ sign out. It’s the prompt. Yours is defined differently.
EDIT: Sorry, you already saw that, looking into it.

Getting the same error, git.iodoom.org does not resolve at all.

Interesting, thanks :slight_smile:

Then I might have to track down the owner of that git.

Found this:
IRC channel - Iodoom3

Lets see if that is still alive.

I got a very quick response, I should use:

dhewm3 (insteam of oidoom3)

https://github.com/dhewm/dhewm3

I will update this post, about any progress.

This might not be for the faint-hearted :stuck_out_tongue:

But I am making progress

How to clone

git clone https://github.com/dhewm/dhewm3.git

For others, you still need to install git, which can be done though yast.
And you need to check, if you have all the files needed to compile, they can be found on:
https://github.com/dhewm/dhewm3

You also need a copy of the game, and the cd keys.
I own the game through steam.
To find your cd key’s in steam, go to your game library, right click on the game, and pick cd key.
If you bought it in a store, the cd keys should be with the jewel case.
Then you can use this key for your Linux install, after you compiled doom3.

I just got this instruction from the irc channel:

Git clone whateverlink && cd dhewm3/neo && mkdir build && cd build && cmake … && make && make install

Fingers crossed I never before compiled anything on Linux.

The difference between oidoom and dhewm, is the compile program used.
dhewm3 uses make instead of scons, and this source is newer, so I should not have sound issues.

There is no doom 3 Linux version, but they released the source code, so we can compile it our self.
But because the textures and maps are not released, you still need to own the original game, or buy it through steam.
And copy some files into the build dir.

https://github.com/dhewm/dhewm3/wiki/FAQ

(base/pak000.pk4)
(base/pak001.pk4)
(base/pak002.pk4)
(base/pak003.pk4)
(base/pak004.pk4)
(base/pak005.pk4)
(base/pak006.pk4)
(base/pak007.pk4)
(base/pak008.pk4)
 And if you own the expansion pack *Resurrection of Evil*:

(d3xp/pak000.pk4)
(d3xp/pak001.pk4)

I will probably have to do some reading about the make command.
google for make and or compiling under Linux

I almost got it working.

You need sudo for make install.

And I needed to install cmake, and a few devel files.

But game won’t start.

Asking for help on Doom3 World - the idtech resource for level editing, scripting, models, animation, mods, maps, tutorials, downloads

I am lost what causes the below.
Unknown command ‘vid_restart’
shutting down: Couldn’t load default.cfg

Already tried coping a default.cfg file into place, and checked the rights.

guus@linux-n2go:~> dhewm3
dhewm 1.3.1.1304 linux-x86_64 Oct  8 2013 19:07:40 using SDL v1.2.15
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 9770
3952 MB System Memory
found interface lo - loopback
found interface eth0 - 
doom using MMX & SSE & SSE2 for SIMD processing
Flush-To-Zero mode is already enabled
Denormals-Are-Zero mode is already enabled
WARNING: base path '/usr/local/share/dhewm3' does not exist
WARNING: using path of executable: /usr/local/bin
----- Initializing File System -----
Current search path:
/home/guus/.config/dhewm3/base
/home/guus/.local/share/dhewm3/base
/usr/local/bin/base
Addon pk4s:
Unknown command 'vid_restart'
shutting down: Couldn't load default.cfg
idRenderSystem::Shutdown()
Shutting down OpenGL subsystem
Sys_Error: Couldn't load default.cfg
shutdown terminal support
guus@linux-n2go:~> dhewm3
dhewm 1.3.1.1304 linux-x86_64 Oct  8 2013 19:07:40 using SDL v1.2.15
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 9938
3952 MB System Memory
found interface lo - loopback
found interface eth0 - 77.248.218.163/255.255.255.0
doom using MMX & SSE & SSE2 for SIMD processing
Flush-To-Zero mode is already enabled
Denormals-Are-Zero mode is already enabled
WARNING: base path '/usr/local/share/dhewm3' does not exist
WARNING: using path of executable: /usr/local/bin
----- Initializing File System -----
Current search path:
/home/guus/.config/dhewm3/base
/home/guus/.local/share/dhewm3/base
/usr/local/bin/base                                                                                                                                                 
Addon  pk4s:                                                                                                                                                         
Unknown command 'vid_restart'                                                                                                                                       
shutting down: Couldn't load  default.cfg                                                                                                                           
idRenderSystem::Shutdown()
Shutting down OpenGL subsystem
Sys_Error: Couldn't load default.cfg
shutdown terminal support
guus@linux-n2go:~>

Please describe detailed, f.e. the order of ‘make’ and ‘cmake’ is reversed.
Here’s how it goes (when all -devel files and compilers etc have been installed):


git clone https://github.com/dhewm/dhewm3.git
cd dhewm3
mkdir build && cd build
cmake ../neo
make

It’s compiling right now, I’ll see if I can find some messages.

Well, that’s quite a mess. Created a symlink to get rid of the first error (base.so is installed in /usr/local/lib64/dhewm3 instead of /usr/local/share/dhewm3), but the next ones I don’t quite understand, and atm don’t have the time for. Here’s the output I’m getting now:

@laptop:~> dhewm3 dhewm 1.3.1.1304 linux-x86_64 Oct  8 2013 21:43:25 using SDL v1.2.15
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 15244
5888 MB System Memory
found interface lo - loopback
found interface wlan0 - 192.168.178.12/255.255.255.0
doom using MMX & SSE & SSE2 for SIMD processing
Flush-To-Zero mode is already enabled
Denormals-Are-Zero mode is already enabled
----- Initializing File System -----
Current search path:
/home/glosscomputer/.config/dhewm3/base
/home/glosscomputer/.local/share/dhewm3/base
/usr/local/share/dhewm3/base
Addon pk4s:
Unknown command 'vid_restart'
shutting down: Couldn't load default.cfg
idRenderSystem::Shutdown()
Shutting down OpenGL subsystem
Sys_Error: Couldn't load default.cfg
shutdown terminal support

I might be able to help you :slight_smile:

I got it working.

When I looked at my commandline output I noticed doom3 was not looking in the folder, were I had copied the .pks files.

In my home dir are two dhewm folders.

One is hidden, and the path is:

/home/guus/.local/share/dhewm3/base

I got exactly the same error before as you, and as far as I can tell, you’re output is the same as mine. ( so the compiling went right)

Copying the 13 ( might be less if you do not have roe and or the latest updated version,) pks files to that folder worked for me.

I also copied two .cfg files from my previous install to that base folder.

DoomConfig.cfg
default.cfg

Both files contain the same text. ( we probably only need one, but when I was trying to solve the problem, I copied all the text into both files.

The txt in the files:

unbindall
bind "TAB" "_impulse19"
bind "ENTER" "_button2"
bind "ESCAPE" "togglemenu"
bind "SPACE" "_moveup"
bind "/" "_impulse14"
bind "0" "_impulse10"
bind "1" "_impulse0"
bind "2" "_impulse1"
bind "3" "_impulse2"
bind "4" "_impulse3"
bind "5" "_impulse4"
bind "6" "_impulse5"
bind "7" "_impulse6"
bind "8" "_impulse7"
bind "9" "_impulse8"
bind "" "_impulse15"
bind "\" "_mlook"
bind "]" "_impulse14"
bind "a" "_moveleft"
bind "c" "_movedown"
bind "d" "_moveright"
bind "f" "_impulse11"
bind "q" "_impulse9"
bind "r" "_impulse13"
bind "s" "_back"
bind "t" "clientMessageMode"
bind "w" "_forward"
bind "y" "clientMessageMode 1"
bind "z" "_zoom"
bind "BACKSPACE" "clientDropWeapon"
bind "PAUSE" "pause"
bind "UPARROW" "_forward"
bind "DOWNARROW" "_back"
bind "LEFTARROW" "_left"
bind "RIGHTARROW" "_right"
bind "ALT" "_strafe"
bind "CTRL" "_attack"
bind "SHIFT" "_speed"
bind "DEL" "_lookdown"
bind "PGDN" "_lookup"
bind "END" "_impulse18"
bind "F1" "_impulse28"
bind "F2" "_impulse29"
bind "F3" "_impulse17"
bind "F5" "savegame quick"
bind "F6" "_impulse20"
bind "F7" "_impulse22"
bind "F9" "loadgame quick"
bind "F12" "screenshot"
bind "MOUSE1" "_attack"
bind "MOUSE2" "_moveup"
bind "MOUSE3" "_zoom"
bind "MWHEELDOWN" "_impulse14"
bind "MWHEELUP" "_impulse15"
seta com_product_lang_ext "1"
seta sv_punkbuster "0"
seta cl_punkbuster "0"
seta com_videoRam "64"
seta com_showFPS "0"
seta com_purgeAll "0"
seta com_machineSpec "0"
seta com_preloadDemos "0"
seta com_compressDemos "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 "3.301587"
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_guid "RbjwWnLrQcc"
seta net_clientDownload "1"
seta net_master4 ""
seta net_master3 ""
seta net_master2 ""
seta net_master1 ""
seta net_clientMaxRate "16000"
seta net_serverMaxClientRate "16000"
seta gui_filter_game "0"
seta gui_filter_idle "0"
seta gui_filter_gameType "0"
seta gui_filter_players "0"
seta gui_filter_password "0"
seta image_downSizeLimit "256"
seta image_ignoreHighQuality "1"
seta image_downSizeBumpLimit "256"
seta image_downSizeSpecularLimit "64"
seta image_downSizeBump "1"
seta image_downSizeSpecular "1"
seta image_useCache "0"
seta image_cacheMegs "20"
seta image_cacheMinK "200"
seta image_usePrecompressedTextures "1"
seta image_useNormalCompression "2"
seta image_useAllFormats "1"
seta image_useCompression "1"
seta image_preload "1"
seta image_roundDown "1"
seta image_forceDownSize "0"
seta image_downSize "1"
seta image_lodbias "0"
seta image_anisotropy "0"
seta image_filter "GL_LINEAR_MIPMAP_LINEAR"
seta r_debugArrowStep "120"
seta r_debugLineWidth "1"
seta r_debugLineDepthTest "0"
seta r_cgFragmentProfile "best"
seta r_cgVertexProfile "best"
seta r_forceLoadImages "0"
seta r_shadows "1"
seta r_skipBump "0"
seta r_skipSpecular "0"
seta r_skipNewAmbient "0"
seta r_renderer "best"
seta r_brightness "1"
seta r_gamma "1"
seta r_swapInterval "0"
seta r_useIndexBuffers "0"
seta r_customHeight "1050"
seta r_customWidth "1680"
seta r_fullscreen "1"
seta r_mode "3"
seta r_multiSamples "0"
seta gui_mediumFontLimit "0.60"
seta gui_smallFontLimit "0.30"
seta s_libOpenAL "openal32.dll"
seta s_numberOfSpeakers "6"
seta s_doorDistanceAdd "150"
seta s_globalFraction "0.8"
seta s_subFraction "0.75"
seta s_playDefaultSound "1"
seta s_volume_dB "-3.809524"
seta s_meterTopTime "2000"
seta s_reverse "0"
seta s_spatializationDecay "2"
seta s_maxSoundsPerShader "1"
seta sys_lang "english"
seta sys_videoRam "0"
seta in_dgamouse "1"
seta in_mouse "1"
seta s_dsp "/dev/dsp"
seta s_driver "best"
seta s_alsa_lib "libasound.so.2"
seta s_alsa_pcm "default"
seta g_decals "1"
seta g_projectileLights "1"
seta g_doubleVision "1"
seta g_muzzleFlash "1"
seta net_clientLagOMeter "1"
seta g_spectatorChat "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_showBrass "1"
seta g_showProjectilePct "0"
seta g_showHud "1"
seta g_showPlayerShadow "0"
seta g_showcamerainfo "0"
seta g_healthTakeLimit "25"
seta g_healthTakeAmt "5"
seta g_healthTakeTime "5"
seta g_useDynamicProtection "1"
seta g_armorProtectionMP "0.6"
seta g_armorProtection "0.3"
seta g_damageScale "1"
seta g_nightmare "0"
seta g_bloodEffects "1"
seta r_aspectRatio "2"
seta ui_showGun "1"
seta ui_autoReload "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_fragLimit "10"
seta si_maxPlayers "4"
seta si_map "game/mp/d3dm1"
seta si_gameType "singleplayer"
seta si_name "DOOM Server"

Some lines will be different for you.
The onces important and having to do with screen resolution, full screen, and wide screen are:

seta r_customHeight "1050"
seta r_customWidth "1680"
seta r_fullscreen "1"
seta r_mode "3"

Explanation on what to type in the console or change in the text file:
Tutorial “How to play Doom 3 in widescreen and custom resolutions” - Steam Users’ Forums

If you need more info, don’t hesitate to ask. I am optemistic we can both get it working.

About the config files.

There are placed in:

/home/guus/.local/share/dhewm3

Not in
/home/guus/.local/share/dhewm3/base
as I stated above