<project root>
below refers to wherever this git repository was cloned to.
- Install stack
stack exec bash
then in the msys2 bash shell run:pacman -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf
- Register for a FMOD account
- Download and install "FMOD Engine 2.02.08" (Windows)
- From the installed contents:
- Copy
FMOD Studio API Windows/api/core/inc/*.h
into<project root>/inc/
- Copy
FMOD Studio API Windows/api/studio/inc/*.h
into<project root>/inc/
- Copy
FMOD Studio API Windows/api/core/lib/x64/fmod.dll
into<project root>/lib/
- Copy
FMOD Studio API Windows/api/studio/lib/x64/fmodstudio.dll
into<project root>/lib/
- Copy
- Edit the lines at the bottom of
<project root>/package.yaml
:- In the
c-sources:
line changewrapper-NOAUDIO.c
towrapper.c
- Uncomment the
extra-lib-dirs
andextra-libraries
lines
- In the
stack build --local-bin-path . --copy-bins
(ignore any warnings about PATH)
This assumes you've purchased a copy of the game on Steam.
- From the Steam client right click the Defect Process entry in the games library
-> Properties -> Betas
- Change the selected beta from "None" to "github - branch for github"
- From the Steam client right click the Defect Process entry in your games library
-> Properties -> Local Files -> Browse
. The file explorer window that pops up should be in the installed steam game directory:- Copy the contents of
<steam game directory>/data/
into<project root>/data/
- Copy
<steam game directory>/*.dll
into<project root>/
- Copy the contents of
- From
<project root>
rundefect-process.exe
See docs/dev-console-reference.pdf for what dev console commands are available.