<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to MapSpec</title><link>https://sourceforge.net/p/openpatrician/wikimig/MapSpec/</link><description>Recent changes to MapSpec</description><atom:link href="https://sourceforge.net/p/openpatrician/wikimig/MapSpec/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 24 May 2014 07:22:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/openpatrician/wikimig/MapSpec/feed" rel="self" type="application/rss+xml"/><item><title>MapSpec modified by Sahits GmbH</title><link>https://sourceforge.net/p/openpatrician/wikimig/MapSpec/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="map-specification"&gt;Map Specification&lt;/h1&gt;
&lt;p&gt;&amp;lt; &lt;span&gt;[Specifications]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This page defines how the game map is defined. &lt;/p&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;In an open source project it is not necessary to hide the data formats used. The easiest way to store arbitrary data in a structure form is in an XML file. The map file should store information on the location of each city, its name and what it can produce at what efficiency. Since there are many popular custom maps out there from the original game, it is imperative that these map can be imported/converted. &lt;/p&gt;
&lt;p&gt;The import feature of existing maps may be its separate application. &lt;/p&gt;
&lt;p&gt;It is desirable to also be able to define custom geography and/or computer generated geography. &lt;/p&gt;
&lt;h2 id="file-format"&gt;File format&lt;/h2&gt;
&lt;p&gt;The file format is an XML file. If the file becomes large it may be compressed. The header of the file contains an integeral version number. Maps may not be backward compatible. The XML file is defined by an XML Schema definition. &lt;/p&gt;
&lt;h3 id="features-v1"&gt;Features V1&lt;/h3&gt;
&lt;p&gt;List of all the cities. Each city defines: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name of the city &lt;/li&gt;
&lt;li&gt;Hansa city, .... &lt;/li&gt;
&lt;li&gt;List of wares that are produced efficient &lt;/li&gt;
&lt;li&gt;List of wares that are produced inefficient &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="features-v2"&gt;Features V2&lt;/h3&gt;
&lt;p&gt;For each city the coordinates on the used map are defined. &lt;/p&gt;
&lt;h3 id="features-v3"&gt;Features V3&lt;/h3&gt;
&lt;p&gt;Definition of a custom geography. &lt;/p&gt;
&lt;h3 id="kef"&gt;kef&lt;/h3&gt;
&lt;p&gt;The *.kef is the file format the map is stored in the map editor of the original game. &lt;/p&gt;
&lt;h3 id="gmf"&gt;gmf&lt;/h3&gt;
&lt;p&gt;the *.gmf is the file format the map is stored after exporting it from the map editor. This format is used in the Patrician III game. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sahits GmbH</dc:creator><pubDate>Sat, 24 May 2014 07:22:23 -0000</pubDate><guid>https://sourceforge.netdf4a9e545e9f739fe0c09517310e0cd10b2ee564</guid></item></channel></rss>