about summary refs log tree commit diff
path: root/storage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'storage.cfg')
-rw-r--r--storage.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/storage.cfg b/storage.cfg
new file mode 100644
index 00000000..15f4ab18
--- /dev/null
+++ b/storage.cfg
@@ -0,0 +1,31 @@
+####
+# 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
+#
+#
+# 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
+####
+
+add_path $USERDIR
+add_path $DATADIR
+add_path $CURRENTDIR