Save map error

Aug 4, 2011 at 3:44 AM

When ever i try and save a map I've been working on, or later try and open the same map i get the following error..

"An error occured while saving the file. Details: startIndex must be less than length of string. Parameter name: startIndex...

I've been trying to find a post similar but haven't found any. And the documentation only tells me how to set up a game in xna no mapping tutorials that i could see. So does anyone know whats wrong?

Aug 7, 2011 at 6:50 PM

I'm still having this problem... Anyone else having this issue?

Coordinator
Aug 7, 2011 at 7:27 PM

Could you share the map file you're working on? I could give it a look and figure out why the error is occurring.

Aug 7, 2011 at 7:34 PM

No problem. I'll just put whats in the .tide file here... The map for the demo game works no problem. but when i create a new map and try and save it i get an error.

<?xml version="1.0" encoding="utf-8"?>
<Map Id="1">
  <Description><![CDATA[Test map for game engine!]]></Description>
  <TileSheets>
    <TileSheet Id="Desert">
      <Description><![CDATA[test map]]></Description>
      <ImageSource><![CDATA[..\..\Graphics\TileSets\Tilset Désert v1.png]]></ImageSource>
      <Alignment SheetSize="16 x 16" TileSize="32 x 32" Margin="0 x 0" Spacing="0 x 0" />
      <Properties />
    </TileSheet>
  </TileSheets>
  <Layers>
    <Layer Id="Ground" Visible="True">
      <Description><![CDATA[test map]]></Description>
      <Dimensions LayerSize="100 x 25" TileSize="32 x 32" />
      <TileArray>
        <Row>
          <Null Count="100" />
        </Row>
        <Row>
          <Null Count="100" />
        </Row>
        <Row>
          <Null Count="32" />
          <TileSheet Ref="Desert" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="65" />
        </Row>
        <Row>
          <Null Count="30" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="59" />
        </Row>
        <Row>
          <Null Count="10" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="11" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="62" />
        </Row>
        <Row>
          <Null Count="8" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="59" />
        </Row>
        <Row>
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="1" BlendMode="Alpha" />
          <Static Index="2" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="57" />
        </Row>
        <Row>
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="16" BlendMode="Alpha" />
          <Static Index="17" BlendMode="Alpha" />
          <Static Index="18" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="56" />
        </Row>
        <Row>
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="32" BlendMode="Alpha" />
          <Static Index="33" BlendMode="Alpha" />
          <Static Index="34" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="55" />
        </Row>
        <Row>
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="48" BlendMode="Alpha" />
          <Static Index="49" BlendMode="Alpha" />
          <Static Index="50" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="64" />
        </Row>
        <Row>
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="15" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="55" />
        </Row>
        <Row>
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="13" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="57" />
        </Row>
        <Row>
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="2" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="1" BlendMode="Alpha" />
          <Static Index="2" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="57" />
        </Row>
        <Row>
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="16" BlendMode="Alpha" />
          <Static Index="17" BlendMode="Alpha" />
          <Static Index="18" BlendMode="Alpha" />
          <Static Index="16" BlendMode="Alpha" />
          <Static Index="17" BlendMode="Alpha" />
          <Static Index="18" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="54" />
        </Row>
        <Row>
          <Null Count="7" />
          <Static Index="32" BlendMode="Alpha" />
          <Static Index="33" BlendMode="Alpha" />
          <Static Index="34" BlendMode="Alpha" />
          <Static Index="32" BlendMode="Alpha" />
          <Static Index="33" BlendMode="Alpha" />
          <Static Index="34" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="13" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="50" />
        </Row>
        <Row>
          <Null Count="7" />
          <Static Index="48" BlendMode="Alpha" />
          <Static Index="49" BlendMode="Alpha" />
          <Static Index="50" BlendMode="Alpha" />
          <Static Index="48" BlendMode="Alpha" />
          <Static Index="49" BlendMode="Alpha" />
          <Static Index="50" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="44" />
        </Row>
        <Row>
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="13" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="9" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="38" />
        </Row>
        <Row>
          <Null Count="10" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="20" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="33" />
        </Row>
        <Row>
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="14" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="12" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="2" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="24" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="31" />
        </Row>
        <Row>
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="15" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="7" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="40" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="19" />
        </Row>
        <Row>
          <Null Count="19" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="8" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="6" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="10" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="28" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="18" />
        </Row>
        <Row>
          <Null Count="25" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="8" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="5" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="42" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="16" />
        </Row>
        <Row>
          <Null Count="23" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="3" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="11" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="59" />
        </Row>
        <Row>
          <Null Count="23" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="8" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="48" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="10" />
        </Row>
        <Row>
          <Null Count="31" />
          <Static Index="0" BlendMode="Alpha" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="1" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="4" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="20" />
          <Static Index="0" BlendMode="Alpha" />
          <Null Count="39" />
        </Row>
      </TileArray>
      <Properties />
    </Layer>
  </Layers>
  <Properties />
