Windows Installation

From ENIGMA

(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by RobertBColton (talk) to last revision by Cheeseboy)
(Undo revision 31843 by RobertBColton (talk))
Line 4: Line 4:
These steps will help you configure an ENIGMA setup using the modern MSYS2 project. This setup better facilitates both 32-bit and 64-bit compilation.
These steps will help you configure an ENIGMA setup using the modern MSYS2 project. This setup better facilitates both 32-bit and 64-bit compilation.
-
* First, you will want to download and install MSYS2 by following these instructions: http://www.msys2.org/
+
* First, you will want to download and install MSYS2 by following these instructions ('''all the way to step 8'''): http://www.msys2.org/
:- '''NOTE:''' The x86_64 download button will support compilation of both 32-bit and 64-bit games.
:- '''NOTE:''' The x86_64 download button will support compilation of both 32-bit and 64-bit games.
=== Dependencies ===
=== Dependencies ===
-
* Reopen <code>MSYS2 MinGW 64-bit</code> to use the included Pacman to obtain the packages used by ENIGMA for building games, which includes things like OpenAL. You will also need to install Git using Pacman so you can clone the ENIGMA source code from GitHub to complete this installation.
+
* Reopen <code>MSYS2 MinGW 64-bit</code> to use the included Pacboy to obtain the packages used by ENIGMA for building games, which includes things like OpenAL. You will also need to install Git using Pacboy so you can clone the ENIGMA source code from GitHub to complete this installation.
:- '''NOTE:''' You do not need to type the entire command below. Both Command Prompt and MSYS2 have a right-click menu option that allows you to just paste the command from this wiki page.
:- '''NOTE:''' You do not need to type the entire command below. Both Command Prompt and MSYS2 have a right-click menu option that allows you to just paste the command from this wiki page.
-
:- '''NOTE:''' These packages are for 64 bit, if you want 32 bit then you need to install the same packages but replace <code>x86_64</code> with <code>i686</code> in the name of each package.
+
:- '''NOTE:''' These packages are for 64 bit, if you want 32 bit then you need to install the same packages but replace <code>:x</code> with <code>:i</code> in the name of each package.
-
:- The Pacman command you will need to run is: <syntaxhighlight lang="bash">pacman -S base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-boost mingw-w64-x86_64-openal mingw-w64-x86_64-dumb mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libogg mingw-w64-x86_64-flac mingw-w64-x86_64-mpg123 mingw-w64-x86_64-libsndfile mingw-w64-x86_64-libgme mingw-w64-x86_64-sfml mingw-w64-x86_64-gtk2 mingw-w64-x86_64-zlib mingw-w64-x86_64-libffi mingw-w64-x86_64-box2d mingw-w64-x86_64-bullet mingw-w64-x86_64-glew mingw-w64-x86_64-alure</syntaxhighlight>
+
:- The Pacboy command you will need to run is: <syntaxhighlight lang="bash">pacboy -S git: toolchain:x boost:x protobuf:x rapidjson:x pugixml:x yaml-cpp:x openal:x dumb:x libvorbis:x libogg:x flac:x mpg123:x libsndfile:x libgme:x sfml:x gtk2:x zlib:x libffi:x box2d:x bullet:x glew:x glm:x alure:x</syntaxhighlight>
 +
* '''NOTE:''' If you want to use DirectX for graphics, instead of OpenGL, you'll want to make sure you have the DirectX 9.0 or higher End User Runtime installed.
 +
:- https://www.microsoft.com/en-us/download/details.aspx?id=35
=== Get ENIGMA ===
=== Get ENIGMA ===
* Use the change directory command (<code>cd path/to/directory</code>) to change MSYS2 to the directory you want ENIGMA installed in.  
* Use the change directory command (<code>cd path/to/directory</code>) to change MSYS2 to the directory you want ENIGMA installed in.  
* Then simply run this command: <code>git clone https://github.com/enigma-dev/enigma-dev.git</code>
* Then simply run this command: <code>git clone https://github.com/enigma-dev/enigma-dev.git</code>
 +
* Change directories into the cloned enigma-dev folder now using <code>cd enigma-dev</code>
* Now simply run <code>make</code> to build the compiler and its backend into compileEGMf.dll, which is used by the [[CLI]] and any IDE for ENIGMA.
* Now simply run <code>make</code> to build the compiler and its backend into compileEGMf.dll, which is used by the [[CLI]] and any IDE for ENIGMA.
* '''Optional:''' You can then run <code>make emake</code> if you also intend to use the [[CLI]] for building games.
* '''Optional:''' You can then run <code>make emake</code> if you also intend to use the [[CLI]] for building games.

Revision as of 00:19, 2 October 2018

The official logo of Windows based operating systems and environments.

Contents

MSYS2

These steps will help you configure an ENIGMA setup using the modern MSYS2 project. This setup better facilitates both 32-bit and 64-bit compilation.

- NOTE: The x86_64 download button will support compilation of both 32-bit and 64-bit games.

Dependencies

- NOTE: You do not need to type the entire command below. Both Command Prompt and MSYS2 have a right-click menu option that allows you to just paste the command from this wiki page.
- NOTE: These packages are for 64 bit, if you want 32 bit then you need to install the same packages but replace :x with :i in the name of each package.
- The Pacboy command you will need to run is:
pacboy -S git: toolchain:x boost:x protobuf:x rapidjson:x pugixml:x yaml-cpp:x openal:x dumb:x libvorbis:x libogg:x flac:x mpg123:x libsndfile:x libgme:x sfml:x gtk2:x zlib:x libffi:x box2d:x bullet:x glew:x glm:x alure:x
- https://www.microsoft.com/en-us/download/details.aspx?id=35

Get ENIGMA

Configure an IDE

- NOTE: This method of launching LGM using MSYS2 is recommended over double-clicking the jar because the environment will be configured correctly so that it includes MinGW for ENIGMA to find it.


Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox