Fandom

Glest

MG/Installers

< MG

275pages on
this wiki
Add New Page
Talk0 Share

Those informations are/may be very outdated, please go to: new wiki

Installers make it easier for players to install and play the game, resulting in more time spent playing the game happily and less time fiddling with the source, trying to get it to work. MegaGlest has installers available for both Windows and Linux. The methods of creating these installers is explained on this page.

Windows InstallerEdit

MegaGlest uses the NullSoft Installer, NSIS. You will also require some special NSIS plugins to compile the installer/updater scripts for MegaGlest which are located on the MegaGlest Sourceforge page. 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 found on its Sourceforge page. If the NSIS Installer Build is successful you should see a binary produced in the Installer folder called something like: MegaGlest-Installer-3.5.1_i386_win32.exe

Linux InstallerEdit

For Linux, MegaGlest uses the Mojosetup installer. To build a Linux installer, open a terminal window and navigate to mk/linux/mojosetup/megaglest-installer. Edit make.sh and change the version number tag (as per the example below).

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

Next edit scripts/config.lua and change the version number 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 installer 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.

  • NOTE: The Linux installer uses xz to compress the installer data

See AlsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.