<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>TINS windows binary package</title>
		<link>http://www.allegro.cc/forums/view/590922</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 14 Apr 2007 20:35:37 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here I present <s><a href="http://blog.bigcat.unimaas.nl/~martijn/tins07/tins07_entries_winbin_v1.zip">version 1 </a></s>. <a href="http://blog.bigcat.unimaas.nl/~martijn/tins07/tins07_entries_winbin_v2.zip">version 2 of the TINS windows binary package</a>All 19 entries in a single convenient download.</p><p>Please let me know if something doesn&#39;t work (game crashes, dll not present, ...). I expect I will need to fix things, so keep an eye on this thread for updates.</p><p>I&#39;ll open the tins site for voting soon.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Mon, 09 Apr 2007 14:45:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Everything worked for me except your entry (crashes on start up) and The hostages which wanted libpng13.dll
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Hard Rock)</author>
		<pubDate>Mon, 09 Apr 2007 18:53:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><i>My</i> entry is not working? Well stop the press!</p><p>Could you do me a favor and try this debug version here <a href="http://amarillion.bafsoft.net/download/eleven_monkeys_win_bin_dbg.zip">http://amarillion.bafsoft.net/download/eleven_monkeys_win_bin_dbg.zip</a>, and if that one crashes too, run in through gdb and get a backtrace?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Mon, 09 Apr 2007 20:17:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Never used GDB so before so um...</p><p>But good news! It didn&#39;t get very far at all....
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
C:\Downloads\eleven_monkeys_win_bin_dbg\eleven_monkeys&gt;gdb tins07<br />GNU gdb 5.2.1<br />Copyright 2002 Free Software Foundation, Inc.<br />GDB is free software, covered by the GNU General Public License, and you are<br />welcome to change it and/or distribute copies of it under certain conditions.<br />Type &quot;show copying&quot; to see the conditions.<br />There is absolutely no warranty for GDB.  Type &quot;show warranty&quot; for details.<br />This GDB was configured as &quot;i686-pc-mingw32&quot;...<br />(gdb) run<br />Starting program: C:\Downloads\eleven_monkeys_win_bin_dbg\eleven_monkeys/tins07.<br />exe<br />warning: al-main INFO: Allegro initialised (instance 1)</p><p>warning: al-gfx INFO: Called set_gfx_mode(2, 640, 480, 0, 0).</p><p>warning: al-gfx INFO: First call, remembering console state.</p><p>warning: al-gfx INFO: Autodetecting graphic driver.</p><p>warning: al-gfx INFO: The driver will wait for vsync.</p><p>warning: al-gfx INFO: set_gfx_card success for 640x480x16.</p><p>Program received signal SIGSEGV, Segmentation fault.<br />0x7c901010 in <u>end</u>_ ()<br />(gdb)
</p></div></div><p>
And that&#39;s where it dies. MSVC 8.0&#39;s Debuggers tells me it fails in find64.c
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
#endif  /* _USE_INT64 */</p><p>{<br />        WIN32_FIND_DATA wfd;<br />        DWORD           err;</p><p>        _VALIDATE_RETURN( ((HANDLE)hFile != INVALID_HANDLE_VALUE), EINVAL, -1);<br />        _VALIDATE_RETURN( (pfd != NULL), EINVAL, -1);<br />        _VALIDATE_RETURN( (sizeof(pfd-&gt;name) &lt;= sizeof(wfd.cFileName)), ENOMEM, -1);</p><p>        <b>if (!FindNextFile((HANDLE)hFile, &amp;wfd)) {</b><br />            err = GetLastError();<br />            switch (err) {<br />                case ERROR_NO_MORE_FILES:<br />                case ERROR_FILE_NOT_FOUND:<br />                case ERROR_PATH_NOT_FOUND:<br />                    errno = ENOENT;<br />                    break;
</p></div></div><p>
At the bolded line... now Since you probably compiled in MINGW I take it the info is pretty much useless.</p><p>Anyway looking at your dependencies I think I can just compile this and play around with the code until it works.</p><p>However I have an exam tomorrow and knowing my work habits it&#39;s probably in my best interest to fix this later <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> I&#39;ll get around to it.. but just not yet.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Hard Rock)</author>
		<pubDate>Mon, 09 Apr 2007 22:55:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>All you needed to do in GDB was to type &quot;bt&quot; or &quot;backtrace&quot; and hit enter <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Mon, 09 Apr 2007 23:08:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks I take it that&#39;s after it crashes?</p><p>New info:</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="k2">(</span>gdb<span class="k2">)</span> bt</td></tr><tr><td class="number">2</td><td><span class="p">#0  0x7c901010 in _end__ ()</span></td></tr><tr><td class="number">3</td><td><span class="p">#1  0x7c80ef6d in _end__ ()</span></td></tr><tr><td class="number">4</td><td><span class="p">#2  0x10206fd8 in _end__ ()</span></td></tr><tr><td class="number">5</td><td><span class="p">#3  0x100a6ca1 in _end__ ()</span></td></tr><tr><td class="number">6</td><td><span class="p">#4  0x00413137 in glob(char const*, std::vector&lt;std::string, std::allocator&lt;std:</span></td></tr><tr><td class="number">7</td><td><span class="k2">:</span>string&gt; <span class="k3">&gt;</span><span class="k3">&amp;</span><span class="k2">)</span> <span class="k2">(</span>pattern<span class="k3">=</span><span class="n">0x469a85</span> <span class="s">"data/*.mod"</span>, result<span class="k3">=</span>@<span class="n">0x22f60c</span><span class="k2">)</span></td></tr><tr><td class="number">8</td><td>    at src<span class="k3">/</span>resources.cpp:27</td></tr><tr><td class="number">9</td><td><span class="p">#5  0x00413b74 in Resources::init() (this=0x22f6c0) at src/resources.cpp:108</span></td></tr><tr><td class="number">10</td><td><span class="p">#6  0x0040b859 in Main::init(int, char const* const*) (this=0x22f6bc, argc=1,</span></td></tr><tr><td class="number">11</td><td>    argv<span class="k3">=</span><span class="n">0xc42910</span><span class="k2">)</span> at src<span class="k3">/</span>main.cpp:102</td></tr><tr><td class="number">12</td><td><span class="p">#7  0x0040c168 in _mangled_main(int, char const* const*) (argc=1,</span></td></tr><tr><td class="number">13</td><td>    argv<span class="k3">=</span><span class="n">0xc42910</span><span class="k2">)</span> at src<span class="k3">/</span>main.cpp:268</td></tr><tr><td class="number">14</td><td><span class="p">#8  0x100aded6 in _end__ ()</span></td></tr><tr><td class="number">15</td><td><span class="p">#9  0x0040c242 in WinMain (hInst=0x400000, hPrev=0x0, Cmd=0x241f22 "",</span></td></tr><tr><td class="number">16</td><td>    nShow<span class="k3">=</span><span class="n">10</span><span class="k2">)</span> at src<span class="k3">/</span>main.cpp:273</td></tr><tr><td class="number">17</td><td><span class="p">#10 0x0045347a in main ()</span></td></tr></tbody></table></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Hard Rock)</author>
		<pubDate>Mon, 09 Apr 2007 23:15:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, that is what I needed.</p><p>I haven&#39;t figured out what&#39;s going wrong yet. It&#39;s crashing on a call to al_findnext. Here is that part of code:</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="c">// adds all filenames that match pattern to the vector</span></td></tr><tr><td class="number">2</td><td><span class="k1">void</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_426.html" target="_blank">glob</a><span class="k2">(</span><span class="k1">const</span> <span class="k1">char</span> <span class="k3">*</span>pattern, vector<span class="k3">&lt;</span>string&gt; <span class="k3">&amp;</span>result<span class="k2">)</span></td></tr><tr><td class="number">3</td><td><span class="k2">{</span></td></tr><tr><td class="number">4</td><td>  <span class="k1">char</span> buf<span class="k2">[</span><span class="n">1024</span><span class="k2">]</span><span class="k2">;</span></td></tr><tr><td class="number">5</td><td>  </td></tr><tr><td class="number">6</td><td>  <a href="http://www.allegro.cc/manual/al_ffblk" target="_blank"><span class="a">al_ffblk</span></a> info<span class="k2">;</span></td></tr><tr><td class="number">7</td><td>  </td></tr><tr><td class="number">8</td><td>  <span class="k1">int</span> temp <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_findfirst" target="_blank"><span class="a">al_findfirst</span></a> <span class="k2">(</span>pattern, <span class="k3">&amp;</span>info, FA_RDONLY <span class="k3">|</span> FA_ARCH<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">9</td><td>  </td></tr><tr><td class="number">10</td><td>  <span class="k1">while</span> <span class="k2">(</span>temp <span class="k3">=</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span></td></tr><tr><td class="number">11</td><td>  <span class="k2">{</span></td></tr><tr><td class="number">12</td><td>    <a href="http://www.allegro.cc/manual/replace_filename" target="_blank"><span class="a">replace_filename</span></a><span class="k2">(</span>buf, pattern, info.name, <span class="k1">sizeof</span><span class="k2">(</span>buf<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">13</td><td>    result.push_back <span class="k2">(</span>std::string<span class="k2">(</span>buf<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">14</td><td>    temp <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_findnext" target="_blank"><span class="a">al_findnext</span></a><span class="k2">(</span><span class="k3">&amp;</span>info<span class="k2">)</span><span class="k2">;</span> <span class="c">// &lt;--- line 27, crash here</span></td></tr><tr><td class="number">15</td><td>  <span class="k2">}</span></td></tr><tr><td class="number">16</td><td>      </td></tr><tr><td class="number">17</td><td>  <a href="http://www.allegro.cc/manual/al_findclose" target="_blank"><span class="a">al_findclose</span></a><span class="k2">(</span><span class="k3">&amp;</span>info<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">18</td><td><span class="k2">}</span></td></tr></tbody></table></div></div><p>

