AGM icon indicating copy to clipboard operation
AGM copied to clipboard

Binarizer leaves .p3d files missing

Open Cyruz143 opened this issue 10 years ago • 12 comments

I'll open this by saying this might be something I've broken!

Running binarizer.exe, only populating the mod folder and letting it read the rest from registry it seems to ignore the include.txt. Opening a built pbo in Eliteness shows texHeaders.bin which I assume is what happens when it binarizes p3d files.

I tried manually populating the inputs too, didn't have any effect.

Can anyone shed some light?

Cyruz143 avatar Jan 27 '15 20:01 Cyruz143

@KoffeinFlummi

commy2 avatar Jan 30 '15 12:01 commy2

Well .p3ds are supposed to be binarized...

KoffeinFlummi avatar Jan 30 '15 16:01 KoffeinFlummi

Sorry, maybe I wasn't descriptive enough.

If I run the binarizer and then load A3 with the files I just built, AGM_Medical says it can't find .p3d files, when I open the pbo with Eliteness and look for them, they're missing and instead there is a textHeaders.bin file (which I assume is where .p3d files are being put although not sure).

Cyruz143 avatar Jan 30 '15 17:01 Cyruz143

So for comparision, I've de-pbo'd agm_medical from the public prebuilt release and it has these files:

agm_epipen.p3d
agm_morphine.p3d
clientInit.sqf
config.cpp
data\agm_epipen_co.paa
data\agm_morphine_co.paa
functions\fn_aiCanTreat.sqf
functions\fn_aiInitTask.sqf
functions\fn_aiTreat.sqf
functions\fn_checkDamage.sqf
functions\fn_diagnose.sqf
functions\fn_displayText.sqf
functions\fn_handleDamage.sqf
functions\fn_init.sqf
functions\fn_isDiagnosed.sqf
functions\fn_isInMedicalVehicle.sqf
functions\fn_itemCheck.sqf
functions\fn_knockOut.sqf
functions\fn_loadIntoVehicle.sqf
functions\fn_module.sqf
functions\fn_overdose.sqf
functions\fn_release.sqf
functions\fn_scream.sqf
functions\fn_setDamage.sqf
functions\fn_setHitPointDamage.sqf
functions\fn_takeItem.sqf
functions\fn_transport.sqf
functions\fn_treat.sqf
functions\fn_treatmentCallback.sqf
functions\fn_unloadPatients.sqf
functions\fn_wakeUp.sqf
HintConfig.hpp
init.sqf
stringtable.xml
UI\agm_bandage_ca.paa
UI\agm_bloodbag_ca.paa
UI\agm_epipen_ca.paa
UI\agm_morphine_ca.paa
UI\diagnose_ca.paa
UI\IconMedical_ca.paa
UI\Medical_Icon_ca.paa
UI\parts\arm_left.paa
UI\parts\arm_right.paa
UI\parts\body.paa
UI\parts\head.paa
UI\parts\leg_left.paa
UI\parts\leg_right.paa

And now the files I get when I run the binarizer and then de-pbo it:

clientInit.sqf
config.bin (derapped) (renaming output to config.cpp)
data\agm_epipen_co.paa
data\agm_morphine_co.paa
functions\fn_aiCanTreat.sqf
functions\fn_aiInitTask.sqf
functions\fn_aiTreat.sqf
functions\fn_checkDamage.sqf
functions\fn_diagnose.sqf
functions\fn_displayText.sqf
functions\fn_handleDamage.sqf
functions\fn_init.sqf
functions\fn_isDiagnosed.sqf
functions\fn_isInMedicalVehicle.sqf
functions\fn_itemCheck.sqf
functions\fn_knockOut.sqf
functions\fn_loadIntoVehicle.sqf
functions\fn_module.sqf
functions\fn_overdose.sqf
functions\fn_release.sqf
functions\fn_scream.sqf
functions\fn_setDamage.sqf
functions\fn_setHitPointDamage.sqf
functions\fn_takeItem.sqf
functions\fn_transport.sqf
functions\fn_treat.sqf
functions\fn_treatmentCallback.sqf
functions\fn_unloadPatients.sqf
functions\fn_wakeUp.sqf
init.sqf
stringtable.xml
texHeaders.bin
UI\agm_bandage_ca.paa
UI\agm_bloodbag_ca.paa
UI\agm_epipen_ca.paa
UI\agm_morphine_ca.paa
UI\diagnose_ca.paa
UI\IconMedical_ca.paa
UI\Medical_Icon_ca.paa
UI\parts\arm_left.paa
UI\parts\arm_right.paa
UI\parts\body.paa
UI\parts\head.paa
UI\parts\leg_left.paa
UI\parts\leg_right.paa

