Jump to content
Sign in to follow this  
Mage

Please help me with my island :x

Recommended Posts

Hello, I've successfully made an island from scratch, terrain, everything. Using a tutorial, heh. However, when I'm getting ready to build the PBO

I get an error. The log shows:

Error reading binary file 'p:\thetown\config.cpp'

And my island cannot be found in-game.

Here's my config.cpp:

My island folder is called "thetown" and it's located at P:\thetown\

The directory structure is:

P:\thetown\

- config.cpp

- data

- source

- thetown.cpp (it's blank at the mom)

P:\thetown\data\

- all the rvmats & textures

P:\thetown\source\

- the sat, mask, layer.cfg, background, maplegend, landscape.bmp & landscape.xyz

--------------- CONFIG

class CfgPatches

{

class thetown

{

units [] = {};

requiredAddons[] = {"Utes"};

worlds [] = {};

requiredVersion = 1.0;

};

};

class DefaultLighting;

class DefaultLighting_CA: DefaultLighting {};

class CfgWorlds

{

class DefaultClutter

{

scaleMin = 0.9;

scaleMax = 1.4;

};

};

class DefaultWorld;

class Utes: DefaultWorld {};

class thetown: Utes

{

description = "The Town - An Island for the The Town MOD By Mage";

icon = "";

worldName = "thetown\thetown.wrp";

pictureMap = "";

pictureShot = "";

plateFormat = "ML $ - #####";

plateLetters = ABCDEGHIKLMNOPRSTVXZ;

longitude = -40;

latitude = -40;

landgrid = 40;

};

class Grid

{

offsetX = 0;

offsetY = 0;

class Zoom1 {

zoomMax = 0.1;

format = "XY";

formatX = "Aa";

formatY = "00";

stepX = 100;

stepY = 100;

};

class Zoom2 {

zoomMax = 1e +030;

format = "XY";

formatX = "A";

formatY = "0";

stepX = 1000;

stepY = 1000;

};

};

startTime = 8:30;

startDate = 12/07/2011;

startWeather = 0.1;

startFog = 0.0;

forecastWeather = 0.3;

forecastFog = 0.0;

seagullPos [] = {1272.84, 150.0, 14035};

centerPosition [] = {1021.06, 4980.25, 300};

ilsPosition [] = {3311.89,3237.58};

ilsDirection [] = {270, 0.08, 1};

ilsTaxiIn [] = {2495, 2725, 2495, 2850, 2508, 2860, 2508, 3000, 2520, 3010, 2545, 3000};

ilsTaxiOff [] = {2545, 2445, 2520, 2425, 2495, 2445, 2495, 2725};

drawTaxiway = 0;

class SecondaryAirports {};

class ReplaceObjects {};

class Sounds {sounds [] = {}; };

class Animation {};

clutterGrid = 1.11;

clutterDist = 55;

noDetailDist = 40,

fullDetailDist = 5;

minTreesInForestSquare = 3;

minRocksInRockSquare = 4;

class Names

{

# include "thetown.hpp"

};

class CfgWorldList

{

class thetown {};

};

class CfgMissions

{

class Cutscenes

{

class thetownIntro1 {

directory = "thetown\Anims\intro.thetown";

};

};

-------------------

It's driving me crazy, I cannot seem to get this island working and I've spent the whole day trying to fix it. Please help me

Share this post


Link to post
Share on other sites

I don't have the time right now to dig through this bud, use my config and fill in all your info. It should allow you to view your island with one or two errors. If you can view it, just compare the files and see whats different/missing/added. If not, double check your file structure and names. 9/10 it seems to be a name typo or something along those lines.

Right off the top of my head, the line "UNITS[]={ MISSING NAME};"

class CfgPatches
{
class OFPIE
{
	units[] = {OFPIE};
	weapons[] = {};
	requiredVersion = 1.05;
	requiredAddons[] = {"Utes"};
	version = "Alpha 0.6";
	fileName = "OFPIE.pbo";
	author = "MadMardigan";
	mail = "madmardigan409@live.com";
};
};
class CfgWorlds
{
class CAWorld;
class Utes: CAWorld
{
	class Grid{};
	class DefaultClutter;
};
class OFPIE: Utes
{
	description = "OFP Isles: Evolution [Alpha 0.6]";
	worldName= "\madm\OFPIE\OFPIE.wrp";
	pictureShot = "\madm\OFPIE\data\SM_Picture_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 = 0;
  		class Zoom1
  		{
   		zoomMax = 0.15;
   		format = "XY";
   		formatX = "000";
   		formatY = "000";
   		stepX = 100;
   		stepY = 100;
  	};
  	class Zoom2
  	{
   		zoomMax = 0.85;
   		format = "XY";
   		formatX = "00";
   		formatY = "00";
   		stepX = 1000;
   		stepY = 1000;
  	};
  	class Zoom3
  	{
   		zoomMax = 1e+030.0;
   		format = "XY";
   		formatX = "0";
   		formatY = "0";
   		stepX = 10000;
   		stepY = 10000;
  		};
 	};

	ilsPosition[] = {2862,11977};
	ilsDirection[] = {0,0.080000,-1};
	ilsTaxiIn[] = {2951,12659, 2930, 11965, 2900, 11952, 2862,11977};
	ilsTaxiOff[] = {2862,11977, 2862, 12679, 2949, 12855, 2951,12659};
	drawTaxiway = 1;

	class SecondaryAirports {
		class maldenairport {
		ilsPosition[] = {27546,15710};
		ilsDirection[] = {0,0.080000,-1};
		ilsTaxiIn[] = {27652, 16535, 27634, 15661, 27595, 15640, 27545, 15640, 27546, 15710};
		ilsTaxiOff[] = {27546,15710, 27564, 16555, 27652, 16782, 27652, 16535};
		drawTaxiway = 1;
		};
		class everonairport {
		ilsPosition[] = {27062, 33440};
		ilsDirection[] = {0.682,0.080000,-0.731};
		ilsTaxiIn[] = {26563, 33865, 27043, 33351, 27077, 33357, 27100, 33401, 27062, 33440 };
		ilsTaxiOff[] = {27062, 33340, 26482, 34070, 26439, 34064, 26419, 34031, 26563, 33865};
		drawTaxiway = 1;
		};
	};

	class Clutter
	{
		#include "cfgClutter.hpp"
	};
	class Names
	{
		#include "OFPIE.hpp"
	};
};
};

class CfgWorldList
{
class OFPIE {};
};

class CfgMissions
{
class Cutscenes
{
	class OFPIE
	{
	directory = "madm\OFPIE\data\scenes\Intro.OFPIE";
	};
};
};

//SURFACES
#include "cfgSurfaces.hpp"

Share this post


Link to post
Share on other sites

Still not working, getting the same errors.

I mean the island previews in bulldozer just fine, I see textures and everything, its just binPBO barfing during build. I'm clueless..

---------- Post added at 09:43 PM ---------- Previous post was at 09:42 PM ----------

And when I copy the .pbo (about 6MB, oddly small for an island) and put it in the addons folder to make sure its picked up by the game, i go to single player > editor and only utes and chernarus show up.

Share this post


Link to post
Share on other sites

Double check all your file names, make sure you are exporting the .wrp to the correct place with the exact name that you have in the config etc. That config file works for me so it's something with the file structure or names broski.

edit

you only added the file structures, correct? You didn't add in the other missing class's and stuff from your file?

Share this post


Link to post
Share on other sites

Might be your BINpbo settings.... post the settings you're using...

B

Share this post


Link to post
Share on other sites

ERROR LOG:

Error reading binary file 'p:\tt\thetown\config.cpp'

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

Include file p:\tt\thetown\cfgClutter.hpp not found.

Cannot include file cfgClutter.hpp

Preprocessor failed on file p:\tt\thetown\config.cpp - error 1.

Error 3 while parsing

Error in config p:\tt\thetown\config.cpp

Include file p:\tt\thetown\cfgClutter.hpp not found.

Cannot include file cfgClutter.hpp

Preprocessor failed on file p:\tt\thetown\config.cpp - error 1.

Error 3 while parsing

Error in config p:\tt\thetown\config.cpp

Cannot load font core\data\fonts\lucidaconsoleb8

Fonts file \core\data\fonts\lucidaConsoleB8 not found

Cannot load font core\data\fonts\lucidaconsoleb11

Fonts file \core\data\fonts\lucidaConsoleB11 not found

Share this post


Link to post
Share on other sites
plateFormat = "ML $ - #####";

plateLetters = ABCDEGHIKLMNOPRSTVXZ;

try removing that, then binarize it again. See if that doesn't fix it. Also, like bush was saying, what settings in the binpbo app?

Edited:

Your file structure should look like this...

p:\TT

---->thetown(file folder)

------->config.cpp(file)

------->thetown.wrp(file)

------->data(file folder)

--------->all the surfaces texture files

------- --->layers (file folder)

------->source (file folder)

------->mask/legend/sat/layers files

------->terrain (file folder)

--------->terrain.pbl (.txt file for hieght map)

--------->terrain.png (16 bit greyscale)

Edited by MadMardigan409

Share this post


Link to post
Share on other sites
Include file p:\tt\thetown\cfgClutter.hpp not found

This isn't part of the path you stated your island was located under... yet it's where BINpbo is looking...

Check your BINpbo paths and settings - thats where the problem is...

B

Share this post


Link to post
Share on other sites

Still not working

- An update:

Last night after I posted this I changed all the paths to tt\thetown... and added a dir at P:\ called 'tt' in which I put the thetown directory (folder)

so my first post looks like its P:\thetown\ but now it is P:\tt\thetown\ in layers, rvmat, config.cpp etc.

Ok, the binpbo dialog had a checkbox called "Binarize". I unchecked it and the map compiled straight away, no errors in the log either.

But that was too good to be true.

Once I put the map in the addons folder and launch arma this is what I get:

cfgclutter.jpg

The map is currently a grass land and water, nothing else, no roads, no buildings, nothing. I just want to preview the map in-game well to see where will I put everything from here on. What am I doing wrong?

There's no such files in the \thetown\ directory. (cfgclutter.cpp & cfgsurfaces.cpp) are these two generated by visitor or do I have to make them myself? I have no clue.

---------- Post added at 10:29 PM ---------- Previous post was at 10:23 PM ----------

@MADMARDIGAN: I am using your config, with the respective changes to my files, as you suggested.

Edited by Mage

Share this post


Link to post
Share on other sites

the cfgclutter.cpp and cfgsurfaces.cpp are not generated by visitor. I would use the files from the tutorial island srg ace made, follow his instructions to the T then move the needed files into the "TT" file structure after you get the tutorial working.

Share this post


Link to post
Share on other sites

Ok MadMardigan, I'll give that a shot.

@BUSHLURKER: These are my current settings for binpbo

binpbo.JPG

binpbo2.JPG

---------- Post added at 10:45 PM ---------- Previous post was at 10:34 PM ----------

now after I have added CfgClutter & Surfaces, I build, put the map in the addons folder and launch arma and I see this:

"Include file config.cpp not found"

and the game doesn't start. What could be wrong?

the file config.cpp is indeeed in P:\tt\thetown\ that's for sure

Share this post


Link to post
Share on other sites

In BINpbo "options" window...

Where it says "Path to project folder"...

make it..... p:\tt\

and untick that "use source path" box...

.. and in the main window - tick the "binarize" box... otherwise it won't... and you want it to...

B

Edited by Bushlurker

Share this post


Link to post
Share on other sites

maybe uncheck use source path. and keep it p:\tt\

lol bush got it

Share this post


Link to post
Share on other sites

something has got to be miss typed or file structure is messed up. Also, a couple things you want to do for binpbo app is...

-unhook the "use source path"

-change the temporary folder to...

P:\BIN_TEMP

Gah! you guys are too quick for me lol!

Share this post


Link to post
Share on other sites

IT WORKS!!!!

thetown03.JPG

thetown02.JPG

I'll write a brief summary of the issues I stumbled upon during my journey but shall write a rather comprehensive guide later.

Needless to say, Mad, bush, guys all of you who have helped me will have your shiny nicks in the credits of the map in the map selection screen :) Thanks a bunch again.

Don't go away yet, though! I am sure I'll run into more questions later, when adding roads and scenery. Haha.

Anyways, here's my error route:

- error in sat map #1 - Fixed it by resampling the drawing after exporting the .xyz landscape file

- Map looks black in buldozer Fixed it by dropping custom textures and using sm_grass from the arma2 dir

- sat map error - fixed it by binning my previous work and starting from scratch using my favourite tool (Adobe FIREWORKS CS4). After making it layered in FW everything went smoothly

- Map doesn't show up/start in game - binarize giving me problems

- Config.cpp with errors (Not very sure, Thank you MadMardigan for your template I could adapt it to suit my needs)

- Clutter & Surfaces missing - Fixed it by adding Sgt.Ace's into my working dir

- Several BINPBO Issues - fixed it by following the instructions given by you guys on this tread

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  

×