Windows Installation

From ENIGMA

(Difference between revisions)
Jump to: navigation, search
m (Dependencies)
Line 11: Line 11:
:- '''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>:x</code> with <code>:i</code> in the name of each package. Packages that are virtual (e.g, <code>git</code>) need only the colon after their name to install them with Pacboy.
:- '''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. Packages that are virtual (e.g, <code>git</code>) need only the colon after their name to install them with Pacboy.
-
:- 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 make:x</syntaxhighlight>
+
:- The Pacboy command you will need to run is: <syntaxhighlight lang="bash">pacboy -S git: toolchain:x make: 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>
-
:- Or for 32Bit you'd need to run: <syntaxhighlight lang="bash">pacboy -S git: toolchain:i boost:i protobuf:i rapidjson:i pugixml:i yaml-cpp:i openal:i dumb:i libvorbis:i libogg:i flac:i mpg123:i libsndfile:i libgme:i sfml:i gtk2:i zlib:i libffi:i box2d:i bullet:i glew:i glm:i alure:i make:i</syntaxhighlight>
+
:- Or for 32Bit you'd need to run: <syntaxhighlight lang="bash">pacboy -S git: toolchain:i make: boost:i protobuf:i rapidjson:i pugixml:i yaml-cpp:i openal:i dumb:i libvorbis:i libogg:i flac:i mpg123:i libsndfile:i libgme:i sfml:i gtk2:i zlib:i libffi:i box2d:i bullet:i glew:i glm:i alure:i</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.
* '''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
:- https://www.microsoft.com/en-us/download/details.aspx?id=35

Revision as of 01:12, 10 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. Packages that are virtual (e.g, git) need only the colon after their name to install them with Pacboy.
- The Pacboy command you will need to run is:
pacboy -S git: toolchain:x make: 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
- Or for 32Bit you'd need to run:
pacboy -S git: toolchain:i make: boost:i protobuf:i rapidjson:i pugixml:i yaml-cpp:i openal:i dumb:i libvorbis:i libogg:i flac:i mpg123:i libsndfile:i libgme:i sfml:i gtk2:i zlib:i libffi:i box2d:i bullet:i glew:i glm:i alure:i
- https://www.microsoft.com/en-us/download/details.aspx?id=35

Get ENIGMA

Configure an IDE

- Once java is installed you would most likely want to set up your PATH variable in msys2 (this is one of several ways to fix java command not found)
- Edit the file C:\msys64\etc\profile and add the following
if [[ $MSYSTEM = "MINGW32" ]] && [[ $(arch) = "x86_64" ]]; then
  export PATH=/c/Program\ Files\ \(x86\)/Java/jre1.8.0_181/bin:$PATH
else
  export PATH=/c/Program\ Files/Java/jre1.8.0_181/bin:$PATH
fi
- This will check your Msys2 install's arch (which will be 32bit if you're on 32bit) in addition to checking the MINGW platform you are using to determine whether to try to load 32bit or 64bit jre.
- NOTE: Make sure you change the Java version to the one you have installed; the easiest way to check this is to navigate to C:\Program Files\Java and checking the version.
- 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