<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Open Source Zelda Classic</title>
		<link>http://www.allegro.cc/forums/view/616990</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 31 Aug 2017 07:37:50 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m making this thread to discuss open source, ZC, including compiling the source on various CMake configurations and compilers; particularly given the issue that Edgar encountered, so that there is a central place on allegro.cc to the ZC devs to pop in and work with the allegro forumers.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Mon, 31 Jul 2017 21:26:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can you give us a general layout of the build? Does it build allegro alongside ZC? What about the add-ons? How are those built/installed beforehand? Dependencies?</p><p>I was going to try a few things, but I&#39;m at work right now, so I&#39;ll come back to this later on.</p><p>Can I build ZC with my own version of allegro? You guys didn&#39;t do anything silly like <span class="source-code"><span class="p">#include &lt;allegro.h&gt;</span></span> did you?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 31 Jul 2017 22:18:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>They have their own complete Allegro fork that they patch. The docs say &quot;DO NOT USE stock allegro.&quot;</p><p>If I actually had free time, I&#39;d love to do it myself. It sounds like a fun project and 99% of my job is migrating old programs and old data from systems 10+ years out of support.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Tue, 01 Aug 2017 02:27:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Gah, that&#39;s a lot of source files, and a lot of dependencies.</p><p>I was going to try and simplify it, but I don&#39;t even know what to build, and in what order.</p><p>Read README.MD and still a little clueless.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 01 Aug 2017 03:56:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, ZC brings back memories of AG. Current AG is small compared to AG of old <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />. I thought ZC had gotten into problems in the early 2000s so I&#39;m glad to see I was wrong. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Specter Phoenix)</author>
		<pubDate>Tue, 01 Aug 2017 04:06:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><s>What&#39;s AG?</s> Armageddon Games.</p><p>I have fond memories of Zelda Classic.  It was my first introduction to the original Zelda.  They did a great job with it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Tue, 01 Aug 2017 05:32:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, I was part of AG back when they had an anime discussion forum where they had a thread of thousands of Anime pics that were of a racy nature. They did away with that years ago I believe. I don&#39;t even recall my username on there anymore.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Specter Phoenix)</author>
		<pubDate>Tue, 01 Aug 2017 07:03:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>#include &quot;allegro.h&quot; is everywhere. Every drawing facet relies on allegro. How could it not be?</p><p>The Allegro libs are not compiled with ZC though. The ZC binaries rely on a precompiled allegro44.dll, that must be produced with the custom Allegro build, first. </p><p>AGN has never gone away. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>The codebase is gigantic, and it does rely on quite a few deps. Most of these are for audio, compression, and similar stuff. One gigantic thing that differs, is that the quest file structure uses a password mechanic, so many otherwise clean calls are wrapped in, or require a packfile_password call. </p><p>I should have linked to the GitHub page in the OP:</p><p><a href="https://github.com/ArmageddonGames/ZeldaClassic">https://github.com/ArmageddonGames/ZeldaClassic</a></p><p>The &#39;master&#39; branch is the future, &#39;2.60&#39; WIP stuff, and the current &#39;stable&#39; is in the 2.50.x branch. ( That reflects v2.53.0. )
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Tue, 01 Aug 2017 13:48:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031875#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>
You guys didn&#39;t do anything silly like <span class="source-code"><span class="p">#include &lt;allegro.h&gt;</span></span> did you?
</p></div></div><p>

</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031895#target">ZoriaRPG</a> said:</div><div class="quote"><p>
#include &quot;allegro.h&quot; is everywhere. Every drawing facet relies on allegro. How could it not be?
</p></div></div><p>
You mistook my meaning. #include&#39;ing by quotation marks is fine, but angle brackets is not, because then it expects to find the library in the system header location, which is bad, because you never want to install libraries in your compiler directories if you don&#39;t have to.</p><p>What I want to know is, is it possible to use my own allegro and dependencies that I provide? Because I know for sure that there will be binary compatibility faults between your pre-compiled allegro and any compilation of ZC by me because they used different compilers.</p><p>Basically, I need to compile your entire source librar(ies) and dependencies myself, so I need to know which files belong to which project, and what depends on what. Also, what is optional and what is not. Your cmake build script doesn&#39;t provide many options. At the very least, it should include options where to find allegro and the dependencies it needs. There should be an include and lib option for each dependency. Shared and static build options would be nice too, but aren&#39;t strictly necessary.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 02 Aug 2017 01:16:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I disagree, angled brackets indicate the header is in &quot;a&quot; system-wide location that is not relative to the current directory you are building (if a file happens to have this name in current directory, it must ignore it). It does not imply that it will be the same directory as the compiler&#39;s standard libraries : it&#39;s the build system&#39;s job to provide the specific locations.</p><p>Switching from one version of allegro 3 / 4 to an other can be as easy as setting two  options in a game&#39;s makefile : -I /mingw/include/older/allegro3.9.35 and -L/mingw/lib/older/allegro3.9.35
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Wed, 02 Aug 2017 05:41:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031904#target">Edgar Reynaldo</a> said:</div><div class="quote"><p> You mistook my meaning. #include&#39;ing by quotation marks is fine, but angle brackets is not, because then it expects to find the library in the system header location, which is bad, because you never want to install libraries in your compiler directories if you don&#39;t have to.</p></div></div><p>

As far as I am aware, in cpp, if the compiler fails to find the quoted header at a local level, it shifts to the system-wide &lt;header&gt;. If you were worried that we hardcoded to use a system-wide, when we use a customised header, then no, we never did <i>that</i>.</p><p>I did notice your use of angle braces, but I did not instantly infer that your were specifying them. Sorry for the confusion. </p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What I want to know is, is it possible to use my own allegro and dependencies that I provide? Because I know for sure that there will be binary compatibility faults between your pre-compiled allegro and any compilation of ZC by me because they used different compilers.
</p></div></div><p>

