TMXcopy Help

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
Superkoop
Novice
Novice
Posts: 265
Joined: 11 Feb 2008, 01:09
Location: South Dakota in the US of A
Contact:

TMXcopy Help

Post by Superkoop » 28 May 2008, 22:57

I'm trying to make a map for the game, and I want to make map3 that Crush mentioned in his post. And so I first want to copy the two borders of the maps that will be next to mine (9 to the east and 26 to the north), into my map so that the maps will be able to flow best.
But, I'm not sure exactly how TMXcopy should work. I have read through the readme, and I have followed it the best I could, and when I enter the command it even says it's successful, but there is no change to the the map I copy to.

Code: Select all

./tmxcopy /home/john/.tmw/updates/maps/new_9-1.tmx 0 0 60 120 /home/john/.tmw/updates/maps/forest-map-3.tmx 78 0
Loading map /home/john/.tmw/updates/maps/new_9-1.tmx
tilesets: 8
layers:4
largest GID:804

Loading map /home/john/.tmw/updates/maps/forest-map-3.tmx
tilesets: 4
layers:4
largest GID:0

copying successful!
What am I doing wrong? :?
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: TMXcopy Help

Post by Crush » 28 May 2008, 23:01

Can you please post your map file like it is now? (I assume new_9-1.tmx is unchanged)
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Superkoop
Novice
Novice
Posts: 265
Joined: 11 Feb 2008, 01:09
Location: South Dakota in the US of A
Contact:

Re: TMXcopy Help

Post by Superkoop » 28 May 2008, 23:07

In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: TMXcopy Help

Post by Crush » 28 May 2008, 23:27

It works well here (besides some grass tiles which fill the lower 3/4 of the lowest layer for no reason - might be caused by the wrong size of that layer in the destination map file).

There should be a message "File saved successfully to forest-map-3.tmx" after the last one. Did you forgot to copy this? If not it might be a file permission problem.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Superkoop
Novice
Novice
Posts: 265
Joined: 11 Feb 2008, 01:09
Location: South Dakota in the US of A
Contact:

Re: TMXcopy Help

Post by Superkoop » 28 May 2008, 23:44

I didn't get a "file saved successfully" message, or anything else. Maybe I will try using the Windows version through WINE, rather than the Linux version I compiled. (perhaps it's simply crashing on me every time it reaches the writing to xml part...) I'll report back if I can get it working properly through WINE or not.

Edit:
I got it working through WINE! *phew* (odd because my luck with WINE is very poor) there were a few mixed up things with the map (there was grass over the whole map, the layers got renamed) but I can live with it. :D
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
Post Reply