So I lose the following files:

agm_epipen.p3d
agm_morphine.p3d 
HintConfig.hpp

And I gain the texHeaders.bin file.

Hopefully thats clearer and sorry for the wall of text.

Cyruz143 avatar Jan 30 '15 17:01 Cyruz143

Alright; That is odd indeed. Have you tried making sure that your A3 Tools are up2date and ran them once via Steam to get the registry values updated?

KoffeinFlummi avatar Jan 30 '15 17:01 KoffeinFlummi

@KoffeinFlummi, this exact same thing happens to me too since a long time ago. No idea why, that's why a tend to binarize with pboProject.

nicolasbadano avatar Jan 30 '15 17:01 nicolasbadano

Just checked A3 Tools, verified and found a broken file, re-ran to make sure registry was fine, still same issue.

Cyruz143 avatar Jan 30 '15 17:01 Cyruz143

Very weird, not happening to me. I am always on dev-branch of A3 Tools though.

jonpas avatar Jan 30 '15 18:01 jonpas

@jonpas

Moved to dev branch for A3 Tools, same issue persists. Also I'll edit the title so it makes more sense!

Cyruz143 avatar Jan 30 '15 20:01 Cyruz143

And if you use Addonbuilder without the binarizer.py?

commy2 avatar Jan 31 '15 08:01 commy2

If I used the include.txt from AGM that binarizer.py calls I get the same issue with AddonBuilder.

So based on that shouldn't the following files be added to the include.txt: *.hpp;*.p3d;

After adding the above to include.txt my output is the following with the binarizer:

agm_epipen.p3d
agm_morphine.p3d
clientInit.sqf
config.bin (derapped) (renaming output to config.cpp)
data\agm_epipen_co.paa
data\agm_morphine_co.paa
functions\fn_aiCanTreat.sqf
functions\fn_aiInitTask.sqf
functions\fn_aiTreat.sqf
functions\fn_checkDamage.sqf
functions\fn_diagnose.sqf
functions\fn_displayText.sqf
functions\fn_handleDamage.sqf
functions\fn_init.sqf
functions\fn_isDiagnosed.sqf
functions\fn_isInMedicalVehicle.sqf
functions\fn_itemCheck.sqf
functions\fn_knockOut.sqf
functions\fn_loadIntoVehicle.sqf
functions\fn_module.sqf
functions\fn_overdose.sqf
functions\fn_release.sqf
functions\fn_scream.sqf
functions\fn_setDamage.sqf
functions\fn_setHitPointDamage.sqf
functions\fn_takeItem.sqf
functions\fn_transport.sqf
functions\fn_treat.sqf
functions\fn_treatmentCallback.sqf
functions\fn_unloadPatients.sqf
functions\fn_wakeUp.sqf
HintConfig.hpp
init.sqf
stringtable.xml
texHeaders.bin
UI\agm_bandage_ca.paa
UI\agm_bloodbag_ca.paa
UI\agm_epipen_ca.paa
UI\agm_morphine_ca.paa
UI\diagnose_ca.paa
UI\IconMedical_ca.paa
UI\Medical_Icon_ca.paa
UI\parts\arm_left.paa
UI\parts\arm_right.paa
UI\parts\body.paa
UI\parts\head.paa
UI\parts\leg_left.paa
UI\parts\leg_right.paa

So the only extra file I get is texHeaders.bin

Cyruz143 avatar Jan 31 '15 13:01 Cyruz143

That would fix your issue, but it would cause the models to go unbinarized, which can and will cause issues with certain LODs; and also increase loading times.

To be honest I'm not quite sure where your problem could originate from...

KoffeinFlummi avatar Feb 03 '15 12:02 KoffeinFlummi