<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Teeworlds Forum — TeeworldsMapLib]]></title>
		<link>https://www.teeworlds.com/forum/viewtopic.php?id=8264</link>
		<atom:link href="https://www.teeworlds.com/forum/extern.php?action=feed&amp;tid=8264&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in TeeworldsMapLib.]]></description>
		<lastBuildDate>Fri, 12 Apr 2013 01:24:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105720#p105720</link>
			<description><![CDATA[<p>Hmm, did not fully test it yet, but i have built a 1605x1605 maze map. <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /> Play it on <a href="http://www.clan-nut.de">www.clan-nut.de</a> <img src="https://www.teeworlds.com/forum/img/smilies/big_smile.png" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Zeta-Hoernchen)]]></author>
			<pubDate>Fri, 12 Apr 2013 01:24:52 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105720#p105720</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105718#p105718</link>
			<description><![CDATA[<p>It seems like that <a href="https://github.com/erdbeere/tml/">https://github.com/erdbeere/tml/</a> has some known bugs which have been fixed in the repository of Sushitee. Additionally the mapinfo item in tml isn&#039;t up to date or just wrong (their is an attribute named &#039;settings&#039;). I removed it and pushed that stuff together on my own repo:<a href="https://github.com/east/tml.git">https://github.com/east/tml.git</a></p><p>Could you test this version?</p>]]></description>
			<author><![CDATA[null@example.com (east)]]></author>
			<pubDate>Thu, 11 Apr 2013 17:06:22 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105718#p105718</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105717#p105717</link>
			<description><![CDATA[<p>Okay, 3. and 4. seem to only apply for DDRace maps too. :S <br />But the Error with loading newer DDRace maps i get is:<br /></p><div class="codebox"><pre><code>Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/local/lib/python2.7/dist-packages/tml-0.2.1-py2.7.egg/tml/tml.py&quot;, line 36, in __init__
    self._load(map_path)
  File &quot;/usr/local/lib/python2.7/dist-packages/tml-0.2.1-py2.7.egg/tml/tml.py&quot;, line 121, in _load
    datafile = DataFileReader(map_path)
  File &quot;/usr/local/lib/python2.7/dist-packages/tml-0.2.1-py2.7.egg/tml/datafile.py&quot;, line 87, in __init__
    author = decompress(self.get_compressed_data(f, author))[:-1]
  File &quot;/usr/local/lib/python2.7/dist-packages/tml-0.2.1-py2.7.egg/tml/datafile.py&quot;, line 301, in get_compressed_data
    size = self._get_compressed_data_size(index)
  File &quot;/usr/local/lib/python2.7/dist-packages/tml-0.2.1-py2.7.egg/tml/datafile.py&quot;, line 297, in _get_compressed_data_size
    return self.data_offsets[index+1] - self.data_offsets[index]
TypeError: cannot concatenate &#039;str&#039; and &#039;int&#039; objects</code></pre></div><p>Maybe &quot;index&quot; is a string here...</p>]]></description>
			<author><![CDATA[null@example.com (Zeta-Hoernchen)]]></author>
			<pubDate>Thu, 11 Apr 2013 07:19:08 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105717#p105717</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105715#p105715</link>
			<description><![CDATA[<p>One problem that I had at opening new tw and ddrace maps was that tml wasn&#039;t able to parse map informations like (author, map_version e.g.):<br /></p><div class="codebox"><pre><code>File &quot;tml/datafile.py&quot;, line 94, in __init__
    settings = item_data[:items.Info.type_size]
ValueError: need more than 5 values to unpack</code></pre></div><p>I just commented that feature out and the map load didn&#039;t throw any errors.</p><p>Then I tested loading and saving a ddrace map I didn&#039;t notice any gamelayer bugs.</p><div class="quotebox"><cite>Zeta-Hoernchen wrote:</cite><blockquote><div class="codebox"><pre><code>tm = Teemap(&quot;myMap.map&quot;)
tm.layer[0].name = &quot;foobar&quot;
tm.save(&quot;myMap.map&quot;)</code></pre></div><p>where layer 0 is not a game layer, the Teeworlds client can&#039;t open the map anymore.</p></blockquote></div><p>Can&#039;t reproduce this bug using ctf1 either</p>]]></description>
			<author><![CDATA[null@example.com (east)]]></author>
			<pubDate>Wed, 10 Apr 2013 19:21:49 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105715#p105715</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105698#p105698</link>
			<description><![CDATA[<p>Just use a default map like ctf1.<br />And 1. perhaps only applies to DDRace maps.</p>]]></description>
			<author><![CDATA[null@example.com (Zeta-Hoernchen)]]></author>
			<pubDate>Tue, 09 Apr 2013 21:22:59 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105698#p105698</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105695#p105695</link>
			<description><![CDATA[<div class="quotebox"><cite>Zeta-Hoernchen wrote:</cite><blockquote><p>[...] all the game layers are renamed to &quot;Tiles&quot; [...]</p></blockquote></div><p>I would like to test it on my own, could you link an example map?</p>]]></description>
			<author><![CDATA[null@example.com (east)]]></author>
			<pubDate>Tue, 09 Apr 2013 19:21:20 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105695#p105695</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105680#p105680</link>
			<description><![CDATA[<p>Hmm i have some problems:<br />1. Looks like DDRace maps have to be older to be loadable with TML.<br />2. If i just do </p><div class="codebox"><pre><code>tm = Teemap(&quot;myMap.map&quot;)
tm.save(&quot;myMap.map&quot;)</code></pre></div><p>all the game layers are renamed to &quot;Tiles&quot;<br />3. If i do </p><div class="codebox"><pre><code>tm = Teemap(&quot;myDDRaceMap.map&quot;)
tm.layer[0].name = &quot;foobar&quot;
tm.save(&quot;test.map&quot;)</code></pre></div><p>on a DDRace map where layer 0 is not a game layer, the Teeworlds client can&#039;t open the map anymore.<br />4. Same happens for </p><div class="codebox"><pre><code>tm = Teemap(&quot;MyDDRaceMap.map&quot;)
from tml.items import Tile
tm.layers[0].get_tile(0,0).vflip()
tm.save(&quot;test.map&quot;)</code></pre></div><p>Looks like the format <em>did</em> change...</p>]]></description>
			<author><![CDATA[null@example.com (Zeta-Hoernchen)]]></author>
			<pubDate>Mon, 08 Apr 2013 22:00:15 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105680#p105680</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105667#p105667</link>
			<description><![CDATA[<p>The map format haven&#039;t got any updates so it should. I&#039;m using it for converting maps into a json format.</p>]]></description>
			<author><![CDATA[null@example.com (east)]]></author>
			<pubDate>Mon, 08 Apr 2013 14:53:51 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105667#p105667</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=105662#p105662</link>
			<description><![CDATA[<p>Is this still working?</p>]]></description>
			<author><![CDATA[null@example.com (Zeta-Hoernchen)]]></author>
			<pubDate>Mon, 08 Apr 2013 13:26:21 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=105662#p105662</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=86920#p86920</link>
			<description><![CDATA[<p>is completely different from what i mean though xD</p>]]></description>
			<author><![CDATA[null@example.com (Sushi Tee)]]></author>
			<pubDate>Mon, 01 Aug 2011 11:54:42 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=86920#p86920</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=86916#p86916</link>
			<description><![CDATA[<p>A map viewer was already written by <a href="https://github.com/Choupom/tw-maps-gen">Choupom</a>.</p>]]></description>
			<author><![CDATA[null@example.com (heinrich5991)]]></author>
			<pubDate>Mon, 01 Aug 2011 11:29:52 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=86916#p86916</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=86903#p86903</link>
			<description><![CDATA[<p>a mapviewer would be great but anyway... tml is not supposed to have such features... this would be another application using tml... maybe we will write something like that</p>]]></description>
			<author><![CDATA[null@example.com (Sushi Tee)]]></author>
			<pubDate>Mon, 01 Aug 2011 09:59:17 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=86903#p86903</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=86900#p86900</link>
			<description><![CDATA[<div class="quotebox"><cite>Sushi Tee wrote:</cite><blockquote><p>automapper would be a feature of an application which uses tml <img src="https://www.teeworlds.com/forum/img/smilies/wink.png" alt="wink" /><br />tml is supposed to do the low level shit which would be a pain in the ass if u have to care about that yourself</p></blockquote></div><p>But heinrich is right, the project would have a lot larger audience if you would code a minimalistic UI for it.</p>]]></description>
			<author><![CDATA[null@example.com (Dune)]]></author>
			<pubDate>Mon, 01 Aug 2011 09:48:12 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=86900#p86900</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=86894#p86894</link>
			<description><![CDATA[<p>automapper would be a feature of an application which uses tml <img src="https://www.teeworlds.com/forum/img/smilies/wink.png" alt="wink" /><br />tml is supposed to do the low level shit which would be a pain in the ass if u have to care about that yourself</p>]]></description>
			<author><![CDATA[null@example.com (Sushi Tee)]]></author>
			<pubDate>Mon, 01 Aug 2011 09:29:35 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=86894#p86894</guid>
		</item>
		<item>
			<title><![CDATA[Re: TeeworldsMapLib]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=86868#p86868</link>
			<description><![CDATA[<p>Great idea. <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /><br />But the interface of this library seems pretty low-level, I&#039;d like to see some high level stuff like automapper or so <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (heinrich5991)]]></author>
			<pubDate>Sun, 31 Jul 2011 20:26:07 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=86868#p86868</guid>
		</item>
	</channel>
</rss>
