
The Bitter End - Topeverest (A) vs Admiral Kamikaze (E)
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Dec 27, 1944 - Rockhampton TF
A pic of that limping TF that didn't bombard Rockhampton - A LEVEL 9 empire airfield still operating.


- Attachments
-
- tf.jpg (107.46 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Dec 29, 1944 - Eastern Oz
It amazing how much can happen in just two turns. Allied progress is general, but empire paratroopers take back a meaningless dot base. large air battles are wholly won by the allies and no naval hits occur. Pretty much late war like always.
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Dec 29, 1944 - Eastern Oz map
et voila
allied fleets down at rockhampton but weather was closed in and no combat occurred. I will address this turn.

allied fleets down at rockhampton but weather was closed in and no combat occurred. I will address this turn.

- Attachments
-
- joi.jpg (405.22 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Dec 29, 1944 - air losses
another 200 aircraft lost in the air.
Very tough to play empire in late war.

Very tough to play empire in late war.

- Attachments
-
- joiiii.jpg (65.04 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Dec 29, 1944 - Victory points
As above stated the allies are up 87K to 72K.
As a reminder the allies have until end of 1946 and must take a major base on one of the 4 main empire home islands. We aren't really playing VP's. They are just there to monitor.
I have to clear OZ before heading into the inner ring assets. Marianas are at the top of my list, and I am planning on several bypasses. Discussion in a few game weeks when allies are able to do that.
As a reminder the allies have until end of 1946 and must take a major base on one of the 4 main empire home islands. We aren't really playing VP's. They are just there to monitor.
I have to clear OZ before heading into the inner ring assets. Marianas are at the top of my list, and I am planning on several bypasses. Discussion in a few game weeks when allies are able to do that.
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
Building Roads, Rails, and Modifying Map Tutorial
As I have had several requests over time to provide our process to map changes, following are step by step instructions
I am PC, Windows 7
First, you need to get the editor...
I am PC, Windows 7
First, you need to get the editor...
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
- Attachments
-
- editorrr.jpg (132.36 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
Download both files in a SEPERATE FOLDER
Note how I have created a folder "MAP DATA EDITORS" and put the files in there.
NOTE THAT PWHEX file is NOT going to be there when you initially extract your files. You will have to retrieve it (see below)

Note how I have created a folder "MAP DATA EDITORS" and put the files in there.
NOTE THAT PWHEX file is NOT going to be there when you initially extract your files. You will have to retrieve it (see below)

- Attachments
-
- pwhex.jpg (204.7 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
Get the current / original / stock PWHEX.dat file from your game files. Put that in the Map data editors folder. It will not work until you get a working copy in that folder.
It is located in the main AE folder here... COPY the.dat file.

It is located in the main AE folder here... COPY the.dat file.

- Attachments
-
- pwhex.jpg (229.77 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
BACKUP your originals and all iterative changes. All changes to files are permanent. If you want to go back, you need the old files.
DO THIS EVERY TIME YOU MAKE A CHANGE TO PWHEX, ANY OF THE BITMAPS (described later) or any other game file!

DO THIS EVERY TIME YOU MAKE A CHANGE TO PWHEX, ANY OF THE BITMAPS (described later) or any other game file!

- Attachments
-
- backups.jpg (123.67 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
Some changes that you can make in the editor should only be made at the beginning of a game (changing hexes) and others can be changed throughout your game. keep in mind there is only one PWHEX and (bitmap files - described later). All changes will affect EVERY game you play. If you don't want that to happen, you should load a different instance of AE to manage different map changes. don't forget that or you will be most unhappy [:@][:@][:@]
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
Having internet challenges. Will wrap this up when I am back on.
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
Onto making your first edits. When you load the PWHEX single editor, it looks like this...


- Attachments
-
- edd.jpg (496.26 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
You now upload the appropriate PWHEX file. In our system, I keep a current copy in the editor folder, so I never have to hunt for it. I keep all my old PWHEX versions in the archive folder listed above.
Use drop down to load PWHEX, but the first time you will have to goto the main AE folder as listed above and COPY COPY COPY!!!! the current version in.

Use drop down to load PWHEX, but the first time you will have to goto the main AE folder as listed above and COPY COPY COPY!!!! the current version in.

- Attachments
-
- 222.jpg (155.83 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
If you upload a valid PWHEX file, the red box turns green. At this point you are ready to edit PWHEX in the workspace


- Attachments
-
- 444.jpg (108.37 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
David Bradley or his designate has written a good explanation of the functions on the editor, and that file is included in your original downloads. Following is a simple description on how to do the road and rail sub-pieces of a much more robust editor.
(extract of the readme)
INSTRUCTIONS FOR USING PWHEXE.DAT_EDITOR
1. GENERAL
The pwhexe.dateEditor will allow you to edit the map data file (pwhexe.dat) associated with the game, War in the Pacific:Admiral's Edition (or AE for short). Please see the About file for credits, acknowledgements, and disclaimers. The editor is designed to be fairly simple tool to use but does require some understanding of the way that AE works in order to be used effectively. The file, AE Map File Formats.pdf, distributed in this package contains our most recent understanding of the file format of the map data file. If you wish to edit the AE map, spending some time with this document is a good place to start.
2. INSTALLATION
The editor is distributed in a zip file which uncompresses to a folder (map_data_editor). The map_data_editor folder contains the three map data editing programs (PWHEXE_editor, PWZONE_editor, and PWZONE_editor) plus several reference and ancillary files, such as these instructions. It is recommended that a separate installation of AE be created and that the map_data_editor folder can be placed anywhere in that installation (in the War in the Pacific:Admiral's Edition folder is convenient). Using a separate installation is a good protection against corrupting your basic AE installation and any ongoing games. It is also recommended that you backup the map data files (pwhexe.dat, pwzone.dat, and pwzone) in this working installation so that you can return to the baseline, original, files easily. You also need to make a copy of the map data files you intent to edit and place them in the map_data_editor folder. This is somewhat cumbersome but deliberate. It would have been possible to use the Windows facilities for opening and saving files anywhere but the potential for confusion is great! All map data files, modified or not, have the same file name. It is up to the user (modder) to keep track of what he is doing, using the file modified dates (and other means) to maintain configuration control of his work.
3. CONTROLS AND DISPLAYS
Upon starting the editor, you are presented with a main screen which has all of the controls and displays provided for working with the pwhexe.dat file. A brief description of how these work is as follows:
3.1 Pull-Down Menus.
There are three pull-down menus, File, Options, and Help.
3.1.1 File Menu. The File menu provides two choices, Open and Save. Open will look for a pwhexe.dat file within the pwhexe_editor folder and load it into RAM, so that it may be edited. If this is successfully done the File Status indicator will be set to green with a message of: File Loaded. Save will take the pwhexe.dat data that is currently in RAM and write it to the pwhexe.dat file in the pwhexe_editor.
3.1.2 Options Menu. The options menu provides a choice for those portions of the pwhexe.dat that are not directly editable using the combo boxes in the main window. To put it another way: Only some of the bytes in the pwhexe.dat file may be edited using this editor, that is , the ones you see in the main window. There are quite a few SPARE bytes and some for which we do not currently have a good understanding of how they work. So for these bytes, the normal procedure would be to skip them during the editing process and simply copy the existing data into the new, edited file. In some instances, a modder may wish to fill these bytes with zeroes. These options allow you to selectively do just that. If you wish to have some other values than the existing or zero then you will have to use a binary file editor to work on those portions of the file. There is a brief descritption of how to do that further along in these instructions.
3.1.3 Help Menu. This menu allows you to call up these instructions or the About information from within the program. In addition, there is a separate reference document that shows the stock map values for certain data fields. This file is also displyed when you edit those fields. Since the file is a .txt file and is opened with notepad yo may use it to make notes for modifications you have made to the file.
3.2 File Status Display.
The file status display lets you know when you have a pwhexe.dat file loaded into RAM and thus can edit. If no file is loaded, the indicator is red and when you load a file it will turn to green. You cannot perform READ or WRITE operations unless a file has been loaded.
3.3 Location (Start) and Location (Finish) Selectors.
The Location (Start) and Location (Finish) Selectors have up/down inputs where you can type in (or use the up/down controls) to select an X,Y location for READ or WRITE operations. For a READ operation the Location (Start) values are used to read hexagon parameters to the dispalys on the main window. For a WRITE(Single) operation, the Location (Start) values are used to write the main window displayed parameters to RAM for the X,Y location indicated by the Location (Start) numbers. For a WRITE (Multiple) operation, the Location (Start) values are used to write the main window displayed parameters to RAM for the X,Y location indicated by the Location (Start) numbers and then for all of the successive hexagon locations until the Location (Finish), inclusive, hexagon is reached.
3.4 READ button and READ directional buttons
Clicking the READ button will copy the hexagon parameters from RAM to the main window displays for the X,Y location indicated by the Location (Start) control.
3.4.1 READ Directional Buttons. The six directional buttons that surround the READ button will move the location one hexagon in the indicated direction and perform a read operation. If you reach the edge of the map it will not scroll any further in that direction.
3.5 WRITE (Single) button.
Clicking the WRITE (Single) button will copy the hexagon parameters from the main window displays to RAM for the X,Y location indicated by the Location (Start) control. The WRITE operation is also controlled by Options settings (see above) and by the LOCK checkboxes (see below).
3.5 WRITE (Multiple) button.
Clicking the WRITE (Multiple) button will copy the hexagon parameters from the main window displays to RAM, starting with the X,Y location indicated by the Location (Start) control and continuing for successive locations until the Location (Finish), inclusive is written The WRITE operation is also controlled by Options settings (see above) and by the LOCK checkboxes (see below).
3.6 Hexside Combo boxes. There are six sets of hexside combo boxes, one for each of the six hexagon directions (E,SE,SW,W,NW, and NE). EAch set has five combo boxes, one each for Hexside,Road, Railroad,River Type, and Strait Type parameters. Each combo box, when clicked on, will open up a small window that will allow you to change the current parameter value for that box. Please refer to Pwhexe.dat_file_format.doc, discussed in 1.0 above, for more information regarding the meaning of each of these parameter selections
3.7 Hexagon Parameter Combo Boxes. There are ten hexagon parameter combo boxes. Each combo box, when clicked on, will open up a small window that will allow you to change the current parameter value for that box. Please refer to Pwhexe.dat_file_format.doc, discussed in 1.0 above, for more information regarding the meaning of each of these parameter selections.
3.8 Hexagon Parameter Buttons. There are four hexagon parameter buttons. These buttons allow you to edit four fields where the entire range of the field ( 0-255) is valid as an entry. When you click on these buttons the map date reference file is also opened, which shows the values used in the stock map for these fields. The map data reference file is a .txt file which is opened using notepad.exe so you can edit the .txt file, adding notes to document any changes you make.
3.9 Lock Controls.
The Lock checkboxes allow you to selectively edit hexagon parameters. If a Lock checkbox is checked, then WRITE operations for that parameter are ignored. An example of how this could be used would be if you desired to erase all Road and Railroad construction across some swath of the map. You could set all of the checkboxes to Lock (checked) except for the six ROAD and six RR checkboxes. You would then set the twelve ROAD and RR combo boxes to 00-none and the Location (Start) and Location (Finsih) selectors to the proper span of coordinates. Finally, you would click on WRITE (Multiple), completing the operation. The LOCK ALL and UNLOCK ALL buttons provide an easy way to set or clear all of the chceckboxes.
3.10 EXIT Button.
The EXIT button will end the program, after a reminder to save your work. The window close control (top right corner of the main window) will similarly close the program, but without the reminder.
4.0 Binary File editing. The pwhexe.dat_editor program does not provide complete control of the values that are possible within the pwhexe.dat file. If you desire finer control over specific bytes then a binary file editor would be the tool of choice. There are many such. I have used the editor, HxD available at
http://mh-nexus.de/en/. If you set horizontal display width to 56 bytes then each row will correspond to one of the hexagon locations.
5.0 Feedback. Comments on the program are welcome. The best way to get a comment to me is by PM at the Matrix forum. PM to dwbradley. Or just post in the AE mods forum. Positive comments are of course welcome but so are negative ones as that is the best means to improve the program.
Last modified on 10/05/2011
Dave Bradley
(extract of the readme)
INSTRUCTIONS FOR USING PWHEXE.DAT_EDITOR
1. GENERAL
The pwhexe.dateEditor will allow you to edit the map data file (pwhexe.dat) associated with the game, War in the Pacific:Admiral's Edition (or AE for short). Please see the About file for credits, acknowledgements, and disclaimers. The editor is designed to be fairly simple tool to use but does require some understanding of the way that AE works in order to be used effectively. The file, AE Map File Formats.pdf, distributed in this package contains our most recent understanding of the file format of the map data file. If you wish to edit the AE map, spending some time with this document is a good place to start.
2. INSTALLATION
The editor is distributed in a zip file which uncompresses to a folder (map_data_editor). The map_data_editor folder contains the three map data editing programs (PWHEXE_editor, PWZONE_editor, and PWZONE_editor) plus several reference and ancillary files, such as these instructions. It is recommended that a separate installation of AE be created and that the map_data_editor folder can be placed anywhere in that installation (in the War in the Pacific:Admiral's Edition folder is convenient). Using a separate installation is a good protection against corrupting your basic AE installation and any ongoing games. It is also recommended that you backup the map data files (pwhexe.dat, pwzone.dat, and pwzone) in this working installation so that you can return to the baseline, original, files easily. You also need to make a copy of the map data files you intent to edit and place them in the map_data_editor folder. This is somewhat cumbersome but deliberate. It would have been possible to use the Windows facilities for opening and saving files anywhere but the potential for confusion is great! All map data files, modified or not, have the same file name. It is up to the user (modder) to keep track of what he is doing, using the file modified dates (and other means) to maintain configuration control of his work.
3. CONTROLS AND DISPLAYS
Upon starting the editor, you are presented with a main screen which has all of the controls and displays provided for working with the pwhexe.dat file. A brief description of how these work is as follows:
3.1 Pull-Down Menus.
There are three pull-down menus, File, Options, and Help.
3.1.1 File Menu. The File menu provides two choices, Open and Save. Open will look for a pwhexe.dat file within the pwhexe_editor folder and load it into RAM, so that it may be edited. If this is successfully done the File Status indicator will be set to green with a message of: File Loaded. Save will take the pwhexe.dat data that is currently in RAM and write it to the pwhexe.dat file in the pwhexe_editor.
3.1.2 Options Menu. The options menu provides a choice for those portions of the pwhexe.dat that are not directly editable using the combo boxes in the main window. To put it another way: Only some of the bytes in the pwhexe.dat file may be edited using this editor, that is , the ones you see in the main window. There are quite a few SPARE bytes and some for which we do not currently have a good understanding of how they work. So for these bytes, the normal procedure would be to skip them during the editing process and simply copy the existing data into the new, edited file. In some instances, a modder may wish to fill these bytes with zeroes. These options allow you to selectively do just that. If you wish to have some other values than the existing or zero then you will have to use a binary file editor to work on those portions of the file. There is a brief descritption of how to do that further along in these instructions.
3.1.3 Help Menu. This menu allows you to call up these instructions or the About information from within the program. In addition, there is a separate reference document that shows the stock map values for certain data fields. This file is also displyed when you edit those fields. Since the file is a .txt file and is opened with notepad yo may use it to make notes for modifications you have made to the file.
3.2 File Status Display.
The file status display lets you know when you have a pwhexe.dat file loaded into RAM and thus can edit. If no file is loaded, the indicator is red and when you load a file it will turn to green. You cannot perform READ or WRITE operations unless a file has been loaded.
3.3 Location (Start) and Location (Finish) Selectors.
The Location (Start) and Location (Finish) Selectors have up/down inputs where you can type in (or use the up/down controls) to select an X,Y location for READ or WRITE operations. For a READ operation the Location (Start) values are used to read hexagon parameters to the dispalys on the main window. For a WRITE(Single) operation, the Location (Start) values are used to write the main window displayed parameters to RAM for the X,Y location indicated by the Location (Start) numbers. For a WRITE (Multiple) operation, the Location (Start) values are used to write the main window displayed parameters to RAM for the X,Y location indicated by the Location (Start) numbers and then for all of the successive hexagon locations until the Location (Finish), inclusive, hexagon is reached.
3.4 READ button and READ directional buttons
Clicking the READ button will copy the hexagon parameters from RAM to the main window displays for the X,Y location indicated by the Location (Start) control.
3.4.1 READ Directional Buttons. The six directional buttons that surround the READ button will move the location one hexagon in the indicated direction and perform a read operation. If you reach the edge of the map it will not scroll any further in that direction.
3.5 WRITE (Single) button.
Clicking the WRITE (Single) button will copy the hexagon parameters from the main window displays to RAM for the X,Y location indicated by the Location (Start) control. The WRITE operation is also controlled by Options settings (see above) and by the LOCK checkboxes (see below).
3.5 WRITE (Multiple) button.
Clicking the WRITE (Multiple) button will copy the hexagon parameters from the main window displays to RAM, starting with the X,Y location indicated by the Location (Start) control and continuing for successive locations until the Location (Finish), inclusive is written The WRITE operation is also controlled by Options settings (see above) and by the LOCK checkboxes (see below).
3.6 Hexside Combo boxes. There are six sets of hexside combo boxes, one for each of the six hexagon directions (E,SE,SW,W,NW, and NE). EAch set has five combo boxes, one each for Hexside,Road, Railroad,River Type, and Strait Type parameters. Each combo box, when clicked on, will open up a small window that will allow you to change the current parameter value for that box. Please refer to Pwhexe.dat_file_format.doc, discussed in 1.0 above, for more information regarding the meaning of each of these parameter selections
3.7 Hexagon Parameter Combo Boxes. There are ten hexagon parameter combo boxes. Each combo box, when clicked on, will open up a small window that will allow you to change the current parameter value for that box. Please refer to Pwhexe.dat_file_format.doc, discussed in 1.0 above, for more information regarding the meaning of each of these parameter selections.
3.8 Hexagon Parameter Buttons. There are four hexagon parameter buttons. These buttons allow you to edit four fields where the entire range of the field ( 0-255) is valid as an entry. When you click on these buttons the map date reference file is also opened, which shows the values used in the stock map for these fields. The map data reference file is a .txt file which is opened using notepad.exe so you can edit the .txt file, adding notes to document any changes you make.
3.9 Lock Controls.
The Lock checkboxes allow you to selectively edit hexagon parameters. If a Lock checkbox is checked, then WRITE operations for that parameter are ignored. An example of how this could be used would be if you desired to erase all Road and Railroad construction across some swath of the map. You could set all of the checkboxes to Lock (checked) except for the six ROAD and six RR checkboxes. You would then set the twelve ROAD and RR combo boxes to 00-none and the Location (Start) and Location (Finsih) selectors to the proper span of coordinates. Finally, you would click on WRITE (Multiple), completing the operation. The LOCK ALL and UNLOCK ALL buttons provide an easy way to set or clear all of the chceckboxes.
3.10 EXIT Button.
The EXIT button will end the program, after a reminder to save your work. The window close control (top right corner of the main window) will similarly close the program, but without the reminder.
4.0 Binary File editing. The pwhexe.dat_editor program does not provide complete control of the values that are possible within the pwhexe.dat file. If you desire finer control over specific bytes then a binary file editor would be the tool of choice. There are many such. I have used the editor, HxD available at
http://mh-nexus.de/en/. If you set horizontal display width to 56 bytes then each row will correspond to one of the hexagon locations.
5.0 Feedback. Comments on the program are welcome. The best way to get a comment to me is by PM at the Matrix forum. PM to dwbradley. Or just post in the AE mods forum. Positive comments are of course welcome but so are negative ones as that is the best means to improve the program.
Last modified on 10/05/2011
Dave Bradley
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
IN my example, I am going to build a minor rail line as a part of our agreed monthly builds (2 hexes worth). I am connecting that minor rail from


- Attachments
-
- 555.jpg (144.71 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
I need the hexgrid coordinates of all three hexes.
Builds on rails and roads build on a half hex basis There is a half hex from center to each of the 6 edges
74.49 center to SE
75.50 NW to Center
75.50 Center to SW
75.50 Center to E
74.51 (connection to major rail existing)
Builds on rails and roads build on a half hex basis There is a half hex from center to each of the 6 edges
74.49 center to SE
75.50 NW to Center
75.50 Center to SW
75.50 Center to E
74.51 (connection to major rail existing)
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
to begin with the editor,


- Attachments
-
- 666.jpg (261.77 KiB) Viewed 246 times
Andy M
- topeverest
- Posts: 3381
- Joined: Wed Oct 17, 2007 1:47 am
- Location: Houston, TX - USA
RE: Building Roads, Rails, and Modifying Map Tutorial
Changing the first hex 74.49


- Attachments
-
- 777.jpg (257.12 KiB) Viewed 246 times
Andy M
