Forums » Air Combat & Civil Aviation » European Air War » EAWTM2 is dead (a copy of my post made at the gen)


Topic Options
Rate This Topic
Hop to:
#3481009 - 12/25/11 01:26 AM EAWTM2 is dead (a copy of my post made at the gen)
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 5856
Loc: Caux L'Herault, France
I killed it off a few minutes ago, but there is an "EAW32.TM" in its place.
The rationale was the simple ability to store the "EAW32.TM" file in the "DATA.CDF" rather than mess around with the ".tm2" extender.
As the data is in four bytes it was logical to use the name "EAW32.TM".
I now have it as I wanted it:

1. There is just one string file "tilename.str" with the default in "TEXT_ENG.CDF".
It is read....

BNField8.ter
BNGrass.ter
BNWater.ter

etc

.... and the names of the "BN", "LR" and "BP" files are generated by routines in the exe.

2. There is a folder "EAWTM2" in the root folder. It contains the default bump tile sequence in the "BumpVal.eaw" file. If there is a "BumpVal.eaw" file in the root folder the exe will use it in preference to the one in "EAWTM2". The data in it reads like this:
-1
-1
-1
3
4
5
-1
-1
-1
-1
-1
-1
-1
-1
14
etc

Tiles 0, 1, and 2 have a bump value of -1 so they have no bump tile.
Tile " "BNCoast1.ter" has a value of 3 so it is mapped to "BPCoast1.ter". In every case where there is a mapping the bump index is the same as the tile number.
Tile 14 "BNRiver1.ter" is mapped to "BPRiver1.ter".
For this to work with the original tiles only three BP files needed to be copied and the copies re-named. I have a batch file which does this.

3. It is working well with current and older scenarios. They just need the addition of the additional BP tiles (made with the batch file) and the "eaw32.tm" file unless they are using the defaults like SWOTL and ETO_01. So far I have had no problems with DAW, SAW, SPAW, Malta and Mod Squad BoB. I have a utility which reads the "eaw.tm" file and makes the "eaw32.tm" file.

4. It is working with more than 64 tiles.
The number of tiles is a now a variable and has a default value of 64. However, if there is a "Numtiles.eaw" file in the root folder it is read from that. In the screenie in my "White Christmas" post at SimHQ I was using one with a value of 65. All values of "2" in the normal "eaw32.tm" had been changed to "64" so the 65th tile was displayed instead of the normal water tile.

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
#3481014 - 12/25/11 02:17 AM Re: EAWTM2 is dead (a copy of my post made at the gen) [Re: MrJelly]
Moggy Online   content
EAW Old Timer
Hotshot

Registered: 08/27/00
Posts: 5750
Loc: A slit trench at RAF Gravesend
Okay. Dumb question no.1: how many tiles can we now have?

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

Top
#3481017 - 12/25/11 02:29 AM Re: EAWTM2 is dead (a copy of my post made at the gen) [Re: MrJelly]
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 5856
Loc: Caux L'Herault, France
In theory 16777215 (256x256x256 -1) because the first three bytes are used as the tile ID and the fourth is either 0, 64, 128 or 192 for the orientation.
In practice I have limited to 256 (0 to 255 as the first byte) until demand increases smile

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
#3481155 - 12/25/11 11:43 AM Re: EAWTM2 is dead (a copy of my post made at the gen) [Re: MrJelly]
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 5856
Loc: Caux L'Herault, France
I have now integrated this into Ralf's V10 and have a compiled a working version smile

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
#3481416 - 12/26/11 04:37 AM Re: EAWTM2 is dead (a copy of my post made at the gen) [Re: MrJelly]
Moggy Online   content
EAW Old Timer
Hotshot

Registered: 08/27/00
Posts: 5750
Loc: A slit trench at RAF Gravesend
Possibilities are intriguing!

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

Top
#3481418 - 12/26/11 04:43 AM Re: EAWTM2 is dead (a copy of my post made at the gen) [Re: MrJelly]
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 5856
Loc: Caux L'Herault, France
Grab the download and check it out smile
Now I need to edit the tilemap maker to accommodate the extra tiles.

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
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.