<img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Mon, 09 Apr 2007 23:52:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Your binary crashes for me (Vista), but when I build it with VS 2005 it runs fine.</p><p>Edit: Attached is my executable.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 10 Apr 2007 01:43:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I can confirm that this version works.</p><p>[edit]<br />XP Home here.</p><p>[edit2]<br />Okay I got all entries working now. Found a copy of libpng13.dll, from last years tins entries <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Hard Rock)</author>
		<pubDate>Tue, 10 Apr 2007 02:03:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is the part I like the most about speedhack-like competitions. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rampage)</author>
		<pubDate>Tue, 10 Apr 2007 10:30:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Works fine on windows 2000 though my copy of allegro42.dll seems to be out of date, couldn&#39;t play Amarillion&#39;s game till I used the dll from the debug version from above.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (lambik)</author>
		<pubDate>Wed, 11 Apr 2007 00:21:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That would be it. I was using the allegro dll from this site for MSVC 8. When I took out the mingw version your original works. So it looks like it was a dll issue.</p><p>So are the MSVC dll and mingw dll incompatible? This doesn&#39;t look good, the whole point of having dll&#39;s is to be able to share 1 with multiple applications, but as it seems, it doesn&#39;t end up working that way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Hard Rock)</author>
		<pubDate>Wed, 11 Apr 2007 07:24:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;d just like to point out the reason my game doesn&#39;t end is because on line 40 of CORRIDOR.cpp I have &quot;==&quot; when it should be &quot;&lt;=&quot;.  It&#39;s as simple as that.  <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p>Oh, and amarillion, you did get my source code, yes?  It&#39;s not in the binary package above (I sent an email with the source code to ya).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Fri, 13 Apr 2007 10:24:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok, I guess static linking allegro should fix the bug in my entry.</p><p>Version 2 of the package is now available (linked above), with
