Home   Help Search Login Register  

Author Topic: merging pbo files  (Read 2170 times)

0 Members and 1 Guest are viewing this topic.

Offline cosjacket

  • Members
  • *
merging pbo files
« on: 05 Mar 2008, 01:40:20 »
Hi...I have 3 pbos with the same names but with diffrent uniforms under the same names ie black, desert, and woodland. how can i but the pbos together so I can use all 3 in game,because all 3 have the same name and I can only use one at a time

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: merging pbo files
« Reply #1 on: 05 Mar 2008, 11:23:32 »
Sounds like a job for mr. config.cpp. :) I have an idea of what particular units you're talking about (Dren's reskins, yes?), and although I haven't checked them out myself, the process -should- be fairly straightforward. I'm no addon-maker, but it'd basically be a matter of putting all the cfgvehicle entries into the config.cpp of one pbo, changing their names so they don't cause errors and overwriting, and probably changing the texture paths as well.

Yes, well, not terribly helpful, maybe, but it -should- work out all right?  :dunno: Someone else might be able to answer in a more complete manner -> maybe post an extract of the config.cpp so we can look at it for reference? :)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline cosjacket

  • Members
  • *
Re: merging pbo files
« Reply #2 on: 05 Mar 2008, 15:46:33 »
there drens reskins ..lol  fingers crossed someone will have the answer

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: merging pbo files
« Reply #3 on: 05 Mar 2008, 17:25:10 »
Since arma supports multiple configs in one pbo (even in subfolders) you might get away with just first depboing the pbos, then putting the for example the woodland and desert pbo folders into the black pbo folder, check if any filepaths need changing in those two first mentioned configs (and fix if needed) and repack the whole thing into one pbo..

I don't have the said addon myself so I can't test whether this would work, but's just throwing an idea..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline cosjacket

  • Members
  • *
Re: merging pbo files
« Reply #4 on: 06 Mar 2008, 13:20:22 »
http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=09311978be8a263b18c7042135e7b8ae;act=ST;f=70;t=70650;st=60

theres the link for the pbos I will have a try to see if the above works hehehehe.. :D

Offline cosjacket

  • Members
  • *
Re: merging pbo files
« Reply #5 on: 06 Mar 2008, 13:59:50 »
i tried to unpack them,then rename folder and repack them but did not work xx

Offline cosjacket

  • Members
  • *
Re: merging pbo files
« Reply #6 on: 06 Mar 2008, 14:05:32 »
Code: [Select]
class CfgPatches
{
           class SWAT_UNITS
           {
                        units[]={"SWAT_TEAM_UNITS"};
                        weapons[]={};
                        requiredVersion = 1.08;
                       
            };
};
class CfgVehicleClasses
{
class SWAT_BLUE
{
displayName = "MEF Recon";
};

};


