Forums » Air Combat & Civil Aviation » European Air War » EAW_TTD.DAT files Active Topics You are not logged in. [Log In] [Register User]
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:
#3514090 - 02/08/12 05:30 AM EAW_TTD.DAT files
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 6711
Loc: Montagnac, 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
_________________________
EAW upgrades (1.28E), scenario installations, and links: DropBox links and FileCloud links

The best EAW online games are at GameRanger: GameRanger Site

Teamspeak 3 channel: 62.48.74.45:8769

Now you can join a running game, and even use multiple controllers smile



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

Registered: 06/04/01
Posts: 11966
Loc: Fleet, Hampshire, England.
And if you have 255 tiles? dizzy
_________________________
Just remember, "No Matter How Little I have Done, It's All The Less For You To Do" biggrin

Wings Over Bytom

Single parent, bringing up my great kids, Thomas, Jessica & Nicola, and trying to do his best all the time.

Top

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

Registered: 08/27/00
Posts: 6156
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 06:34 AM Re: EAW_TTD.DAT files [Re: Moggy]
Col. Gibbon Offline
3DZ Model Builder
Veteran

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

old_simmer

Moggy DCM
biggrin
_________________________
Just remember, "No Matter How Little I have Done, It's All The Less For You To Do" biggrin

Wings Over Bytom

Single parent, bringing up my great kids, Thomas, Jessica & Nicola, and trying to do his best all the time.

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

Registered: 04/30/02
Posts: 6711
Loc: Montagnac, 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
_________________________
EAW upgrades (1.28E), scenario installations, and links: DropBox links and FileCloud links

The best EAW online games are at GameRanger: GameRanger Site

Teamspeak 3 channel: 62.48.74.45:8769

Now you can join a running game, and even use multiple controllers smile


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

Registered: 06/04/01
Posts: 11966
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
_________________________
Just remember, "No Matter How Little I have Done, It's All The Less For You To Do" biggrin

Wings Over Bytom

Single parent, bringing up my great kids, Thomas, Jessica & Nicola, and trying to do his best all the time.

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

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

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

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

Registered: 06/04/01
Posts: 11966
Loc: Fleet, Hampshire, England.
32 bit only here! biggrin
_________________________
Just remember, "No Matter How Little I have Done, It's All The Less For You To Do" biggrin

Wings Over Bytom

Single parent, bringing up my great kids, Thomas, Jessica & Nicola, and trying to do his best all the time.

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

Registered: 08/27/00
Posts: 6156
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 11:52 AM Re: EAW_TTD.DAT files [Re: Moggy]
VonBeerhofen Offline
3DZ Master/Campaign Designer
Hotshot

Registered: 10/16/02
Posts: 6763
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
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:

Moderator:  RacerGT, Sandbagger 
 

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