<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Simeon Pilgrim</title>
	
	<link>http://simeonpilgrim.com/blog</link>
	<description />
	<lastBuildDate>Sun, 05 Sep 2010 08:52:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SimeonPilgrim" /><feedburner:info uri="simeonpilgrim" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>New Zealand work trip: A rough start so far</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/Q9EL39h4ZGA/</link>
		<comments>http://simeonpilgrim.com/blog/2010/09/05/new-zealand-work-trip-a-rough-start-so-far/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 08:52:34 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1323</guid>
		<description><![CDATA[I&#8217;ve had a very odd start to my two week work trip. Depending how far back you review I&#8217;ve: Made the rest of my family grumpy because I&#8217;m getting to return to NZ before them, and they are the ones &#8230; <a href="http://simeonpilgrim.com/blog/2010/09/05/new-zealand-work-trip-a-rough-start-so-far/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a very odd start to my two week work trip. Depending how far back you review I&#8217;ve:</p>
<ul>
<li>Made the rest of my family grumpy because I&#8217;m getting to return to NZ before them, and they are the ones wanting to return</li>
<li>Booked my tickets through the work Orbitz account, which by itself was not bad, I choice the lowest cost flights*, but:
<ul>
<li>I had US internal flights using American Airlines, thus I will not get any Air New Zealand Air Dollars (like miles), and I had to ticket in L.A. for the last two flights instead of back in Peoria</li>
<li> I flew to L.A. via from Peoria via Chicago which is 1 + 4 hours of flying verse 2 + 2 from via Denver</li>
<li>I was travelling to New Zealand via L.A. I have decided I prefer San Francisco, which is luckily my return route</li>
<li>I booked the international leg tickets under the United Airlines code-share (it&#8217;s Air NZ flight), thus could not use my free Air NZ class upgrade to travel premium economy (which looks so much nicer) and I&#8217;m not sure I&#8217;ll get the same value of Air Dollars</li>
<li>I travelled to Christchurch from Auckland via an domestic flight NZ501 instead of the international NZ303, which is way simpler to use, and I had to re-ticket again for some odd reason</li>
</ul>
</li>
<li>But all those issues aside, I&#8217;m here</li>
<li>The travel was made hectic by finding out just after landing in Chicago that there had been an earthquake in Christchurch. Making contact with family in NZ and US used my spare time between flights
<ul>
<li>Thus is due to Michaela and I only having cell phones in the US. Mine is a work phone so has a toll bar, and Michaela&#8217;s is a new Verizon account, thus we are not allowed to make tolls calls on it for the first year. WTF! we already had to pay $400USD bond for the first year to open the account on account of not having a credit history in the US.</li>
</ul>
</li>
<li>Now I&#8217;m here in Christchurch there are water/sewer problems, thus staying at my mother&#8217;s was not going to work, but luckily my brothers farm is self contained or just well stocked, so am stay the night out there. Really wired seeing all the old brick buildings with toppled walls</li>
</ul>
<p>So lots of lessons to learn for next time I book tickets for a trip. Next time I&#8217;ll check the price differences of some of these options&#8230;</p>
<p>* actually I could have travelled via Australia to get to Christchurch, but that would have made four more hours of air travel, just for $150 USD.</p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/Q9EL39h4ZGA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/09/05/new-zealand-work-trip-a-rough-start-so-far/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/09/05/new-zealand-work-trip-a-rough-start-so-far/</feedburner:origLink></item>
		<item>
		<title>Fixing Wii Screen Resolution</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/pFY33Y1j1ZU/</link>
		<comments>http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 15:58:45 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1293</guid>
		<description><![CDATA[This post is to help anybody that needs to reset their Wii&#8217;s screen resolution, whether that is because they have changed cables, or put it into the wrong mode. The reason I have to fix my Wii&#8217;s resolution, is I &#8230; <a href="http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post is to help anybody that needs to reset their Wii&#8217;s screen resolution, whether that is because they have changed cables, or put it into the wrong mode.</p>
<p>The reason I have to fix my Wii&#8217;s resolution, is I own a New Zealand Wii, which defaults to PAL, and I have a US TV that only supports NTSC. Thus when my Wii resets (due to no power) it goes back into PAL mode and thus is usable.</p>
<p>There are a number of solutions posted on the Internet for resetting resolutions. With my PAL Wii I can confirm a couple of methods reset to system default (for me PAL):</p>
<p>Powering down for 5 minutes</p>
<p>Power on Wii, give it a few seconds to boot<br />
Hold DOWN on the directional pad of the Wii remote<br />
While holding DOWN, press the RESET button on the Wii</p>
<p>However, given our US TV is NTSC resetting to PAL is of no use, thus I present the order of screens for my Australasian Wii. To help with future manual resets.</p>
<p><a href="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03360.jpg">
<a href='http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/dsc03360/' title='Wrong resolution'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03360-150x150.jpg" class="attachment-thumbnail" alt="Wrong resolution" title="Wrong resolution" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/dsc03351/' title='Wii Main Menu'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03351-150x150.jpg" class="attachment-thumbnail" alt="Wii Main Menu" title="Wii Main Menu" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/dsc03352/' title='Wii Settings Menu'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03352-150x150.jpg" class="attachment-thumbnail" alt="Wii Settings Menu" title="Wii Settings Menu" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/dsc03354/' title='Screen Menu - Select TV Type'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03354-150x150.jpg" class="attachment-thumbnail" alt="Screen Menu - Select TV Type" title="Screen Menu - Select TV Type" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/dsc03353/' title='Wii System Settings - Select Screen'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03353-150x150.jpg" class="attachment-thumbnail" alt="Wii System Settings - Select Screen" title="Wii System Settings - Select Screen" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/dsc03355/' title='TV Type Confim'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC03355-150x150.jpg" class="attachment-thumbnail" alt="TV Type Confim" title="TV Type Confim" /></a>
<br />
</a></p>
<p>Wait until the screen looks like picture one, this can take 5-10 minutes</p>
<p>Then relying on the vibration feedback, and limited screen left/right feedback, follow the set of screens to turn your PAL Wii into 480p mode.</p>
<p>Some advice I found on the internet was to use only the green channel of the component cable to plug into the composite plug. This did work to allow seeing the picture (albeit black &amp; white) it was equally scrolling badly, thus was not a better solving mode.</p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/pFY33Y1j1ZU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/08/22/fixing-wii-screen-resolution/</feedburner:origLink></item>
		<item>
		<title>Office Lego Toys</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/JthqZM_TB_E/</link>
		<comments>http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 13:41:49 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Toys]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1301</guid>
		<description><![CDATA[Before leaving the New Zealand office I took some pictures of the Lego toys (and other machine toys) around the office. But I never posted them&#8230;. here they are: Side note: it seems that almost everybody in the USA pronounces &#8230; <a href="http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Before leaving the New Zealand office I took some pictures of the Lego toys (and other machine toys) around the office. But I never posted them&#8230;. here they are:</p>

<a href='http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/dsc01411/' title='DSC01411'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC01411-150x150.jpg" class="attachment-thumbnail" alt="DSC01411" title="DSC01411" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/dsc01412/' title='DSC01412'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC01412-150x150.jpg" class="attachment-thumbnail" alt="DSC01412" title="DSC01412" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/dsc01413/' title='DSC01413'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC01413-150x150.jpg" class="attachment-thumbnail" alt="DSC01413" title="DSC01413" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/dsc01414/' title='DSC01414'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC01414-150x150.jpg" class="attachment-thumbnail" alt="DSC01414" title="DSC01414" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/dsc01415/' title='DSC01415'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC01415-150x150.jpg" class="attachment-thumbnail" alt="DSC01415" title="DSC01415" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/dsc01416/' title='DSC01416'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC01416-150x150.jpg" class="attachment-thumbnail" alt="DSC01416" title="DSC01416" /></a>

<p><em>Side note:</em> it seems that almost everybody in the USA pronounces Lego wrong when talking in the plural and it drives me batty. It&#8217;s one Lego brick, many Lego bricks, a box of Lego. No  &#8216;s&#8217; anywhere. You can tell because the box with 251 pieces in the box, they write Lego, not Legos on the outside, there&#8217;s no &#8216;s&#8217;, unlike a box of cookies, it has an &#8216;s&#8217; on the box&#8230;</p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/JthqZM_TB_E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/08/20/office-lego-toys/</feedburner:origLink></item>
		<item>
		<title>A Week at Lake Michigan</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/NjPhC7mKpbo/</link>
		<comments>http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 03:28:51 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1284</guid>
		<description><![CDATA[We spent a week at Lake Michigan with Michaela&#8217;s parents, and it was magic. Warm golden sand, warm sunny days and salt free warm water (that was real odd). Here are some photo&#8217;s:]]></description>
			<content:encoded><![CDATA[<p>We spent a week at Lake Michigan with Michaela&#8217;s parents, and it was magic.</p>
<p>Warm golden sand, warm sunny days and salt free warm water (that was real odd).</p>
<p>Here are some photo&#8217;s:</p>

<a href='http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/dsc04506/' title='Beach Panorama'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC04506-150x150.jpg" class="attachment-thumbnail" alt="Beach Panorama" title="Beach Panorama" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/p8090841/' title='Sunset Swimming'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/P8090841-150x150.jpg" class="attachment-thumbnail" alt="Sunset Swimming" title="Sunset Swimming" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/p8120947/' title='Watching the Sunset'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/P8120947-150x150.jpg" class="attachment-thumbnail" alt="Watching the Sunset" title="Watching the Sunset" /></a>
<a href='http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/dsc04510/' title='Water Activities'><img width="150" height="150" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/DSC04510-150x150.jpg" class="attachment-thumbnail" alt="Water Activities" title="Water Activities" /></a>

<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/NjPhC7mKpbo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/08/18/a-week-at-lake-michigan/</feedburner:origLink></item>
		<item>
		<title>Yearbook Yourself</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/7d4um1gLQLE/</link>
		<comments>http://simeonpilgrim.com/blog/2010/08/04/yearbook-yourself/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 14:56:02 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Entertainment]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1280</guid>
		<description><![CDATA[Michaela was playing with Yearbook Yourself a few months back, she didn&#8217;t quite get my picture nailed but they are funny none the less.]]></description>
			<content:encoded><![CDATA[<p>Michaela was playing with <a href="http://yearbookyourself.com/">Yearbook Yourself</a> a few months back, she didn&#8217;t quite get my picture nailed but they are funny none the less.</p>
<p><img class="alignnone size-full wp-image-1281" title="Yearbook Yourself - Michaela" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/YY-Michaela.png" alt="" width="240" height="302" /><img class="alignnone size-full wp-image-1282" title="Yearbook Yourself - Simeon" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/08/YY-Simeon.png" alt="" width="240" height="311" /></p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/7d4um1gLQLE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/08/04/yearbook-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/08/04/yearbook-yourself/</feedburner:origLink></item>
		<item>
		<title>Curse of the Azure Bonds – build 1.1.3 released</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/FRTwTDGZBXo/</link>
		<comments>http://simeonpilgrim.com/blog/2010/07/29/curse-of-the-azure-bonds-build-1-1-3-released/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 20:28:12 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Curse of the Azure Bonds]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1275</guid>
		<description><![CDATA[Version 1.1.3 of Curse of the Azure Bonds is now up on the Google Code project site (Windows &#38; Mac OS X builds). I had managed to break a number of parts of the game that were working correctly due &#8230; <a href="http://simeonpilgrim.com/blog/2010/07/29/curse-of-the-azure-bonds-build-1-1-3-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Version 1.1.3 of Curse of the Azure Bonds is now up on the <a href="http://code.google.com/p/coab/downloads/list">Google Code project</a> site (Windows &amp; Mac OS X builds).</p>
<p>I had managed to break a number of parts of the game that were working correctly due to &#8220;refactoring&#8221; the code. Not sure I&#8217;ve learn my lesson, but there are a good many issues introduced, of which not all are fixed yet.</p>
<p>Fixed in this version:</p>
<ul>
<li>Issue 54, Fixed join items command, to not loose items</li>
<li>Issue 55, Fixed crash from readying items from wrong class</li>
<li>Issue 56, Fixed pooling of party money loosing gems and jewellery</li>
<li>Issue 61, Fixed the group view display of AC</li>
<li>Fixed colouring of sprites, missing black pixels</li>
<li>Fixed sharing not removing treasure from ground</li>
</ul>
<p>Thanks to Manning and Chaney for providing issue reports, and as always any issues found, post them here in the comments, email me directly (simeon.pilgrim@gmail.com), or post on the <a href="http://code.google.com/p/coab/issues/list">issue list</a>.</p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/FRTwTDGZBXo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/07/29/curse-of-the-azure-bonds-build-1-1-3-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/07/29/curse-of-the-azure-bonds-build-1-1-3-released/</feedburner:origLink></item>
		<item>
		<title>IDA Script: Fixing overlay jumps</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/RFxOuxPYHZk/</link>
		<comments>http://simeonpilgrim.com/blog/2010/07/23/ida-script-fixing-overlay-jumps/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 19:04:17 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1262</guid>
		<description><![CDATA[In the DOS Gold Box games they use overlays to manage the &#8216;more code than memory&#8217; problem of the DOS environment. So when this code here (seg000:00F6) calls the sub_21979 it goes via a sub function sub_10180 Which jumps to &#8230; <a href="http://simeonpilgrim.com/blog/2010/07/23/ida-script-fixing-overlay-jumps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the DOS Gold Box games they use overlays to manage the &#8216;more code than memory&#8217; problem of the DOS environment.</p>
<p>So when this code here (seg000:00F6) calls the sub_21979 it goes via a sub function sub_10180</p>
<p><a href="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/01-before-call.png"><img class="alignnone size-full wp-image-1263" title="01 - before call" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/01-before-call.png" alt="" width="618" height="137" /></a></p>
<p>Which jumps to the actual function when it has been loaded into ram (after swapping some other code out and other magic!)</p>
<p><img class="alignnone size-full wp-image-1264" title="02 - before jump func" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/02-before-jump-func.png" alt="" width="646" height="69" /></p>
<p>here the actual called function</p>
<p><img class="alignnone size-full wp-image-1265" title="03 - before func" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/03-before-func.png" alt="" width="621" height="195" /></p>
<p>And IDA Pro links this all together auto-magically so life is good.</p>
<p>But really we want to remove the jump functions out of the loop, as we can have the whole project in memory. The main advantage of cleaning up is that sub_21979 only shows one place the refers to this function (green code in top right of picture), but the jump function may have many callers, and we don&#8217;t see that, and to explore the code requires jump in and out of the jump function, which gets annoying.</p>
<p>Here an .idc script to fix this up. It finds all the overlay jump functions, then loops across the referencing locations and rewrite those to call the actual jump target.</p>
<pre class="brush: plain;">
#include &lt;idc.idc&gt;

static main()
{
	auto seg, loc;
	auto off, base;
	auto xref;

	seg = FirstSeg();

	while(seg != BADADDR )
	{
		loc = SegStart(seg);

		if( Byte(loc) == 0xCD &amp;&amp; Byte(loc+1) == 0x3F)
		{
			Message(&quot;Fixing segment %s jumps\n&quot;, SegName(seg));

			loc = loc + 0x20;

			while(loc &lt; SegEnd(seg))
			{
				if( Byte(loc) == 0xEA )
				{
					off = Word(loc+1);
					base = Word(loc+3);

					xref = RfirstB(loc);
					while( xref != BADADDR )
					{
						Message(&quot;Loc %x ref from %x\n&quot;, loc, xref);

						PatchWord(xref+1, off);
						PatchWord(xref+3, base);

						DelCodeXref(xref, loc, 0 );

						xref = RnextB(loc, xref);
					}
				}

				loc = loc + 5;
			}
		}

		seg = NextSeg(seg);
	}
}
</pre>
<p>And now our original calling function calls the real function</p>
<p><img class="alignnone size-full wp-image-1266" title="04 - after call" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/04-after-call.png" alt="" width="493" height="122" /></p>
<p>And the jump function has nobody call it, but we leave it there in case some later decoded code does call it&#8230;</p>
<p><img class="alignnone size-full wp-image-1267" title="05 - after jump func" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/05-after-jump-func.png" alt="" width="600" height="68" /></p>
<p>And our called function correctly refers to the code that calls it</p>
<p><img class="alignnone size-full wp-image-1272" title="06 - after func" src="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/06-after-func.png" alt="" width="655" height="215" /></p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/RFxOuxPYHZk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/07/23/ida-script-fixing-overlay-jumps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/07/23/ida-script-fixing-overlay-jumps/</feedburner:origLink></item>
		<item>
		<title>Gold Box games Cheat Codes</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/PiWJEIqRCAg/</link>
		<comments>http://simeonpilgrim.com/blog/2010/07/21/gold-box-games-cheat-codes/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 17:39:29 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Curse of the Azure Bonds]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Pools of Darkness]]></category>
		<category><![CDATA[cheats]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1248</guid>
		<description><![CDATA[On the Forgotten Realms Unlimited Adventures Forum it was asked for the &#8216;The Gods intervene!&#8217; cheats for all the Gold Box based games, so I produced this list. Pool of Radiance Forgotten Realms series: Pool of Radiance cheat code is &#8230; <a href="http://simeonpilgrim.com/blog/2010/07/21/gold-box-games-cheat-codes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://ua.reonis.com/index.php">Forgotten Realms Unlimited Adventures Forum</a> it was asked for the &#8216;The Gods intervene!&#8217; cheats for all the <a href="http://en.wikipedia.org/wiki/Gold_Box">Gold Box</a> based games, so I produced this list.</p>
<p>Pool of Radiance Forgotten Realms series:</p>
<ul>
<li>Pool of Radiance cheat code is &#8216;start.exe STING&#8217;</li>
<li>Curse of the Azure Bonds cheat code is &#8216;start.exe STING Wooden&#8217; as noted <a href="http://simeonpilgrim.com/blog/2006/03/07/curse-of-the-azure-bonds-cheats/">here</a></li>
<li>Secrets of the Silver Blade cheat code is &#8216;start.exe Hoop Gem&#8217; as noted <a href="http://simeonpilgrim.com/blog/2010/07/21/secerts-of-the-silver-blade-cheat-codes/">here</a></li>
<li>Pools of Darkness cheat code is &#8216;game.exe 2 2 Helm&#8217; as noted <a href="http://simeonpilgrim.com/blog/2010/07/20/pool-of-darkness-cheat-codes/">here</a></li>
<li>FRUA doesn&#8217;t seem to have obvious cheat code. aka not based on PoR code</li>
</ul>
<p>Savage Frontier Forgotten Realms series:</p>
<ul>
<li>Gateway  to the Savage Frontier currently needs a hacked executable (<a href="http://simeonpilgrim.com/blog/wp-content/uploads/2010/07/gateway-game.zip">here</a>)  and then &#8216;game.exe Super Wooden&#8217; press the Z button on your turn and &#8216;-&#8217;  on the monsters</li>
<li>Treasure of the Savage Frontier &#8216;game.exe 2 2 Helm&#8217;</li>
</ul>
<p>Dragonlance series:</p>
<ul>
<li>Champions of Krynn cheat code is &#8216;start.exe Woof Helm&#8217;</li>
<li>Death Knights of Krynn cheat code is &#8216;start.exe anything Helm&#8217;</li>
<li>Dark Queen of Krynn appears the same code as FRUA so again not sure.</li>
</ul>
<p>The  two Buck Rogers game are using the PoR code base, but all the normal  cheat code has been removed. And there is no obvious &#8220;Gods intervene!&#8221;  in the text strings of the engine</p>
<p>Spelljammer: Pirates of  Realmspace  is a different code base, the previous games PoR based code  bases are Pascal where as this one is C/C++, I couldn&#8217;t see anything that  looks like a &#8220;Gods intervene&#8221; text string ether.</p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/PiWJEIqRCAg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/07/21/gold-box-games-cheat-codes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/07/21/gold-box-games-cheat-codes/</feedburner:origLink></item>
		<item>
		<title>Secerts of the Silver Blade cheat codes</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/9rFS2HRJH0M/</link>
		<comments>http://simeonpilgrim.com/blog/2010/07/21/secerts-of-the-silver-blade-cheat-codes/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 14:57:09 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[cheats]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1245</guid>
		<description><![CDATA[Parameter 1 set to Hoop Skips the title screen Allows turning on/off of the debugging Allows player affect dumping Parameter 2 set to Gem Skips the copy protection Allows &#8216;The Gods intervene!&#8221;, via alt-x Allows area view in all locations &#8230; <a href="http://simeonpilgrim.com/blog/2010/07/21/secerts-of-the-silver-blade-cheat-codes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Parameter 1 set to <strong>Hoop</strong></p>
<ul>
<li>Skips the title screen</li>
<li>Allows turning on/off of the debugging</li>
<li>Allows player affect dumping</li>
</ul>
<p>Parameter 2 set to <strong>Gem</strong></p>
<ul>
<li>Skips the copy protection</li>
<li>Allows &#8216;The Gods intervene!&#8221;, via <strong>alt-x</strong></li>
<li>Allows area view in all locations</li>
<li>The code has support for &#8216;Turning on/off free training, via <strong>J</strong> in training menu&#8217; but as the menu&#8217;s no longer use keyboard short-cuts, so I can&#8217;t see how to activate it</li>
</ul>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/9rFS2HRJH0M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/07/21/secerts-of-the-silver-blade-cheat-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/07/21/secerts-of-the-silver-blade-cheat-codes/</feedburner:origLink></item>
		<item>
		<title>Pools of Darkness cheat codes</title>
		<link>http://feedproxy.google.com/~r/SimeonPilgrim/~3/WcxITuYqLik/</link>
		<comments>http://simeonpilgrim.com/blog/2010/07/20/pool-of-darkness-cheat-codes/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 16:42:27 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Pools of Darkness]]></category>
		<category><![CDATA[cheats]]></category>

		<guid isPermaLink="false">http://simeonpilgrim.com/blog/?p=1236</guid>
		<description><![CDATA[There are a few debugging/testing cheat codes for the DOS version of Pools of Darkness. The first: adding a 1 as the first parameter skips the title screen, and copy protection. game.exe 1 Then there are three choices of third &#8230; <a href="http://simeonpilgrim.com/blog/2010/07/20/pool-of-darkness-cheat-codes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are a few debugging/testing cheat codes for the DOS version of Pools of Darkness.</p>
<p>The first: adding a <strong>1 </strong>as the first parameter skips the title screen, and copy protection.</p>
<pre>game.exe 1</pre>
<p>Then there are three choices of third parameter</p>
<ul>
<li>Gem &#8211; Allows view of the area map in all locations</li>
<li>HALIBUT &#8211; Allows editing/modifying of experienced players</li>
<li>Helm &#8211; Allows &#8216;The GODS Intervene!&#8217; &#8211; a.k.a. kills all enemy in combat, via alt-x</li>
</ul>
<p>Thus to play the latter you would type</p>
<pre>game.exe 1 2 Helm</pre>
<p>What I don&#8217;t know yet is how to control what game is loaded if you use the 1 parameter, and the game ends up in a slightly unplayable mode. From reading the code it looks like it should load saved game Z. But that&#8217;s not working out for me so far.</p>
<img src="http://feeds.feedburner.com/~r/SimeonPilgrim/~4/WcxITuYqLik" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://simeonpilgrim.com/blog/2010/07/20/pool-of-darkness-cheat-codes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://simeonpilgrim.com/blog/2010/07/20/pool-of-darkness-cheat-codes/</feedburner:origLink></item>
	</channel>
</rss>
