<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Stu&#39;s Rusty Bucket</title>
    <subtitle type="text">Stu&#39;s Rusty Bucket:Mind the gap between the keyboard and the chair</subtitle>
    <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/index/" />
    <link rel="self" type="application/atom+xml" href="http://mega-tokyo.com/blog/index.php/site/atom/" />
    <updated>2010-07-16T15:11:57Z</updated>
    <rights>Copyright (c) 2010, Stu</rights>
    <generator uri="http://www.pmachine.com/" version="1.6.9">ExpressionEngine</generator>
    <id>tag:mega-tokyo.com,2010:07:16</id>


    <entry>
      <title>Sound</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/sound/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2507</id>
      <published>2010-07-16T15:09:56Z</published>
      <updated>2010-07-16T15:11:57Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>I really need to start working on the sound effects for my game. I think this is going to be a whole new kettle of fish as far as issues go for using the same effects on pc/psp/gp2x etc but it should not be too bad. The first plan is to hopefully just use the SDL mixer and my own WAV mixing routines..</p>

<p>I have a nice USB microphone but it really picks up ANY noise in the house so.. going to take me a while to get some nice sounds recorded for spell affects and such.</p>


      ]]></content>
    </entry>

    <entry>
      <title>CRPG Addict</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/crpg_addict/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2506</id>
      <published>2010-07-05T13:06:06Z</published>
      <updated>2010-07-05T13:24:07Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Computer Gaming"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computer Gaming/"
        label="Computer Gaming" />
      <content type="html"><![CDATA[
        <p>I thought this morning I&#8217;d give a plug to a blog that&#8217;s been in my rss reader for some time, <a href="http://crpgaddict.blogspot.com/" title="CRPG Addict">CRPG Addict</a>.</p>

<p>So far he has played through games listed on the wikipedia page for DOS in release order.</p>

<p>Right now he is on to playing Might and Magic 1 after a mixup in Bards Tale II.</p>

<p>I do particularly like the <a href="http://crpgaddict.blogspot.com/2010/04/ranking-and-rating-crpgs.html" title="GIMLET">GIMLET</a> post.</p>

<p><br />
<a href="http://crpgaddict.blogspot.com/2010/02/why-were-here.html" title="Why We Are Here">Why We Are Here</a>
</p><blockquote><p>
THE RULES</p>

<p>There must be rules. Otherwise we have chaos. These are my rules as I work my way through every PC CRPG ever published.</p>

<p>1. Wikipedia&#8217;s list is my Bible. The titles on this list are heavily biased towards CRPGs commercially released through established publishers. I understand there are some really good freeware, browser-based, and otherwise noncommercial RPGs out there, but honestly this project is taking enough time as it is. I&#8217;m also going to work through the list based on initial publication date, even if the version I&#8217;m playing is a re-release or newer port.</p>

<p>2. Only PC RPGs. To appear on my play list, the game has to have been released for DOS or the PC, if only as a port. I&#8217;m not going to frig around with C64 or Apple II emulators.</p>

<p>3. No hints, no cheats, no walkthroughs. We didn&#8217;t have these in the 1980s, and I don&#8217;t need them now. If I make mistakes, or it takes me a little longer, well that&#8217;s part of the fun of the game. I will only use the Internet to solve technical problems. I will allow myself one exception: if anyone reading this blog wants to post non-spoiler gameplay hints to problems I&#8217;ve posed, I&#8217;ll use them.</p>

<p>4. I don&#8217;t have to win every game, but I must at least make a sincere effort to play it. I&#8217;m writing this initial posting after already starting on my project. The second game I played (as you&#8217;ll soon read) was an early version of Rogue. It took me four months of playing to beat it. It became almost an obsession. Four months is an acceptable time to beat some games if the world is big enough (think Daggerfall), but the reason it took so long to beat Rogue is that the game is punishingly difficult. After even a few days of playing it, there was really nothing new left to discover. I won&#8217;t do this for every game. I will devote a minimum of six hours to each one, but if after that I&#8217;m having no fun or the play is repetitive, it&#8217;s on to the next game.</p>

<p>4. If the game is still available commercially, I will buy it. I believe in rewarding game developers and publishers for their hard work. But if it is not avaiable commercially, I will have no compunction downloading it from abandonware sites or otherwise obtaining it illegally.</p></blockquote>
      ]]></content>
    </entry>

    <entry>
      <title>New C128 Goodies</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/new_c128_goodies/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2505</id>
      <published>2010-06-13T02:13:27Z</published>
      <updated>2010-06-15T17:05:28Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <content type="html"><![CDATA[
        <p>I have some new goodies for my C128DCR! JiffyDOS Roms to replace my C64 and C128 Kernel ROM as well as a new SD/uIEC plugin, this is a disk drive replacement letting me use SD cards&#8230; very cool. No more drive head banging.
</p>
      ]]></content>
    </entry>

    <entry>
      <title>EECore 1.6.9 bug test</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/eecore_1.6.9_bug_test/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2503</id>
      <published>2010-06-10T15:41:45Z</published>
      <updated>2010-06-10T15:43:46Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <content type="html"><![CDATA[
        <div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">pre&nbsp;square&nbsp;bracket&nbsp;block&nbsp;</span><span style="color: #007700">::&nbsp;:)&nbsp;:</span><span style="color: #0000BB">roll</span><span style="color: #007700">:&nbsp;&nbsp;:</span><span style="color: #0000BB">lol</span><span style="color: #007700">:&nbsp;&nbsp;:)&nbsp;&nbsp;:</span><span style="color: #0000BB">angry</span><span style="color: #007700">:&nbsp;</span>
</span>
</code></div>
<pre> pre angled bracket block :: <img src="http://mega-tokyo.com/blog/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" /> <img src="http://mega-tokyo.com/blog/images/smileys/rolleyes.gif" width="19" height="19" alt="rolleyes" style="border:0;" />  <img src="http://mega-tokyo.com/blog/images/smileys/lol.gif" width="19" height="19" alt="LOL" style="border:0;" />  <img src="http://mega-tokyo.com/blog/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" />  <img src="http://mega-tokyo.com/blog/images/smileys/angry.gif" width="19" height="19" alt="angry" style="border:0;" /> </pre>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">code&nbsp;square&nbsp;bracket&nbsp;block&nbsp;</span><span style="color: #007700">::&nbsp;:)&nbsp;:</span><span style="color: #0000BB">roll</span><span style="color: #007700">:&nbsp;&nbsp;:</span><span style="color: #0000BB">lol</span><span style="color: #007700">:&nbsp;&nbsp;:)&nbsp;&nbsp;:</span><span style="color: #0000BB">angry</span><span style="color: #007700">:&nbsp;</span>
</span>
</code></div>

<p>&nbsp;</p>

<p>
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Smoothing rough edges</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/smoothing_rough_edges/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2501</id>
      <published>2010-05-31T22:04:08Z</published>
      <updated>2010-06-06T18:35:10Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>I&#8217;ve finally got around to smoothing some of the rough edges in the combat engine. We have a somewhat animated spell affects flying across the screen, and special cases which I am going through one by one.</p>

<p>* HOLD (done)<br />
* SLEEP (testing)<br />
* POISON (testing)<br />
* CHARM (testing)</p>

<p>Still have another 4 or 5 flags to code and test (things like turning undead, etc).</p>

<p>
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Refactoring</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/refactoring/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2500</id>
      <published>2010-05-31T15:39:51Z</published>
      <updated>2010-06-06T18:34:52Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>I&#8217;m in the middle of refactoring some of the combat code to allow me to target any space on the map not just NPC&#8217;s. This will allow you to drop gas clouds on terrain and use space between to funnel enemies down etc and play more advatange with the terrain.</p>

<p>Most of my code tho takes an NPC as a target, so I&#8217;ve got to tweak things a bit.
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Busy Busy Busy</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/busy_busy_busy/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2499</id>
      <published>2010-05-24T12:59:46Z</published>
      <updated>2010-06-06T18:33:47Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <content type="html"><![CDATA[
        <p>Things have been pretty busy lately. On the retro front I have a Jiffydos chip coming for the C128 as well as a uIEC/SD for it, which will help lessen the need for ye-olde floppy disks for the C128 and its ability to move the drive out of alignment (all those old drive head banging copy protect schemes and such). Both of these are coming from <a href="http://www.jbrain.com" title="JBrain">Jim Brain</a>. Still no word on the <a href="http://www.1541ultimate.net" title="Ultimate 1541-II">Ultimate 1541-II</a>, apparently they are shipping the first 40-50 units very soon, only I know I&#8217;m not in that close to the top of the batch :/</p>

<p>Been working a lot on my java client/server roguelike semi-mmo called Deeprun.</p>

<p>And yeah been working somewhat on Fishguts still, you turn over one bug only to find a few more. It is the way of it lately.</p>

<p>June is going to be hectic, Joys birthday, Alexanders birthday, our 5th wedding anniversary. I still need to complete the wooden pendulum clock (5th ann is wood).. so lots of sanding and fitting fiddly parts together but the clock looks pretty awesome (I&#8217;m building <a href="http://www.wooden-gear-clocks.com/serpentineclock.htm" title="serpentine">serpentine</a>).
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Playing and bugging</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/playing_and_bugging/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2498</id>
      <published>2010-05-11T13:35:03Z</published>
      <updated>2010-05-11T13:47:04Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>Nothing huge to report lately. A snafu in upgrading my Ubuntu broke SlickEdit, which luckily they upgraded to a new major version which fixed the Ubuntu regression. New Ubuntu and new SlickEdit is nice <img src="http://mega-tokyo.com/blog/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" /></p>

<p>So, been playing my game, eating my dogfood and doing lots of combat&#8230; and I noticed something funny. When you would get close to an archer or the archer would run out of arrows, the AI has them switch to a melee weapon.. and they started doing twice damage. So when they unequipped the bow, instead of removing the bows damage stats they added.. then they equipped a sword and that added the swords damage stats.. gulp! Turns out I had two routines for unequipping items and the monster AI was using an old one that was not used anywhere else, which was bugged, so now everyone uses the same (players, monsters, npc&#8217;s).</p>

<p>Several other minor tweaks and things behind the scenes. Some map editing and implementing story and details, slowly growing my game.</p>

<p>Tweaking my random dungeon routine, I already have Cellular Automata for organic cave generation, now I&#8217;m appropriating my dungeon generation routine from another one of my roguelikes, this one generates rooms and corridors, it has some nice properties that I like that you don&#8217;t see in a lot of roguelike dungeon gen routines, namely corridors can loop back on themselves and link up and connect rooms. Most routines in the RL community create a branching dungeon that is somewhat linear in its layout, they don&#8217;t link back on themselves, which I think is a pain for gameplay, but it does drive you forward.</p>

<p>I&#8217;m still trying to come up with a good name too :( Maybe in the end I&#8217;ll stick with Fishguts, which was not my intention.
</p>
      ]]></content>
    </entry>

    <entry>
      <title>A retro crpg</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/a_retro_crpg/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2497</id>
      <published>2010-03-28T01:41:34Z</published>
      <updated>2010-03-28T15:12:35Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>Sometimes there are many distractions in life, and I feel I am my own worst enemy.&nbsp; I have not even finished my current retro-styled CRPG, but ofcourse I have kicked some notes and code around for a C64/C128 CRPG.</p>

<p>Random thoughts to follow;</p>

<p>Going to utilise a 1 bit fastloader, something like u3load (because the routine is public and it is also supported by ultimate1541-ii), this lets me get a &#8216;fastload&#8217; as well as music/gfx during load to retain felxability.<br />
I&#8217;ve already written simple scripts that will be turned into native 6502/6510,6809 code. Targeting C64, (maybe apple2) and Coco3.</p>

<p>The coco3 makes it nice that it has a good stack of ram, the C128 obviously gives you a nice amount to play with, but the C64 can be constraining, memory mapped IO ports all over the map. I&#8217;m hoping I can decouple the kernel so I get the full 64kb ram, but if there is a cartridge or REU, I&#8217;ll loose 8kb.</p>

<p>The plan would be to have a simple API in place, a few kb ram with a jump table giving basic routines, whose sole job is to load/unload the scripts. If I can&#8217;t nuke the kernel rom space, I can nuke the basic rom and give myself about 50kb.</p>

<p>I&#8217;ve already got an experimental script compiler outputting 6510 asm. I need to get it to interface with CC65..</p>

<p>sigh.. I dont think I&#8217;ll multiplex sprites but I need to try and get the fastest tile rendering routine I can out of the C64&#8217;s MCM mode&#8230;</p>


      ]]></content>
    </entry>

    <entry>
      <title>Minor Updates</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/minor_updates1/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2495</id>
      <published>2010-03-15T15:52:59Z</published>
      <updated>2010-03-15T16:34:49Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>What? no activity in a long time?? Lots of things have been happening in the personal life, parents came for a visit, grandmother passed, wife directing a play so I get both kids in the afternoons/evenings, etc. Huge project crunch at work..</p>

<p>But I did find the time to tweak some of my tools to remove more of the handwritten code and replace it with data generated from the maps. The final piece was for auto generating the teleport locations.</p>

<p>I have also enlarged my map, I felt it was too cluttered so I embiggened it and spread the continents out more. It always irked me a little to hop in a sailing shop and sail only a few spaces and traverse the seas.. So I made more use of some open space and moved things out further making sea travel longer, but not monotonous. Sea travel is important and it needs to feel like it takes you a while to get from A to B (and the movement speed of the ship is slower than that of land speed movement). It certainly wont be as redundant and monotonous as it was in <a href="http://www.gamefaqs.com/computer/apple2/file/579191/47527" title="Demon's Winter World Map">Demon&#8217;s Winter</a> which had huge tracts of open ocean and a very poorly laid out world.</p>

<p>Still beavering away on the combat engine affects
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Expression Engine Plugin AddToAny</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/expression_engine_plugin_addtoany/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2494</id>
      <published>2010-02-09T20:29:59Z</published>
      <updated>2010-02-09T20:32:57Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <content type="html"><![CDATA[
        <p>I knocked out a plugin for ExpressionEngine, it adds the &#8216;addtoany&#8217; bar at the bottom of posts.</p>

<p>Adding the tag
</p><pre>&#123;exp:addtoany name="{title&#125;" url="{title_permalink}"}</pre>

<p>to your templates generates the javascript for the AddToAny code.</p>

<p>You can get it here;</p>

<p>https://redmine.bloodycactus.com/projects/ee1addtoany
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Grafx2</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/grafx2/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2493</id>
      <published>2010-02-06T22:31:59Z</published>
      <updated>2010-02-06T22:35:06Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <content type="html"><![CDATA[
        <p>With the internet down at my house this weekend being under a tonne of snow (ok its back up now).. I&#8217;ve been working some minor patches against my favourite pixel editor, <a href="http://code.google.com/p/grafx2/" title="Grafx2">Grafx2</a>, which is very Deluxe Paint / Brilliance oriented, written in SDL and free <img src="http://mega-tokyo.com/blog/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" /> so it wins all way around&#8230;</p>

<p>Normally I&#8217;d use promotion by Cosmigo but that costs, and this does all I need so it wins out.
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Haiku + Ruby</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/haiku_ruby/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2492</id>
      <published>2010-02-01T20:37:59Z</published>
      <updated>2010-02-05T17:53:35Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <content type="html"><![CDATA[
        <p>Building ruby 1.8.6 on haiku is a PITA. Aftere much mangling (swapping in new config.sub/guess files) and several segfaults I got through configure but there is such a mash of include files it confuses itself. arugh. sed throws errors, sometimes it cant deduce the size of short or long.. The old beos build of runy 1.8.4 has a broken etc.so file when trying to build rubygems. Everytime I try and get a haiku dev box setup something pops up.
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Combat</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/combat1/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2491</id>
      <published>2010-01-31T19:41:28Z</published>
      <updated>2010-02-05T19:57:47Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <category term="Fishguts"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Fishguts/"
        label="Fishguts" />
      <content type="html"><![CDATA[
        <p>Aaah the smell of freshly upgraded stats when casting a haste spell.. Yes I spent some time this weekend working on the combat engine, I&#8217;ve got all spells working that run over set number of rounds and alter stats.. I need to enable the targetting code and the animation code is mostly built to handle the spells being thrown across the map. Once targetting is done I can better do the fireball explosions and other area affect spells. Thankfully code reuse is good, I can use my existing ranged weapon target code.
</p>
      ]]></content>
    </entry>

    <entry>
      <title>Install dir patch for UCC</title>
      <link rel="alternate" type="text/html" href="http://mega-tokyo.com/blog/index.php/site/install_dir_patch_for_ucc/" />
      <id>tag:mega-tokyo.com,2010:blog/index.php/site/index/1.2490</id>
      <published>2010-01-02T00:41:26Z</published>
      <updated>2010-06-06T18:28:27Z</updated>
      <author>
            <name>Stu</name>
            <email>yakumo9275@gmail.com</email>
            <uri>http://mega-tokyo.com/blog</uri>      </author>

      <category term="Computers"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Computers/"
        label="Computers" />
      <category term="Development"
        scheme="http://mega-tokyo.com/blog/index.php/site/category/Development/"
        label="Development" />
      <content type="html"><![CDATA[
        <p>I hate apps that hardcode install paths.. I found one while I was messing with UCC (a chinese authored c compiler).</p>

<p>svn diff against the head</p>

<pre>
Index: ucl/Makefile
===================================================================
--- ucl/Makefile	(revision 10)
+++ ucl/Makefile	(working copy)
@@ -5,7 +5,7 @@
               ucl.c uildasm.c vector.c x86.c x86linux.c
 OBJS        = $(C_SRC:.c=.o)
 CC          = gcc
-CFLAGS      = -g -D_UCC
+CFLAGS      = -g -D_UCC -D"UCCDIR=\"$(UCCDIR)\""
 UCC         = ../driver/ucc
 
 all: $(OBJS) assert.o
Index: driver/linux.c
===================================================================
--- driver/linux.c	(revision 10)
+++ driver/linux.c	(working copy)
@@ -4,7 +4,9 @@
 #include "ucc.h"
 
 #define _P_WAIT 0
+#ifndef UCCDIR
 #define UCCDIR "/usr/local/lib/ucc/"
+#endif
 
 static char *CPPProg[] = 
 { 
Index: driver/Makefile
===================================================================
--- driver/Makefile	(revision 10)
+++ driver/Makefile	(working copy)
@@ -1,5 +1,5 @@
 CC          = gcc
-CFLAGS      = -g
+CFLAGS      = -g -D"UCCDIR=\"$(UCCDIR)\""
 
 all: ucc.c linux.c
 	$(CC) -o ucc $(CFLAGS) $^
Index: Makefile
===================================================================
--- Makefile	(revision 10)
+++ Makefile	(working copy)
@@ -1,4 +1,4 @@
-UCCDIR = /usr/local/lib/ucc
+UCCDIR = /opt/ucc/
 export UCCDIR
 
 all:
</pre>

<p>&nbsp;</p>
      ]]></content>
    </entry>


</feed>