</Map>

Coordinator
Aug 8, 2011 at 11:24 AM

I made a modified copy of your map file to look at a sample 512 x 512 pixel tileset image (to match your tileset definition within the map). I did load the map without problems. I tried this with tIDE v2.0.3. Can you verify if you are using the same version for starters? You can check the version from the Help / About menu.

Also, have you tried using pure ASCII characters for your tilesheet filename? According to the map file, your current tileset image has the filename with an accented vowel: Tilset Désert v1.png

 

Aug 8, 2011 at 2:30 PM

Maybe it is the name. I just downloaded some tilesets to test making maps. I'll rename the tileset and see what happens.

Aug 10, 2011 at 5:01 AM

Using a different tileset name worked like a charm. Thanks for the help yet again man.

Aug 14, 2011 at 10:04 PM

Hi Colin, I'm getting this same error. I downloaded tIDE 2.03 first then uninstalled it, tried to save a map after installing tIDE 2.02 on tIDE, still no luck. I've tried moving tiles around, renaming the map file, etc. Nothing seems to work. Here is the error code I'm getting:

 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: startIndex must be less than length of string.
Parameter name: startIndex
   at System.String.Remove(Int32 startIndex)
   at tIDE.Format.PathHelper.GetAbsolutePath(String basePath, String relativePath)
   at tIDE.MainForm.SaveFile(String filename)
   at tIDE.MainForm.OnFileSaveAs(Object sender, EventArgs eventArgs)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
tIDE
    Assembly Version: 2.0.2.0
    Win32 Version: 2.0.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/tIDE%20v2.0.2/tIDE.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.236 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
xTile
    Assembly Version: 2.0.2.0
    Win32 Version: 2.0.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/tIDE%20v2.0.2/xTile.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
tIDE.Plugin
    Assembly Version: 2.0.1.0
    Win32 Version: 2.0.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/tIDE%20v2.0.2/tIDE.Plugin.DLL
----------------------------------------
knr250ah
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.236 built by: RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


    


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Coordinator
Aug 16, 2011 at 9:10 PM

Hi Ceric,

Can you please tell me the folder locations of your map and tilesheet images? I suspect there may be a bug related to how absolute-to-relative path conversions are handled.

Aug 25, 2011 at 6:14 AM

Hi Colin, did you get my email response? If not, the path is as follows for the tileset:

C:\Users\Greg\Pictures\Pixel Art\Tilesets and Maps\Tilesets, Original\The Journey Tiles

For the map, it's this:

C:\Users\Greg\Documents\Flash Projects\tIDE Maps

Should I keep them in the same folder?

 

Coordinator
Aug 25, 2011 at 8:41 AM
Edited Aug 25, 2011 at 8:42 AM

Hi Greg,

I think it's worth a try. Could you try setting up your map and tilesheet images in the same folder? You can actually make a copy of your files, open the map file (which is in XML format) and change the tilesheet references by removing the path and leaving only the filenames. 

P.S.  Didn't get any mail sorry.

Aug 28, 2011 at 6:17 AM

That seemed to be the issue. I've been able to save maps and re-open them without any issues.

Coordinator
Aug 28, 2011 at 6:42 AM

Well, the issue is still there. There seems to be a problem with absolute to relative path conversion. I will look into it when I have a chance. But at least we have a workaround for now.

Aug 6, 2012 at 12:21 AM

I had the same problem.... But i was able to solve mine by putting them "closer" together, so instead of having to go up and down 6 directories, it's only one.  So i have my maps in Maps, and to get to tilesets, it's ../Tilesets.  It works now, so hopefully that'll help you debug it.

Coordinator
Aug 6, 2012 at 7:04 AM

A fix for this will be included in v2.0.6.