The sound effects work, but why won't the music play from the CD?
You need read permissions for the CD-ROM drive. Usually this is /dev/hdc, but it may be different on your machine. If you aren't sure, look at the link for /dev/cdrom (ls -l /dev/cdrom). Then run the command chmod o+r /dev/hdc (using your device for /dev/hdc). Also, make sure that your cdrom device is listed in /etc/fstab as an iso9660 device. You should see a line something like this when you 'cat /etc/fstab':
/dev/cdrom /mnt/cdrom iso9660 user,ro 0 0
If I have a music CD in when I start the game, the music CD will start to play. If I pull up a CD player app and stop it, it keeps restarting. How do I stop this?
You need to turn off music from within the game -- this can be done from the Options menu. Also, if you don't want the game accessing your CD-ROM, you can use the command line option -nocdrom, or set an environment variable "CIV_NOCD" before running your game.
Bash shell syntax: export CIV_NOCD=1; civctp
Csh shell syntax: setenv CIV_NOCD 1; civctp
Why I don't hear any sound?
First be sure that you have sound support compiled into your kernel and that you have installed an OSS supported sound card. Next, make sure that you have read/write permissions to /dev/dsp (chmod a+rw /dev/dsp). If sound still doesn't work, contact your Linux distributor for more assistance. Once sound is properly installed on your system Civ:CTP will use it automatically. There is no need to do any sound configuration within the game itself.
I have multiple CD-ROMs. How do I tell the game which one to use?
You can set the evironment variable SDL_CDROM to the full pathname of the CD device you want the game to use. ('export SDL_CDROM=/dev/hdc', for example)
Is there a workaround for the SoundBlaster Live!
Yes! Many thanks to Wintermute for finding the solution:
How do I get Civ:CTP to run fullscreen?
Civ:CTP can run full screen using XFree86's DGA extensions. To enable this feature, type (when logged in or su'd as root) 'export CIV_FULLSCREEN=1'. Then when running the game as root, the game will use the full screen. To go back to windowed mode, just set the variable back to 0, using the same command as above for bash users.
How can I get the game to play fullscreen if I'm not logged in as root?
The game uses the DGA extensions to switch to fullscreen. To allow non-root access to this, you need to put yourself in a trusted group and give the group access to /dev/mem. NOTE: This is a security risk and should not be used on machines where security is important.
Back to Questions
Products | Order | Resellers | Support | Development | Press | News | About Loki
© 2000 Loki Software, Inc. | Contact Us | Webmaster
Loki is a registered trademark of Loki Software, Inc.
Note: This site currently only fully supports Netscape Navigator 4.x or Internet Explorer 4.x or better. We will be adding support for other browsers shortly. We apologize for any inconvenience.