Rewrite top-level README for new build process. Merge information
from LEGAL, remove that file. References to it were already removed in the previous change set. Remove obsolete doc/compiling and doc/disk_space.
This commit is contained in:
parent
4515b84c59
commit
c62c252b34
5 changed files with 72 additions and 145 deletions
26
LEGAL
26
LEGAL
|
@ -1,26 +0,0 @@
|
||||||
******************************************************************************
|
|
||||||
Empire - A multi-player, client/server Internet based war game.
|
|
||||||
Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
|
|
||||||
Ken Stevens, Steve McClure
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
See files README, COPYING and CREDITS in the root of the source
|
|
||||||
tree for related information and legal notices. It is expected
|
|
||||||
that future projects/authors will amend these files as needed.
|
|
||||||
|
|
||||||
******************************************************************************
|
|
129
README
129
README
|
@ -1,76 +1,89 @@
|
||||||
Welcome to Empire 4, codenamed Wolfpack. Congratulations on your choice!
|
Welcome to Empire 4, code-named Wolfpack.
|
||||||
|
|
||||||
See files README, COPYING and CREDITS in the root of the source
|
Empire is a multi-player, client/server Internet based war game.
|
||||||
tree for related information and legal notices. It is expected
|
Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak, Ken
|
||||||
that future projects/authors will amend these files as needed.
|
Stevens, Steve McClure
|
||||||
|
|
||||||
For questions and comments, please contact "wolfpack@wolfpackempire.com".
|
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 (in file
|
||||||
|
`COPYING'), or (at your option) any later version.
|
||||||
|
|
||||||
If you want to build the server, follow the few simple steps below. If
|
See file `CREDITS' for a list of contributors.
|
||||||
you are looking for more information on the files here, options for
|
|
||||||
the server, etc. take a look in the "doc" directory, then follow the steps
|
|
||||||
below to build and start the server.
|
|
||||||
|
|
||||||
(1) Unpacking the server
|
Directory `doc' has additional information. File `doc/README'
|
||||||
If you're building from a tarball, unpack it.
|
describes the files there and what they talk about.
|
||||||
If you're building from CVS, check out and run bootstrap. This
|
|
||||||
|
To build the server and set up a game, follow the steps below.
|
||||||
|
|
||||||
|
(1) Unpacking the source tree
|
||||||
|
|
||||||
|
If you downloaded a tarball, unpack it.
|
||||||
|
|
||||||
|
If you're pulling from CVS, check out and run bootstrap. This
|
||||||
requires Autoconf and Automake to be installed.
|
requires Autoconf and Automake to be installed.
|
||||||
|
|
||||||
(2) Building a server
|
(2) Building a server
|
||||||
Note that you may not have to build a server. If you received the
|
|
||||||
server in binary format, go to the next step, "Creating the world."
|
|
||||||
|
|
||||||
To build the server, you need to do the following steps:
|
Requirements: GNU make and GNU troff (`groff'), ANSI C, Perl,
|
||||||
FIXME needs work
|
Bourne Shell and the common utilities.
|
||||||
|
|
||||||
1) Get a copy of the source. Since you're reading this, we assume
|
See file `INSTALL' for detailed compilation and installation
|
||||||
you have done that.
|
instructions. Quick guide for the impatient: run configure; make;
|
||||||
2) Gunzip the source. Again, since you're reading this . . . ;-)
|
make install. The last step is optional; everything runs fine
|
||||||
3) Run configure.
|
right from the build tree.
|
||||||
4) Run make. You need GNU make.
|
|
||||||
|
|
||||||
(3) Creating the world
|
(3) Creating a game
|
||||||
(NOTE: If you received a binary, you must edit the included data/econfig
|
|
||||||
file to represent the paths where your data and info directories are.)
|
|
||||||
1) First, pick the world size you want to use. Once you have chosen
|
|
||||||
a world size, edit the "data/econfig" file (it was either created
|
|
||||||
at build time, or shipped with the binary) and change the WORLD_X
|
|
||||||
and WORLD_Y to be the sizes you want. The default world size is 64x32.
|
|
||||||
IMPORTANT: WORLD_X *MUST* be divisible by 2. In addition, if you
|
|
||||||
change the world size later, you *MUST* re-create the world by
|
|
||||||
running "bin/files" again.
|
|
||||||
2) Go into the "bin" directory, and run "./files".
|
|
||||||
3) If you want to create a new world, run "./fairland 10 30" to create
|
|
||||||
a sample world (read the documentation for fairland for more info on
|
|
||||||
it's arguments.)
|
|
||||||
Note that "files" and "fairland" use the world size in the econfig file
|
|
||||||
if it exists in the data directory. If this file doesn't exist, and you
|
|
||||||
don't specify one, it will use the default world size the server was
|
|
||||||
compiled with (Wolfpack binaries ship with a 64x32 world size) You can
|
|
||||||
create an econfig file with default values using the "bin/pconfig"
|
|
||||||
executable.
|
|
||||||
|
|
||||||
(4) Running the server
|
* Create a configuration for your game. make install installs one
|
||||||
1) Run the bin/emp_server executable to start the server.
|
in $prefix/etc/empire/econfig ($prefix is /usr/local unless you
|
||||||
|
chose something else with configure). You can use pconfig to
|
||||||
|
create another one.
|
||||||
|
|
||||||
That's it. Once running, you can log on to the server using the emp_client
|
* Edit your configuration file. See doc/econfig for more
|
||||||
program found in the "bin" directory. The initial deity country name/password
|
information.
|
||||||
is POGO/peter.
|
|
||||||
|
|
||||||
If you get a "You're not a deity!" message and logged off, check the
|
Unless you put your configuration file in the default location
|
||||||
"data/server.log" file and look at the end for a "NON-AUTH" entry.
|
(where make install installs it), you have to use -e with all
|
||||||
There should be a "user@host" message in there that failed to log in.
|
programs to make them use your configuration.
|
||||||
Enter this user and host in the auth file, and you should be able to
|
|
||||||
log into the server as a deity now.
|
|
||||||
|
|
||||||
For more information on options, programs, files and other general hints
|
* Run files to set up your data directory.
|
||||||
look in the "doc" directory. The README there describes the files there and
|
|
||||||
what they talk about.
|
|
||||||
|
|
||||||
For more information or help, send e-mail to "wolfpack@wolfpackempire.com" and
|
* Run fairland to create a world. For a sample world, try
|
||||||
we'll try to answer if we can. Also check out our web site at
|
`fairland 10 30'. This creates file ./newcap_script, which will
|
||||||
"http://www.wolfpackempire.com"
|
be used below. You can edit it to change country names and
|
||||||
|
passwords.
|
||||||
|
|
||||||
|
Check out fairland's manual page for more information.
|
||||||
|
|
||||||
|
* Start the server. For development, you want to run it with -d
|
||||||
|
in a debugger, see doc/debugging. Do not use -d for a real
|
||||||
|
game!
|
||||||
|
|
||||||
|
* Log in as deity POGO with password peter. This guide assumes
|
||||||
|
you use the included client `empire', but other clients should
|
||||||
|
work as well.
|
||||||
|
|
||||||
|
For help, try `info'.
|
||||||
|
|
||||||
|
To change the deity password, use `change re <password>'.
|
||||||
|
|
||||||
|
FIXME auth
|
||||||
|
|
||||||
|
* Create countries with `exec newcap_script'.
|
||||||
|
|
||||||
|
Your game is now up!
|
||||||
|
|
||||||
|
Naturally, there's more to running a real game than that, but that's
|
||||||
|
beyond the scope of this file.
|
||||||
|
|
||||||
|
Please report bugs to <wolfpack@wolfpackempire.com> or via SourceForge
|
||||||
|
http://sourceforge.net/projects/empserver (registration required).
|
||||||
|
|
||||||
|
For more information or help, try rec.games.empire on Usenet, or send
|
||||||
|
e-mail to <wolfpack@wolfpackempire.com> and we'll try to answer if we
|
||||||
|
can. Also check out our web site at "http://www.wolfpackempire.com".
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
|
|
||||||
-- The Wolfpack development team...
|
Wolfpack!
|
||||||
|
|
|
@ -16,12 +16,6 @@ clients-howto
|
||||||
troubleshooting
|
troubleshooting
|
||||||
Some common problems and solutions.
|
Some common problems and solutions.
|
||||||
|
|
||||||
disk_space
|
|
||||||
Stuff you can delete to make more disk space.
|
|
||||||
|
|
||||||
compiling
|
|
||||||
How to compile the Empire server.
|
|
||||||
|
|
||||||
configuration
|
configuration
|
||||||
How to turn options on and off, change game parameters, etc...
|
How to turn options on and off, change game parameters, etc...
|
||||||
|
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
|
|
||||||
Compiling the Game
|
|
||||||
|
|
||||||
Required software:
|
|
||||||
make
|
|
||||||
cc
|
|
||||||
|
|
||||||
Machine-wise configuration
|
|
||||||
|
|
||||||
Determine what kind of machine you're on (sun4, sun3, sequent,
|
|
||||||
mipsultrix machine, alpha, etc).
|
|
||||||
|
|
||||||
Type "make" at the high level, and see if your machine is in the
|
|
||||||
resulting list.
|
|
||||||
|
|
||||||
If it is not, you will need to edit the high-level Makefile and
|
|
||||||
add support for your architecture in. Send e-mail to:
|
|
||||||
"wolfpack@wolfpackempire.com"
|
|
||||||
if you need help doing this.
|
|
||||||
|
|
||||||
Constructing Binaries
|
|
||||||
|
|
||||||
First, run "make depend" to build the dependencies. You only need
|
|
||||||
to do this once before the first build. You may run this again if
|
|
||||||
you make significant changes to the code (including new files, etc.)
|
|
||||||
|
|
||||||
Second, Run "make <arch>" at the top level.
|
|
||||||
|
|
||||||
Installing Info Pages
|
|
||||||
|
|
||||||
The INFO pages aren't run as a part of the normal make session.
|
|
||||||
In order to install them, you must cd into the "info" subdirectory,
|
|
||||||
and run "make". This will nroff all the info documents and place
|
|
||||||
them in the "../info.nr" directory, from where players can
|
|
||||||
access them during the game.
|
|
||||||
|
|
||||||
You will need perl5 installed as your version of perl for this to
|
|
||||||
work.
|
|
||||||
|
|
||||||
If you add or change any info pages, then be sure to follow
|
|
||||||
the instructions in info/README to generate new Subjects pages.
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
What can I delete?
|
|
||||||
|
|
||||||
|
|
||||||
If disk space is a concern, then there are a number of files which you can
|
|
||||||
safely delete without affecting your game.
|
|
||||||
|
|
||||||
Once you have compiled your info pages, you can type:
|
|
||||||
rm -fr info
|
|
||||||
|
|
||||||
Once you have compiled your server, you can type:
|
|
||||||
make clean
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue