Changes

Jump to navigation Jump to search
1,066 bytes added ,  22:36, 22 March 2020
→‎Intro: + map formats
Line 43: Line 43:     
[[File:Modding - creating an XNB mod - tile coordinates.png]]
 
[[File:Modding - creating an XNB mod - tile coordinates.png]]
 +
 +
===Map formats===
 +
There are two map formats used in Stardew Valley modding:
 +
 +
* <tt>.tbin</tt> is a binary format used by the (no longer recommended) tIDE map editor. The game's maps are in this format.
 +
* <tt>.tmx</tt> is an XML map format used by the Tiled map editor. XML is basically text, so that has some advantages that make it popular with modders.
 +
 +
The features supported by both formats are almost identical, but there are a few differences:
 +
{| class="wikitable"
 +
|-
 +
! feature
 +
! <tt>.tmx</tt>
 +
! <tt>.tbin</tt>
 +
|-
 +
| edit in Tiled
 +
| ✓ supported
 +
| ✓ supported with plugin
 +
|-
 +
| edit directly
 +
| ✓ can open in a text editor
 +
| ✘ not supported
 +
|-
 +
| tile flip
 +
| ✓ supported
 +
| ✘ not supported
 +
|-
 +
| tile rotation
 +
| ✓ supported
 +
| ✘ not supported
 +
|-
 +
| source control
 +
| ✓ efficient storage, can diff changes
 +
| ✘ inefficient storage (need to copy entire file with each commit), can't diff changes
 +
|}
 +
 +
<tt>.tmx</tt> is recommended per the above, but both formats are fine to use, and you can convert between them in Tiled by clicking ''Save > Save As''.
    
==Getting started==
 
==Getting started==
translators
8,401

edits

Navigation menu