Playing Call Of Duty 4: Modern Warfare Under Ubuntu Linux

December 5th, 2009 Alex Posted in 3D, games, linux, ubuntu Comments Off

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wine1.2
wget http://www.kegel.com/wine/winetricks
sh winetricks vcrun2005
sh winetricks d3dx9
wine regedit
  • under HKEY_CURRENT_USER/Software/Wine, create key Direct3D if it doesn’t already exist
  • inside Direct3D create the following values:
    • string: DirectDrawRenderer value: opengl
    • string: OffscreenRenderingMode value: fbo
    • string: RenderTargetLockMode value: auto
    • string: UseGLSL value: readtex
    • string: VideoMemorySize value: (video card memory size in MB)
AddThis Social Bookmark Button

Sound Problems With Urban Terror, Pulseaudio and Ubuntu Karmic

October 2nd, 2009 Alex Posted in games, ubuntu Comments Off

I fixed it by installing libsdl1.2debian-pulseaudio (which replaces libsdl1.2debian-alsa). So it might be worth a try if you get sound problems with any other programs.

Source: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/372843

AddThis Social Bookmark Button

Ubuntu Doesn’t Save My Sound Settings …

September 24th, 2009 Alex Posted in linux, ubuntu Comments Off

For some reason, Ubuntu Karmic wasn’t saving my sound volume and settings that I set using the Sound Preferences. After attempting to run alsactl store I got:

$ alsactl store
alsactl: save_state:1530: Cannot open /var/lib/alsa/asound.state for writing: Permission denied
$ sudo alsactl store
E: core-util.c: Home directory /home/mycurrentuser not ours.

So I deciced to change “/var/lib/alsa/asound.state” ownership temporarily to the current user and then was able to successfully save my sound settings (then switched back ownership to root). I also added “alsactl restore” to /etc/rc.local to automatically reload my sound settings when I reboot.

AddThis Social Bookmark Button