<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>fwrnando.com &#187; n-gage</title>
	<atom:link href="http://www.fwrnando.com/tag/n-gage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fwrnando.com</link>
	<description>was sick of the &#34;blag&#34; thing</description>
	<lastBuildDate>Thu, 01 Jul 2010 23:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>N-Gage on the 5800: the h4x diaries</title>
		<link>http://www.fwrnando.com/2009/07/n-gage-on-the-5800-the-h4x-diaries/</link>
		<comments>http://www.fwrnando.com/2009/07/n-gage-on-the-5800-the-h4x-diaries/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 18:57:00 +0000</pubDate>
		<dc:creator>fernando</dc:creator>
				<category><![CDATA[Bloggan]]></category>
		<category><![CDATA[5800]]></category>
		<category><![CDATA[h4x]]></category>
		<category><![CDATA[n-gage]]></category>
		<category><![CDATA[s60]]></category>

		<guid isPermaLink="false">http://www.fwrnando.com/?p=597</guid>
		<description><![CDATA[Summary: Just to let it clear from the start, while I could install the app, I couldn&#8217;t play any games. Leaving this warning right in the top of the post might save you some reading time. :P I always wondered what would happen if I installed N-Gage on my 5800 ever since I saw a [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_599" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/28072009238-.jpg"><img class="size-medium wp-image-599" title="28072009238-" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/28072009238--300x225.jpg" alt="28072009238-" width="300" height="225" /></a><p class="wp-caption-text">There it is, running normally.</p></div>
<p><strong>Summary: </strong>Just to let it clear from the start, while I could install the app, I couldn&#8217;t play any games. Leaving this warning right in the top of the post might save you some reading time. :P</p>
<p>I always wondered what would happen if I installed N-Gage on my 5800 ever since I saw a video of it running pretty well on an N97. I had tried it a couple times, but with no success, as I didn&#8217;t have the right installation file. Then <a href="http://www.allaboutsymbian.com/news/item/10091_N97_updates-N-Gage_Ovi_Maps_3_.php">a week or so ago</a>, Nokia released the N-Gage sis for N97s via the software updater app. Not long after that, the standalone .sis was floating around teh interblags. I got it, and after a few things, I had the app running, this post has my impressions of the app and the how to on installing it.</p>
<p>First thing, of course, is getting the N97 sis. A quick google search for &#8220;N-Gage N97 sis&#8221; found me it fairly fast, but I&#8217;ll still link <a href="http://zomgitscj.com/n-gage-now-available-for-nokia-n97/#comment-12937184">where I got my copy from</a>.</p>
<p>Then, I opened it with one of my favorite tools, <a href="http://symbiandev.cdtools.net/">SISContents</a>, to check the installer script and see where&#8217;s the beef causing it to not install properly on phones. Or, I wanted to remove the N97 only lock.</p>
<div id="attachment_600" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-13.39.39.png"><img class="size-medium wp-image-600" title="Screen shot 2009-07-28 at 13.39.39" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-13.39.39-300x242.png" alt="Screen shot 2009-07-28 at 13.39.39" width="300" height="242" /></a><p class="wp-caption-text">The script</p></div>
<p>First thing to check: dependencies. As pointed by the first red arrow, the only dependency is Series60ProductID, which is basically a way for installers to differ between S60 and UIQ phones (as far as I know!) so the problem wasn&#8217;t there. However, as pointed by the second arrow, the whole script is a giant IF block, it checks if the phone passes those requirements, and if not, it skips the IF block. 4 of the requirements are <a href="http://www.newlc.com/en/Common-products-UIDs.html">MachineUID</a> checks, if the phone is not a N97 (0x20014DD*) or that other UID which doesn&#8217;t match any phone (as far as I know), the installation fails.</p>
<p>Knowing what to change, I extracted the .sis with SISContents.</p>
<div id="attachment_601" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-12.59.43.png"><img class="alignnone size-medium wp-image-604" title="Screen shot 2009-07-28 at 12.59.43" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-12.59.43-300x102.png" alt="Screen shot 2009-07-28 at 12.59.43" width="300" height="102" /></a><p class="wp-caption-text">The secret is clicking the little arrow :o</p></div>
<p>Being careful to avoid messing with the internal file structure, or extract the internal .sis files.</p>
<div id="attachment_602" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-12.59.54.png"><img class="size-medium wp-image-602" title="Screen shot 2009-07-28 at 12.59.54" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-12.59.54-300x150.png" alt="Screen shot 2009-07-28 at 12.59.54" width="300" height="150" /></a><p class="wp-caption-text">This option only appears if you click extract thru the little arrow, lol</p></div>
<p>For simplicity&#8217;s sake, I moved all files that were extracted to C:\, making it simpler to edit the script file later.</p>
<div id="attachment_605" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-13.01.13.png"><img class="size-medium wp-image-605" title="Screen shot 2009-07-28 at 13.01.13" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-13.01.13-300x227.png" alt="Screen shot 2009-07-28 at 13.01.13" width="300" height="227" /></a><p class="wp-caption-text">How my C: looked after all that.</p></div>
<ul>
<li>With all the files ready, it&#8217;s time to edit the .pkg. As I noted before, I had to do a find and replace to change all mentions of the N97 Machine UID (0x20014DDD) for the 5800s (0x2000DA56).</li>
<li>Also, as SISContents does not save file paths on the .pkg, I had to find and replace all things like &#8220;folder\ for &#8220;C:\folder\ and &#8220;@sisfile.sis for &#8220;@C:\sisfile.sis so they actually point somewhere on my hard drive (just adding the C:\ is simpler, that&#8217;s why I moved everything to it).</li>
<li>And at last, my copy of makesis.exe was apparently choking on all the languages the pkg mentioned, so I removed all languages except for &amp;EN, also removing extra localized names for the installation file (leaving just one {&#8220;N-Gage&#8221;}), for the dependencies (leaving just one {&#8220;Series60ProductID&#8221;}) and the vendor names (leaving just one {&#8220;Nokia&#8221;}). This last part sounds a little too complicated (is where I got confused at first too), so I&#8217;ll leave an example of how the headers looked in the final .pkg</li>
</ul>
<p><code>; Languages<br />
&amp;EN<br />
; Package header<br />
#{"N-Gage"}, (0x20003B78), 1, 30, 1541, TYPE=SA<br />
; Dependencies<br />
[0x1028315F], 0, 0, 0, {"Series60ProductID"}<br />
; Vendor names<br />
%{"Nokia"}:"Nokia"</code></p>
<p>Or, just to make it simpler, I&#8217;ll link <a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/N-Gage.pkg">my final edited .pkg</a> (save as, etc) here, make sure to edit it to reflect the right paths on your computer if you&#8217;re using it.</p>
<p>Anyway, now with the files in their right places, and the .pkg edited to allow the 5800, it&#8217;s time to build the .sis. You need the standard makesis.exe for 3rd/5th edition files, it&#8217;s easy to find as it comes with the sdk, but I <a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/makesis.exe">uploaded the one I used</a> just in case. Throw it in the same directory as the files and the .pkg, and use the following command from the folder, &#8220;makesis.exe -v N-Gage.pkg N-Gage.sis&#8221;</p>
<div id="attachment_611" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-14.31.22.png"><img class="size-medium wp-image-611" title="Screen shot 2009-07-28 at 14.31.22" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/Screen-shot-2009-07-28-at-14.31.22-300x155.png" alt="Screen shot 2009-07-28 at 14.31.22" width="300" height="155" /></a><p class="wp-caption-text">Running it from C: in my case, don&#39;t mind the ¥, backslashes show up as ¥ signs in my virtual machine.</p></div>
<p>Sooooo after all that work, if everything&#8217;s done right, you get a (unsigned) N-Gage.sis file, sign it or install it in your hacked phone, and there you have it. (I won&#8217;t link my finished .sis because I&#8217;m afraaaid ooo, hacking is supposedly illegal no?) 700+ words already and I just got to the middle of the post, lol.</p>
<div id="attachment_612" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0066.png"><img class="size-medium wp-image-612" title="SuperScreenshot0066" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0066-300x168.png" alt="SuperScreenshot0066" width="300" height="168" /></a><p class="wp-caption-text">The home tab</p></div>
<p>As I said earlier in the post, lots of things don&#8217;t work, in the next couple screenshots I&#8217;ll show things of interest.</p>
<div id="attachment_613" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0062.png"><img class="size-medium wp-image-613" title="SuperScreenshot0062" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0062-300x168.png" alt="SuperScreenshot0062" width="300" height="168" /></a><p class="wp-caption-text">The app itself has no problem with the phone being a 5800.</p></div>
<div id="attachment_614" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0064.png"><img class="size-medium wp-image-614" title="SuperScreenshot0064" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0064-300x168.png" alt="SuperScreenshot0064" width="300" height="168" /></a><p class="wp-caption-text">Arena does mind, though. You can&#39;t log in or make a new account without getting this error.</p></div>
<div id="attachment_615" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0065.png"><img class="size-medium wp-image-615" title="SuperScreenshot0065" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0065-300x168.png" alt="SuperScreenshot0065" width="300" height="168" /></a><p class="wp-caption-text">Same for the Store, you get an empty store as they don&#39;t have content for a 5800.</p></div>
<p>With no working store, I resorted to downloading a .n-gage installation file from <a href="http://www.n-gage.com/ngi/ngage/web/g0/en/showroom.html">n-gage.com</a>. There&#8217;s the save a .n-gage file on E:/n-gage/ on the phone installation method&#8230;</p>
<div id="attachment_616" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0057.png"><img class="size-medium wp-image-616" title="SuperScreenshot0057" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0057-300x168.png" alt="SuperScreenshot0057" width="300" height="168" /></a><p class="wp-caption-text">...which apparently does work!</p></div>
<div id="attachment_617" class="wp-caption alignnone" style="width: 310px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0063.png"><img class="size-medium wp-image-617" title="SuperScreenshot0063" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/07/SuperScreenshot0063-300x168.png" alt="SuperScreenshot0063" width="300" height="168" /></a><p class="wp-caption-text">Oops, never mind~</p></div>
<p>No matter what I did, I kept getting this error. Must be the generic &#8220;game panicked on launch&#8221; error. It installed fine, so I assume it&#8217;s an hardcoded device limitation. Note that I haven&#8217;t tried other games besides Bounce, so maybe one works. Gotta try some more later.</p>
<p>Another thing of interest, at least for me, is that the app seems much more snappy on the 5800 than on my N95. It does look similar, but different, in a good way. I like the way they adapted the app for touchscreens. So there&#8217;s a +1 for the N-Gage team.</p>
<p>Last thing I found funny, was the check for updates option, which opens <a href="http://www.n-gage.com/ngi/ngage/wap/g0/en/downloads/noupgrade.html?MODEL=5800%2520XpressMusic&amp;CC=310&amp;NETID=410&amp;LANG=1&amp;VERSION=1.30.1541&amp;CMP=MOB-upgrade01&amp;PREINSTPKG=0">this link</a>. Even though the URL mentions the 5800 clearly, the page just calmly says there&#8217;s no update, with no errors or anything. lol.</p>
<p>So there you have it, a ~1000 words post that&#8217;s basically a diary for myself: A huge guide and impressions of something that in the end, does not work. It was still kinda fun to mess with it last night, and there&#8217;s still hope that some games don&#8217;t have the same device check on launch as Bounce. Although, as I mentioned, I&#8217;m kinda lazy to test all other games. So in case someone does have the patience to do what I did and finds a game that works, please leave a comment telling me about it! lol</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fwrnando.com/2009/07/n-gage-on-the-5800-the-h4x-diaries/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
