Page MenuHomeFeedback Tracker

ArmA3 Tools: AddonBuilder.exe ignores files referenced in config.cpp
New, WishlistPublic

Description

The addon builder for ArmA3 binarizes/copies files that are used by models present in the built addon, but ignores files referenced in the config.cpp preventing conversion of TGA textures to PAA and WAV sounds to WSS, list of files to copy directly provides half a solution since files require binarizing prior to compiling the addon and are not compiled during the building process.

Details

Legacy ID
587460377
Severity
None
Resolution
Open
Reproducibility
Always
Category
Tools
Steps To Reproduce
  1. Create a folder addon named myAddon with config.cpp with the following contents:

class CfgPatches
{
class testConfig
{

		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {};
		version = "1.0";

};
};
class CfgFactionClasses
{
class TestFaction
{

		flag = "\myAddon\testIcon.tga";
		icon = "\myAddon\testIcon.tga";
		displayName = "Test Faction";
		primarylanguage = "EN";
		priority = 100;
		side = 0;

};
};

  1. Add a TGA image called testIcon to the myAddon folder.
  2. Open Addon Builder and build the MyAddon add-on.

Event Timeline

Pansyfaust edited Additional Information. (Show Details)
Pansyfaust set Category to Tools.
Pansyfaust set Reproducibility to Always.
Pansyfaust set Severity to None.
Pansyfaust set Resolution to Open.
Pansyfaust set Legacy ID to 587460377.May 7 2016, 6:08 PM
Bohemia added a subscriber: AD2001.Mar 11 2014, 5:26 PM
mp5gosu added a subscriber: mp5gosu.May 7 2016, 6:08 PM

Did you try "Load/Use" in ObjectBuilder? (Rightclick on the TGA or Ctrl+Shift Click on Icon) Normally, OB then converts them automatically. Downside: You have to do this everytime you update the TGA's.