A few things. Allegro must be static-linked, to work with this. If you use your own allegro lib that is static linked, it might work, but expect either pixel corruption, data issues, or plain old crashing. I ran into several issues trying to use a dynamically linked lib for Allegro 4.4.3 about a year back, that caused ZC to crash whenever it tried to use audio files in the packfiles.</p><p>Building the deps, for Linux: I&#39;m unsure. I have some older .a files floating around, but this has been a major snag. No-one has been able to get a Linux build out recently, because they all have some sort of flaw. </p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Basically, I need to compile your entire source librar(ies) and dependencies myself, so I need to know which files belong to which project, and what depends on what. Also, what is optional and what is not. Your cmake build script doesn&#39;t provide many options. At the very least, it should include options where to find allegro and the dependencies it needs. There should be an include and lib option for each dependency. Shared and static build options would be nice too, but aren&#39;t strictly necessary. </p></div></div><p>

I&#39;m not the one that manages the CMake configs <i>at all</i>. I&#39;m not even a CMake bloke.  You want to work with :</p><div class="quote_container"><div class="title">DarkDragon said:</div><div class="quote"><p>[...]</p></div></div><p>

As he created the CMake stuff for ZC. Any improvements for the CMake stuff are of course, quite welcome; so perhaps you and he can fix this for Linux. I will point Grayswandir over here too, as he is the only one of us using Linux at present. </p><p>We used to have plain old makefiles for these things, but every compiler is different, and that became a huge tangled mess. I shifted from using MinGW (on Windows) to MSVC 2008, because of the CMake shift. I simply do not know enough about CMake at present, to fix these things. It is so far past my generation, that it requires me to study it in depth, which requires more time than I have to spare, while I work on the rest of this mess.</p><p>In the interim, see if the files in /libs/Linux or libs/MinGW still work. </p><p>The minimum requirements are in /include:</p><p>almp3<br />alogg<br />dumb<br />gme<br />jpgalleg-2.5<br />loadpng<br />lping1212<br />pthread<br />zlib123</p><p>Some of these need to be updated, too--<i>cough, cough, GME; what version now?</i>--. If you see stuff here that Allegro 4.4.3 handles natively that we are wasting time using, let us know.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Wed, 02 Aug 2017 07:53:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="https://www.allegro.cc/forums/thread/616990/1031904#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>
You mistook my meaning. #include&#39;ing by quotation marks is fine, but angle brackets is not, because then it expects to find the library in the system header location, which is bad, because you never want to install libraries in your compiler directories if you don&#39;t have to.
</p></div></div><p>

This advice sounds Windows specific, and only because Windows is such a <span class="cuss"><span><span class="cuss"><span>shit</span></span></span></span>show. In *nixes, you&#39;d expect to find libraries in the &quot;system&quot; locations (i.e., <tt>/usr/include</tt> and <tt>/usr/lib</tt>). It&#39;s not weird at all. It makes perfect sense. Windows is the ecosystem that doesn&#39;t make any sense.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 02 Aug 2017 08:14:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031909#target">Audric</a> said:</div><div class="quote"><p>I disagree, angled brackets indicate the header is in &quot;a&quot; system-wide location that is not relative to the current directory</p></div></div><p>

