Page 1 of 1

Can't open TMW map with tiled 6.1

Posted: 08 Mar 2008, 14:02
by seeseekey
Hello,

i would open the TMW map "new_3-1.tmx" but tiled say "Can't read input file". If i remove this code from the file:

Code: Select all

 <objectgroup name="Gruppo di Oggetti 4" width="0" height="0">
  <object name="Warp to Tulimshar" type="WARP" x="1344" y="2816" width="160" height="32">
   <properties>
    <property name="DEST_MAP">
     1
    </property>
    <property name="DEST_X">
     1872
    </property>
    <property name="DEST_Y">
     560
    </property>
   </properties>
  </object>
  <object name="ToINN" type="WARP" x="1024" y="2304" width="64" height="32">
   <properties>
    <property name="DEST_MAP">
     8
    </property>
    <property name="DEST_X">
     800
    </property>
    <property name="DEST_Y">
     1088
    </property>
   </properties>
  </object>
 </objectgroup>
i can open the file with tiled. Need i a special version of tiled to open the TMW maps or so?

Regards seeseekey

Re: Can't open TMW map with tiled 6.1

Posted: 08 Mar 2008, 15:59
by Merlin
The maps have to placed under the tiled Dir under maps..Tiles have to be placed under graphics/tiles/ also in the tiled dir.
run tiled from command line like this

Code: Select all

java -jar tiled.jar
This will make sure it loads the plugins.

Re: Can't open TMW map with tiled 6.1

Posted: 08 Mar 2008, 16:57
by seeseekey
I make it so and restarted tiled. I will open the map and tiled says "Error while loading D:\Tiled\maps\new_4-1.tmx: null". The console display a exception (in the attachment). Is this a bug?

My installed plugins are:
- Mappy Input Plugin
- Tiled JSON Writer
- Mappy Output Plugin
- The Mana World Export Plugin

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 04:18
by Merlin
What set of maps are you using? I'm not familiar with windows. I afraid I can't help you there.

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 04:24
by leeor_net
The reason you're getting this problem is because your version of Tiled can't read the <object> tags. This has nothing to do with the tilesets or their general locations.

Removing the code will allow the map to open. Be sure to add whatever object definitions back once you need them.

As for functionality between OS's, Tiled works the same way on just about every system. It is Java, afterall. Directory structures aside, opening a map from the Map directory under TMW/DATA with Tiled should pose no problems with graphical resources so long as they exist within the DATA/GRAPHICS/TILES directory.

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 08:29
by seeseekey
Exists a version (dev version or so?) they can read object tags? It is circuitous remove the object tags every edit and so.

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 12:42
by Jaxad0127
seeseekey wrote:Exists a version (dev version or so?) they can read object tags? It is circuitous remove the object tags every edit and so.
The current version (0.6.1) won't crash if the map has objects on it (at least not particle effects).

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 12:56
by seeseekey
Can you open the map in the attachment?

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 14:50
by ElvenProgrammer
This is the latest svn binary.

Re: Can't open TMW map with tiled 6.1

Posted: 09 Mar 2008, 16:20
by seeseekey
Thank you, it works.