October 20, 2017, 03:58:12 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want a t-shirt? Check out our awesome Axis & Allies .org T-Shirt Store! Search me
  Articles  
   Home   Help Login Register AACalc  
Loading
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 »
  Print  
Author Topic: Modules for ABattlemap  (Read 96449 times)
Stoney229
A&A.org Submarine
****
Posts: 798



View Profile
« Reply #75 on: January 07, 2009, 09:20:59 am »
0

uh... a few more minor errors i think. I think the symbol for Trans-Jordan when hovering Trans-Jordan is Trj, but when hovering Italian NO next to it it is Tra.

the chart in the bottom right lists fighter's movement as 4/5*... it should be 4/6*

a bit more significant... I think the labels for "Black Sea Seazone (BLA/Z16)" and "East Mediterranean SZ (EMD/Z15)" are swapped.  For a while there I was confused why Italy should need to control the Black Sea for its NO but the the East Med!  Thanks!
« Last Edit: January 07, 2009, 09:28:32 am by Stoney229 » Logged
HolKann
A&A.org Tank
***
Posts: 412


Yes, the world is turning backwards!


View Profile
« Reply #76 on: January 07, 2009, 04:56:56 pm »
0

uh... a few more minor errors i think. I think the symbol for Trans-Jordan when hovering Trans-Jordan is Trj, but when hovering Italian NO next to it it is Tra.

the chart in the bottom right lists fighter's movement as 4/5*... it should be 4/6*

a bit more significant... I think the labels for "Black Sea Seazone (BLA/Z16)" and "East Mediterranean SZ (EMD/Z15)" are swapped.  For a while there I was confused why Italy should need to control the Black Sea for its NO but the the East Med!  Thanks!
It is a very keen eye you have! But you missed the sub's attack upgrade wasn't shown :p Anyway, things are fixed.

*sets off to try and break it*    grin
*crosses fingers and hopes it holds* rolleyes

Null Perspiration Holkann!  All I did was beatification, you did the hard work of getting it coded right!
Lol, needed wikipedia to understand this sentence; you're welcome Smiley. Who did you make a Saint btw?
Logged
Cmdr Jennifer
Site Moderator
A&A.org Heavy Bomber
*
*
*
*
*
*******
Posts: 48267


League and Tournament Moderator


View Profile
« Reply #77 on: January 07, 2009, 06:03:29 pm »
0

Beautification, way to pounce on a misspelled word. Tongue


So the sea zones and the super submarine upgrade has been repaired?
Logged
a44bigdog
A&A.org Heavy Bomber
*******
Posts: 15365



View Profile
« Reply #78 on: January 07, 2009, 06:09:21 pm »
0

Well I guess I could mention that in the NOs North West Europe is den and in the hover it is nwe or that Borneo is brn in one place and bor in another

but I think those are small enough issues to let slide.  grin
Logged
Cmdr Jennifer
Site Moderator
A&A.org Heavy Bomber
*
*
*
*
*
*******
Posts: 48267


League and Tournament Moderator


View Profile
« Reply #79 on: January 07, 2009, 06:21:13 pm »
0

They confused me at first, but if you are not playing illegally and actually own the game, then you have a rule book to refer too.
Logged
Stoney229
A&A.org Submarine
****
Posts: 798



View Profile
« Reply #80 on: January 07, 2009, 08:38:58 pm »
0

also ukr is listed twice when hovering Germany's NO.. again no big deal
Logged
HolKann
A&A.org Tank
***
Posts: 412


Yes, the world is turning backwards!


View Profile
« Reply #81 on: January 09, 2009, 09:19:44 am »
0

Well I guess I could mention that in the NOs North West Europe is den and in the hover it is nwe or that Borneo is brn in one place and bor in another

but I think those are small enough issues to let slide.  grin
Blast, you did brake it (even though just a little  cool ). And it's minor, true, but fixed nonetheless (life would be much easier if I wasn't a perfectionist in some ways Wink ).

also ukr is listed twice when hovering Germany's NO.. again no big deal
Check!

So the sea zones and the super submarine upgrade has been repaired?
Yes, just as the double Ukr and Bor/Brn or Den/Nwe.
Logged
Cmdr Jennifer
Site Moderator
A&A.org Heavy Bomber
*
*
*
*
*
*******
Posts: 48267


League and Tournament Moderator


View Profile
« Reply #82 on: January 09, 2009, 05:42:57 pm »
0

