-
Notifications
You must be signed in to change notification settings - Fork 103
Build KAM with SQFC
- Arma 3
- Arma 3 Tools (available on Steam)
- Run Arma 3 and Arma 3 Tools directly from steam once to install registry entries (and again after every update)
- [Windows] PowerShell v3.0+ (pre-installed on Windows 8 or newer)
- ACE3 local clone of the repository
- CBA local clone of the repository
- KAM local clone of the repository
- HEMTT (>=v1.3.2) in project root
To actually get the KAM source code on your machine, it is recommended that you use Git. Tutorials for this are all around the web, and it allows you to track your changes and easily update your local copy.
If you just want to create a quick and dirty build, you can also directly download the source code using the "Download ZIP" button on the front page of the GitHub repo.
Replace hemtt
with hemtt.exe
on Windows. P-drive is not required for HEMTT or file patching.
Download HEMTT and place the executable in project root (Windows and Linux - binarization supported only on Windows at this time).
KAM comes pre-configured for testing with file patching using only CBA's and ACE's latest published version. You must subscribe to CBA_A3 and [ACE3] (https://steamcommunity.com/sharedfiles/filedetails/?id=463939057) on the Workshop.
Run $ hemtt dev
to build the mod for use with file patching (with links to the original addon folders) without binarization (faster and often not needed for development). This will populate the .hemttout/dev
folder with unbinarized PBOs, with links back to the original addon folders. You cannot distribute this build to others.
Run $ hemtt launch
to run KAM with pre-configured file patching. Uses $ hemtt dev
before launching Arma.
To create a development build to test changes or to debug something, run $ hemtt build
in the root folder. This will populate the .hemttout/build
folder with binarized PBOs. This type of build is meant for sharing, group testing, but not for release.
To create a complete build that you can use without the source files, with full binarization and all optimizations, run $ hemtt release
in the root folder. This will populate the .hemttout/release
folder with binarized PBOs and an archive in releases
that you can redistribute. These handle like those of any other mod.
- hemtt pulls the version from
addons/main/script_version.hpp
-
powershell -Command Remove-Item './addons/*' -Recurse -Include *.sqfc
can delete every .sqfc file in the addons folder.
- This isn't a very professional tutorial. So you need some technical background to get it work. If there is anything we can optimize in this tutorial, then let us know on our Discord