AgeOfHistory2Map

command module
v0.0.0-...-d916785 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2025 License: MIT Imports: 12 Imported by: 0

README

AgeOfHistory2Map

This program will render various maps found in Age of History 2, formerly known as Age of Civilizations 2. You must have a copy of the original game data stored in the data/ folder in order to generate the map images.

Command-Line Usage

./AgeOfHistory2Map.exe -map=[map name (default is regions)]

Example

./AgeOfHistory2Map.exe -map=modernworld

Examples

modernworld 1440 regions

File Format

The map data from Age of History 2 is split into multiple files. This program assumes the user is trying to load a scenario on the Earth map. Each file is a serialized java object.

File Type Description Data Format Location
Scenario file List of civilization tags Strings "data/map/Earth/scenarios/{scenario}/{scenario}"
Province owners file List of province owners Integers (each corresponds to a civilization) "data/map/Earth/scenarios/{scenario}/{scenario}_PD"
Civilizations file List of civilizations with tag and color Tag and RGB color format "data/game/civilizations/{civTag}"
Provinces file Geometry of provinces Separate lists of X and Y coordinates "data/map/Earth/data/provinces/{provinceId}"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL