Muppet Slapper 8 Posted May 9, 2016 I know that this a common problem and it usually has to do with bracket placement, but I cannot figure out what I am doing wrong. Any help would be much appreciated. I am getting the error missing: ';' prior to '}' for lines 3, 4, and 6. Here is my config: class CfgPatches{ class Many_Faces { units[] = {}; weapons[] = {}; requiredVersion = 0.100000; requiredAddons[] = {"A3_Characters_F"}; }; }; class CfgFaces { class Default { /*extern*/ class Custom; }; class Man_A3: Default { class zabraham: Default { displayname = "Abraham"; texture = "\Many_Faces\Data\zabraham_co.paa"; head = "NATOHead_A3"; material = "\Many_Faces\Data\zabraham.rvmat"; disabled = 0; textureHL = "\A3\Characters_F\Heads\Data\hl_White_hairy_1_co.paa"; materialHL = "\A3\Characters_F\Heads\Data\hl_White_hairy_muscular.rvmat"; textureHL2 = "\A3\Characters_F\Heads\Data\hl_White_hairy_1_co.paa"; materialHL2 = "\A3\Characters_F\Heads\Data\hl_White_hairy_muscular.rvmat"; }; };}; Share this post Link to post Share on other sites
173 S3 1 Posted May 10, 2016 I just pasted that into a blank config.cpp and I had no errors when attempting to pack and binarize it, I'm not quite sure what would be causing your issue. 1 Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 10, 2016 Thank you for that, it confirms my suspicion that maybe something else is going on. I will test some more, and see what I can find. Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 10, 2016 I tested a theory that something else might be happening other than a format error. I took a mod that I know works (zir_headpack1)unpacked the pbo and config and made no changes. I repacked them and binarized the config and placed it all into the @many faces file. I loaded it up and it worked fine. I then took the same exact mod and placed one of my textures into the data folder and changed one of the texture paths in the config to point to the texture. I changed nothing but the texture path in the config and I ended up getting the same error. Makes no sense to me. Share this post Link to post Share on other sites
hoverguy 177 Posted May 10, 2016 Can you please post the config before the texture path change and after? Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 10, 2016 This one works (from zir_headpack1): class CfgPatches {class zir_headpack1 {units = {};weapons = {};requiredVersion = 1.000000;requiredAddons = {"A3_Characters_F_Heads"};version = "1.00";author = {"ZiR"};};};class CfgFaces {class Default {/*extern*/ class Custom;};class Man_A3: Default {class zir_face_afr_01: Default {displayname = "Face AFR 01";texture = "\zir_headpack1\Data\face_afr_01_co.paa";head = "BlackHead_A3";material = "\zir_headpack1\data\face_afr_01.rvmat";disabled = 0;textureHL = "\A3\Characters_F\Heads\Data\hl_black_bald_co.paa";materialHL = "\A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat";textureHL2 = "\A3\Characters_F\Heads\Data\hl_black_bald_co.paa";materialHL2 = "\A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat";}; This one with my edit doesn't: class CfgPatches {class zir_headpack1 {units = {};weapons = {};requiredVersion = 1.000000;requiredAddons = {"A3_Characters_F_Heads"};version = "1.00";author = {"ZiR"};};};class CfgFaces {class Default {/*extern*/ class Custom;};class Man_A3: Default {class zir_face_afr_01: Default {displayname = "Face AFR 01";texture = "\zir_headpack1\Data\zabraham_co.paa";head = "BlackHead_A3";material = "\zir_headpack1\Data\zabraham.rvmat";disabled = 0;textureHL = "\A3\Characters_F\Heads\Data\hl_black_bald_co.paa";materialHL = "\A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat";textureHL2 = "\A3\Characters_F\Heads\Data\hl_black_bald_co.paa";materialHL2 = "\A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat";}; I just changed the two entries from texture = "\zir_headpack1\Data\face_afr_01_co.paa"; material = "\zir_headpack1\data\face_afr_01.rvmat"; to texture = "\zir_headpack1\Data\zabraham_co.paa"; material = "\zir_headpack1\Data\zabraham.rvmat"; If I rename my textures to "face_afr_01_co.paa" I can see them in game using the zir_headpack1 config Share this post Link to post Share on other sites
hoverguy 177 Posted May 10, 2016 When you re-bin a config make sure to re-add the array types beforehand or you get the famous error you're too having: Example: class CfgPatches { class zir_headpack1 { units[] = {}; weapons[] = {}; requiredVersion = 1.000000; requiredAddons[] = {"A3_Characters_F_Heads"}; version = "1.00"; author[] = {"ZiR"}; }; }; I don't know what you use to unbin you configs, but it seems that it just removes all the [] 1 Share this post Link to post Share on other sites
Jackal326 1181 Posted May 10, 2016 I don't know what you use to unbin you configs, but it seems that it just removes all the [] Whatever it is, its a shit tool. 2 Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 10, 2016 I'm using ArmAunbin tool. But still I was able to repack the unedited config even without the [] and it still loaded and worked but if I change anything else it gives me the "some input after EndofFile" error. Share this post Link to post Share on other sites
hoverguy 177 Posted May 10, 2016 Sure you can repack without the [] but not binarize... By the way did you remove some parts of your config.cpp (I guess the answer is yes) because you're missing two closing brackets: class CfgPatches { class zir_headpack1 { units[] = {}; weapons[] = {}; requiredVersion = 1.000000; requiredAddons[] = {"A3_Characters_F_Heads"}; version = "1.00"; author[] = {"ZiR"}; }; }; class CfgFaces { class Default { /*extern*/ class Custom; }; class Man_A3: Default { class zir_face_afr_01: Default { displayname = "Face AFR 01"; texture = "\zir_headpack1\Data\zabraham_co.paa"; head = "BlackHead_A3"; material = "\zir_headpack1\Data\zabraham.rvmat"; disabled = 0; textureHL = "\A3\Characters_F\Heads\Data\hl_black_bald_co.paa"; materialHL = "\A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat"; textureHL2 = "\A3\Characters_F\Heads\Data\hl_black_bald_co.paa"; materialHL2 = "\A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat"; }; }; }; Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 10, 2016 First off, thank you for your help. And yes I did not post the full config, I was just showing where I made the changes. Im going to try it again and I will be sure to include the []. Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 10, 2016 OK, had some success. I opened another config to a different mod erased everything and replaced it with my original config, binarized it and packed it into a pbo and it worked. . . Sort of, I did not get any errors but I dont see any of my content in game. That maybe a different problem. Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 11, 2016 I double checked my config and I had gone and saved the wrong config in my mod folder....sad but true. So now it loads up but none of the textures are showing up obviously a problem with the texture routing. I will look into this now. Share this post Link to post Share on other sites
Muppet Slapper 8 Posted May 11, 2016 Solved, works now. Thank you for your help, learned a lot. 1 Share this post Link to post Share on other sites