Jump to content
Sign in to follow this  
Robster

Config.cpp

Recommended Posts

I can not make PBO file... already check every path and folder...

Am I missing something on my config file??? can anybody help ?

Here is the code on config.cpp:

class CfgPatches

{

class Gol

{

units[] = {Gol};

weapons[] = {};

requiredVersion = 0.9;

requiredAddons[] = {"Utes"};

version = "2010-10-4";

fileName = "Gol.pbo";

};

};

class CfgWorlds {

class CAWorld;

class Utes: CAWorld // External class reference

{

class Grid;

class DefaultClutter; // External class reference

class DayLightingBrightAlmost; // External class reference

};

class Gol: Utes

{

description = "Isla Gol";

worldName= "\Gol\GolMap\Source\Gol.wrp";

pictureShot = "\Gol\GolMap\Data\Gol_ca.paa";

centerPosition[] = {2720,2462,500};

seagullPos[] = {2720,2462,500};

longitude = 30; // positive is east, in degrees?

latitude = -45; // positive is south, in degrees?

class Grid : Grid

{

offsetX = 0;

offsetY = -15360;

class Zoom1

{

zoomMax = 0.5;

format = "XY";

formatX = "Aa";

formatY = "00";

stepX = 200;

stepY = 200;

};

class Zoom2

{

zoomMax = 1e30;

format = "XY";

formatX = "A";

formatY = "0";

stepX = 2000;

stepY = 2000;

};

};

class Clutter

{

#include "cfgClutter.hpp"

};

class Names

{

#include "Gol.hpp"

};

};

};

class CfgWorldList

{

class Gol {};

};

class CfgMissions

{

class Cutscenes

{

class GolIntro

{

directory = "Gol\GolMap\Data\scenes\Intro.Gol";

};

};

};

#include "cfgSurfaces.hpp" //SURFACES

and here is the result coming from data.log :

Updating base class ->UAV, by p:\gol\ca\air2\MQ9PREDATORB\config.cpp/CfgVehicles/MQ9PredatorB/

Updating base class ->Animal, by p:\gol\ca\animals2\config.cpp/CfgVehicles/CAAnimalBase/

Updating base class ->Default, by p:\gol\ca\anims\Characters\config\sdr\config.cpp/CfgMovesBasic/DefaultDie/

Updating base class ->Default, by p:\gol\ca\anims\Characters\config\sdr\config.cpp/CfgMovesMaleSdr/States/Crew/

Updating base class Report->Confirmation, by p:\gol\ca\bin\config.cpp/RadioProtocolBase/SentCoverMe/

Updating base class Report->Confirmation, by p:\gol\ca\bin\config.cpp/RadioProtocolBase/SentCovering/

Updating base class Report->Confirmation, by p:\gol\ca\bin\config.cpp/RadioProtocolBase/SentReloading/

Updating base class Report->Confirmation, by p:\gol\ca\bin\config.cpp/RadioProtocolBase/SentThrowingGrenade/

Updating base class ->Wreck, by p:\gol\ca\config.cpp/CfgVehicles/PlaneWreck/

Updating base class ->Wreck, by p:\gol\ca\config.cpp/CfgVehicles/HelicopterWreck/

Updating base class ->NonStrategic, by p:\gol\ca\config.cpp/CfgVehicles/HouseBase/

Updating base class ->HouseBase, by p:\gol\ca\config.cpp/CfgVehicles/Ruins/

Updating base class ->DestructionEffects, by p:\gol\ca\config.cpp/CfgVehicles/House/DestructionEffects/

Updating base class SentCmdHeal->SentCmdHeal, by p:\gol\ca\dubbing\config.cpp/RadioProtocolEN/SentCmdHealSomeone/

Updating base class SentCmdHeal->SentCmdHeal, by p:\gol\ca\dubbing\config.cpp/RadioProtocolEN/SentCmdHealSelf/

Updating base class ->StaticMGWeapon, by p:\gol\ca\misc3\WF\config.cpp/CfgVehicles/WarfareBMGNest_M240_base/