//===============================
class CfgSkeletons
{
class Head
{
isDiscrete = 0;
skeletonInherit = "";
skeletonBones[] =
{
"neck","",
"neck1","neck",
  "head","neck1",
"lBrow","head",
"mBrow","head",
"rBrow","head",
"lMouth","head",
"mMouth","head",
"rMouth","head",
"eyelids","head",
"LLip","head"
};
};
class OFP2_ManSkeleton
{
isDiscrete = 0;
skeletonInherit = "Head";
skeletonBones[] =
{
"weapon","",
"launcher","",
"Camera","",
"Spine","",
"Spine1","",
"Spine2","",
"Spine3","",
"Pelvis","",

//Left upper side
"LeftShoulder","",
"LeftArm","",
"LeftArmRoll","",
"LeftForeArm","",
"LeftForeArmRoll","",
"LeftHand","",
"LeftHandRing","",
"LeftHandRing1","",
"LeftHandRing2","",
"LeftHandRing3","",
"LeftHandPinky1","",
"LeftHandPinky2","",
"LeftHandPinky3","",
"LeftHandMiddle1","",
"LeftHandMiddle2","",
"LeftHandMiddle3","",
"LeftHandIndex1","",
"LeftHandIndex2","",
"LeftHandIndex3","",
"LeftHandThumb1","",
"LeftHandThumb2","",
"LeftHandThumb3","",

//Right upper side
"RightShoulder","",
"RightArm","",
"RightArmRoll","",
"RightForeArm","",
"RightForeArmRoll","",
"RightHand","",
"RightHandRing","",
"RightHandRing1","",
"RightHandRing2","",
"RightHandRing3","",
"RightHandPinky1","",
"RightHandPinky2","",
"RightHandPinky3","",
"RightHandMiddle1","",
"RightHandMiddle2","",
"RightHandMiddle3","",
"RightHandIndex1","",
"RightHandIndex2","",
"RightHandIndex3","",
"RightHandThumb1","",
"RightHandThumb2","",
"RightHandThumb3","",

//Left lower side
"LeftUpLeg","",
"LeftUpLegRoll","",
"LeftLeg","",
"LeftLegRoll","",
"LeftFoot","",
"LeftToeBase","",

//Right lower side
"RightUpLeg","",
"RightUpLegRoll","",
"RightLeg","",
"RightLegRoll","",
"RightFoot","",
"RightToeBase",""
};
};

class default;
class Flag: Default {};
class FlagCarrier: Default
{
skeletonInherit = "Default";
skeletonBones[] =
{
"stozar","",
"vlajka",""
};
};
};

class CfgModels
{
class Default
{
sections[] = {};
sectionsInherit="";
};

class flag_vojak : Default
{
sections[] = {"latka"};
};
class Head: Default
{
sections[] =
 {
"osobnost",
"brejle"
};
skeletonName = "Head";
};
class ArmaMan : Default
{
sections[] =
{
"osobnost","Head_Injury","Body_Injury","l_leg_injury"
,"l_arm_injury","r_arm_injury","r_leg_injury","clan"
};
  skeletonName = "OFP2_ManSkeleton";
};
           
            class SWAT_6: ArmaMan{};
           

};



//===============================

class CfgVehicles
{
            class Land;
            class Man: Land
            {
                         class ViewPilot;
            };
            class CAManBase;
            class SoldierWSaboteurRecon;


           
            class BLUE_8: SoldierWSaboteurRecon
            {
                         model="\SWAT\SWAT_6.p3d";
                         vehicleClass = "SWAT_BLUE";

                         accuracy=5;
                         displayName= "Recon";
                         nameSound = "Soldier";
                         picture = "\Ca\characters\data\Ico\i_SF_CA.paa";
                         Icon = "\Ca\characters\data\map_ico\i_komandos_CA.paa";
                 camouflage=0.5;
                         threat[] = {1, 0.1, 0.1};
                         class Wounds{
                                      tex[]={};
                                      mat[] = {"SWAT\data\swat.rvmat","SWAT\data\us_soldier_sabass_body_wound1.rvmat","SWAT\data\us_soldier_sabass_body_wound2.rvmat","SWAT\data\merc_sc.rvmat","SWAT\data\merc_sc_wound1.rvmat","SWAT\data\merc_sc_wound2.rvmat"};
                                      };
};
 };   
};
heres is the code xxx
could you highlight which bit i have to alter please xxx

(Edited to add code brackets -- Wolfrug)
« Last Edit: 06 Mar 2008, 15:17:32 by Wolfrug »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: merging pbo files
« Reply #7 on: 06 Mar 2008, 17:22:20 »
Cosjacket, do not post consecutively please.
If you have something to add to your post after a short period of time modify it instead of 'replying to yourself'..  :good:

Quote
theres the link for the pbos
Ok, thanks.
If my hectic schedule permits I'll try and see whether it would work..  :)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline cosjacket

  • Members
  • *
Re: merging pbo files
« Reply #8 on: 06 Mar 2008, 17:27:19 »
oppsssssss   sorry xx :good: