Forums » Air Combat & Civil Aviation » European Air War » EAW_TTD.DAT files


Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:
#3514090 - 02/08/12 02:30 AM EAW_TTD.DAT files
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 5857
Loc: Caux L'Herault, France
I have just been investigating EAW_TTD.DAT files to finalise my editor for the 1.28F/TM2 system.
One of its features will be to convert an older EAW_TTD.DAT file to the new Geawttd.dat format that 1.28F uses.

For those who may be unaware, these files contain the data that the exe uses to place things like trees, farms and houses on tiles.
There are four versions of the file:
The original (1.2) which worked on the basis of here being 59 tiles and a maximum of 64 objects per tile.
It has a file length of 303260 bytes.
This is calculated from there being 59 sections (1 for every tile), and each section having a 20 byte header followed by 80 bytes of data for each of the 64 possible objects.
64*80=5120
Add the 20 byte header 5140
Multiply by 59 = 303260

This was extended in the 1.28 series to one with 64 tiles and a length of 328960 bytes.
Later we switched to a maximum of 128 objects per tile and a length of 656640 bytes.
There is also a 59 tile version upgraded to 128 objects per tile and a length of 605340 bytes.
These are the only possible correct lengths.

Checking for files to convert I looked in the heap of scenarios on my external HDD which have EAW_TTD.DAT files and it is amazing how many of them have file lengths which are different from those four. This indicates that they are faulty in some way.
It is probably due to the vagaries of hex editing!

wink Jel
_________________________
Install 1.28E (XP/Vista/Win7) and fly online or off with it.

The best EAW online games are at GameRanger:
http://www.gameranger.com/


Downloads from my site:
My new webpage

Teamspeak 3 channel: 62.48.74.45:8769

Now you can join a running game, and even use a second controller smile


Top
#3514094 - 02/08/12 02:38 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11116
Loc: Fleet, Hampshire, England.
And if you have 255 tiles? dizzy
_________________________
Ah that's much better!

Wings Over Bytom

At home, with my great kids, Thomas, Jessica & little Nicola. smile

Top
#3514095 - 02/08/12 02:40 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Moggy Offline
EAW Old Timer
Hotshot

Registered: 08/27/00
Posts: 5752
Loc: A slit trench at RAF Gravesend
Bloody bodgers!

old_simmer

Moggy DCM
_________________________
RAF Chattenden
The Gen Home of the EAW Code Group

Top
#3514106 - 02/08/12 03:34 AM Re: EAW_TTD.DAT files [Re: Moggy]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11116
Loc: Fleet, Hampshire, England.
Originally Posted By: Moggy
Bloody bodgers!

old_simmer

Moggy DCM
biggrin
_________________________
Ah that's much better!

Wings Over Bytom

At home, with my great kids, Thomas, Jessica & little Nicola. smile

Top
#3514109 - 02/08/12 03:44 AM Re: EAW_TTD.DAT files [Re: MrJelly]
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 5857
Loc: Caux L'Herault, France
255 tiles possible with TM2/1.28F but it would use the Geawttd2.dat file which has the number of tiles in the header smile

Moggy- it takes one to know one- you and VBH are in the same boat LOL smile

wink
_________________________
Install 1.28E (XP/Vista/Win7) and fly online or off with it.

The best EAW online games are at GameRanger:
http://www.gameranger.com/


Downloads from my site:
My new webpage

Teamspeak 3 channel: 62.48.74.45:8769

Now you can join a running game, and even use a second controller smile


Top
#3514111 - 02/08/12 03:55 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11116
Loc: Fleet, Hampshire, England.
Originally Posted By: MrJelly

Moggy- it takes one to know one- you and VBH are in the same boat LOL smile

wink


I think you'll find that boat is very crouded, Tony, as HEX editing, used to be the norm for everything. wink biggrin
_________________________
Ah that's much better!

Wings Over Bytom

At home, with my great kids, Thomas, Jessica & little Nicola. smile

Top
#3514120 - 02/08/12 04:33 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Rotton50 Offline
Senior Member

Registered: 02/06/06
Posts: 2653
Loc: Cape Charles, Virginia, USA
I LOVE hexediting.

Doesn't everyone think in base 16?
_________________________
Raymond S Otton

Top
#3514122 - 02/08/12 04:47 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11116
Loc: Fleet, Hampshire, England.
32 bit only here! biggrin
_________________________
Ah that's much better!

Wings Over Bytom

At home, with my great kids, Thomas, Jessica & little Nicola. smile

Top
#3514199 - 02/08/12 07:21 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Moggy Offline
EAW Old Timer
Hotshot

Registered: 08/27/00
Posts: 5752
Loc: A slit trench at RAF Gravesend
Waiting for that TTD editor Jel. Much obliged

cheers

Quote:

I LOVE hexediting.

Doesn't everyone think in base 16?


That's what I do ....... except the thinking part.

Quote:

Moggy- it takes one to know one- you and VBH are in the same boat LOL


Quote:

I think you'll find that boat is very crowded ...


After me ... Pull! ... Pull! ... Pull!

Moggy DCM
_________________________
RAF Chattenden
The Gen Home of the EAW Code Group

Top
#3514280 - 02/08/12 08:52 AM Re: EAW_TTD.DAT files [Re: Moggy]
VonBeerhofen Offline
3DZ Master/Campaign Designer
Hotshot

Registered: 10/16/02
Posts: 6759
Loc: Zandvoort, N-H, Netherlands
Originally Posted By: Moggy
Waiting for that TTD editor Jel. Much obliged

cheers

Quote:
I LOVE hexediting.
Doesn't everyone think in base 16?


[quote]
That's what I do ....... except the thinking part.


Quote:

Moggy- it takes one to know one- you and VBH are in the same boat LOL


Quote:

I think you'll find that boat is very crowded ...


Quote:

After me ... Pull! ... Pull! ... Pull!


Just here to set things straight.

The FXEXE for Pacific Tide III was allready modified around 2005 to allow all 64 tiles in the EAW.TM and the EAW_TTD.DAT and they have been an integral part of the Launchpad's 'The Final Cut' ever since (see sticky thread about online_flying).

So Moggy you'd better start rowing m8, smile

VonBeerhofen
_________________________
The EAW Launchpad
Home of th... online

Top
#3514308 - 02/08/12 09:16 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Moggy Offline
EAW Old Timer
Hotshot

Registered: 08/27/00
Posts: 5752
Loc: A slit trench at RAF Gravesend
Hello VB - wasn't aware I was talking to, at, or particularly about you. You just seem to have got mentioned somewhere in the thread.

I remain very skeptical about my own efforts, which at their highest certainly are glorified bodging.

If any of that works for players then I'm pleased.

Otherwise I'm quite happy to be in the bodgers boat pulling at those oars.

Have a good life.

Moggy DCM
_________________________
RAF Chattenden
The Gen Home of the EAW Code Group

Top
#3514389 - 02/08/12 11:18 AM Re: EAW_TTD.DAT files [Re: MrJelly]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11116
Loc: Fleet, Hampshire, England.
Don't worry Moggy, at least we are all in the same boat, and steering a good course. wink
_________________________
Ah that's much better!

Wings Over Bytom

At home, with my great kids, Thomas, Jessica & little Nicola. smile

Top
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:

Moderator:  Avimimus, sandbagger 

Forum Use Agreement | Privacy Statement | SimHQ Staff
Copyright 1997-2012, SimHQ Inc. All Rights Reserved.