NB; (An updated version of this guide can be found on the wiki)
- Visual Studio 2013 or 2015 (Community edition is enough)
- MSYSGit or Git for Windows as it's also called (
cinst git.install
if you have Chocolatey) - Note that WSL does not work for this, as it needs to execute windows executables.
- 7-zip in your path (
cinst 7zip.install
works, if you have Chocolatey) - CMake in your path (
cinst cmake.install
for Chocolatey) - ~10GB of free space per build platform (32/64-bit), for all the build artefacts.
- Time. An hour or two most likely for full release and debug builds.
- Clone the OpenMW repo.
git://github.com/OpenMW/openmw.git
- Open a Git Bash shell in the repo.
- Run the following command:
CI/before_script.msvc.sh -k -p Win64 -v 2015
. (SubstituteWin64
withWin32
if doing a 32-bit build, 2015 can also be substituted with 2013 for VS2013) - Wait for the build environment to be set up.
- ???
- Develop.
As of today, when I tried installing using the script, there seems to be an issue when ffmpeg tries to get downloaded and/or extracted.
I'm not exactly sure the issue, only that when the script tries to rename or download the .7z for ffmpeg 3.0.1, they get corrupted, causing the script to fail.
EDIT: I'm dumb, was an error with the branch OpenMW42. There had not been an update to the CI script that is on master.