Updating base class ->CA_Magazine, by p:\gol\ca\modules\ARTY\config.cpp/CfgMagazines/VehicleMagazine/

Updating base class ->FlareCore, by p:\gol\ca\weapons\config.cpp/CfgAmmo/FlareBase/

Updating base class ->BulletBase, by p:\gol\ca\weapons\config.cpp/CfgAmmo/B_30mm_HE/

Updating base class ->ShellCore, by p:\gol\ca\weapons\config.cpp/CfgAmmo/ShellBase/

Updating base class ->RocketCore, by p:\gol\ca\weapons\config.cpp/CfgAmmo/RocketBase/

Updating base class ->RocketBase, by p:\gol\ca\weapons\config.cpp/CfgAmmo/R_GRAD/

Updating base class ->RocketBase, by p:\gol\ca\weapons\config.cpp/CfgAmmo/R_MLRS/

Updating base class ->NewTurret, by p:\gol\ca\weapons\config.cpp/CfgVehicles/StaticWeapon/Turrets/MainTurret/

Updating base class ->StaticMGWeapon, by p:\gol\ca\weapons\config.cpp/CfgVehicles/M2StaticMG_base/

Updating base class MainTurret->MainTurret, by p:\gol\ca\weapons\config.cpp/CfgVehicles/M119/Turrets/MainTurret/

Updating base class ->StaticMGWeapon, by p:\gol\ca\weapons\config.cpp/CfgVehicles/DSHKM_base/

Updating base class MainTurret->MainTurret, by p:\gol\ca\weapons\config.cpp/CfgVehicles/D30_base/Turrets/MainTurret/

Updating base class ->ReammoBox, by p:\gol\ca\weapons\config.cpp/CfgVehicles/WeaponHolder/

Updating base class ->VehicleMagazine, by p:\gol\ca\weapons\config.cpp/CfgMagazines/4Rnd_Sidewinder_AV8B/

Updating base class ->Pistol, by p:\gol\ca\weapons\config.cpp/cfgWeapons/M9/

Updating base class ->Default, by p:\gol\ca\weapons\config.cpp/cfgWeapons/GrenadeLauncher/

Updating base class ->RifleCore, by p:\gol\ca\weapons\config.cpp/cfgWeapons/Rifle/

Updating base class ->MGun, by p:\gol\ca\weapons\config.cpp/cfgWeapons/PKT/

Updating base class ->LauncherCore, by p:\gol\ca\weapons\config.cpp/cfgWeapons/RocketPods/

Updating base class ->MissileLauncher, by p:\gol\ca\weapons\config.cpp/cfgWeapons/SidewinderLaucher/

Updating base class MainTurret->MainTurret, by p:\gol\ca\weapons\M252_81mm_Mortar\config.cpp/CfgVehicles/M252/Turrets/MainTurret/

Updating base class MainTurret->MainTurret, by p:\gol\ca\weapons\Podnos_2b14_82mm\config.cpp/CfgVehicles/2b14_82mm/Turrets/MainTurret/

Updating base class ->DefaultDie, by p:\gol\ca\wheeled\config.cpp/CfgMovesMaleSdr/States/Stryker_Dead/

Updating base class ->NewTurret, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/Car/Turrets/MainTurret/

Updating base class ->Ural_Base, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/Ural_CDF/

Updating base class ->UralOpen_Base, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/UralOpen_CDF/

Updating base cgol\golmap\data\pasto_mco.paa->P:\BIN_TEMP\gol\golmap\data\pasto_mco.paa

gol\golmap\data\pasto_detail_nopx.paa->P:\BIN_TEMP\gol\golmap\data\pasto_detail_nopx.paa

gol\golmap\data\pasto_detail_co.paa->P:\BIN_TEMP\gol\golmap\data\pasto_detail_co.paa

Found p:\gol\golmap\data\Layers\textures.lst, inserting textures not linked by .p3d-s...

lass ->UralReammo_Base, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/UralReammo_CDF/

Updating base class ->Ural_Base, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/Ural_INS/

Updating base class ->UralOpen_Base, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/UralOpen_INS/

