dvander@347: This is the README file for sourcemm_update_tool. dvander@347: dvander@347: This tool will automatically correct gameinfo.txt when your server gets updated, and Valve's updater overwrites Metamod:Source's changes. This tool is experimental, and is thus a separate download for now. dvander@347: dvander@347: 1. INSTALLATION dvander@347: dvander@347: a. Extract the entire package to your mod folder. The structure should look like: dvander@347: dvander@347: /addons/metamod/bin/sourcemm_update_tool.dll dvander@347: /addons/metamod/bin/sourcemm_update_tool_i486.so dvander@347: /addons/metamod/README.txt dvander@347: /addons/sourcemm_update_tool.vdf dvander@347: /sourcemm_updater.conf dvander@347: dvander@347: b. Open /sourcemm_updater.conf with your favorite text editor. Change the dvander@347: "cstrike" folder to match your mod folder. dvander@347: dvander@347: 2. CONFIGURATION dvander@347: dvander@347: The sourcemm_updater.conf file has two configuration options. dvander@347: dvander@347: mmpath - Set this to the path Metamod:Source is located in. dvander@347: This defaults to addons/metamod/bin dvander@347: restart - Set this to how the server should be restarted when dvander@347: gameinfo.txt is patched. There are three options: dvander@347: dvander@347: quit - Execute "quit" in the console. Currently does not work. dvander@347: never - Do not restart. dvander@347: error - Generate an error message. Because of a bug in SourceDS, dvander@347: this will generate a crash dump on Windows, but the server dvander@347: will successfully quit. dvander@347: dvander@347: 3. USAGE dvander@347: dvander@347: You do not need to do anything to use the updater tool. When your server starts, dvander@347: it silently checks to see if Metamod:Source is loaded. If not, it will make sure dvander@347: gameinfo.txt is correctly set. Then, depending on how it's configured, it will dvander@347: kill the server. Most game server provides have auto-restart functionality on their dvander@347: servers; if not, you will need to manually restart the server. dvander@347: dvander@347: The update tool unloads itself immediately after the server starts, so it will not dvander@347: use any resources, and will not display when you type 'plugin_print'. dvander@347: dvander@347: 4. TROUBLESHOOTING dvander@347: dvander@347: This tool is currently experimental. There are two possible problems. For dvander@347: any issue you encounter, you should post a report here: dvander@347: dvander@347: http://bugs.alliedmods.net/index.php?project=4 dvander@347: dvander@347: a. The updater tool does not patch gameinfo.txt dvander@347: dvander@347: Verify that the tool is loading. You can do this by opening up the dvander@347: sourcemm_update_tool.vdf file and copying its file path. Then, enter dvander@347: the following command in your server console: dvander@347: dvander@347: plugin_load dvander@347: dvander@347: Example: dvander@347: dvander@347: plugin_load cstrike\addons\metamod\bin\sourcemm_update_tool dvander@347: dvander@347: If you get the following reply: dvander@347: dvander@347: Failed to load plugin "cstrike\addons\sourcemm_update_tool" dvander@347: Unable to load plugin "cstrike\addons\sourcemm_update_tool" dvander@347: dvander@347: Then the tool is working, and you should post a bug report. If instead, dvander@347: you get: dvander@347: dvander@347: Unable to load plugin "cstrike\addons\sourcemm_update_tool" dvander@347: Unable to load plugin "cstrike\addons\sourcemm_update_tool" dvander@347: dvander@347: Then the tool is not loading properly, and the path you are trying to use dvander@347: is not correct. dvander@347: dvander@347: b. The server always dies, and you can't start it at all dvander@347: dvander@347: The updater tool is either crashing or not repairing Metamod:Source dvander@347: correctly. First, try changing the 'restart' line in sourcemm_updater.conf dvander@347: to the following line: dvander@347: dvander@347: restart = never dvander@347: dvander@347: If that does not fix the problem, remove the .vdf file so the updater tool dvander@347: will not be loaded. dvander@347: dvander@347: In either case, you should post a bug report containing your mod name and dvander@347: your gameinfo.txt as an attachment. dvander@347: