Can't open TMW map with tiled 6.1

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
seeseekey
Peon
Peon
Posts: 21
Joined: 23 Aug 2007, 18:07
Contact:

Can't open TMW map with tiled 6.1

Post by seeseekey » 08 Mar 2008, 15:02

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
User avatar
MerlinX420
Warrior
Warrior
Posts: 575
Joined: 23 Dec 2007, 05:42

Re: Can't open TMW map with tiled 6.1

Post by MerlinX420 » 08 Mar 2008, 16:59

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.
MerlinX420
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. Has anybody seen this princess I'm looking for?
seeseekey
Peon
Peon
Posts: 21
Joined: 23 Aug 2007, 18:07
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » 08 Mar 2008, 17:57

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
Attachments
tiled-error.jpg
tiled-error.jpg (172.58 KiB) Viewed 1401 times
User avatar
MerlinX420
Warrior
Warrior
Posts: 575
Joined: 23 Dec 2007, 05:42

Re: Can't open TMW map with tiled 6.1

Post by MerlinX420 » 09 Mar 2008, 05:18

What set of maps are you using? I'm not familiar with windows. I afraid I can't help you there.
MerlinX420
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. Has anybody seen this princess I'm looking for?
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: 03 Feb 2008, 10:17
Location: Ohio, USA
Contact:

Re: Can't open TMW map with tiled 6.1

Post by leeor_net » 09 Mar 2008, 05:24

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.
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
seeseekey
Peon
Peon
Posts: 21
Joined: 23 Aug 2007, 18:07
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » 09 Mar 2008, 09:29

Exists a version (dev version or so?) they can read object tags? It is circuitous remove the object tags every edit and so.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Can't open TMW map with tiled 6.1

Post by Jaxad0127 » 09 Mar 2008, 13:42

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).
Image
seeseekey
Peon
Peon
Posts: 21
Joined: 23 Aug 2007, 18:07
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » 09 Mar 2008, 13:56

Can you open the map in the attachment?
Attachments
new_9-1.zip
(14.95 KiB) Downloaded 51 times
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Re: Can't open TMW map with tiled 6.1

Post by ElvenProgrammer » 09 Mar 2008, 15:50

This is the latest svn binary.
Attachments
tiled.zip
(352.22 KiB) Downloaded 72 times
seeseekey
Peon
Peon
Posts: 21
Joined: 23 Aug 2007, 18:07
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » 09 Mar 2008, 17:20

Thank you, it works.
Post Reply