BrettMayson / HEMTT

Build System for Arma 3
https://brettmayson.github.io/HEMTT
GNU General Public License v2.0
109 stars 40 forks source link

Capitalized "Config.cpp" will be binarized but not renamed to "Config.bin" #406

Closed mjc4wilton closed 1 year ago

mjc4wilton commented 3 years ago

HEMTT Version: 0.7.6 Project: Private. Relevant files: config.cpp build.bat PBO Prefix: jsoc\jsoc_unit\addons\mh60m

Description:

Addon builds "correctly" but fails to rename Config.cpp to Config.bin after binarization, resulting in the game reading it as .cpp and failing to launch. Manually unpacking, renaming extension, and repacking with PBO Manager fixes it.

Steps to reproduce:

Additional information: RPT error:

22:37:06 Error context �1CfgPatches3CfgVehicles�jsoc_mh60mEunitsjsoc_mh60m_basejsoc_mh60m_assaultweaponsrequiredVersion�?requiredAddonsA3_Air_FA3_Weapons_FFIR_MH60M_BaseFIR_MH60M_Assaultjsoc_mh60m_assault�FIR_MH60M_AssaultauthorFirewill/Noilizscopeaccuracy�?displayNameMH-60M (Assault)editorCategoryJSOC_AssetseditorSubcategoryJSOC_Helicopterace_fastroping_enabledace_fastroping_ropeOrigins���?ff�?q=�>Intercom_1aIntercom_2DSounds�SoundsExtQEngineExt�.RotorExt\/EngineIntK0RotorInt�0displayNameCrew intercomshortNameCrewallowedPositionscrewdisabledPositionsTurretlimitedPositionscargoallnumLimitedPositionsmasterPositionscommanderconnectedByDefaultIntercom_1displayNamePax intercomshortNamePaxallowedPositionscrewcargoalllimitedPositionsnumLimitedPositionsconnectedByDefaultEngineExtRotorExt�RotorNoiseExt�EngineInt9RotorInt�TransmissionDamageExt_phase1� TransmissionDamageExt_phase2�
22:37:06 ErrorMessage: File jsoc\jsoc_unit\addons\mh60m\config.cpp, line 0: '.raP': '' encountered instead of '='
22:37:06 Application terminated intentionally
ErrorMessage: File jsoc\jsoc_unit\addons\mh60m\config.cpp, line 0: '.raP': '' encountered instead of '='