</p><ul><li><p>libpng13.dll included
</p></li><li><p>static linked version of my entry &quot;eleven monkeys&quot;</p></li></ul><p>Onewing: Yes, I got it, thanks. The source of your entry should now be available from the entries page on the TINS site.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Sat, 14 Apr 2007 16:48:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>&quot;The procedure entry point _install_allegro_version_check could not be located in the dynamic link library allegro42.dll&quot;</p><p>So much for not breaking ABI in 4.2 <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matt Smith)</author>
		<pubDate>Sat, 14 Apr 2007 18:00:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The 4.2.0 DLL does not work with 4.2.1 games. It&#39;s not supposed to.
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
We will not be maintaining &quot;forwards compatibility&quot;, meaning that programs compiled with a newer release of Allegro may not necessarily run on a target system which has an older release of Allegro installed. You would have to upgrade the Allegro DLL on the target system. While we will try to minimise these kinds of forced upgrades, it should give us more flexibility within the stable series.
</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sat, 14 Apr 2007 20:15:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>i wanted to try some of them for the heck of it but couldnt, where can i get the dlls? IIRC there used to be an installer for this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (le_y_mistar)</author>
		<pubDate>Sat, 14 Apr 2007 20:35:37 +0000</pubDate>
	</item>
</rss>
