The Python/Tk Empire Interface (which is often referred to as PTkEI) is a python based interpretive client for the empire server.
This documentation refers to release 1.11
The release date for the 1.11 version is 11/01/99.
This client is distributed under the terms of the GNU GPL.
Author: Kevin O'Connor
This program is a client only. If you are not familiar with empire and the empire server, then you will definitely need to read the empire documentation in addition to the client documentation.
The most recent development versions of this client can currently be
found at:
http://www.empire.cx/~kevin/ptkei/
In order to use the graphical portions of this client, you must have the Tcl/Tk libraries installed, and you must have a version of Python that is configured to work with Tk.
To obtain the Python interpreter and Tcl/Tk libraries, see the instructions located at the main Python web site: http://www.python.org/
After installing the main python distribution and the Tcl library, unpack the PTkEI archive, and double click on the file 'empire.py' to run the client.
I have tried repeatedly to get the client to work on Windows 3.1. It now seems entirely unlikely that the client will ever be available on this platform. Windows 3.1 is a 16bit platform, and there is no longer any active development around 16bit code.
Optionally, the client may be invoked using the syntax, 'empire.py <filename>' to specify a file to store the database in. (If no name is specified, the file defaults to 'EmpDB'.) In addition to specifying the database filename, a number of additional options may be provided. Please see the command-line section of the TIPS file for more information.
If the server disconnects the client because of an inactivity timeout or because of a 'bye' command, the client will idle until the next command is issued (at which time PTkEI will automatically reconnect). To exit the client, you must close the main window via the window manager.
When a database is first initialized the client will prompt for server and country information. The database file will recall this information for future connections. If you change these values using the 'change' command, you will have to enter the new values the next time the client attempts to reconnect.
PTkEI can also be run without a graphical display. Reverting back to a text interface is highly unrecommended and nearly unsupported. In a crunch, however, the client will operate nearly identically to the standard empClient. (A graphical connection is automatically used when available; the client will only revert to text when no graphics are permitted or when there is an error connecting to the display.)
Currently, the graphical interface includes a scrollable map window, a selectable censor window, a telegram and annoucement window, and several other 'nifty' features.
There are a few 'smart' features available. Please see the file commands.html for a description of these commands. The GUI functions are described in gui.html. Other miscellaneous information can be found in the TIPS.html file.
Also, if the client is running under Windows, be sure to read the
section located at:
http://www.python.org/topics/tkinter/download.html#autoexec
This
link describes the process of adding TCL to the standard PATH variable at
boot time.
Unfortunately, my current email address will "expire" in a relatively
short period of time, and I do not have a replacement email account. As of
this writing, I can be reached at:
kevin@www.empire.cx
Most requests can be asked in the empire newsgroup. This newsgroup rec.games.empire is dedicated to answering questions about empire and empire clients. Much useful information can be gathered from this source.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA