Linux games

Revision as of 10:38, 30 August 2015 by WikiFreak (talk | contribs)


On-line gaming



Commercial games

Diablo3

requirement

You need to open some specific ports to play Diablo3.


installation

Very good tutorial: http://www.sysads.co.uk/2014/08/install-diablo-3-on-ubuntu-14-04/


graphic fix (ATI)

http://workinginavirtualspace.blogspot.com/2014/05/playonlinux-and-diablo-3-ros-get-past.html


Sound fix

If your sound is cracky or if you don't have any sound...

sudo vim /etc/pulse/default.pa

1. Comment the following lines if they are not already commented:

## Ensure following lines are commented
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0

## Comment the following block
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

2. Use the following configuration instead

## Wine hook
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop

# Automatically load the correct driver
load-module module-udev-detect


From now on your wine can use pulseaudio. You need to create a configuration file:

vim ~/.asoundrc

Put the following content:

pcm.!default {
    @func refer
    name { @func concat 
           strings [ "pcm."
                     { @func getenv
                       vars [ ALSA_DEFAULT_PCM ]
                       default "pulse"
                     }
           ]
         }
}

ctl.!default {
    @func refer
    name { @func concat 
           strings [ "ctl."
                     { @func getenv
                       vars [ ALSA_DEFAULT_CTL
                              ALSA_DEFAULT_PCM
                       ]
                       default "pulse"
                     }
           ]
         }
}


Restart pulseaudio

pulseaudio -k
pulseaudio --start
  • Test your system sound (= play a music track)
  • Test wine sound:
    • ALSA_DEFAULT_PCM="plug:dmix" winecfg
    • Go to the Audio tab, click "Test Sound"
    • If you hear the sound, and see messages like "The dmix plugin supports only playback stream", it's working.




Open source games

Linux has some very good games too !