install quake2 ubuntu Couldn’t load pics/colormap.pcx SNDDMA_Init: Could not mmap /dev/dsp,

i install quake2 on my ubuntu 7.04 feisty from synaptic, both package quake2 & quake2-data but when i run, came out this error:

$ quake2
...
Couldn't load pics/colormap.pcx
...

here are my step2 to fix it:

  1. $ mv /usr/lib/games/quake2/baseq2 /usr/lib/games/quake2/baseq2.bak
  2. is to copy baseq2 folder from your Quake2 CD to /usr/lib/games/quake2
  3. $ cp -R /cdrom/baseq2 /usr/lib/games/quake2/
  4. $ mv /usr/lib/games/quake2/baseq2/Pak0.pak /usr/lib/games/quake2/baseq2/pak0.pak
  5. $ cp /usr/lib/games/quake2/baseq2.bak/game* /usr/lib/games/quake2/baseq2
  6. $ mv /usr/share/games/quake2/baseq2 /usr/share/games/quake2/baseq2.bak
  7. $ ln -s /usr/lib/games/quake2/baseq2 /usr/share/games/quake2/baseq2

then try to run $ quake2
the game can be run now but still got no sound, and here is the error:

SNDDMA_Init: Could not mmap /dev/dsp.

here how to run quake with proper sound (at least for my computer):

$ quake2 +set snddriver ao +set snddevice oss

or add these lines to /home/you/.quake2/baseq2/config.cfg

set snddriver "ao"
set snddevice "oss"

here is the tweak to make it fullscreen

set vid_ref "softsdl"
set vid_fullscreen "1"

and here are some cheat i still remember from old days, type “~” would bring quake2 console, type:

All commands are entered from Quake 2’s console - press ~ key to access it.

  • GOD - God Mode
  • NOCLIP - No Clip Mode
  • NOTARGET - No Target Mode
  • GIVE ALL - Give all items (except those listed below)
  • GIVE HEALTH - Give 100 health
  • GIVE WEAPONS - Give all weapons
  • GIVE AMMO - Give all ammo
  • GIVE ARMOR - Give body armor
  • SET g_unlimited_ammo 1 - Unlimited ammo

Commands below give you items not given by “GIVE ALL”

  • GIVE BLUE KEY
  • GIVE RED KEY
  • GIVE COMBAT ARMOR
  • GIVE AIRSTRIKE MARKER
  • GIVE ARMOR SHARD
  • GIVE SECURITY PASS
  • GIVE POWER SHIELD
  • GIVE COMMANDER’S HEAD

Also,

  • MAP mapname - jump to a different map (base1, base2, waste1, etc..)

Leave a Reply