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.
So I'm trying to use the script, but I keep getting an error that line 373 (a cd) has too many arguments. I'm not familiar with bash scripts so I haven't been able to successfully debug. What might cause this error?
EDIT: so, i fixed the above issue by putting the variable after the cd in "", but now im getting the MoveFile failed error from above, but I've enabled long addresses in the registry. If I ignore that error, then it just stops after bullet even though 7zip is in my PATH.