“How do I…”
Install this module alongside a previous Pacific 1940 module
-Version 3.x, which uses a “P40.gim” directory name may be installed simultaneously with the BETA module, which uses a a “P4B.gim” directory name.
-Installing version 3.x alongside another module which uses the directory name “P40.gim” is not recommended, as it will complicate an attempt to open someone else’s save file created using the new module. If you would like to do this anyway, follow these steps:
- rename the version 3.x directory (.GIM folder) to “P4B.gim”
- rename “Start.AAM” (or delete if you don’t want to keep it) in the new P4B.gim directory
- rename “P4B Start.AAM” to “Start.AAM”
Upgrade a previously installed Pacific 1940 module to the new one
Save files (.AAM files) will only work in a module that uses a directory (.GIM folder) with the same name as the directory used to create the save file
-upgrade a “P4B.gim” module
(if you are not currently involved in a game using the BETA module, I recommend simply replacing the BETA module or following the steps to “Install this module alongside a previous Pacific 1940 module”)
- Back up any files in your P4B.gim directory that you wish to keep
- Delete the old P4B.gim module
- make a copy of the version 3.x directory (P40.GIM folder)
- rename the copy to “P4B.gim”
- delete “Start.AAM” in the new P4B.gim directory
- rename “P4B Start.AAM” in P4B.gim to “Start.AAM”
- follow the steps for converting old save files
-upgrade a “P40.gim” module
- Back up any files in your old P40.gim directory that you wish to keep
- Delete the old P40.gim module before installing version 3.x
- follow the steps for converting old save files
Convert old save files
Since some of the toolpieces have changed location in the toolpiece palette, some of the toolpieces (in the location of previous ones) will have to been replaced
- open a save file you wish to use with the new module
- if necessary, add appropriate pieces to the right-hand toolbar
- move all pieces away from the Korea/Amur and z5/z6 borders
- Use the following list to replace certain Chinese toolpieces:
-replace air bases with kamikazes
-replace Major ICs with air bases damage markers
-replace minor ICs with naval base damage markers
-replace damaged battleships with IC damage markers
-replace battleships with neutral infantry
-replace bombers with the 1st task force marker
-replace transports with the 2nd task force marker
-replace subs with the 3rd task force marker
-replace carriers with the 4th task force marker
-replace damaged carriers with the 5th task force marker
-replace destroyers with the 6th task force marker
-replace cruisers with the 7th task force marker
- repeat steps 1-4 as necessary
Upgrade the InfoView features of older modules (such as AA50)
- Open the .GIM directory of the module you would like to change (located in the ABattlemap program folder, usually “C:\Program Files\ABattleMap”).
- Open “ToolPieces.txt”
Notice that each abbreviated name of a unit/piece (corresponds to the rows of the module’s toolpieces palette) is followed by 2 numbers. The first number is the piece’s IPC-value. The second number identifies the type of piece: 0=Land; 1=Naval; 2=Air; 3=Build
- Replace the second number following each air unit with a “2”, and the second number following each facility unit with a “3”
- Save and close “ToolPieces.txt”
Refer to this post. Once you download the ABattlemap installation file from HolKann’s link, install the program and then replace ABattlemap.exe (in the program folder), with the new ABattlemap.exe which you can download from the link in my first post.
Add my own flare/ideas to the map
Paint.NET is a great freeware program for creating ABattlemap module image files.
Start with what I’ve already created by downloading a layered Paint.NET file or Photoshop file* of the map.
Any change to the location of sector borders (territories, sea zones, NO markers, etc.) must be reflected in Sektorinfo.Map. Any addition of new sectors must be reflected in SektorInfo.sek AND SektorInfo.map. (see “How to create my own ABattlemap module”)
If you would like to preserve the “relief” of my map, make changes in the “Map w/o relief” layer, then follow these steps:
- Form a large selection box around your change in the “Map w/o relief” layer
- Select “Effects > Stylize > Relief…”
- change the angle to 135.00 and select OK
- Select “Effects > Blurs > Gaussian Blur…”
- Change the radius to 1 and select OK
- use the “Move Selection” tool to reduce the size of your selection by a minimum of a few pixels on all 4 edges. The selection should narrowly encompase your new personal changes.
- Copy the selection to the clipboard
- Use the history window to undo all of these effects
- select the “Background” layer
- paste from clipboard
You will notice that I tried to put a table under the “board” so that a user can put the floating windows on the edge of the main window and still be able to see the whole map by panning. However, opening a module with the modified map crashes the program, and I cannot figure out why for the life of me. If anyone can get it to work, please let me know!!
*The Photoshop file was created using a Paint.NET plugin, and has not been tested. Use at your own risk. It is 116 MB in size.
Create my own ABattlemap module
Before I started making my own Pac40 module (which started as just trying to correct some errors in the existing one), I knew almost nothing about image editting and absolutely nothing about the inner workings of ABattlemap and it’s modules. Learning was pretty easy, and a lot of fun! If you’d like to try your hand at creating a module, I’ve written a tutorial on the subject. However, you should be able to figure most things out by playing around and exploring and studying the files in each module. If you have any questions, feel free to pm me, or post publicly on the tutorial’s thread so others can learn too.
Tip: The program does not use SektorInfo.txt or SektorInfo.bmp directly. Instead, the program uses SektorInfo.sek and SektorInfo.map, which must be created from the .txt and .bmp files using csek.exe and b242map.exe (in the command console) respectively.