|
Introduction:
I will describe how the winbolo map file is decoded. The map used in this example is Baringi.map. This document is based on the Map File Format.txt document located in Winbolo\Sample Code folder. That document doesn't give an example of what a map file looks like, nor how a single row (run) is broken down. The map file starts off with a header consisting of BMAPBOLO and the version number.
The next 3 words define the number of pills, bases, and starting locations
Next is a variable length array of pill locations. The number of entries is based on the number of pills defined.
Next is the array of base definitions.
Next are the starting point definitions.
Next is the hardest part of map decoding, and that is the run. Here is the definition from the Map File Format.txt document located in Winbolo\Sample Code folder.
Here is the first run from Baringi.map.
So all decoded and strung together, the run looks like this: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
First 233 bytes of Baringi.map 42 4D 41 50 42 4F 4C 4F 01 10 10 08 7F 6E FF 0F 32 80 6E FF 0F 32 80 91 FF 0F 32 7F 91 FF 0F 32 6E 80 FF 0F 32 6E 7F FF 0F 32 91 7F FF 0F 32 91 80 FF 0F 32 78 87 FF 0F 32 87 87 FF 0F 32 87 78 FF 0F 32 78 78 FF 0F 32 84 92 FF 0F 32 92 7B FF 0F 32 7B 6D FF 0F 32 6D 84 FF 0F 32 6C 91 FF 5A 5A 5A 91 93 FF 5A 5A 5A 91 6C FF 5A 5A 5A 6E 6C FF 5A 5A 5A 7F 93 FF 5A 5A 5A 93 80 FF 5A 5A 5A 80 6C FF 5A 5A 5A 6C 7F FF 5A 5A 5A 6C 6E FF 5A 5A 5A 93 6E FF 5A 5A 5A 93 91 FF 5A 5A 5A 6E 93 FF 5A 5A 5A 79 86 FF 5A 5A 5A 79 79 FF 5A 5A 5A 86 79 FF 5A 5A 5A 86 86 FF 5A 5A 5A 69 69 0E 96 69 0A 96 96 06 69 96 02 6A 68 0E 97 6A 0A 95 97 06 68 95 02 0D 67 6D 93 07 E5 17 8F 0D 01 87 E5 07 0D 68 6D 93 07 E5 17 8F 0D |