Monday, November 24, 2008

AMX Mod X and Admin Mod Installation for Counter Strike 1.6 on Linux OS

AMX Mod X is also designed for the Versions of Counter Strike running on Linux OSs. AMX Mod X needs Metamod, as it runs on Metamod. The Metamod supports both Windows and Linux. This makes it possible for AMX Mod X to run in Linux too.

The AMX Mod X package for Linux can be downloaded from amxmodx.org. This package includes the Metamod for Linux. Or the Metamod alone can be downloaded from the website metamod.org. You can download the Linux version of the Metamod.

The same case holds good for Admin Mod also. You can install Admin Mod for Linux. You can download it from adminmod.org. File Download link is shown as halflife-adminmod and is available for Windows, Linux and also AMD64.

The Admin Mod installation is always made easier by making it a self extracting and installing package. You can do this by giving the command install_admin in the Terminal while you are in the directory where install_admin file is present. You just need to run the install_admin file with parameter as the mod name, in Linux OS to install the Admin Mod in Linux by opening the Terminal. It might ask you the path to the CS1.6 installation in Linux and adds the required binaries and writes the paths in required files like liblist.gam.

All the files are in tarball. So you can use winrar to extract the files. While in Linux the program package is given with the Linux installation itself.

Once the package has been downloaded, just extract it to get the files. These files should be placed in the addons folder of Counter Strike 1.6 installation. The folders should look like this,
  • cstrike\addons\metamod\dlls
  • cstrike\addons\amxmodx\configs
  • cstrike\addons\amxmodx\modules etc...

This is how the folder tree should be placed. Then you need to edit the liblist.gam file. The liblist.gam file is a text file which loads the required module for the game while it is running. The liblist.gam file previously contains the line gamedll_linux "dlls/mp.dll" change it to this gamedll_linux "addons/metamod/dlls/metamod_i386.so". The name of the file may change, but make sure that you are giving the correct file name for the OS and also 32 bit or 64 bit, because each OS has its own name and 32 or 64 bit has its own name. Like,

  • Windows 32 bit has its own metamod dll filename ending with .dll. (use gamedll)
  • Windows 64 bit has its own metamod dll filename ending with .dll. (use gamedll)
  • Linux 32 bit has its own metamod filename ending with .so. (use gamedll_linux)
  • Linux 64 bit has its own metamod filename ending with .so. (use gamedll_linux)

That's it, you are done installation of Metamod.

Now for the installation of AMX Mod and other mods, you need to download their packages and put where ever you want but put this line in the Metamod's plugins.ini file linux "path of the file" ex: linux "addons/amxmodx/dlls/amdmodx.so" or linux "addons/statsme/dlls/statsme.so" same for Admin Mod with the path to the .so file. See for the compatibility of Statsme plugin in 64 bit and Linux in its official website.

That's it. You can now finish the installation, unless you want to know how to install AMX Mod X addons like CSDM, GunGame Mod, Diablo Mod, Warcraft 3 Frozen Throne Mod in Linux. For this you just need to know how to install them in the windows. Just place the file sin their exact location comparing the folders in the downloaded package and the folders in the installation of CS1.6. It is same. You can see the topic of AMXX Plugins installation for much detailed complete explanation.

You may face a little difficulty in the Compilation of the AMXX Plugins in Linux which can be done just by running the other file which runs in Linux.

No comments:

Post a Comment