HEMTT Output: (includes some pbo's being built from pboproject. Only first few lines are relevant)

HEMTT 0.7.6
Environment: dev

Clean
Checks         [00:00:00] [##############################] [10|10]
Prebuild       [00:00:00] [##############################] [10|10]
Build          [00:00:00] [##############################] [10|10]
Making symbolic links to P:\ drive for non-jsoc addons
Junction created for P:\bwa3_mg3 <<===>> .\include\bwa3_mg3
Junction created for P:\bwa3_common <<===>> .\other_addons\bwa3_common
Junction created for P:\bwa3_leopard2 <<===>> .\other_addons\bwa3_leopard2
Junction created for P:\bwa3_puma <<===>> .\other_addons\bwa3_puma
Junction created for P:\CUP <<===>> .\other_addons\CUP
Junction created for P:\mgsr_eyepatch <<===>> .\other_addons\mgsr_eyepatch
Junction created for P:\mgsr_headbag <<===>> .\other_addons\mgsr_headbag
Junction created for P:\mgsr_units <<===>> .\other_addons\mgsr_units
A subdirectory or file G:\Arma\77th\jsoc-mod-addons\77th_unit\other_addons\output already exists.
Using PboProject to build non-jsoc addons (MAKE SURE TO REMOVE *.h FROM EXCLUDE LIST!)
removing symbolinks
.\77th_unit\addons\jsoc_unit_acre_kyo_rhs_usaf_intercom.pbo
.\77th_unit\addons\jsoc_unit_acre_rhs_usaf_intercom.pbo
.\77th_unit\addons\jsoc_unit_bwa3_reskin.pbo
.\77th_unit\addons\jsoc_unit_d3s_vehicles.pbo
.\77th_unit\addons\jsoc_unit_fa18_usaf.pbo
.\77th_unit\addons\jsoc_unit_hlc_weapons.pbo
.\77th_unit\addons\jsoc_unit_mh60m.pbo
.\77th_unit\addons\jsoc_unit_rhs_equipment.pbo
.\77th_unit\addons\jsoc_unit_rhs_vehicles.pbo
.\77th_unit\addons\jsoc_unit_zen_modules_usaf.pbo
10 File(s) copied
.\77th_unit\other_addons\FIR_MH60M.pbo
.\77th_unit\other_addons\FIR_MH60M_Cfg.pbo
2 File(s) copied
.\77th_unit\other_addons\output\cup_airvehicles_av8b.pbo
.\77th_unit\other_addons\output\cup_airvehicles_ch47.pbo
.\77th_unit\other_addons\output\cup_airvehicles_core.pbo
.\77th_unit\other_addons\output\cup_airvehicles_mv22.pbo
.\77th_unit\other_addons\output\cup_airvehicles_uh1y.pbo
.\77th_unit\other_addons\output\cup_watervehicles_core.pbo
.\77th_unit\other_addons\output\cup_watervehicles_lcu1600.pbo
.\77th_unit\other_addons\output\cup_watervehicles_lhd.pbo
.\77th_unit\other_addons\output\cup_watervehicles_loadorder.pbo
.\77th_unit\other_addons\output\cup_watervehicles_lpd.pbo
.\77th_unit\other_addons\output\cup_weapons_weaponsdata.pbo
.\77th_unit\other_addons\output\mgsr_eyepatch.pbo
.\77th_unit\other_addons\output\mgsr_headbag.pbo
.\77th_unit\other_addons\output\mgsr_units.pbo
14 File(s) copied
.\77th_unit\other_addons\output\addons\bwa3_common.pbo
.\77th_unit\other_addons\output\addons\bwa3_leopard2.pbo
.\77th_unit\other_addons\output\addons\bwa3_puma.pbo
.\77th_unit\other_addons\output\addons\CUP_AirVehicles_AV8B.pbo
.\77th_unit\other_addons\output\addons\CUP_AirVehicles_CH47.pbo
.\77th_unit\other_addons\output\addons\CUP_AirVehicles_Core.pbo
.\77th_unit\other_addons\output\addons\CUP_AirVehicles_MV22.pbo
.\77th_unit\other_addons\output\addons\CUP_AirVehicles_UH1Y.pbo
.\77th_unit\other_addons\output\addons\CUP_WaterVehicles_Core.pbo
.\77th_unit\other_addons\output\addons\CUP_WaterVehicles_LCU1600.pbo
.\77th_unit\other_addons\output\addons\CUP_WaterVehicles_LHD.pbo
.\77th_unit\other_addons\output\addons\CUP_WaterVehicles_LoadOrder.pbo
.\77th_unit\other_addons\output\addons\CUP_WaterVehicles_LPD.pbo
.\77th_unit\other_addons\output\addons\CUP_Weapons_WeaponsData.pbo
.\77th_unit\other_addons\output\addons\mgsr_eyepatch.pbo
.\77th_unit\other_addons\output\addons\mgsr_headbag.pbo
.\77th_unit\other_addons\output\addons\mgsr_units.pbo
17 File(s) copied
Press any key to continue . . .
mjc4wilton commented 3 years ago

Update: Ran it in --debug mode and discovered that its not converting Config.cpp to Config.bin. Appears to be a capitalization issue where if it is spelt "Config" it will be binarized but not converted into a .bin file extension

BrettMayson commented 1 year ago

As of right now, I don't think this will be fixed. There shouldn't be any reason that any mod can't just use config.cpp.

If you feel this still needs attention for 1.0.0, please re-open.