aMetro

Open-source, offline metro & subway maps


Project maintained by RomanGolovanov Hosted on GitHub Pages — Theme by mattgraham

HomePrivacyInstallMapsMap EditingContributeFAQ

Editing PMZ Maps for aMetro

aMetro uses the PMZ map format, originally from pMetro.
PMZ files are just ZIP archives with configuration and graphics, so they’re editable with the classic pMetro Editor.


📥 Download the Editor

Where to get pMetro.ini

Some editor bundles may not include a fresh pMetro.ini file. Install pMetro for Windows and copy it from there:


🔧 Installation

  1. Create a new folder.
  2. Copy into it:
    • pMetroEditor.exe
    • pMetro.ini (from the editor zip or the pMetro installation)
    • A .pmz file you want to edit.
  3. Rename the .pmz file to .zip and extract it.
  4. Inside you’ll find metro.ini plus related files (.map, .trp, images, etc.).
  5. Launch pMetroEditor.exe to make graphical adjustments, or edit the INI/text files manually.
  6. Repack the folder into a ZIP and rename it back to .pmz.
  7. Place the edited .pmz back into aMetro’s maps directory for testing.

🔎 Finding existing maps to patch

If you want to patch an existing city map, install pMetro and look inside its installation directory — you’ll find the shipped map files there (as .pmz).


🖼️ File Structure Highlights

🖼️ File Types in a PMZ Archive

Every PMZ archive is a collection of different file types. Each type plays a role in how the map is displayed, localized, and simulated inside aMetro.

metro.cty

A city-level configuration file.
How to fill:

Example:

[Options]  
Name=Berlin  
CityName=Berlin  
Country=Germany  
RusName=Берлин  
NeedVersion=1.26.4  
MapAuthors=Scheme from 2008, based on UrbanRail.net  

*.trp (line definitions)

Each .trp file describes a type of network, such as U-bahn or S-bahn.
Structure:

Example:

[Options]  
Type=U-bahn  

[Line1]  
Name=U1  
Stations=Station A,Station B,Station C,Station D  
Driving=2,3,2  
DelayDay=4  
DelayNight=12  

[Line2]  
Name=U2  
Stations=North End,Midtown,South End  
Driving=5,6  
DelayDay=5  
DelayNight=15  

*.map (graphical layout)

A coordinate-based description of map graphics, typically used when bitmap backgrounds are present.
How to fill:

*.vec (vector schematic)

A script-style file for vector drawing.
How to fill:

Example:

size 1200x800  
PenColor FF0000  
TextOut Arial,20,100,200, U1,1  
Line 100,200,300,200  

Images (bmp, gif, png)

Bitmap backgrounds. Place the file in the archive and reference it in metro.ini or the .map file.
How to fill:


🖱️ Editor Usage Tips


🧩 Travel Time & Transfer Data


🚉 Vector & 3D Formats


📨 Submitting your map

When you’ve created or corrected a map: