41fd31deed43c68e02153def6eeb9cd014f9bc5e
This new feature reads a list of config files from a zip file named config/configtemplates.zip and checks each file, if it is already existing in the game's search path. If it can not be found, it will be created in the user's home dir (where saved.cfg gets written). Before this, the config files were installed with the rest of the game, and if the user customised any of the files, he most likely did not move the file to his personal directory first. A re-install in the same place would then overwrite the customised file. This feature creates the files where they will usually not be overwritten. To use the feature, before packaging the game, the files config/autoexec.cfg config/favourites.cfg config/pcksources.cfg have to be archived into a zip file config/configtemplates.zip The zip file should not contain directories. It should not be checked into git. The original single config files should not be distributed with the package.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="refresh" content="0; url=docs/index.html">
<meta name="description" content="Documentation index of the game AssaultCube @ http://assault.cubers.net/">
<meta name="author" content="Rabid Viper Productions">
<meta name="copyright" content="You may be able to redistribute this content under specific conditions.
Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the
conditions that would apply to what you may be redistributing.">
<title>AssaultCube Documentation</title>
<style type="text/css">
body
{
background-color: #222222;
}
</style>
</head>
<body>
<div>
</div>
</body>
</html>
Languages
C
57.9%
C++
27.6%
Shell
11.1%
Python
1.2%
Makefile
1%
Other
1.1%