formation+editor

.


 * Formation Editor**

By Mr Jelly

.

Heres the extract from the "HowToUse.txt" file:

The program offset value defaults to the English eaw.exe v1.2

The offset is 1227808 as shown in the textbox at the top right. This number needs be changed to the appropriate value in other eaw.exe files, including the different language versions such as German. Based on this value in the English version the formation table starts at 1227809 (counting the first byte as 1 not zero).

Editing can only be done directly, and it will only happen if the "Direct edit on" checkbox is ticked (on). It is "off" by default. Editing is better done with the display showing decimal values, and only a decimal integer from 0 to 255 can be inserted.

To edit put the decimal value in the small textbox near the top left next to the "Value..." label. Then double click in the cell where the value needs to go. The loaded eaw.exe will be edited instantly.

Editing could be done by running the program in the eaw directory, directly editing the eaw.exe file and running EAW to investigate the results achieved by modifying the file. This way we may more easily discover what some of these values control. Please document your findings!

Clicking the radio buttons displays the bytes as characters, decimal or hex values. The file is re-read each time, so you can switch from dec to hex and back to confirm that the edited value has been inserted.

I have included an English 1.2 exe for you to learn with.

Jel Adelaide August 2005

http://www.raf-roy.com/share/mrjelly/FormEd.zip

The formation editor version 2

http://www.raf-roy.com/share/mrjelly/FormationEd2.zip added the 20 Augustus 2005

the formation editor version 3

http://www.raf-roy.com/share/mrjelly/FormEd3.zip added the 21 Augustus 2005

//**Notes about this editor:** (//Mr Jelly)

Repeat of a response in VBs thread:

I have reworked the formation editor based on the corrected exe map.

The program can calculate the formation value based on the selection from the radiobuttons and checkboxes, and put them in the "Type" box(es). All stock EAW values have 1 radiobutton and 1 checkbox selected. As the radiobuttons correspond to values of 0, 1, 2, 3, 4, 5 or 6 the selection is by radiobutton only. However, as the checkboxes add hex 10, 20, 40 or 80 (decimal 16, 32, 64 or 128) to the formation type value it appears that they could be combined, even though they never are in the default eaw.exe. So, I set them up this way.

I have also flown games with non-standard values in these formation boxes. For example 254 which is all checkboxes plus 14. The 14 does not lie within the radio button range 0- 6. Maybe EAW uses a failsafe routine, but whatever the case is the game ran.

Not surprisingly I found that the long integer distance system is the one used in targets and tardata. 64 units is 1 metre, and that makes 13 to the foot Imperial.

I too have had some massive battles, especialy with Air Activity set to Large.