Difference between revisions of "Installing Metamod:Source"

From AlliedModders Wiki
Jump to: navigation, search
 
m
Line 4: Line 4:
  
 
<ol>
 
<ol>
<li>Download the appropriate package for your server: there is a Linux tarball and Windows zip file.  You can get this from the [http://www.sourcemm.net/ SourceMM Website].</li>
+
<li>'''Download''' the appropriate package for your server: there is a Linux tarball and Windows zip file.  You can get this from the [http://www.sourcemm.net/ SourceMM Website].</li>
<li>Open the package, you will either have "server_i486.so" or "server.dll".</li>
+
<li>'''Open''' the package, you will either have "server_i486.so" or "server.dll".</li>
<li>Find your "mod folder" on your server. This will be something like "cstrike" or "hl2mp".</li>
+
<li>'''Find '''your "mod folder" on your server. This will be something like "cstrike" or "hl2mp".</li>
<li>Make a folder in your mod folder called "addons", if it doesn't already exist.  Make a folder inside addons called "metamod", and a folder inside "metamod" called "bin".</li>
+
<li>'''Make''' a folder in your mod folder called "addons", if it doesn't already exist.  Make a folder inside addons called "metamod", and a folder inside "metamod" called "bin".</li>
<li>Create a new, blank, text file called "metaplugins.ini".</li>
+
<li>'''Create''' a new, blank, text file called "metaplugins.ini".</li>
<li>Upload the files to your server:
+
<li>'''Upload''' the files to your server:
 
<ul><li>Upload the server.dll or server_i486.so file to your addons/metamod/bin Folder.</li>
 
<ul><li>Upload the server.dll or server_i486.so file to your addons/metamod/bin Folder.</li>
 
<li>Upload the metaplugins.ini file to your addons/metamod folder.</li>
 
<li>Upload the metaplugins.ini file to your addons/metamod folder.</li>
 
<li>WARNING! - Do not replace the mod's server.dll/server_i486.so (usually in "<mod>\bin"). This will cause your mod to stop working.</li>
 
<li>WARNING! - Do not replace the mod's server.dll/server_i486.so (usually in "<mod>\bin"). This will cause your mod to stop working.</li>
 
</ul>
 
</ul>
<li>Open the file in the mod folder called "gameinfo.txt". You will see a few lines at the bottom like this:
+
<li>'''Open''' the file in the mod folder called "gameinfo.txt". You will see a few lines at the bottom like this:
 
:<pre>
 
:<pre>
 
SearchPaths
 
SearchPaths
Line 23: Line 23:
 
}
 
}
 
</pre></li>
 
</pre></li>
<li>#Add a line before all of the "Game" entries that looks like this:<pre>GameBin |gameinfo_path|addons/metamod/bin
+
<li>'''Add''' a line before all of the "Game" entries that looks like this:<pre>GameBin |gameinfo_path|addons/metamod/bin
 
</pre>
 
</pre>
 
</li>
 
</li>
 
<li>You're done! To test whether it worked, restart your game server and type "meta" in the [[server console]]. You should get a menu.
 
<li>You're done! To test whether it worked, restart your game server and type "meta" in the [[server console]]. You should get a menu.
 
<li>For more information, documentation, and troubleshooting, see [[:Category:Documentation (SourceMM)]]</li>
 
<li>For more information, documentation, and troubleshooting, see [[:Category:Documentation (SourceMM)]]</li>
#Optional Cvars:
+
<li>Optional Cvars:
#*<tt>mm_pluginsfile</tt> - Sets the path and name of the plugins file, defaulting to "addons/metamod/plugins.ini". It is relative to the mod directory.
+
<tt>mm_pluginsfile</tt> - Sets the path and name of the plugins file, defaulting to "addons/metamod/plugins.ini". It is relative to the mod directory.</li>
 +
</ol>
  
  
 
[[Category::Documentation (SourceMM)]]
 
[[Category::Documentation (SourceMM)]]

Revision as of 16:00, 16 January 2006

This article will guide you through a SourceMM installation.

If you don't already have Metamod:Source bundled with a plugin, you can install it manually with the directions below.

  1. Download the appropriate package for your server: there is a Linux tarball and Windows zip file. You can get this from the SourceMM Website.
  2. Open the package, you will either have "server_i486.so" or "server.dll".
  3. Find your "mod folder" on your server. This will be something like "cstrike" or "hl2mp".
  4. Make a folder in your mod folder called "addons", if it doesn't already exist. Make a folder inside addons called "metamod", and a folder inside "metamod" called "bin".
  5. Create a new, blank, text file called "metaplugins.ini".
  6. Upload the files to your server:
    • Upload the server.dll or server_i486.so file to your addons/metamod/bin Folder.
    • Upload the metaplugins.ini file to your addons/metamod folder.
    • WARNING! - Do not replace the mod's server.dll/server_i486.so (usually in "<mod>\bin"). This will cause your mod to stop working.
  7. Open the file in the mod folder called "gameinfo.txt". You will see a few lines at the bottom like this:
    SearchPaths { Game |gameinfo_path|. Game cstrike Game hl2 }
  8. Add a line before all of the "Game" entries that looks like this:
    GameBin				|gameinfo_path|addons/metamod/bin
    
  9. You're done! To test whether it worked, restart your game server and type "meta" in the server console. You should get a menu.
  10. For more information, documentation, and troubleshooting, see Category:Documentation (SourceMM)
  11. Optional Cvars: mm_pluginsfile - Sets the path and name of the plugins file, defaulting to "addons/metamod/plugins.ini". It is relative to the mod directory.


[[Category::Documentation (SourceMM)]]