I agree with you.  I use angle brackets all the time, because I have my compiler&#39;s directory, but I also have my own separate directory for added libraries which I include in the search folders the compiler looks in.</p><p>One should only use quotes for local headers.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Wed, 02 Aug 2017 09:52:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Audric is right. For reference:<br /><a href="https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html">https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html</a><br /><a href="https://docs.microsoft.com/en-gb/cpp/preprocessor/hash-include-directive-c-cpp">https://docs.microsoft.com/en-gb/cpp/preprocessor/hash-include-directive-c-cpp</a><br />It is possible to specify the sequence of searched paths completely, <i>if you want</i>. Otherwise you get the compiler&#39;s defaults.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Wed, 02 Aug 2017 11:06:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can also set up compiler-specific include paths, in most instances. Many IDEs allow adding a number of include paths, as well. Nothing makes a mess like having nine separate include paths for any given project; but it is nice to have a choice when you have a default, and a custom set of <i>something</i>.</p><p>Quoted includes are relative. That is the key facet, and I am not certain that the <i>precise handling of that relativity</i> is identical in all newer implementations of C and Cpp, and on every compiler (or environment). </p><p>It&#39;s one of those things that you think would be cleverer. </p><p>On Windows include &lt;foo&gt; will include from a path specified to the compiler, or environmental base. This can become broken, with some systems. Let&#39;s examine MinGW:</p><p>The typical MinGW system on Windows, also includes MSYS. The gcc compiler for MinGW, and the gcc compiler for MSYS, pull their include path from two entirely different places in the filesystem. If you have a makefile, and run it in MinGW-make, the results can be wildly different than if you ran it in MSYS with make. </p><p>I have experienced this first-hand.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Wed, 02 Aug 2017 14:29:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried to compile on Linux. It nearly worked first time, I just had to copy <span class="source-code">alunixac.h</span> to <span class="source-code">allegro<span class="k3">/</span>include<span class="k3">/</span>allegro<span class="k3">/</span>platform</span>.</p><p>Well done to all concerned! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>However I&#39;ve now got three executables, zelda, romview and zquest, none of which do anything when run. </p><p>What&#39;s next? I guess I am missing some data files? I couldn&#39;t get the information from the wiki.</p><p>Cheers,<br />Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Wed, 02 Aug 2017 18:01:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You need the 2.50.2 Linux data files. Grab ZC 2.50.2 for Linux from here:</p><p><a href="http://www.zeldaclassic.com/download/100/">http://www.zeldaclassic.com/download/100/</a></p><p>Un-gzip it, and then drop your binaries into the path. The 2.50.2 executables all have a -l in their filename, and your new executables should not. </p><p>Don&#39;t forget to put the allegro44 lib and the new sound lib into the path. </p><p>What compiler did you use, and what Linux distro? Did you use the modified allegro 4.4 files when building the allegro 4.4 libs, or are you using a stock comfiguration?</p><p>Please let us know if you have sound, presuming that it runs without crashing, or having any other critical bugs. </p><p>ROMView should only need the alleg44 library file to run.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Wed, 02 Aug 2017 21:01:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You might want to ask whether <a href="https://aur.archlinux.org/packages/zelda-classic/">this package maintainer</a> built ZC himself, given the <a href="https://www.dropbox.com/s/fnipdbanjm8bf2v/zc-2-50-2-linux.tar.gz">upstream link.</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Thu, 03 Aug 2017 11:16:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>To answer your questions: I used Lubuntu 17.04 and GCC 6. I used &#39;your&#39; allegro and other libraries, as supplied from github.</p><p>As far as I can tell with <span class="source-code">ldd</span>, everything is statically-linked so I just copied the executable files across. </p><p>It did run. I got no sound with the version I built but the 2.50.2 version did have sound. I possibly haven&#39;t got the right development packages installed for sound, so it was skipped during build. I&#39;ll check that.</p><p>Unfortunately once the game starts, Link runs up to the top of the screen and then as far left as he can go, without me pressing anything. In fact, nothing I press apart from ESC does anything. This happens with &#39;my&#39; version <i>and</i> with 2.50.2. I think that may be the game logic rather than Allegro since I can navigate the menus using the keyboard.</p><p>On the development side, I couldn&#39;t get the embedded version of Allegro to build at all, the makefiles just reported there was nothing to do. Unfortunately I have no skills with CMake whatsoever, so I don&#39;t know why.</p><p>Hope that helps,<br />Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Thu, 03 Aug 2017 12:02:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031944#target">Peter Hull</a> said:</div><div class="quote"><p>
Unfortunately once the game starts, Link runs up to the top of the screen and then as far left as he can go, without me pressing anything. In fact, nothing I press apart from ESC does anything. 
</p></div></div><p>
Do you have a joystick? I haven&#39;t tried the codebase myself, but that&#39;s a common joystick-is-plugged-in failure mode for applications/games.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Thu, 03 Aug 2017 22:50:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031961#target">Chris Katko</a> said:</div><div class="quote"><p> Do you have a joystick?
</p></div></div><p>No. Good point though, I&#39;ve come across that, too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 04 Aug 2017 01:00:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Do you have a laptop? if so, it could be the accelerometer in your display, acting as a joystick. We ran into this with several Linux users, and that is clearly an allegro-side issue, because ag4 has no idea how to interface with it. </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031944#target">Peter Hull</a> said:</div><div class="quote"><p>On the development side, I couldn&#39;t get the embedded version of Allegro to build at all, the makefiles just reported there was nothing to do. Unfortunately I have no skills with CMake whatsoever, so I don&#39;t know why.</p></div></div><p>

Eh? What do you qualify as our &#39;embedded&#39; allegro?</p><p>The sound issue is precisely what Grayswandir ran into. I do not understand what is causing it, but it seems to be a problem related to building allegro, and linking the sound libs, on newer Linux systems.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Fri, 04 Aug 2017 04:31:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I did create the CMake configuration (but I&#39;m by no means a CMake expert, so please let me know if there are things that need fixing). In particular I didn&#39;t put in any config options for getting ZC to compile using MinGW (MSVC 2008 or higher should work).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DarkDragon)</author>
		<pubDate>Fri, 04 Aug 2017 12:28:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031968#target">ZoriaRPG</a> said:</div><div class="quote"><p> Do you have a laptop? if so, it could be the accelerometer in your display, acting as a joystick. 
</p></div></div><p>No, it&#39;s not a laptop.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> Eh? What do you qualify as our &#39;embedded&#39; allegro?
</p></div></div><p>Sorry, bad terminology. I mean the modified allegro that&#39;s part of the ZC github repository. I used that, rather than stock allegro from the Ubuntu apt package.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 04 Aug 2017 15:37:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;d love to help get this building with CMake and MinGW, but unless somebody informs me as to the organization of the modules I can&#39;t really help and don&#39;t want to.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 04 Aug 2017 23:55:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not sure what you mean by &quot;organization of the modules&quot;?</p><p>1) Do you mean the compilation targets? </p><p>There are four: zcsound (a library used by the other targets), romview (a small helper utility), zelda (the main program that plays the game), and zquest (the main editor program).</p><p>2) Do you mean the literal modules? They are listed in plain text in the /modules folder. The CMake script parses the files and creates a list of sources accordingly. But this part of the CMake script should be 100% platform-independent and you shouldn&#39;t need to touch it.</p><p>3) Do you mean the external libraries? They&#39;re described in the README, I believe. The sources for all external libraries are in the zip files in the &quot;other&quot; folder. We do not have any scripts for building these dependencies; you will have to figure out how to use whatever scripts they provide themselves.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1031875#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>Does it build allegro alongside ZC?</p></div></div><p>
No. 
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>What about the add-ons?</p></div></div><p>
No. As mentioned above, the add-on sources are provided but there is no CMake file to build the dependencies. 
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>How are those built/installed beforehand? Dependencies?</p></div></div><p>
Binaries are built and stored in /libs. Most developers don&#39;t touch these since the dependencies are painful to configure and build; obviously if you want to link in a different version of Allegro you will have to rebuild them though.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Can I build ZC with my own version of allegro? You guys didn&#39;t do anything silly like #include &lt;allegro.h&gt; did you?</p></div></div><p>
Ahahaha! Um... yeah, the entire Allegro header tree is duplicated in /allegro because different parts of the code #include various internal Allegro headers. I agree that&#39;s far from ideal but not trivial to fix...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DarkDragon)</author>
		<pubDate>Sat, 05 Aug 2017 07:42:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Peter Hull said:</div><div class="quote"><p> [...] </p></div></div><p>

