Default config file for wesnothd

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
User avatar
fstltna
Posts: 40
Joined: October 2nd, 2010, 10:20 am
Location: South San Francisco, CA
Contact:

Default config file for wesnothd

Post by fstltna »

I'm trying to run the latest version of wesnothd but I can't find a example .cfg script to pass to the "-c <file>" command-line option. Can someone help me out? Would prefer a file that listed all the options and the defaults...

Thx!
--- gameplayer.club port 33333 - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free
Tad_Carlucci
Inactive Developer
Posts: 503
Joined: April 24th, 2016, 4:18 pm

Re: Default config file for wesnothd

Post by Tad_Carlucci »

You don't say which OS this is for. I'm assuming you want a `.cfg` file for some menu manager on some display manager for Linux. ISTM one is created on my system, Arch, using `pacman` to install. Other packagers might not do that. YMMV.

`man wesnoth`

or have the program display them with `wesnoth --help`
I forked real life and now I'm getting merge conflicts.
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Default config file for wesnothd

Post by Pentarctagon »

Tad_Carlucci wrote: November 26th, 2018, 1:54 pm `man wesnoth`
That should be wesnothd, I assume. As an example(no idea if it's up to date or not), see: https://linux.die.net/man/6/wesnothd
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
fstltna
Posts: 40
Joined: October 2nd, 2010, 10:20 am
Location: South San Francisco, CA
Contact:

Re: Default config file for wesnothd

Post by fstltna »

Pentarctagon wrote: November 26th, 2018, 2:32 pm That should be wesnothd, I assume. As an example(no idea if it's up to date or not), see: https://linux.die.net/man/6/wesnothd
Yes, wesnothd for linux. I saw that page but I didn't see any example file for me to work from...
--- gameplayer.club port 33333 - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Default config file for wesnothd

Post by Pentarctagon »

fstltna wrote: November 27th, 2018, 3:20 am
Pentarctagon wrote: November 26th, 2018, 2:32 pm That should be wesnothd, I assume. As an example(no idea if it's up to date or not), see: https://linux.die.net/man/6/wesnothd
Yes, wesnothd for linux. I saw that page but I didn't see any example file for me to work from...
It does list the configuration's available keys and tags though.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
fstltna
Posts: 40
Joined: October 2nd, 2010, 10:20 am
Location: South San Francisco, CA
Contact:

Re: Default config file for wesnothd

Post by fstltna »

Pentarctagon wrote: November 27th, 2018, 4:35 am
fstltna wrote: November 27th, 2018, 3:20 am
Pentarctagon wrote: November 26th, 2018, 2:32 pm That should be wesnothd, I assume. As an example(no idea if it's up to date or not), see: https://linux.die.net/man/6/wesnothd
Yes, wesnothd for linux. I saw that page but I didn't see any example file for me to work from...
It does list the configuration's available keys and tags though.
Ok, I will give it a go from that. Thanks anyway!
--- gameplayer.club port 33333 - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free
Shiki
Developer
Posts: 344
Joined: July 13th, 2015, 9:53 pm
Location: Germany

Re: Default config file for wesnothd

Post by Shiki »

The same. Figure out how to run commands on windows, and then use sth. like:
c:\\path\to\wesnothd -c path\to\lan_server.cfg

You probably have a sample lan_server.cfg in the Documents\mygames folder.
You can extend it with the options mentioned here:
https://manpages.debian.org/stretch-bac ... 14-server/ (this link is up to date)
Try out the dark board theme.
Post Reply