Complete.Org: Mailing Lists: Archives: freeciv: September 2004:
[Freeciv] Re: Differences Using "civserver" VS "civserver -r civ1.serv"
Home

[Freeciv] Re: Differences Using "civserver" VS "civserver -r civ1.serv"

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Ed Earl Ross <edearl@xxxxxxxxxxx>
Cc: freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: Differences Using "civserver" VS "civserver -r civ1.serv"
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Fri, 10 Sep 2004 20:58:29 -0400

Ed Earl Ross wrote:
> Aparently, "civserver" and "civserver -r civ1.serv" use different
> rulesets--why? 
> The Freeciv manual states the following: 
>         -r filename or --read filename
> 
> Specifies a file of server commands which the server will automatically
> read and process, as if you had typed them in at the server's prompt.
> The distribution has an example that sets options to be similar to
> Civilization I, which the option -r /usr/local/share/freeciv/civ1.serv
> would read.
> 
> I found /usr/local/share/freeciv/civ1/*.ruleset files, but no
> data/civ1/*.ruleset.
> 
> When "civserver -r civ1.serv starts, it tells me the following:
> Ruleset directory set to "civ1"

This is the /rulesetdir server command.  It's using the files in 
/usr/local/share/freeciv/civ1/.

> I tried the following:
>       /home/edearl/civ1/*.ruleset
>       /home/edearl/data/civ1/*.ruleset
>       /home/edearl/.freeciv/civ1/*.ruleset
>       /home/edearl/.freeciv/data/civ1/*.ruleset
>       /home/edearl/.freeciv/server/civ1/*.ruleset
>       /home/edearl/.freeciv/server/data/civ1/*.ruleset
> None worked.
> 
> Where should the rule sets be? 

In an unpacked source tarball, the rulesets are in data/.

Once you've installed it's in $prefix/share/freeciv/.  $prefix is 
/usr/local by default.  But you know this already since you found those 
files.

So what is your question?

jason


[Prev in Thread] Current Thread [Next in Thread]