Upgrading AMX Mod X

From AlliedModders Wiki
Revision as of 01:25, 24 December 2006 by BAILOPAN (talk | contribs) (From 1.76b)
Jump to: navigation, search

This document contains information on upgrading AMX Mod X versions. Almost all versions follow the same pattern, although notes on specific versions can be found here as well. If you're upgrading from a very old verison, you will need to stage your upgrade. For example, you must read the upgrade notes for each version in between.

All Versions

For general upgrades, you should make sure you:

  • Read the changelog!
  • Replace all binaries.
    • dlls, modules / *.dll/*.so - This includes amxmodx_mm and all modules.
    • plugins/*.amxx - Any default plugins AMX Mod X comes with.
    • data/GeoIP.dat - If you use GeoIP, make sure you update the database.
  • Replace language files.
    • data/lang/*.txt - Important to make sure plugins are using the right language phrases.
  • Read the upgrade notes to see any other custom changes needed.
  • If you do scripting locally...
    • Replace all base include and source files (.inc, .sma).
    • Replace the compiler and its binaries (amxxpc, amxxpc32, amxxpc64).

Upgrading to AMX Mod X 1.76c

Instructions for upgrading to AMX Mod X 1.76 from older versions are below.

From 1.76b

  • Follow general upgrade instructions. This update was a binary-only update. Changed files:
AMX Mod X Base:
dlls/
	amxmodx_mm
	nvault_amxx
plugins/
	(all recompiled)
scripting/
	admin.sma
	mapschooser.sma
	mapsmenu.sma
	menufront.sma
	pausecfg.sma
	telemenu.sma

	includes/
		amxmodx.inc
		amxconst.inc
		geoip.inc
		sqlx.inc

		amxmod_compat/
			xtrafun.inc

Counter-Strike:
modules/
	csx_amxx
plugins/
	(all recompiled)
scripting/
	restmenu.sma
	statsx.sma


Day of Defeat:
plugins/
	(all recompiled)
scripting/
	stats.sma

	
Natural Selection:
plugins/
	(all recompiled)
scripting/
	nscommands.sma

From 1.76a

  • Follow general upgrade instructions. This update was a binary-only update, except for a language change to statsx.txt.

From 1.76

  • Follow general upgrade instructions. This update was a binary-only update, except for "common.txt."

From 1.75

  • Follow general upgrade instructions.
  • You may want to recompile your plugins for new implementations of replace_all() and other stocks, however, 1.76 is a binary only upgrade from 1.75.

From 1.71

  • Follow general upgrade instructions.
  • Make the following configuration changes:
    • Recommended: Open configs/sql.cfg. Add the new cvar:
      • amx_sql_type "mysql"
      • Note: Other option is "sqlite"
    • Optional: Open configs/modules.ini.
      • If you are using MySQL or SQLite, or any custom modules, write them down.
      • Replace your old modules.ini with 1.75's stock version.
      • Re-add your custom or SQL modules back in.
  • Optional: Recompile 3rd party plugins.
    • If you wish to take advantage of some automatic module loading features, plugins will need to be recompiled with the 1.75 compiler. However, all old plugins will work as is.

From 1.70

  • Follow general upgrade instructions.
  • Make the following configuration changes:
    • Open configs/core.ini.
      • Replace the contents with the core.ini from AMX Mod X 1.75.
      • Note: Make sure to note any custom changes!
  • Continue by following instructions for 1.71.

From 1.50, 1.55, 1.60

  • Follow general upgrade instructions.
  • Make sure you have Metamod version 1.19 or higher installed.
  • Continue by following instructions for 1.70.

From 1.01, 1.00, or 0.20-RC4+

  • Follow general upgrade instructions.
  • Recommended: replace all of your scripting tools with the latest versions of includes and the compiler. Then, recompile all of your custom or 3rd party plugins with AMX Mod X 1.75.
  • Continue by following instructions for 1.50/1.55/1.60.