From Segfault
Jump to navigation Jump to search

Doom 3

Doom 3

Duke Nukem


While starting up DUKE3D.EXE the SoundFX card would not be recognized and exits with:

Error initializing sound

The trick is to start SETUP.EXE instead and configure the SoundFX card with the "correct parameters". If configured incorrectly, SETUP.EXE will report:

Sound blaster not responding on selected port

We can look at the DOSBox configuration first:

$ grep -A4 ^sbt ${HOME}/.config/dosbox/dosbox-staging.conf 
sbtype  = sb16
sbbase  = 220
irq     = 7
dma     = 1
hdma    = 5

...and then use these settings to configure the soundcard with SETUP.EXE, resulting in something like the following:

$ cat DUKE3D.CFG 
BlasterAddress = 0x220
BlasterType = 6
BlasterInterrupt = 7
BlasterDma8 = 1
BlasterDma16 = 5


The setup is pretty straightfoward:[1]

git clone eduke32-git
cd eduke32-git

sudo dnf install g++ nasm mesa-libGL-devel mesa-libGLU-devel SDL2-devel SDL2_mixer-devel alsa-lib-devel libvorbis-devel libvpx-devel gtk2-devel flac flac-devel
make -j$(getconf _NPROCESSORS_CONF) RELEASE=0

Maybe download the Polymost High Resolution Pack, and then:

./eduke32 -grp ~/Downloads/

Motocross Madness

An old copy of Motocross Madness was present and Wine was already installed.

Running from a (noexec mounted) NFS share would not work:

$ wine32 /mnt/nfs/data/games/MCM/mcm.exe 
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library kvdd.dll (which is needed by L"Z:\\mnt\\nfs\\data\\games\\MCM\\mcm.exe") failed (error c000007b).
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\mnt\\nfs\\data\\games\\MCM\\mcm.exe" failed, status c0000135

So let's install a minimum copy, with all the executables installed locally:


sudo mkdir /opt/MCM && cd /opt/MCM
for f in ${NFSDIR}/*; do sudo ln -sv "${f}"; done
for f in `ls *.dll *.exe`; do sudo rm -f "${f}" && sudo cp -ivp ${NFSDIR}/"${f}" .; done

If needed, install the registry patch (and backup the registry before):

regedit -E ~/registry.txt
regedit motocmad.reg
regedit -E ~/registry_mcm.txt

See also: WineHQ: Motocross Madness 2 1.0



Unreal Tournament

Unreal Tournament