Setting up a LAN server... config questions

Post here if you need help setting up your server, etc.
Post Reply
silentbob17
Posts: 2
Joined: Tue Jan 10, 2012 4:05 am

Setting up a LAN server... config questions

Post by silentbob17 »

Hey guys. I've done my best to locate the answers here but hath failed.

I do not understand which cfg files load and in what order... and from which folder... I would really appreciate some clarification.

Currently in my Armagetron/config folder is:

aiplayers.cfg
default.cfg
server_info.cfg
settings.cfg
settings_authentication.cfg
settings_dedicated.cfg
settings_visual.cfg

several of them have the same variables and I don't know which ones override which

also what is the difference between "INCLUDE" and "SINCLUDE"?

do I need to create a settings_custom.cfg file and then "INCLUDE" somewhere?

I also understand that cfg files may be read from the users/*name*/appdate...etc folder

could someone please sort me out?
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Setting up a LAN server... config questions

Post by Z-Man »

silentbob17 wrote:also what is the difference between "INCLUDE" and "SINCLUDE"?
INCLUDE complains if the file to include doesn't exist, SINCLUDE doesn't.
silentbob17 wrote:do I need to create a settings_custom.cfg file
Yes, that is the recommended procedure; put everything you want altered in there.
silentbob17 wrote:and then "INCLUDE" somewhere?
No, it already is SINCLUDED from the bottom of settings_dedicated.cfg.
silentbob17
Posts: 2
Joined: Tue Jan 10, 2012 4:05 am

Re: Setting up a LAN server... config questions

Post by silentbob17 »

Thank you very much, this is really helpful.

So the idea is to touch nothing but the settings_custom.cfg file, and all the modifications I would like from the default values I place in here. It is the last cfg to be loaded and overrides any values that conflict with other cfg files. This custom file is also located inside the dedicated server directory (not appdata).

Is all this correct?
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Setting up a LAN server... config questions

Post by Z-Man »

Almost; if you like, you can place settings_custom.cfg into the appropriate AppData directory, a version found there is preferred by the program over one stored with the other files. The User Config directory is searched before the System Config directory.
Post Reply