MG/Installers

From MegaGlest
Revision as of 23:59, 18 October 2010 by Ultifd (talk)
Jump to: navigation, search

Windows Installer

We use Null Soft Installer NSIS located here. You will ALSO require some special NSIS plugins to compile the

installer/Updater scripts for MegaGlest which are located here. Open MegaGlestInstaller.nsi located in

mk/windoze/Installer from the NSIS compiler and compile the installer into an executable. The developer uses a free GUI editor for the installer called HM NIS Edit, which can be obtained from here.


Linux Installer

We use the mojosetup installer located: here. To build a Linux installer, open a terminal window and navigate

to mk/linux/mojosetup/megaglest-installer. Edit make.sh and change the version # tag (some example below):

#megaglest_release_folder="trunk"
megaglest_release_folder="release-3.3.5.1"

Next edit scripts/config.lua and change the version # to match the version you are building the installer for:

local GAME_VERSION = "3.3.5.1";

From this folder run:

./make.sh

If everything runs properly, the script will build an installation from the binaries and data location in the svn project

specified in the top of the script (typically the trunk branch or a release branch) and the final installer is location in

the same folder as make.sh and called: megaglest-installer

This can be done on either 32 or 64 bit Linux architectures.