I have worked on a few retextures of various vehicles to up my script skills in the Arma environment.
Addon folder structure is as follows:
Root folder: blackfoot_retex
-> Folder: data
-> File: heli_attack_01_co.paa
-> File: config.cpp
Currently I have three different outcomes which appear to be of random apperance. The outcomes are as follows:
- AddonBuilder Error: Build Failed, Error Code=1. It failes to create the blackfoot_retex.pbo
- AddonBuilder does convert all the files but does not generate a texHeaders.bin. If I start Arma with the addon and place e.g. the retextured AH99 Blackfoot in the editor and go into preview, it gives back an error message "Can not load texture \blackfoot_retex\data\heli_attack_01_co.paa".
- AddonBuilder does convert ONLY the config.cpp into .bin, ignoring the data folder which contains the texture .paa mentioned above entirely.
I have included the config.cpp which is based on other addons which work fine in Arma 3 where I edited the class names and paths. I concluded that the main reason why the texture can not be loaded in Arma 3 is because of the missing texHeaders.bin inside the addon root folder which is the main problem for me. I think it might be an issue with Arma 3 Tools' Binarize tool.
Using FileBank does pack all the files into a .pbo but does not generate a texHeaders.bin either. {F25186} {F25187} {F25188} {F25189} {F25190}