<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.reduxstation.com/index.php?action=history&amp;feed=atom&amp;title=Map_Merger</id>
	<title>Map Merger - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.reduxstation.com/index.php?action=history&amp;feed=atom&amp;title=Map_Merger"/>
	<link rel="alternate" type="text/html" href="https://wiki.reduxstation.com/index.php?title=Map_Merger&amp;action=history"/>
	<updated>2026-06-10T09:50:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.reduxstation.com/index.php?title=Map_Merger&amp;diff=88&amp;oldid=prev</id>
		<title>imported&gt;SpaceManiac: Update instructions for PR 55699</title>
		<link rel="alternate" type="text/html" href="https://wiki.reduxstation.com/index.php?title=Map_Merger&amp;diff=88&amp;oldid=prev"/>
		<updated>2021-01-02T01:13:35Z</updated>

		<summary type="html">&lt;p&gt;Update instructions for PR 55699&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;: [[Guide to contributing to the game]] &amp;gt; [[Guide to mapping]]&lt;br /&gt;
&lt;br /&gt;
/tg/station uses a tool called the &amp;#039;&amp;#039;&amp;#039;Map Merger&amp;#039;&amp;#039;&amp;#039; to make map changes easier for maintainers to review and less likely to conflict with map changes made by others.&lt;br /&gt;
&lt;br /&gt;
There are a few ways of running the tool. If you have trouble or need help, ask in [[Community|#coderbus]].&lt;br /&gt;
&lt;br /&gt;
== Use as a Git hook (recommended) ==&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Install the hook&amp;#039;&amp;#039;&amp;#039;: Open the &amp;lt;code&amp;gt;tools/hooks/&amp;lt;/code&amp;gt; folder and double-click &amp;lt;code&amp;gt;Install.bat&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Linux users: run &amp;lt;code&amp;gt;tools/hooks/install.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once complete, the map merger will run &amp;#039;&amp;#039;&amp;#039;automatically&amp;#039;&amp;#039;&amp;#039; every time you commit in Git. The console log can be reviewed if there are any errors.&lt;br /&gt;
&lt;br /&gt;
== Or: run manually before committing ==&lt;br /&gt;
&lt;br /&gt;
You can also manually run a .bat file just before each time you commit:&lt;br /&gt;
&lt;br /&gt;
# Ensure you have saved all your changes&lt;br /&gt;
# Open the &amp;lt;code&amp;gt;tools/mapmerge2/&amp;lt;/code&amp;gt; folder and double-click &amp;lt;code&amp;gt;Run Before Committing.bat&amp;lt;/code&amp;gt;&lt;br /&gt;
# Commit&lt;br /&gt;
&lt;br /&gt;
== If you forgot to map merge ==&lt;br /&gt;
&lt;br /&gt;
For first-time contributors who committed map edits without map merging, a script is available to automatically commit a fix to your PR branch:&lt;br /&gt;
&lt;br /&gt;
# Ensure you have no unsaved changes&lt;br /&gt;
# Open the &amp;lt;code&amp;gt;tools/mapmerge2/&amp;lt;/code&amp;gt; folder and double-click &amp;lt;code&amp;gt;I Forgot To Map Merge.bat&amp;lt;/code&amp;gt;&lt;br /&gt;
# Push your branch&lt;br /&gt;
&lt;br /&gt;
== What is map merging, actually? ==&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;map merge&amp;quot; operation describes the process of converting a map file written by the DreamMaker map editor to:&lt;br /&gt;
# Use a format more amenable to Git&amp;#039;s conflict resolution, called &amp;quot;TGM&amp;quot; and originally developed by Remie. The TGM map format is like the standard Dream Maker map format, but arranged differently, meaning Dream Maker is able to open TGM maps.&lt;br /&gt;
# Keep the size of the difference between the old version and the new version of the map as small as possible.&lt;br /&gt;
It requires an old version of the map to use as a reference and a new version of the map which contains the desired changes.&lt;br /&gt;
&lt;br /&gt;
Information on the tool&amp;#039;s implementation is stored with [https://github.com/tgstation/tgstation/blob/master/tools/mapmerge2/ the code].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Contribution guides}}&lt;/div&gt;</summary>
		<author><name>imported&gt;SpaceManiac</name></author>
	</entry>
</feed>