Please ZIP up the package that you built, and I will test it on 10.04. I do no tknow what had changed from 2011 to 2017 in the *ubuntu distros, except that when I tried to run a much later version of most of my hardware, it did not even recognise my trackpad as an input device, so I just stopped caring.</p><p>They dropped kexts, probably in a massive way, I would think. </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032004#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>I&#39;d love to help get this building with CMake and MinGW, but unless somebody informs me as to the organization of the modules I can&#39;t really help and don&#39;t want to. </p></div></div><p>

We do need some kind of explanation of the file branching on GH. That is certainly true, and it needs to remain current. DD and Gleeok also added all of the backend and other modules, that are newer than the last version that compiled (via a makefile) in MinGW. </p><p>I can certainly send you <i>that</i> if you want it too; but clearly this is something that needs to be resolved on the home front.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Sat, 05 Aug 2017 08:04:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t know what you&#39;re referring to, ZoriaRPG. There are two active branches, with clear-cut purposes: 2.50.x and master. The 2.50.x is a maintenance branch for bug fixes to the 2.50 line of releases. Master contains the current development code.</p><p>If you&#39;re trying to update the CMake scripts, you should do so on one of these two branches (only). I prefer master since the master branch contains some cleanup of CMakeLists which probably makes it easier to use and modify.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DarkDragon)</author>
		<pubDate>Sat, 05 Aug 2017 08:41:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey guys, I&#39;m trying to build latest Allegro 4.4.3 from GIT with your patches applied, and it fails to build properly with some missing declaration errors. Can you take a look and see if there is code missing which you have applied to your own fork of Allegro?</p><p><a href="https://www.allegro.cc/forums/thread/616995">https://www.allegro.cc/forums/thread/616995</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 05 Aug 2017 08:47:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK, solved the movement problem - Linux was registering my trackpad as a joystick, but one that was permanently jammed in the top left position. Go figure.<br />Anyway, a 
