Home
AMX Mod X 0.16 Documentation Prev Page Prev Page
AMX Mod
About AMX Mod
Introduction
Features
Changelog
Upgrading
Upgrading from AMX Mod (Windows)
Upgrading from AMX Mod (Linux)
Installation
Windows Install
Linux Install
Configuration
Configuration Overview
General Configuration
Setting up Admins
Setting up MySQL
Setting up Maps
Setting up Menu
Setting up Plugins
Setting up Modules
Plugins
Default Plugins
Additional Plugins
Compiling Plugins
Modules
Default Modules
Additional Modules
Commands
Frequently Asked Questions (FAQ)
Upgrading AMX Mod to AMX Mod X 0.16
(Windows)

Upgrading to AMX Mod X from AMX Mod is not a difficult task, but it must be done carefully.
Follow these steps closely to make sure everything is done correctly.

For a brief overwiew:
AMX Mod X 0.16 modules are interchangeable with AMX Mod modules, but it is highly recommend you stick with ours.  As of 0.2 a new module interface will remove this interchangeability.

AMX Mod X 0.16 plugins are not compatible with AMX Mod plugins.  However, AMX Mod plugins can be recompiled on AMX Mod X.

AMX Mod X 0.16 has a new directory structure which must be accomodated for.

Step 1: Changing the directory structure
AMX Mod X uses a new directory structure.  The changes are shown below:
 
Old New
amx amxx
  configs
  custom
dlls dlls
  modules
examples scripting
docs documentation
plugins plugins
Each directory of your AMX Mod installation should be renamed accordingly.
Note the two new directories, "configs" and "modules".

Step 2: Moving files
1) Move all modules from the old "addons\amx\dlls" (any file that is not amxx_mm.dll) and place them in the new "addons\amxx\modules" folder.
2) Move all configuration files in "addons\amx\" (anything ending in .cfg or .ini) into the new "addons\amxx\configs".  EXCEPT, do not move: amx.cfg or modules.ini, which should stay in "addons\amxx".
3) Move amx.cfg to "addons/amxx/configs" but change the name to "amxx.cfg".
4) Move the old "addons\amx\plugins\" to "addons\amxx"

Step 3: Replacing old files
1) Replace all of your old modules with new ones from this table, from the AMX Mod X 0.1 package:
 

Old Module New Module
Fun Fun AMX, Cstrike
Xtrafun Fun AMX
VexD Utilities ENGINE
MySQL MySQL AMX

2) Replace all your default plugins from the AMX Mod X 0.1 package by viewing "addons\amxx\plugins" and deleting old plugins and copying the new ones.
3) Replace your "dlls\amx_mm" file with the new "amxx_mm.dll" from the AMX Mod X 0.1 package.
4) Update your module names in "modules.ini".  It is a good idea to enable "Fun, Engine, and MySQL" if you are using AMX Mod plugins that were not developed by OLO.  When you add your new module names, do not enter the pathname.  Simply enter the filename.
 

Bad addons\amxx\modules.ini
addons\amx\modules\fun_amx.dll
addons\amx\modules\engine_amx.dll
addons\amx\modules\cstrike_amx.dll
Good addons\amxx\modules.ini
fun_amx.dll
engine_amx.dll
cstrike_amx.dll

5) Replace the contents of your old "addons\amx\examples" folder with the new "addons\amxx\scripts" from the AMX Mod X 0.1 package.

Step 4: Compiling old AMX Mod plugins written by authors other than OLO
You need to recompile plugins so their internal native tables are compatible with AMX Mod X.
1) Find the plugin source on www.amxmod.net forums.
2) Place the source code file (".sma" file) into "addons\amxx\scripts".
3) Double click the "compile.bat" file.
4) If there are errors, try reporting them on the AMX Mod X forums: www.amxmodx.org
5) If there are no errors, your plugins new compiled file will be in "addons\amxx\scripts\compiled".
6) Copy the compiled file to "addons\amxx\plugins" and add its entry to "addons\amxx\plugins.ini".
7) If the plugin fails to work, or gives "AMX native" errors, please report them on www.amxmodx.org
8) You can also try the web compiler at www.amxmodx.org/compiler.php?go=sc

Step 5: Further Help
If AMX Mod X does not work for you, try following the Full Install guide.

Browser Based Help. Published by chm2web software.