Can't open TMW map with tiled 6.1

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
seeseekey
Peon
Peon
Posts: 21
Joined: 23 Aug 2007, 17:07
Contact:

Can't open TMW map with tiled 6.1

Post 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
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Re: Can't open TMW map with tiled 6.1

Post 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.
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, 17:07
Contact:

Re: Can't open TMW map with tiled 6.1

Post 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
Attachments
tiled-error.jpg
tiled-error.jpg (163.97 KiB) Viewed 2557 times
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Re: Can't open TMW map with tiled 6.1

Post by Merlin »

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, 09:17
Location: Ohio, USA
Contact:

Re: Can't open TMW map with tiled 6.1

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

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

Re: Can't open TMW map with tiled 6.1

Post 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.
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Can't open TMW map with tiled 6.1

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

Re: Can't open TMW map with tiled 6.1

Post by seeseekey »

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

Re: Can't open TMW map with tiled 6.1

Post by ElvenProgrammer »

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

Re: Can't open TMW map with tiled 6.1

Post by seeseekey »

Thank you, it works.
Post Reply