PolytopiaMapImage

command module
v0.0.0-...-0a1aa33 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 5 Imported by: 0

README

PolytopiaMapImage

Introduction

The Battle of Polytopia only keeps one save file and deletes it when you start a new game. This tool extracts maps from save files and converts them into images or replay animations you can preserve and share.

Usage

Input: A .state file from your Polytopia save directory. Copy it to a safe location first, it gets deleted when you start a new game.

Output: An image (PNG/JPG) or replay animation (GIF).

Modes:

  • image - Screenshot of the current map state
  • replay - Animation showing the entire game from start to finish
./PolytopiaMapImage.exe -input=[input filename] -output=[output filename (default is output.png)] -mode=[drawing mode (default is image)]
Draw Image
./PolytopiaMapImage.exe -input=00000000-0000-0000-0000-000000000000.state -output=map.png -mode=image
Draw Replay
./PolytopiaMapImage.exe -input=00000000-0000-0000-0000-000000000000.state -output=replay.gif -mode=replay

Examples

Map Image

map

Replay

replay pangea

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