Updating base class ->UralReammo_Base, by p:\gol\ca\wheeled\config.cpp/CfgVehicles/UralReammo_INS/

Updating base class ->Kamaz_Base, by p:\gol\ca\wheeled2\Kamaz\config.cpp/CfgVehicles/Kamaz/

Updating base class ->Kamaz_Base, by p:\gol\ca\wheeled2\Kamaz\config.cpp/CfgVehicles/KamazOpen/

Updating base class ->Kamaz_Base, by p:\gol\ca\wheeled2\Kamaz\config.cpp/CfgVehicles/KamazReammo/

Updating base class ->Truck, by p:\gol\ca\wheeled2\MTVR\config.cpp/CfgVehicles/MTVR/

Updating base class ->MTVR, by p:\gol\ca\wheeled2\MTVR\config.cpp/CfgVehicles/MtvrReammo/

Updating base class ->V3S_Civ, by p:\gol\ca\wheeled2\V3S\config.cpp/CfgVehicles/V3S_Gue/

Usage

FileBank {options} source [source]

source may be directory name or log file name (.log)

Options:

-encrypt encryption_name password_file

-property name=value Store a named property

-exclude filename List of patterns which should not be included in the pbo file

Any clue?

Share this post


Link to post
Share on other sites

worldName= "\Gol\GolMap\Source\Gol.wrp";

pictureShot = "\Gol\GolMap\Data\Gol_ca.paa";

must be

worldName= "Gol\GolMap\Source\Gol.wrp";

pictureShot = "Gol\GolMap\Data\Gol_ca.paa";

Share this post


Link to post
Share on other sites

Firstly - Shezan is correct - remove those leading "\"'s...

That in itself might be enough to get you working... however, I also notice something else...

I'm not sure if it would cause the map to fail to binarize, but...

Isn't the usual location for the config.cpp, the .pew, the .wrp, the map.hpp, etc etc etc supposed to be the main project directory?

This path...

worldName= "Gol\GolMap\Source\Gol.wrp";

...is different in my setup... I just have...

worldName= "Bush\LFA14\LFA14.wrp";

Bush is the "namespace" folder on P:\

LFA14 is the project folder...

... and directly inside there I have...

Data folder

Source folder

cfgClutter.hpp

cfgSurfaces.hpp

config.cpp

LFA14.hpp (the "names" file)

LFA14.pew (visitor project file)

LFA14.wrp (the exported world file)

It looks like you may have some or all of these files one directory further down inside the /Source directory...

Try rearranging things so your "GolMap" folder looks like this...

P:\Gol\Golmap...

Data folder

Source folder

cfgClutter.hpp

cfgSurfaces.hpp

config.cpp

GolMap.hpp (the "names" file)

GolMap.pew (visitor project file)

GolMap.wrp (the exported world file)

No guarantees - but its worth a try... from the log it looks like theres no binarizing happening at all - binPBO obviously isnt finding the files...

**Remember* - if/when you move these files to the suggested location, remember to change the line in your config.cpp as well...

Change...

worldName= "Gol\GolMap\Source\Gol.wrp";

To...

worldName= "Gol\GolMap\Gol.wrp";

B

Edited by Bushlurker

Share this post


Link to post
Share on other sites

I really appreciate your kind attention guys...

As you may expect, I've taken care of everything said with no success.

I came back over Vis3 and deleted all the PNGs, RVMATs and PAAs from layer folder to start again and another issue came out...

I imported again the sat and mask maps and went to buldozer for making layers... it went OK: layers folder got fullfilled with the same files I deleted

Then, I removed my background image (bmp file) to set it again... and it did not load at all... so I took a look over properties and guess what... it changes the folder path!!!!

My bmp background map is located at the "Source" folder (let's remember it was ok and I deleted it for testing purposes) and this time Vis3 seems to expect the file to be in "GolMap" folder... and thus it does not accept the path I set to "source"...

In other words, Vis3 is told to change a path but no change is made to this respect...

As always I will be grateful for your wise advice...

Edited by Robster

Share this post


Link to post
Share on other sites

My only chance to fix this whole mess was to start all over again... and BINPbo is working ok at this time

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×