</p><pre>
[joystick]
joystick_device=/dev/null
</pre><p>
in <span class="source-code">ag.cfg</span> sorted that out <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Next, I&#39;ll look at the sound. <span class="source-code">allegro.log</span> just says that sound driver is disabled.</p><p>By the way, I&#39;m not sure if you (ZC developers) are asking for help, or what sort of help you want. Anyway I am happy to have a poke around the code and test it on Linux for you. I also have a Mac but I&#39;m pretty sure nothing using Allegro 4 works on recent macOS. </p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sat, 05 Aug 2017 13:59:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032033#target">Peter Hull</a> said:</div><div class="quote"><p>
Linux was registering my trackpad as a joystick, 
</p></div></div><p>
<b>BOOYA!</b>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sun, 06 Aug 2017 01:39:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, that was a good call.  Every once in a while, someone makes a useful post here.  (It&#39;s how we <a href="https://www.allegro.cc/forums/thread/616950/">don&#39;t die.)</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Sun, 06 Aug 2017 05:15:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Chris Katko - cakes for you, humble pie for me! Sorry I forgot to give you credit for your insight (I got distracted in the middle of writing that post)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sun, 06 Aug 2017 12:24:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032033#target">Peter Hull</a> said:</div><div class="quote"><p>

OK, solved the movement problem - Linux was registering my trackpad as a joystick, but one that was permanently jammed in the top left position. Go figure.<br />Anyway, a</p><p>[joystick]<br />joystick_device=/dev/null</p><p>in ag.cfg sorted that out <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Next, I&#39;ll look at the sound. allegro.log just says that sound driver is disabled.</p><p>By the way, I&#39;m not sure if you (ZC developers) are asking for help, or what sort of help you want. Anyway I am happy to have a poke around the code and test it on Linux for you. I also have a Mac but I&#39;m pretty sure nothing using Allegro 4 works on recent macOS.</p><p>Pete
</p></div></div><p>

I have been suspecting that Allegro&#39;s MIDI and DIGI drivers simply do not work on newer Linux systems. Something in the kernel extensions, or driver support that comes with them; or a missing dep; perhaps?</p><p>ZC <i>does</i> work on OSX, through to the latest releases, although that idiotic security feature that Apple introduced requires workarounds. We need to package ZC for OSX using an installer in the future. </p><p>Good to see that you sorted the joystick issue. Why your trackpad was read as one is beyond me, but as I mentioned, I had issues using my system trackpad on 12.10. </p><p>If you upload the binaries that you compiled, and the Linx allegro libs, I will try them on my old 10,04 netbook.</p><p>Is your trackpad a standalone USB device, or is it part of an integrated keyboard+trackpad unit?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Sun, 06 Aug 2017 19:47:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032050#target">ZoriaRPG</a> said:</div><div class="quote"><p> I have been suspecting that Allegro&#39;s MIDI and DIGI drivers simply do not work on newer Linux systems.</p></div></div><p>You are either half right or half wrong; take your pick.  A number of older programs I&#39;ve compiled against Allegro 4.4 on a fairly up-to-date system (kernel 4.12) have required <tt>MIDI_NONE</tt> in order for <tt>install_audio()</tt> to successfully return.  I recently compiled a SpeedHack entry from 2002, and the only Allegro-specific patching it required was <tt>MIDI_NONE</tt>.  (Other patching involved the C standard, which has apparently changed more than Allegro&#39;s API over the same period of time.)</p><p>As for possible explanations and solutions (for when MIDI is absolutely necessary), perhaps someone closer to Allegro&#39;s source can comment.</p><p>Anyway, what about the A4 example programs?  Can you get MIDI output from them?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Mon, 07 Aug 2017 10:55:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032019#target">DarkDragon</a> said:</div><div class="quote"><p>

I don&#39;t know what you&#39;re referring to, ZoriaRPG. There are two active branches, with clear-cut purposes: 2.50.x and master. The 2.50.x is a maintenance branch for bug fixes to the 2.50 line of releases. Master contains the current development code.</p><p>If you&#39;re trying to update the CMake scripts, you should do so on one of these two branches (only). I prefer master since the master branch contains some cleanup of CMakeLists which probably makes it easier to use and modify.
</p></div></div><p>

Bad nomenclature. I meant, that we need explanations on the <i>paths</i> and the includes, and such, in the readme.md file, although we could probably use a disclaimer in the readme.md file on the purpose of each branch in the tree, too. </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032057#target">Gideon Weems</a> said:</div><div class="quote"><p>You are either half right or half wrong; take your pick. A number of older programs I&#39;ve compiled against Allegro 4.4 on a fairly up-to-date system (kernel 4.12) have required MIDI_NONE in order for install_audio() to successfully return. I recently compiled a SpeedHack entry from 2002, and the only Allegro-specific patching it required was MIDI_NONE. (Other patching involved the C standard, which has apparently changed more than Allegro&#39;s API over the same period of time.)</p><p>As for possible explanations and solutions (for when MIDI is absolutely necessary), perhaps someone closer to Allegro&#39;s source can comment.</p><p>Anyway, what about the A4 example programs? Can you get MIDI output from them? 
</p></div></div><p>

I do not have a Linux system with this issue, but I will ask Grayswandir to try them. He is supposed to be signing up here to contribute to this thread. I am unsure what would have been disabled (in the Linux kernel) that is mucking up the allegro MIDI drivers. We may need to go with another MIDI system for our stuff, which I was considering anyway.</p><p>I would love to add MIDI + SoundFont support, but I&#39;m not sure what libraries to use for that--any suggestions?. Obviously if there is a way to fix the allegro MIDI support, that would be fantastic, but I suspect that the access method is simply deprecated in the kernel. </p><p>Did other allegro sound routines (digital sound files, WAV and so forth), alogg, and almp3 work when you did this?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Wed, 09 Aug 2017 03:42:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>@Edgar Reynaldo, yes I missed an #include &quot;wddraw.h&quot; when applying the patches. Sorry about that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DarkDragon)</author>
		<pubDate>Fri, 11 Aug 2017 11:18:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Found a bug!<br />Start a game, head right from the start screen and die there.<br />Play again, head right again.<br />Game crashes with an assert, <a href="https://github.com/ArmageddonGames/ZeldaClassic/blob/master/src/quest/Quest.cpp#L34">here</a></p><p>This is on Linux using the code from github. I haven&#39;t tried it with the released version, or other platforms.</p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 11 Aug 2017 12:57:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Which commit are you using? I believe I fixed this issue a few days ago (c86bd1b464fb80da557df1d1593e43d074c3e656)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DarkDragon)</author>
		<pubDate>Fri, 11 Aug 2017 20:18:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032076#target">ZoriaRPG</a> said:</div><div class="quote"><p> Did other allegro sound routines (digital sound files, WAV and so forth), alogg, and almp3 work when you did this?</p></div></div><p>WAV worked fine, though I have yet to run across programs using alogg/almp3.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I would love to add MIDI + SoundFont support, but I&#39;m not sure what libraries to use for that--any suggestions?</p></div></div><p>At that point, I would consider replacing MIDI with MOD.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Fri, 11 Aug 2017 23:17:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>With FluidSyth it&#39;s possible to support MIDI under Allegro5 relatively easily, it seems. </p><p><a href="https://sourceforge.net/p/dunedynasty/dunedynasty/ci/f5a884821842ea9b414515f2742fccf4c45658a0/tree/src/audio/allegro_midi.cpp">https://sourceforge.net/p/dunedynasty/dunedynasty/ci/f5a884821842ea9b414515f2742fccf4c45658a0/tree/src/audio/allegro_midi.cpp</a></p><p>Personally, to assist this project, I&#39;d be interesting either in working on my a4a5 compatibility bridge idea, or, perhaps moreso, in making A5 plugins for Midi, packfiles, and other A4 features missing from A5.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Sat, 12 Aug 2017 04:29:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>SiegeLord applied the patch to GIT, and the binaries I built are on the dev board.</p><p>I&#39;m gonna try my hand at learning CMake and trying to make a CMakeLists.txt for each ZC dependency. If I can get those all built properly then I can try building ZC. I wanna play it bad, but I want to play my own build for some strange reason.</p><p>Edit<br />I never played ZC all the way through. I kept trying to borrow it from my brother but he never let me play it except at his house. And that was years ago back on the NES. I still have mine, and it works if you treat the cartridges nice.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 12 Aug 2017 09:13:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><b>Lots of quotes here, so please bear with me...</b></p><p>The <b>tl;dr</b> is that we need to fix the KB issue, and the colour conversion slowdown on Windows, plus the audio issues on Linux. </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032110#target">Gideon Weems</a> said:</div><div class="quote"><p>At that point, I would consider replacing MIDI with MOD. </p></div></div><p>

This is not an option for us. Our userbase is very heavily MIDI-dependent. I have been looking at all of the various allegro config options for MIDI drivers, so if any of you could try setting various config options to see what works, and find one, please report it to us, so that we know what&#39;s going on with this thing.</p><p>I&#39;m thinking that this may be an ALSA issue, too. I wish that I knew what changed in the Linux kernel that is causing this, but I have not been keeping pace with Linux stuff in the last five years. </p><p>(I run Ubuntu 10.04.)</p><p>I&#39;m thinking that some of the tid-bits here may apply to this: <a href="https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI">https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI</a></p><p>Setting the specific MIDI driver used by the kernel, may fix the issue. Allegro simply needs to know where to find it. </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032115#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>SiegeLord applied the patch to GIT, and the binaries I built are on the dev board.</p></div></div><p>

I grabbed the bins. We still need some kind of fix for the threading issue (keyboard input), and I should mention that on WIndows (and on OSX), fullscreen display has serious issues if you use -bit video bitmaps. Our fix, was to blit our -bit memory bitmap to a 24/32b memory bitmap. </p><p>I&#39;m not sure if any combination of compiler, OS version, or libs, would help with that issue, as it seems to be related to changes in DirectDraw/DirectX. OSX in general, no longer supports dropping to an 8-bit plane without heavy-handed forcing the mode, which is just silly.</p><p> </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032106#target">Peter Hull</a> said:</div><div class="quote"><p>Found a bug!<br />Start a game, head right from the start screen and die there.<br />Play again, head right again.<br />Game crashes with an assert, here [github.com]</p><p>This is on Linux using the code from github. I haven&#39;t tried it with the released version, or other platforms.</p></div></div><p>

Which branch, master or 2.50.x?</p><p><b>Note:</b> Fixing both the threading issue (keyboard input) and the Linux audio issues are my main concern at this point. Any help here, even casual, is very useful, and I would appreciate it. </p><div class="quote_container"><div class="title">Beoran said:</div><div class="quote"><p>Personally, to assist this project, I&#39;d be interesting either in working on my a4a5 compatibility bridge idea, or, perhaps moreso, in making A5 plugins for Midi, packfiles, and other A4 features missing from A5. </p></div></div><p>

As I have said, the a4a5 thing seems ideal, to me. Adding ag5 plugins for all of the missing a4 elements seems like as much work, and it may have other shortcomings. Using ag4 and ag5 at the same time, to permit a slow transition, would solve most of our major concerns. In fact, if we could use a5 input, that would be very beneficial.</p><p>Ag5 supports TTFs now, right? I was going to try to get alfont.h working, so that we can add TTF support, but if this transition layer works, and we can use the ag5 string drawing to an ag4 bitmap, holy hell, that would be brilliant. </p><p><b>Reharding CMake</b> This is also a learning curve thing for me. Until ZC moved to CMake, I rarely, if ever, used it. I am in no state to fix the CMake lists, as I would need to learn the same stuff as everyone else here seems to need to learn, and I do not have all of the systems and compilers at my disposal, to test this stuff. </p><p>I&#39;m in the process of trying to acquire a dirt cheap OSX laptop--all of my Mac stuff is PPC, not Intel--and trying the Code::Blocks config. I expect that to be broken too, and I will eventually need to learn CMake, but well, finite time, and lots of work-related worries at present. </p><p><u><b>Some ZC Notes</b></u></p><p>The ZC Repo is set up with two main branches:</p><p><i>Master</i> This represents the &#39;next gen&#39; main release, dubbed 2.60. All of the most radical changes are going into this. </p><p><i>2.50.x</i> This represents the latest planned &#39;stable; release, dubbed 2.53.0. THis build is my present priority, to get out a final build for the 2.50.x line. </p><p><i>Undetermined</i>i also plan to do interim-releases of 2.54, and 2.55, incorporating new features, and fixes, as a user-transition phase until 2.60 is ready. I was originally hoping that <i>master</i> would be 2.55, but the scope of the planned changes, improvements, and other new stuff keeps pushing it forward. Feature creep is taking over, and it seems that it will take a while to solidify the plans. </p><p>Once I have 2.53.0 done and ready, I can focus on both master, and some kind of interim release. My goal, is to see one major release every 6 to 12 months, from this point onward. </p><p>One <u>major user concern</u> in the present 2.53.0 betas is that the framerate was halved, seemingly caused by the lack of ASM routines for colour conversion. I do not know if this is an <i>allegro bug</i>, or an artefact of how the libs were compiled. If you run 2.50.2, and 2.53.0-beta2 sie-by-side, the maximum FLS is <b>halved</b> for the latter.</p><p>For vanilla stuff, this is not a huge issue, but once you factor in scripting events, this can be a major issue, particularly on older HW, which many of the people in the ZC community still use. </p><p>I&#39;ll try compiling the latest 4.4.3 repo next week,a nd see if my compilation produces any different results. For those interested, I am using:</p><div class="source-code snippet"><div class="inner"><pre><span class="k2">[</span>graphics<span class="k2">]</span>
disable_direct_updating<span class="k3">=</span><span class="n">1</span>
gfx_cardw<span class="k3">=</span>DXWN
gfx_card <span class="k3">=</span> DXAC
</pre></div></div><p>

...in ag.cfg. </p><p>This is on Windows. I&#39;m not sure how any of this affects Linux, save that on my old Inspiron 910, running ZQ using Ubuntu 10.04LTE with Gnome, was unplayably slow, in a stock, non-scripted quest, whereas on the exact same system running Win XP it was super-fast.</p><p>Once I acquire more parts, i will rebuild my second Dell E6430, running 10.04, and 12.10, and see what happens. I can run that side-by-side with my E6430 running Win 7, to compare. </p><p><b>if any of you know in what Linux kernel the changes were introduced that affect MIDI drivers, please let me know, </b>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Sat, 12 Aug 2017 16:46:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032116#target">ZoriaRPG</a> said:</div><div class="quote"><p> Which branch, master or 2.50.x?
</p></div></div><p>Master. It was indeed fixed by DarkDragon&#39;s commit (as mentioned above)</p><p>I&#39;ve now got digi sound working on Lubuntu but no midi yet. This was using the Allegro provided by the distro and choosing the sound card manually (ALSA in my case). So we are getting there.</p><p>As an aside, I also tried on 64-bit Linux. I had to find all the source code for alogg etc. and recompile them as 64 bit libraries. It compiles and runs, but can&#39;t load the quest files. There are some assumptions about the size of various integers (specifically that long is 32 bits) which I believe will require some quite extensive fixing if you go down that route - see <a href="https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models">https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models</a></p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Mon, 14 Aug 2017 18:22:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Pete, you cannot compile as 64b. The short of this, is that we support old c++03, which has no idea how to handle newer types. I&#39;m pretty sure that fixed.h would cause massive issues, too. </p><p>For audio, perhaps the JACK driver might be better?</p><p>I;m thinking that you need to figure out what your system MIDI device is, and set it in ag.cfg. For ALSA, The TiMIDI FAQ has some useful information on configurations:</p><p><a href="https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI">https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI</a></p><p><b> The tl;dr </b></p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span>Find the device name of the Virtual Raw <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> port. Since I went with the first Raw <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> port, the device name I want is hw:1,<span class="n">0</span>.
<span class="number">  2</span>
<span class="number">  3</span>amidi <span class="k3">-</span>l
<span class="number">  4</span>
<span class="number">  5</span>Device    Name
<span class="number">  6</span>hw:0,<span class="n">0</span>    MPU-401 <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> <span class="n">0</span><span class="k3">-</span><span class="n">0</span>
<span class="number">  7</span>hw:1,<span class="n">0</span>    Virtual Raw <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> <span class="k2">(</span><span class="n">16</span> subdevices<span class="k2">)</span>
<span class="number">  8</span>hw:1,<span class="n">1</span>    Virtual Raw <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> <span class="k2">(</span><span class="n">16</span> subdevices<span class="k2">)</span>
<span class="number">  9</span>hw:1,<span class="n">2</span>    Virtual Raw <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> <span class="k2">(</span><span class="n">16</span> subdevices<span class="k2">)</span>
<span class="number"> 10</span>hw:1,<span class="n">3</span>    Virtual Raw <a href="http://www.allegro.cc/manual/MIDI"><span class="a">MIDI</span></a> <span class="k2">(</span><span class="n">16</span> subdevices<span class="k2">)</span>
<span class="number"> 11</span>
<span class="number"> 12</span>Finally we <a href="http://www.delorie.com/djgpp/doc/libc/libc_813.html" target="_blank">tell</a> Allegro to use that device in allegro.cfg.
<span class="number"> 13</span>
<span class="number"> 14</span><span class="k2">[</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_735.html" target="_blank">sound</a><span class="k2">]</span>
<span class="number"> 15</span>...
<span class="number"> 16</span>alsa_rawmidi_device <span class="k3">=</span> hw:1,<span class="n">0</span>
</div></div><p>

I&#39;m also posting DarkDragon&#39;s allegro+ZC libs building steps (Windows, MSVC) here:</p><div class="quote_container"><div class="title">DarkDragon said:</div><div class="quote"><p>
1. Run Allegro&#39;s CMake with SHARED set to true (checked).<br />2. Compile Allegro (only). This will generate alleg44.lib and alleg44.dll.<br />3. Run Allegro&#39;s CMake with SHARED set to false (unchecked).<br />4. Compile loadpng and jpgalleg (only). This will generate jpgalleg.lib and loadpng.lib (no .dlls).<br />5. Copy all .libs into libs/win32 in your ZC folder<br />6. Rename jpgalleg.lib to libjpgal.lib (or alternatively, change the name in CMakeLists.txt).<br />7. Build ZC<br />8. Copy alleg44.dll into whichever folder you are running the ZC .exes from.</p><p>Alternatively, you can skip steps 3-8 and instead build jpgalleg and loadpng from the standalone source, like we used to do (sources are in other/ldpng15.zip and other/jpgalleg-2.5.tar). These don&#39;t have Visual Studio projects so you&#39;ll have to configure and build them yourself (way easier than CMake, amirite?) </p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Mon, 14 Aug 2017 23:53:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032143#target">ZoriaRPG</a> said:</div><div class="quote"><p> Pete, you cannot compile as 64b. The short of this, is that we support old c++03, which has no idea how to handle newer types. 
</p></div></div><p>I don&#39;t think it&#39;s new types as such, just that the code assumes in several places that <span class="source-code"><span class="k1">long</span></span> is 32 bit (particularly reading from dat files). It&#39;s just a bit tricky because void pointers are used (e.g. <span class="source-code">p_igetl</span>) which stops the compiler from spotting all the problems. Furthermore there are things like <span class="source-code">enemy::dmiscs</span> which are defined as long but probably don&#39;t <i>really</i> need to be 64-bit integers. Anyway  I agree this doesn&#39;t seem to be a priority just now, I&#39;m just flagging it up. </p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I&#39;m pretty sure that fixed.h would cause massive issues, too.
</p></div></div><p>The latest commit to <span class="source-code">fixed.h</span> is <a href="https://github.com/liballeg/allegro5/commit/3717491b106f9ea57f383da6f638d900103fab50">&quot;Made Allegro more 64-bit friendly&quot;</a>; I think it&#39;s OK.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> For audio, perhaps the JACK driver might be better?
</p></div></div><p>I tried all the Linux drivers using <span class="source-code"><a href="http://www.allegro.cc/manual/detect_digi_driver"><span class="a">detect_digi_driver</span></a></span>, ALSA was the only one that didn&#39;t return -1. Likewise for <span class="source-code"><a href="http://www.allegro.cc/manual/detect_midi_driver"><span class="a">detect_midi_driver</span></a></span>. Is JACK something that can be installed? I&#39;ll check.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I;m thinking that you need to figure out what your system MIDI device is, and set it in ag.cfg. For ALSA, The TiMIDI FAQ has some useful information on configurations:
</p></div></div><p>I can but try. I have had timidity working in the distant past but it was very CPU intensive.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Tue, 15 Aug 2017 00:52:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032145#target">Peter Hull</a> said:</div><div class="quote"><p>  just that the code assumes in several places that long is 32 bit (particularly reading from dat files). </p></div></div><p>Aren&#39;t u32 and u64 implemented in just about all compilers by now?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Tue, 15 Aug 2017 02:16:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The issue isn&#39;t compiler support. As Peter Hull correctly points out, the issues are</p><p>1) a lot of places in the code (especially in the loading/saving) take the address of integer types, and each case must be manually inspected to make sure the types remain correct in 64-bit mode;</p><p>2) the code uses a hodge-podge of different typedefs for representing the same type; in the current code unsigned int == dword == uint32_t. In 64 bits this equivalence is no longer true.</p><p>I&#39;ve been converting the integer types to uint* in places that matter as I go, but this is far from an overnight process.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DarkDragon)</author>
		<pubDate>Tue, 15 Aug 2017 11:53:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For a4a5 i was only planning one way conversion from A4 to A5 bitmaps and blotting A4 bitmaps to the A5 window. First draw everything to an A4 bitmap, then to the A5 window, then do A5 drawing on top of that if needed. But no A5 drawing on A4 bitmaps...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Fri, 18 Aug 2017 01:54:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032143#target">ZoriaRPG</a> said:</div><div class="quote"><p>I;m thinking that you need to figure out what your system MIDI device is, and set it in ag.cfg. For ALSA, The TiMIDI FAQ has some useful information on configurations:</p><p><a href="https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI">https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI</a></p></div></div><p>
Holy heck, thanks for passing this along.  I&#39;m going to try it out.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Sun, 20 Aug 2017 08:52:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032235#target">Gideon Weems</a> said:</div><div class="quote"><p>Holy heck, thanks for passing this along. I&#39;m going to try it out. </p></div></div><p>

No problem, mate. If you discover anything useful out of that, please post about it. </p><p>At present, I am having strange issues with LOADPNG ad LIBJPG. It does not seem to matter what compiler, or who compiled 4.4.3, PNG and JPG loading is failing on the initial call to the libs, but it succeeds every call thereafter. </p><p>I do not see why, or if there is some linking issue that we have all missed, or if I need to package a blank PNG with ZQuest and have the initial tile editor import graphic function load a blank PNG so that it masks out the bug, just to get this release out. </p><p>I do know that I can somehow compile Allegro.dll from ~4MB down to ~550KB, with various config options, all seemingly as static libs, and that the Allegro CMake config files are in need of revision in the future. How much baggage does it truly need? How many licks to the centre of a Tootsie Roll pop?</p><p><b>On another note, who is in charge of the depot database?</b></p><p>I would like to link the current dev team to the old Zelda Classic entry, so that we can retain the old reviews of the programme, rather than using the new entry that I opened. JMan cannot find his login details, and from what I can see, his account was expired by someone at some point, as when I tried to add him to the depot project that I opened, it claimed that the user was invalid.</p><p>Is there anyone that can go into the Zelda Classic depot entry in the database, and add DarkDragon and me to that, so that we can bring it up to current, and purge the duplicate entry?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Sat, 26 Aug 2017 09:07:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032279#target">ZoriaRPG</a> said:</div><div class="quote"><p>
On another note, who is in charge of the depot database?
</p></div></div><p>
Matthew is. But he&#39;s been M.I.A. for a year now.</p><p><a href="https://www.allegro.cc/members/matthew.leverton/">https://www.allegro.cc/members/matthew.leverton/</a></p><p>Check out his website and send him an e-mail if you really need it.</p><p>[edit] Looks like his website now forwards to his google plus page?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sat, 26 Aug 2017 11:22:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616990/1032280#target">Chris Katko</a> said:</div><div class="quote"><p> Looks like his website now forwards to his google plus page?</p></div></div><p>It has done that for at least a few years now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eric Johnson)</author>
		<pubDate>Sat, 26 Aug 2017 18:52:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, after over fsixty hours of building different Allegro configs, I decided to look at this PNG and JPEG issue from a different angle. It was still related to the allegro change, but it was rather idiotic. I fixed it in the ZC source by setting packfile_password to NULL before loading the image. </p><p>Sigh.</p><p>We have <a href="http://www.armageddongames.net/showthread.php?98027-Zelda-Classic-2-53-0-%28-Beta-7-%29&amp;p=915633#post915633">Zelda Classic, v2.53.0 Beta 7 for Windows</a> available, for any of you who wish to try it. </p><p>A Linux build may take a while yet though, as we have not sorted the sound issue. I still believe that this is something with ALSA in the kernel. ::shrug::
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ZoriaRPG)</author>
		<pubDate>Sun, 27 Aug 2017 17:00:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I gave out your latest release of ZC a test run. Made it through like 10 screens before I died. Lame. But, I noticed that you don&#39;t support 16:10 WideScreen aspect ratios like 1920x1080 (Standard HD). I can show you how to detect all available fullscreen modes in Allegro 4 if you wish.</p><p>It was something I worked on back when Allegro was on 4.3.10. Like 8 years ago or something.</p><p>EDIT<br />I suck at this game. I managed to buy a candle but I don&#39;t know what to burn. No spoilers please I&#39;m basically playign this game through the first time.</p><p>EDIT2<br />Here&#39;s an updated chm manual for Allegro 4.4.3. It comes with my binaries, but I thought you might like it.</p><p><a href="https://www.allegro.cc/files/attachment/611020">https://www.allegro.cc/files/attachment/611020</a></p><p>See <span class="source-code"><a href="http://www.allegro.cc/manual/get_gfx_mode_list"><span class="a">get_gfx_mode_list</span></a><span class="k2">(</span><span class="k1">int</span> card<span class="k2">)</span></span> under the graphics section of the api.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 31 Aug 2017 07:37:50 +0000</pubDate>
	</item>
</rss>
