Loki Software, Inc.

Technical FAQ

Display Issues

With the 1.2 patch, CivCTP has focus and is the active window at all times. As far as I can see, there is no way to take focus away from CivCTP now.
CivCTP now defaults to fullscreen mode. You can use the "--windowed" command line option to start the game in windowed mode, and you can use ALT-Enter to toggle between windowed and fullscreen mode.

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.

NOTE: As of version 1.2, CivCTP can run fullscreen without the DGA extensions, and you don't have to be logged in as root, just use the "--fullscreen" command-line switch.

How can I get the game to play fullscreen if I'm not logged in as root?
As of version 1.2, you don't have to be logged in as root, you can just use the --fullscreen command-line switch to run in fullscreen. Previous versions of the game use 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.

When I try to scroll with the mouse, I have to position it right at the edge of the screen or it won't work. Is this a window manager problem? Anything I can do?
Pressing "Caps Lock" will lock the mouse into the game window, which should eliminate this problem. Press it again to use the mouse freely outside the game.

NOTE: As of version 1.2, pressing "Ctrl-G" locks the mouse, matching the style of other Loki games.

Also, with a three button mouse, pressing the middle button and dragging will scroll the screen around.

Does the game have GNOME or KDE support (adding itself to task bars, etc)?
It doesn't have special GNOME/KDE support, but works as any other X11 application under those environments. If you are having trouble with the taskbar in your window manager, you can change the CivCTP window size by going to the game options menu and selecting the screen size menu in the graphics options, or run the game fullscreen.

How can I iconify the game and have it run in the background?
Typing CNTL-z or hitting the Pause key iconifies the game. When the game is iconified, it is paused and uses very little CPU time.

How can I change my screen size?
Currently the game is only supported in the X11 environment. By default, the program will run fullscreen. If you wish to change the screensize, access the Options menu (hit ESC from the game screen), click on the Graphics button, then access the Screen Size submenu. Choose a resolution (smaller resolution for a smaller screen), then restart the game for the change to take effect.

How can I maximize graphics speed when running the game?
There are a couple of tricks that will speed things up for you:

X should be run in 16-bit color for those who wish to speed up graphics. Using 24- or 32-bit color forces X to convert 16-bit images to 32-bit before it displays them -- a severe penalty for MHz challenged machines. You can make sure you're running in 16-bit color by starting x with "startx -- -bpp 16". Run it without a window manager or desktop environment (if you aren't already). Basically replace what is in your .xinitrc with this one line: /usr/local/games/CivCTP/civctp (or whatever path you put civctp in). You might want to back up your old .xinitrc just in case. Later on in the game it helps a lot to turn off trade and unit animations. Running the game in full screen mode (only possible on Xfree86) will reduce cpu usage by few percent.

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.