From bfd2b00e4deb48c0f663a3a03fccd727d0db6aa9 Mon Sep 17 00:00:00 2001 From: parkervcp Date: Wed, 2 Sep 2020 18:04:47 -0400 Subject: [PATCH] add storage cfg file --- teeworlds/teeworlds/storage.cfg | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 teeworlds/teeworlds/storage.cfg diff --git a/teeworlds/teeworlds/storage.cfg b/teeworlds/teeworlds/storage.cfg new file mode 100644 index 00000000..7ddbdd10 --- /dev/null +++ b/teeworlds/teeworlds/storage.cfg @@ -0,0 +1,37 @@ +#### +# This specifies where and in which order Teeworlds looks +# for its data (sounds, skins, ...). The search goes top +# down which means the first path has the highest priority. +# Furthermore the top entry also defines the save path where +# all data (settings.cfg, screenshots, ...) are stored. +# There are 3 special paths available: +# $USERDIR +# - ~/.appname on UNIX based systems +# - ~/Library/Applications Support/appname on Mac OS X +# - %APPDATA%/Appname on Windows based systems +# $DATADIR +# - the 'data' directory which is part of an official +# release +# $CURRENTDIR +# - current working directory +# $APPDIR +# - usable path provided by argv[0] +# +# +# The default file has the following entries: +# add_path $USERDIR +# add_path $DATADIR +# add_path $CURRENTDIR +# +# A customised one could look like this: +# add_path user +# add_path mods/mymod +#### + +## +# Touch it and your server may not start. +## + +add_path $DATADIR +add_path $CURRENTDIR +add_path $APPDIR \ No newline at end of file