Tools - Binarize configs in make.py (#8662)

This commit is contained in:
PabstMirror 2021-11-11 05:47:52 -06:00 committed by GitHub
parent 6234c05645
commit 986b7e3f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
// Test binarization one time at startup - ref https://github.com/acemod/ACE3/pull/8093
private _test = getText (configFile >> "Cfg3DEN" >> "Object" >> "AttributeCategories" >> "ace_attributes" >> "Attributes" >> "ace_rearm_rearmCargo" >> "defaultValue");
if (!("else {" in _test)) then {
ERROR("3den attribute has ERROR [check binarization]");
};

View File

@ -17,10 +17,9 @@ This page describes how you can setup your development environment for ACE3, all
- P-drive
- Run Arma 3 and Arma 3 Tools directly from steam once to install registry entries (and again after every update)
- [Python 3.x](https://www.python.org/)
- [Mikero Tools](https://mikero.bytex.digital/Downloads): DePbo, DeOgg, Rapify, MakePbo, PboProject >=1.70
- [Mikero Tools](https://mikero.bytex.digital/Downloads): DePbo, DeOgg, Rapify, MakePbo, PboProject >=3.16
- `*.hpp` removed from PboProject's "Exclude From Pbo" list
- `-F rebuild RequiredAddons` disabled
- `-B Don't binarise cpp or sqm` enabled
- Python, Mikero Tools and Git in PATH environment variable
- [CBA](https://github.com/CBATeam/CBA_A3/releases/latest) mod (release or development version)

View File

@ -1303,7 +1303,7 @@ See the make.cfg file for additional build options.
cmd = [makepboTool, "-P","-A","-X=*.backup", os.path.join(work_drive, prefix, module),os.path.join(module_root, release_dir, project,"addons")]
else:
cmd = [pboproject, "-B", "-P", os.path.join(work_drive, prefix, module), "+Engine=Arma3", "-S", "+Noisy", "+Clean", "-Warnings", "+Mod="+os.path.join(module_root, release_dir, project), "-Key"]
cmd = [pboproject, "+B", "-P", os.path.join(work_drive, prefix, module), "+Engine=Arma3", "-S", "+Noisy", "+Clean", "-Warnings", "+Mod="+os.path.join(module_root, release_dir, project), "-Key"]
color("grey")
if quiet: