Line 24: |
Line 24: |
| <pre>Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Maps\mine". File contains xTile.Map but trying to load as Microsoft.Xna.Framework.Graphics.Texture2D.</pre> | | <pre>Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Maps\mine". File contains xTile.Map but trying to load as Microsoft.Xna.Framework.Graphics.Texture2D.</pre> |
| | | |
− | That happens because the <tt>Content/mine.xnb</tt> tilesheet was deleted in Stardew Valley 1.3.36, so the game is trying to load it from <tt>Content/Maps/mine.xnb</tt> map file instead. | + | That happens because <tt>Content/mine.xnb</tt> (a tilesheet) was deleted in Stardew Valley 1.3.36, so the game is trying to load it from <tt>Content/Maps/mine.xnb</tt> (a map) instead. |
| | | |
− | You need to change the tilesheet reference to fix it. (These instructions assume the map is in a <tt>assets</tt> subfolder inside the content pack.) | + | You need to change the tilesheet reference to fix it. (These instructions assume the map file is unpacked and in an <tt>assets</tt> subfolder inside the content pack.) |
| | | |
| # If you already have a <tt>mine.png</tt> file in your content pack folder, delete it. | | # If you already have a <tt>mine.png</tt> file in your content pack folder, delete it. |
Line 33: |
Line 33: |
| # Open the <tt>.tbin</tt> file in Tiled. | | # Open the <tt>.tbin</tt> file in Tiled. |
| # In the 'Tilesets' pane, click the mine tilesheet's tab and click the edit icon at the bottom (which looks like a wrench). This should open the tilesheet in a separate tab. | | # In the 'Tilesets' pane, click the mine tilesheet's tab and click the edit icon at the bottom (which looks like a wrench). This should open the tilesheet in a separate tab. |
− | # At the top, click _Tileset > Tileset Properties_. This should open a 'Properties' pane. | + | # At the top, click ''Tileset > Tileset Properties''. This should open a 'Properties' pane. |
| # Click the 'image' field, click the 'edit' button that appears, and click 'browse' in the window that opens. | | # Click the 'image' field, click the 'edit' button that appears, and click 'browse' in the window that opens. |
| # Select the <tt>assets/Mines/mine.png</tt> file. | | # Select the <tt>assets/Mines/mine.png</tt> file. |