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: Thu Aug 23, 2007 6:07 pm
Contact:

Can't open TMW map with tiled 6.1

Post by seeseekey » Sat Mar 08, 2008 3:02 pm

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: 574
Joined: Sun Dec 23, 2007 5:42 am

Re: Can't open TMW map with tiled 6.1

Post by MerlinX420 » Sat Mar 08, 2008 4:59 pm

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: Thu Aug 23, 2007 6:07 pm
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » Sat Mar 08, 2008 5:57 pm

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 1226 times
User avatar
MerlinX420
Warrior
Warrior
Posts: 574
Joined: Sun Dec 23, 2007 5:42 am

Re: Can't open TMW map with tiled 6.1

Post by MerlinX420 » Sun Mar 09, 2008 5:18 am

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: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

Re: Can't open TMW map with tiled 6.1

Post by leeor_net » Sun Mar 09, 2008 5:24 am

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: Thu Aug 23, 2007 6:07 pm
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » Sun Mar 09, 2008 9:29 am

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: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: Can't open TMW map with tiled 6.1

Post by Jaxad0127 » Sun Mar 09, 2008 1:42 pm

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: Thu Aug 23, 2007 6:07 pm
Contact:

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » Sun Mar 09, 2008 1:56 pm

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: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Re: Can't open TMW map with tiled 6.1

Post by ElvenProgrammer » Sun Mar 09, 2008 3:50 pm

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

Re: Can't open TMW map with tiled 6.1

Post by seeseekey » Sun Mar 09, 2008 5:20 pm

Thank you, it works.
Post Reply