What file controls that, Holkann?  I've kind of edited my map considerably and it's a continual work in progress, same with my toolpieces.  I'm trying to make ABattlemap prettier so we can get the art addicts off TripleA and return them to the one true path of Battlemap!
Logged
HolKann
A&A.org Tank
***
Posts: 412


Yes, the world is turning backwards!


View Profile
« Reply #83 on: January 09, 2009, 06:39:15 pm »
0

What file controls that, Holkann?  I've kind of edited my map considerably and it's a continual work in progress, same with my toolpieces.  I'm trying to make ABattlemap prettier so we can get the art addicts off TripleA and return them to the one true path of Battlemap!
Lol, I second that Cheesy

Now, as for the file used to change names and values of territories: it is sektorinfo.txt/.sek. But to understand how it works, you need to understand the whole program. I'll give an overview of all files and their function in an ABattlemap module, but it's not easy, so be warned:



map.bmp:
is the visual image of the map that will be shown on the screen.

mapinfo.txt:
contains the name of the module (+ some extra info, but that I don't understand)

start.aam:
contains the starting position of the units.

toolpieces.bmp:
the amount of rows decides the amount of nations playing. The amount of columns decides the amount of units in play. The first column is regarded as the "flag", or the token which decides which country owns what territory. The size of a row or column may not be altered, but new columns and rows may be added.

bigpieces.bmp:
essentially the same as toolpieces, but with a bigger size of the rows and columns

toolpieces.txt:
lists the properties of each column/unit of toolpieces.bmp (or bigpieces.bmp). Those properties are: name, IPC-value, "navality" (= 1 if the column represents a naval unit, 0 if the column does not).

sektorinfo.bmp:
is a bmp-file representing the territories available on the map. Those territories are separated by black (RGB= 00 00 00) lines. To identify each different territory, the territories are filled with a different color, which's RGB-value corresponds to its line numer in sektorinfo.txt.

sektorinfo.txt:
lists the territories line by line with their properties. A typical line is like this:
France (Fra)                            : 01060100 0000016a 00000113 00000000 00000000 00000000 00000000 00000000 00000000
=> the first attribute is the name of the territory.
=> the second attribute (after the semicolon) is a block of hexadecimal numbers (which are actually 4 separate numbers):
01 means this is a land territory, 06 means it is worth 6 IPC's, 01 means it is originally owned by the country represented by the first row of toolpieces.bmp, and 00 is simply redundant.
=> the third and fourth attribute show the place (in pixels) where the IPC-value of this territory should appear (hexadecimal!).
=> the fifth attribute is again 4 separate numbers, specifying "oil" or "convoy" properties:
00 is redundant, 00 indicates no country looses IPC's if taken, 00 indicates this isn't a convoy route, 00 means this isn't an oil territory.
=> the rest are redundant.

sektorinfo.map:
is the version of sektorinfo.bmp the ABattlemap program can read.

sektorinfo.sek:
is the version of sektorinfo.txt the ABattlemap program can read.

Now, how do you make the .map and .sek files?
Your ABattlemap folder contains 2 files who manage this: csek.exe and b242map.exe. To use these however, you'll need to use the console (the black screen with white letters in windows). The easiest way to do this, is to creat a folder on your C disk. For instance: c:\aafiles . You drop there both those exe's, and sektorinfo.txt and sektorinfo.bmp. Run the console, and navigate to c:\aafiles (the command "cd.." let's you go 1 folder up, the command "cd something" lets you go to the folder "something" if available in the folder you're currently visiting with the console). If you're in the right folder, type "csek.exe sektorinfo.txt sektorinfo.sek", hit return, and the sektorinfo.sek will appear in the folder. "b242map.exe sektorinfo.bmp sektorinfo.map" does the same trick for sektorinfo.map.

More info: http://www.axisandallies.org/forums/index.php?topic=11223.new#new
Also, there are some .txt files in your ABattlemap folder, those are handy too, but they are in German.



Allright, I hope this answered your question, but it probably is all quite confusing (it took me a while before I got it myself, just started out file by file, and got it all in the end). Any questions, shoot, but plz read this overview and the link I gave, so you've got something to "hang things up to" (as in: if you understand A, you'll relate it to B and C without needing any help).
« Last Edit: January 10, 2009, 06:54:10 am by HolKann » Logged
a44bigdog
A&A.org Heavy Bomber
*******
Posts: 15365



View Profile
« Reply #84 on: January 09, 2009, 09:47:40 pm »
0

1 more problem. Quite a few people for various reasons can not download .rar files. I know it is supposed to be better and all that but .zip files can be down loaded on any Windows machine without having to jump through any hoops. I myself had to go get a time limited trial version of winrar just to download the maps and you can bet I sure aint paying for something winzip does for free.
Logged
tcnance
2007 AAR League
A&A.org Heavy Bomber
*
*******
Posts: 12809


06 sing iron, 07 2 on2 iron, 08 2 0n 2 gold


View Profile
« Reply #85 on: January 09, 2009, 10:10:45 pm »
0

im the one dog is referring to, i cant do anything with the rar files, and the bottom of our screens dont correspond
Logged
a44bigdog
A&A.org Heavy Bomber
*******
Posts: 15365



View Profile
« Reply #86 on: January 09, 2009, 10:18:03 pm »
0

There are some others besides you tc.
Logged
P@nther
Site Moderator
A&A.org Heavy Bomber
*
*
*
*
*
*
*
*
*
*******
Posts: 5122


Rules Deputy and Moderator


View Profile
« Reply #87 on: January 10, 2009, 01:06:51 am »
0

1 more problem. Quite a few people for various reasons can not download .rar files. I know it is supposed to be better and all that but .zip files can be down loaded on any Windows machine without having to jump through any hoops. I myself had to go get a time limited trial version of winrar just to download the maps and you can bet I sure aint paying for something winzip does for free.

I recommend 7-zip. 

See www.7-zip.org

You can decompress rar-files with it. The compression in 7-zip-format (.7z) may even be better than in .rar: 
So HoiKann's files are compressed to 541.641 Bytes in .rar. The same files compressed in .7z only take 221.015 Bytes.

And: 7-zip is free and Open Source!
« Last Edit: January 10, 2009, 05:32:05 am by Gnarl536 » Logged
TimTheEnchanter
A&A.org Heavy Bomber
*******
Posts: 5432


There are some who call me... Tim.


View Profile
« Reply #88 on: January 10, 2009, 05:40:56 am »
0

I ended up downloading something called peazip (open source freeware, not just demo/time-limited license and got decent reviews) to extract the version that was out there a week or so ago, but started seeing some flakiness going on.  Probably just a coincidence since there's plenty of flakiness in my machine normally, but I uninstalled it for now, just in case. 

RAR may be better, but since zip is integrated on most machines these days it is definitely easier to use.   Maybe just put both formats out there?
Logged
HolKann
A&A.org Tank
***
Posts: 412


Yes, the world is turning backwards!


View Profile
« Reply #89 on: January 10, 2009, 06:35:08 am »
0

rar isn't time limited: the only thing you get when the time limit has passed is a pop-up the time limit has passed: the program still works fine.

But I'll put on a zip version too, only to show it is worse (as in: takes up more space) than rar :p

I recommend 7-zip. 

See www.7-zip.org

You can decompress rar-files with it. The compression in 7-zip-format (.7z) may even be better than in .rar: 
So HolKann's files are compressed to 541.641 Bytes in .rar. The same files compressed in .7z only take 221.015 Bytes.

And: 7-zip is free and Open Source!

Hmm, interesting... Allright, WinRar is officially abolished in favor of 7-zip, tnx Smiley
« Last Edit: January 10, 2009, 06:44:21 am by HolKann » Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 »
  Print  
 
Jump to:  

2017 Support Drive

Read about this support drive.
Support Level
Forum Username
Note: payee will appear as Livid Labs, LLC.
Buy Axis & Allies
  • Axis & Allies 1942 [Amazon]
  • A&A Pacific 1940 [Amazon]
  • A&A Europe 1940 [FMG]
  • [eBay]
  • [eBay]
  • A&A D-Day [Amazon]
  • A&A Battle of the Bulge [Amazon]
  • [eBay]
  • [eBay]
  • WWII Themed Combat Dice [FMG]



Axis and Allies.org Official Gold Sponsor: Historical Board Gaming

Axis & Allies.org Official Silver Sponsor: Field Marchal Games
Powered by MySQL Powered by PHP © 2015 Livid Labs, LLC. All rights reserved.
Axis & Allies is registered trademark of Wizards of the Coast, a division of Hasbro, Inc.
Note: the copyright below is for the forum software only.
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Valid XHTML 1.0! Valid CSS!