<?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>Cranial Trauma &#187; Howto</title>
	<atom:link href="http://cranialtrauma.co.uk/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://cranialtrauma.co.uk</link>
	<description>Taking a wedge to the cracks in your psyche.</description>
	<lastBuildDate>Fri, 24 Dec 2010 16:46:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>C&amp;C First Decade: Windows 7</title>
		<link>http://cranialtrauma.co.uk/2010/12/cc-first-decade-windows-7-64bit/</link>
		<comments>http://cranialtrauma.co.uk/2010/12/cc-first-decade-windows-7-64bit/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 01:49:47 +0000</pubDate>
		<dc:creator>Toker</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command & Conquer]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=381</guid>
		<description><![CDATA[Well, Christmas time is nearly here, and as much as I hate all the adverts on telly, its a great time of year to get snowed in, crack out the old computer games and put your feet up on the computer for warmth. With this in mind, I&#8217;ve written a little guide for getting C&#38;C [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/Cnctfd-win-cover.jpg"><img class="alignright size-full wp-image-384" title="Cnctfd-win-cover" src="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/Cnctfd-win-cover.jpg" alt="Command and Conquer First Decade" width="256" height="362" /></a>Well, Christmas time is nearly here, and as much as I hate all the adverts on telly, its a great time of year to get snowed in, crack out the old computer games and put your feet up on the computer for warmth. With this in mind, I&#8217;ve written a little guide for getting C&amp;C The first Decade working on a modern Windows 7 system.</p>
<p>Command and Conquer; Tiberian Dawn came out in 1995 and was followed shortly after in 1996 with Red Alert. Hidden in the lounge at my friend Ian&#8217;s house with his mum upstairs asleep, his chronically underpowered 233mhz pentium computer wurring away I was absolutely amazed by the entire C&amp;C experience. The installer was immensive and fell modern and damned cool, the video&#8217;s looked beautiful and like nothing else I&#8217;d experienced and the music track was fantastic. Many hours were lost.</p>
<p>So now, 15 years after the first game was released lets have a go at getting it all running in time for Christmas. After a couple of days of failure (and the need to multiplay with my brother) I gave up getting it running in WINE under Linux and cracked on with a Windows 7 install.</p>
<p>In 2006 Westwood packaged the first 8 years of gaming into one 8gb installer. Some of the games still work &#8220;out of the  box&#8221;, others (like Generals; ironically the latest games) are a bit of a pig to get going; <strong>but they all will work!</strong></p>
<p><span id="more-381"></span></p>
<h2>Ready, Commander?</h2>
<p>I&#8217;m installing this on a Windows 7 Professional x64 system. It was a clean install of Windows with all of the Updates and the right drivers. I&#8217;ve then gone through and tried it on another Win7 Pro and a Win7 Ultimate; it seems to work, but as always please get in contact and let me know if you&#8217;ve had problems.</p>
<p>Stick the DVD in the drive (or mount your ISO) and start the installer. Personally I do a custom installation just to avoid installing Renegade; its awful.</p>
<p>Type in your serial numbers, make a cup of tea and try not to be too upset its missing all the fantastic original installers.</p>
<p>Once the install is done, download and install the unofficial (but officially endorsed) patch for The First Decade.</p>
<p><a href="http://cnp.cncnz.com/tfd/">More information and download links for The First Decade v1.03-r4</a></p>
<p>When you install it, make sure to Run as Administrator.</p>
<hr />
<h2><a href="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/tib-dawn.gif"><img class="alignright size-full wp-image-402" title="tib dawn" src="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/tib-dawn.gif" alt="" width="288" height="332" /></a>Command and Conquer; Tiberian Dawn</h2>
<p>There are two ways to do this, either set compatibility mode to Windows 95 and live through the corrupt videos (but 1024&#215;760 in-game resolution) but you&#8217;ll also find that alt+tab breaks horribly and you get possibly slowdown and crashes on multi-core systems.</p>
<p>You can change the resolution by running ccsetup.exe in the install directory (C:\Program Files (x86)\EA Games\Command &amp; Conquer The First Decade\Command &amp; Conquer(tm))</p>
<p>The easy fix is to use the <a href="http://hifi.iki.fi/cnc-ddraw/">cnc-ddraw.dll</a> fix. If you&#8217;re using ddraw then you need to <strong>disable compatibility mode.</strong></p>
<p>Download the file and extract it into your game folder, then run the game as usual.</p>
<p><strong> </strong>If you don&#8217;t run the game as Administrator, then it refuses to save the ddraw.ini configuration file and even if you create one manually it won&#8217;t read it; if you don&#8217;t want to enable full screen or change the mouse sensitivity then you should be OK.</p>
<p>Note 1: Make life easier for yourself and change the permissions on the ddraw.ini file; set it so Users have full control.</p>
<p>Note 2: I found that when I&#8217;d enabled full screen, it would give me a blank screen until I had alt+tabbed in and out of the program, after that it was fine.</p>
<p>Note 3: <strong>Control + Tab to release mouse capture!</strong></p>
<hr />
<h2><a href="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/red-alert.jpg"><img class="alignleft size-thumbnail wp-image-403" title="Red Alert" src="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/red-alert-150x96.jpg" alt="Red Alert BoxArt" width="150" height="96" /></a>Red Alert</h2>
<p>Exactly the same information as for Tiberian Dawn, except use the rasetup.exe to change the resolution to 640&#215;480.</p>
<p>You can then edit the ddraw.ini file (see note 1 above) to either run full screen, or change the resolution to upscale the video window to something better.</p>
<hr />
<h2><a href="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/red-alert-2.jpg"><img class="alignright size-full wp-image-404" title="red alert 2" src="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/red-alert-2.jpg" alt="" width="343" height="500" /></a>Red Alert 2 &amp; Yuri&#8217;s Revenge</h2>
<h4>Delete the wrong shortcut</h4>
<p>For some reason after all the patching is done we end up with two shortcuts to launch Red Alert II.</p>
<p>Click on the start menu and type in &#8220;red alert 2&#8243; to the &#8220;<em>search for programs and files</em>&#8221; box, notice the two shortcuts pop up.</p>
<p>Delete the one entitled &#8220;Command &amp; Conquer™ Red Alert™ 2&#8243;; you should be left with &#8220;Red Alert 2&#8243;.</p>
<h4>Just make it compatible</h4>
<p>For both the Red Alert 2 and the Yuri&#8217;s Revenge shortcuts:</p>
<ol>
<li>Right hand click and select properties.</li>
<li>On the Compatibility tab click &#8220;Change settings for all users&#8221; at the bottom.</li>
<li>Tick the &#8220;Run this program in compatibility mode for&#8221; box and select &#8220;Windows XP (Service Pack 3)&#8221; from the dropdown list.</li>
<li>Disabling Desktop Composition and Visual Themes doesn&#8217;t hurt either, though it doesn&#8217;t seem to be necessary.</li>
<li>Click OK to close the property boxes (and then repeat the instructions for the other shortcut).</li>
</ol>
<hr />
<h2><a href="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/generals.jpg"><img class="alignleft size-medium wp-image-405" title="generals" src="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2010/12/generals-563x800.jpg" alt="" width="338" height="480" /></a>C&amp;C Generals and Zero Hour</h2>
<p>Trying to start either Generals or Zero Hour flashes the splash screen and then crashes out. If you&#8217;re really lucky then it might just freeze on the splash screen and not even have the decency to crash; it just sucks CPU cycles (and in one case) takes down the browser. So, lets get it running:</p>
<h4>1) Crash the Game;</h4>
<p>Yup, thats right; before we start you need to try and run both Generals and Zero hour. It will crash when you run it, but it will create the savegame folders in My Documents.</p>
<h4>2) File Permissions</h4>
<p>We need to change the file permissions on a few folders; you need to do this for the <strong>Data </strong>and <strong>UserData</strong> folder in both the C&amp;C Generals and the C&amp;C Generals Zero Hour folder.</p>
<p>Open Windows explorer and navigate to the install directory (&#8220;C:\Program Files (x86)\EA Games\Command &amp; Conquer The First Decade\Command &amp; Conquer(tm) Generals&#8221;).</p>
<p>Right Click on the Data (or UserData) folder and click Properties. On the Security tab click Edit.</p>
<p>Select the entry for <strong>Users</strong> (YourComputerName\Users) and tick the <strong>Allow: Full Control</strong> checkbox. OK to save. (Make sure you do this for all the folders).</p>
<h4>3) Create An Options File</h4>
<p>Open Notepad and then copy/paste the following:</p>
<p><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">AntiAliasing = 1</span></p>
<pre>
<div id="_mcePaste">BuildingOcclusion = yes</div>
<div id="_mcePaste">DrawScrollAnchor =</div>
<div id="_mcePaste">DynamicLOD = no</div>
<div id="_mcePaste">ExtraAnimations = yes</div>
<div id="_mcePaste">GameSpyIPAddress = 0.0.0.0</div>
<div id="_mcePaste">Gamma = 50</div>
<div id="_mcePaste">IPAddress = 0.0.0.0</div>
<div id="_mcePaste">IdealStaticGameLOD = High</div>
<div id="_mcePaste">LanguageFilter = true</div>
<div id="_mcePaste">MaxParticleCount = 5000</div>
<div id="_mcePaste">MoveScrollAnchor =</div>
<div id="_mcePaste">MusicVolume = 55</div>
<div id="_mcePaste">Resolution = 1024 768</div>
<div id="_mcePaste">Retaliation = yes</div>
<div id="_mcePaste">SFX3DVolume = 79</div>
<div id="_mcePaste">SFXVolume = 71</div>
<div id="_mcePaste">ScrollFactor = 50</div>
<div id="_mcePaste">SendDelay = no</div>
<div id="_mcePaste">ShowSoftWaterEdge = yes</div>
<div id="_mcePaste">ShowTrees = yes</div>
<div id="_mcePaste">StaticGameLOD = Custom</div>
<div id="_mcePaste">TextureReduction = 0</div>
<div id="_mcePaste">UseAlternateMouse = no</div>
<div id="_mcePaste">UseCloudMap = yes</div>
<div id="_mcePaste">UseDoubleClickAttackMove = no</div>
<div id="_mcePaste">UseLightMap = yes</div>
<div id="_mcePaste">UseShadowDecals = yes</div>
<div id="_mcePaste">UseShadowVolumes = yes</div>
<div id="_mcePaste">VoiceVolume = 100</div>
</pre>
<p>Save the file in your <strong>My Documents</strong> folder and call it <strong>options.ini</strong>. (Make sure you set the Save As type to All Files other wise you end up with options.ini.txt which doesn&#8217;t help)</p>
<p>Copy the file into both &#8220;My Documents\Command and Conquer Generals Data&#8221; and &#8220;My Documents\Command and Conquer Generals Zero Hour Data&#8221;: If these folders don&#8217;t exist then you need to start the game and let it crash first.</p>
<h4>4) Set Compatibility Mode</h4>
<p>In the install directories (once again, do this for both Generals and Zero Hour), right hand click on the <strong>generals.exe</strong> and select properies.</p>
<p><strong>Compatibility Mode</strong> -&gt; <strong>Change settings for all users</strong> -&gt; Run this program in compatibility mode for: <strong>Windows XP SP3</strong>.</p>
<p>You should find both Generals and Zero Hour to now work and run fine <img src='http://cranialtrauma.co.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Battlefield Control Online&#8230;</h2>
<p>So there you go. If you&#8217;re starting a LAN game then make sure the Windows Firewall isn&#8217;t blocking you and otherwise rock on.</p>
<p>No doubt I&#8217;ve forgotten to write down a vital step, but I&#8217;m sure people will complain when it doesn&#8217;t work.</p>
<p>Happy Christmas and Happy Gaming.</p>
]]></content:encoded>
			<wfw:commentRss>http://cranialtrauma.co.uk/2010/12/cc-first-decade-windows-7-64bit/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>CiBOX Monitor -Hidden Factory Menu</title>
		<link>http://cranialtrauma.co.uk/2009/01/cibox-monitor-hidden-factory-menu/</link>
		<comments>http://cranialtrauma.co.uk/2009/01/cibox-monitor-hidden-factory-menu/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 05:06:35 +0000</pubDate>
		<dc:creator>Toker</dc:creator>
				<category><![CDATA[Hardware Hacking]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[cibox]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hidden menu]]></category>

		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=199</guid>
		<description><![CDATA[In which we find the Hidden Factory Menu and I rant about monitors.]]></description>
			<content:encoded><![CDATA[<p><a class="thickbox" href="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2009/01/cibox-factory.jpg"><img class="alignright size-thumbnail wp-image-207" title="CiBOX Factory Menu" src="http://cranialtrauma.co.uk/wordpress/wp-content/uploads/2009/01/cibox-factory-143x150.jpg" alt="CiBOX Factory Menu" width="143" height="150" /></a><br />
A couple of years ago, I got paid for some programming with a <a href="http://www.google.co.uk/search?hl=en&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-GB%3Aofficial&amp;hs=4iZ&amp;q=cibox+c1905+&amp;btnG=Search&amp;meta=" target="_blank"> CiBOX C1905 19&#8243; Monitor</a>.</p>
<p>When  I first got it, I thought it was the dogs-danglies, however after using it for a little while, two inconsolable problems came to light.</p>
<p>Personally I dislike wide-screen monitors. I spend a lot of time typing and whether it be paragraphs of text or lines of code / config files; all of which (especially if you hope it to be printable) have a habit of being in portrait; eg: <em>Scrolling Down!</em></p>
<p><em><span id="more-199"></span><br />
</em></p>
<p>I have got nothing against the idea of the wide-screen format, but I do object to these ridiculous resolutions I <em>now</em> have to endure. My nice monitor at home is an old 19&#8243; Sony Trinitron; approximately 7 years old now and happily supports a resolution of 1280&#215;1024. The CiBox replaced another old Sony Trinitron; this time a 15&#8243; and came with my first PC in 1996. It supported (before it finally died) a resolution of 1024&#215;768.</p>
<p>OK, I suppose, just having typed it now, that in comparison 1440&#215;900 isn&#8217;t as awful a resolution as it could be, but seriously, its nowhere near as high as it could be. I have config files going on for thousands of lines and these screens are not helping.</p>
<p>I was swapping a hard-drive in a £2,000 Sony VAIO laptop last month and it booted Vista. I couldn&#8217;t work out why it had such massive icons until I realised the screen in this slick shiny box was only 1366&#215;768. What the freakin fuck!?</p>
<p>My other major annoyance is with the colours on this hunk-o-junk. I didn&#8217;t realise it until the guy I was coding with wanted me to look at some background boxes I couldn&#8217;t see. No matter how I try and adjust it, pale-pastel colours just don&#8217;t exist on this thing. I&#8217;d be interested to know if anyone else has this problem. Anyway, onto the bit you might be interested in:</p>
<p><strong>[HowTo: Engineers Menu]</strong></p>
<ol>
<li> Switch off the monitor.</li>
<li>Hold down the <strong>Volume-Down</strong> button.</li>
<li>Tap the <strong>Power</strong> button. Keep the volume-down button held down.</li>
<li>The monitor will power on. It should show you adjusting the volume down, however the OSD will applier on the Left (usually its on the right).</li>
<li>Select <strong>System</strong> from the OSD Menu.</li>
<li>Power cycle the monitor as usual to reset.</li>
</ol>
<p><em>I don&#8217;t pretend to understand what you can do in the Factory menu. Mess about and break things at your own risk; I reset my total on-time before I realised what I shouldn&#8217;t be doing.<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://cranialtrauma.co.uk/2009/01/cibox-monitor-hidden-factory-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pro/Desktop 8 and Wine</title>
		<link>http://cranialtrauma.co.uk/2009/01/prodesktop-8-and-wine/</link>
		<comments>http://cranialtrauma.co.uk/2009/01/prodesktop-8-and-wine/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 11:02:16 +0000</pubDate>
		<dc:creator>Toker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WINE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PDC]]></category>
		<category><![CDATA[Pro/Desktop]]></category>

		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=157</guid>
		<description><![CDATA[I&#8217;ve recently come across PTCs Pro Desktop 3D CAD software when reinstalling a laptop for a friend. As I understand it, Pro/Desktop is the younger brother to Pro/ENGINEER, &#8220;a parametric, integrated 3D CAD/CAM/CAE solution&#8221; produced and distributed by PTC. And after playing with it, to try and make a vivarium, I decided I needed it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently come across <a href="http://en.wikipedia.org/wiki/Pro/DESKTOP" target="_blank">PTCs Pro Desktop</a> 3D CAD software when reinstalling a laptop for a friend.<br />
As I understand it, Pro/Desktop is the younger brother to Pro/ENGINEER, &#8220;a parametric, integrated 3D CAD/CAM/CAE solution&#8221; produced and distributed by PTC.</p>
<p>And after playing with it, to try and make a vivarium, I decided I needed it to run on linux.</p>
<p><span id="more-157"></span></p>
<p>Needed:</p>
<ul>
<li>PTC Pro/Desktop 8.0 Installed and Working (on Windows).</li>
<li>A Windows box to steal some .dll files off <small>(XP SP2)</small>.</li>
<li>A Working copy of Linux with Wine.<br />
<small>(I used <a href="http://www.gentoo.org" target="_blank">Gentoo</a> Linux (2.6.27-r4 and Wine 1.1.0</small></li>
<li>Access to a root terminal <small>(which you should open)</small>.</li>
</ul>
<p>Before we start, we&#8217;re going to create a new wine &#8220;bottle&#8221; -essentially a new wine directory just for Pro/D. Its a habbit I&#8217;ve been in for a while, as it means you can have an isolated enviroment for each app, making testing much easier.  -I think I have to thank <a href="http://www.codeweavers.com/products/cxlinux/" target="_blank">cxoffice</a> for giving me the idea origionally.</p>
<p>We&#8217;re going to install Pro/D to ~/.wine-proDesktop (this is a hidden file in your home directory )</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">wineprefixcreate <span class="re5">&#8211;prefix</span> ~<span class="sy0">/</span>.wine-proDesktop</div>
</div>
<p>Normally, if you want to run a program in WINE, you just need to run `wine ${Program_Name}`. Because we are not using the standard WINE directory (~/.wine), we need to specify the correct dir to WINE or any of the associated programs (eg. winecfg or winefile). -this can be done in two ways.</p>
<p>If you just want to set the wine prefix for just one run then you can specify it on the command line, leave a space and then run winecfg:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="re2">WINEPREFIX</span>=<span class="st0">&quot;/home/<span class="es3">${USERNAME}</span>/.wine-proDesktop/&quot;</span> winecfg</div>
</div>
<p>Otherwise, we can set it for the entire session, so we only have to specify it once:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">WINEPREFIX</span>=<span class="st0">&quot;/home/<span class="es3">${USERNAME}</span>/.wine-proDesktop&quot;</span></div>
</div>
<p>and then just:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">winecfg<br />
wine</div>
</div>
<p>or anything else, as they will all see WINEPREFIX as we set it.</p>
<p>If you want to see what it is set to, then you can  run:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw3">echo</span> <span class="co1">${WINEPREFIX}</span></div>
</div>
<p>to have it printed out, or just</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw3">export</span></div>
</div>
<p>to see a list of what there is.</p>
<p>.</p>
<p>The next step involves getting your windows box and copying three files from &#8220;<strong>C:WindowsSystem32</strong>&#8221; and putting them in &#8220;<strong>~/.wine-proDesktop/drive_c/windows/system32/</strong>&#8221; on your linux box.</p>
<ul>
<li>mfc32.dll</li>
<li>msvcirt.dll</li>
<li>MSVCIRTD.dll</li>
</ul>
<p>You&#8217;ll also want to copy Pro/Desktop accross from the working windows installation. Copy &#8220;<strong>C:Program FilesPTC</strong>&#8221; from the windows installation to &#8220;<strong>~/.wine-proDesktop/drive_c/Program Files/PTC</strong>&#8221;. In my installation I have &#8220;Program Files/PTC/ProDESKTOP 8.0/Program/ProD.exe&#8221; as a path to the actual executable, and I&#8217;m assuming its the same on yours.<br />
We now need to tell WINE to use the .dll files we copied from windows, rather than its built in versions. Run `winecfg` making sure to specify the WINEPREFIX as we spoke about above.</p>
<p>The first thing we are going to do is set wine to pretend to be Windows XP for Pro/D. On the [Applications] tab click &#8220;Default Settings&#8221; then select  &#8220;Windows Version: Windows XP&#8221; at the bottom of the window.</p>
<p>Click on the [Libraries] tab. In the &#8220;New override for library&#8221; box type in the dll names (mfc32.dll, msvcirt.dll, msvcirtd.dll) one at a time, hitting [Add] between them. They should be listed in the window.</p>
<p>Its also worth clicking on the [Graphics] tab and enable &#8220;Emulate a virtual desktop&#8221;. I set mine slightly smaller than my actual resolution. I found that enabling the virtual desktop resolved a lot of graphics lag. Hit OK to close winecfg.</p>
<p>Lastly, we need to install the Microsoft Visual Baisc runtime, which seems easiest done with the help of <a href="http://wiki.winehq.org/winetricks" target="_blank">winetricks</a>.</p>
<p>At the terminal, change directory to our WINEPREFIX, download winetricks and then get it to install the visual basic 6 runtimes.</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw3">cd</span> ~<span class="sy0">/</span>.wine-proDesktop<br />
<span class="kw2">wget</span> http:<span class="sy0">//</span>www.kegel.com<span class="sy0">/</span>wine<span class="sy0">/</span>winetricks<br />
<span class="re2">WINEPREFIX</span>=<span class="st0">&quot;/home/<span class="es3">${USERNAME}</span>/.wine-proDesktop&quot;</span> <span class="kw2">sh</span> winetricks vb6run gecko</div>
</div>
<p>And bam, thats it!</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="re2">WINEPREFIX</span>=<span class="st0">&quot;/home/<span class="es3">${USERNAME}</span>/.wine-proDesktop&quot;</span> wine <span class="st0">&quot;C:Program FilesPTCProDESKTOP 8.0ProgramProD.exe&quot;</span></div>
</div>
<p> and it runs, and works. If extremely slowly.</p>
<hr /><strong>Update:</strong></p>
<p>It seems that using winetricks to install DirectX9 seems to solve a lot of the graphics lag problems, however be warned, ProDesktop now crashes when I try and open some files that DID work before DX9.</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="re2">WINEPREFIX</span>=<span class="st0">&quot;/home/<span class="es3">${USERNAME}</span>/.wine-proDesktop&quot;</span> <span class="kw2">sh</span> winetricks directx9</div>
</div>
<p><strong>Update2:</strong></p>
<p>After making sure to restart the wineserver (`wineserver -k`) I am now <strong>not</strong> having any problems with previously created files.<br />
I can, without any problems, open an assembly consisting of 7 different pieces, created on a windows box.  -ace <img src='http://cranialtrauma.co.uk/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<hr /><strong>Error Messages:</strong></p>
<p>The command has been aborted. It was not possible to create the graphics window. A common cause is that your display settings are incorrect. The application requires 65536 colors or greater. See the Settings page fo the Display icon in the Control Panel.</p>
<p><em>I seem to be able to toggle this error on and off quite easily.<br />
Go into the <strong>Tools</strong> menu and select <strong>Options -&gt; Performance</strong>.  Make sure &#8220;Disable graphics hardware acceleration&#8221; is <strong>NOT</strong> selected.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://cranialtrauma.co.uk/2009/01/prodesktop-8-and-wine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stop Auto-Signin to Messenger on Xbox360</title>
		<link>http://cranialtrauma.co.uk/2008/12/stop-auto-signin-to-messenger-on-xbox360/</link>
		<comments>http://cranialtrauma.co.uk/2008/12/stop-auto-signin-to-messenger-on-xbox360/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 20:58:18 +0000</pubDate>
		<dc:creator>Toker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[msn messenger]]></category>
		<category><![CDATA[xbox Live]]></category>
		<category><![CDATA[xbox360]]></category>

		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=140</guid>
		<description><![CDATA[So I got asked a couple of days ago how to stop the xbox auto signing in to MSN Messenger. Whilst its a handy feature (-I talk to a couple of people over MSN who don&#8217;t have a computer, just Live,) it&#8217;s also a great PITA to constantly get signed off from the computer and [...]]]></description>
			<content:encoded><![CDATA[<p>So I got asked a couple of days ago how to stop the xbox auto signing in to MSN Messenger.<br />
Whilst its a handy feature (-I talk to a couple of people over MSN who don&#8217;t have a computer, just <em>Live</em>,) it&#8217;s also a great PITA to constantly get signed off from the computer and to have people trying to chat when you&#8217;re busy killing Horde or trying to complete a Rally.</p>
<p>So, very simpily:<span id="more-140"></span></p>
<ol>
<li>Sign in as you on the Xbox.</li>
<li>Hit the <strong>(<span style="color: #00ff00;">X</span><span style="color: #000000;">)</span></strong><span style="color: #000000;"> button to get to the Blade menu.</span></li>
<li><span style="color: #000000;">Go to <strong>Settings</strong> (its the far right blade).</span></li>
<li><span style="color: #000000;">Select <strong>Profile</strong>.</span></li>
<li><span style="color: #000000;">Hit <strong>Auto Sign-In</strong>.</span></li>
</ol>
<p>We get given two basic options;</p>
<p>Auto Sign-In for:</p>
<ul>
<li>Xbox Live  (Enable/Disable)</li>
<li><strong>Windows Live Messenger</strong> (Enable/<strong><em>Disable</em></strong>)</li>
</ul>
<p>You can probably guess your way from here.</p>
<p>Now might be a good place to have a quick rant about the new 360 Dashboard. Its fucking awful. &lt;/rant&gt; <img src='http://cranialtrauma.co.uk/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cranialtrauma.co.uk/2008/12/stop-auto-signin-to-messenger-on-xbox360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vmware workstation 6.5.0.118166 (on linux)</title>
		<link>http://cranialtrauma.co.uk/2008/12/vmware-workstation-650118166-on-linux/</link>
		<comments>http://cranialtrauma.co.uk/2008/12/vmware-workstation-650118166-on-linux/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 10:11:04 +0000</pubDate>
		<dc:creator>Toker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=136</guid>
		<description><![CDATA[Vmware&#8217;s Workstation (version 6.5.0.118166) is proving impossible to get running on my Gentoo-AMD64 box. It seems to get installed without any bother, the kernel modules load fine, but then when I run workstation or player, it tells me it &#8220;Cannot initiate the installer DB&#8221; when trying to run it. Currently going round in circles trying [...]]]></description>
			<content:encoded><![CDATA[<p>Vmware&#8217;s Workstation (version 6.5.0.118166) is proving impossible to get running on my Gentoo-AMD64 box.</p>
<p>It seems to get installed without any bother, the kernel modules load fine, but then when I run workstation or player, it tells me it &#8220;Cannot initiate the installer DB&#8221; when trying to run it.</p>
<p>Currently going round in circles trying to get somewhere. -and I thought updating would be a good idea. 6.0 was really sweet.</p>
<p>&#8212;&#8212;-</p>
<p><em>Edit:</em></p>
<p>Turns out, its actually quite simple. And it seems other gentoo users have been having problems((see gentoo bug ID <a href="http://bugs.gentoo.org/show_bug.cgi?id=248813" target="_blank">248813</a> and maybe <a href="http://forums.gentoo.org/viewtopic-p-5252020.html" target="_blank">this gentoo forums post</a>))</p>
<p>The trick to getting it working, is very simple. Even if it did take me about a week of going round in circles to get anywhere. <strong>Delete</strong> (or atleast move) <strong>/etc/vmware</strong>. Then reinstall and you&#8217;re done.</p>
<p>However -Rather than downloading an illigal copy of vmware-workstation, or even worse paying for it, why not try <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> as a direct replacement to workstation?</p>
<p>Its free, open source, and frankly, is preferable to vmware. Try it for a week, once you get past the fact its different, it becomes really quite sweet <img src='http://cranialtrauma.co.uk/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cranialtrauma.co.uk/2008/12/vmware-workstation-650118166-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GoogleMail on Sony Ericsson K750i</title>
		<link>http://cranialtrauma.co.uk/2008/08/googlemail-imap-k750i/</link>
		<comments>http://cranialtrauma.co.uk/2008/08/googlemail-imap-k750i/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 23:46:02 +0000</pubDate>
		<dc:creator>Toker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[How do tags work!?]]></category>
		<category><![CDATA[k750i]]></category>
		<category><![CDATA[sony ericsson]]></category>

		<guid isPermaLink="false">http://cranialtrauma.co.uk/wordpress/?p=1</guid>
		<description><![CDATA[I use Google A Tools to manage email for some of the domains I&#8217;m hosting. After spending a couple of years messing about with exim, courier-imap and squirrelmail (and then roundcube, which is rather nice, if bad) I decided that when I moved the server, I couldn&#8217;t be bothered setting it all up again and [...]]]></description>
			<content:encoded><![CDATA[<p>I use Google A Tools to manage email for some of the domains I&#8217;m hosting. After spending a couple of years messing about with exim, courier-imap and squirrelmail (and then roundcube, which is rather nice, if bad) I decided that when I moved the server, I couldn&#8217;t be bothered setting it all up again and google was the easy way out.</p>
<p>One stoned evening, after not being near a net connection for a couple of days, I started suffering withdrawal, and ended up installing <a title="Opera Mini" href="http://www.operamini.com" target="_blank">Opera Mini</a> (which is surprisingly good), set up the account to allow IMAP and then tried to configure the phone. All I got was an error stating:</p>
<div class="codesnip-container" >Encryption error, TLS/SSL unknown certificate authority</div>
<p>I spent a lot of time googling and got nowhere fast, in the end it turns out to be really simple; all you need to do is have the <a title="Thwate" href="http://www.thwate.com" target="_blank">Thwate</a> Premium Server CA Certificate installed. Easy <img src='http://cranialtrauma.co.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-1"></span></p>
<h2 style="text-align: center;">HowTo:<br />
Gmail / GoogleMail on SonyEricsson K750i</h2>
<ol>
<li><a href="#checkweb" target="_self">Check for Web Access on your Mobile.</a></li>
<li><a href="#configgoogle" target="_self">Configure Google Mail to allow IMAP.</a></li>
<li><a href="#handsetconfig" target="_self">Set up the email account on the handset.</a></li>
<li><a href="#sslinstall" target="_self">Install the SSL Certificate.</a></li>
<li><a href="#testing" target="_self">Test your email.</a></li>
</ol>
<h3 id="checkweb">Check for Web Access on your Mobile.</h3>
<p>The first thing you need to do is make sure you can access the internet on your phone -and I mean the proper internet, not just for your mobile provider.</p>
<p>#2 in the menu is &#8220;Internet Services&#8221;. Select this and then [More] -&gt; [Enter Address]. See if you can hit google.com or a website of your liking -if you have some bandwidth to burn you could download opera mini and have a play with that -its quite impressive.</p>
<p>At this point, if its working, you have the option of going to m.google.com and using their web based googlemail, or even their Java applet. NOTE: This only works with @gmail.com email addresses, not with you@yourdomain.com</p>
<p>-If at this point you find you can&#8217;t get on the internet, then you will have to get in contact with your network provider and get help. I am currently using GPRS on Vodafone Pre-Pay.</p>
<h3 id="configgoogle">Configure Google Mail to allow IMAP.</h3>
<p>Before you can access your google mail via IMAP you will need to enable it in your account settings.</p>
<ol>
<li>Log into your mail account.</li>
<li>Click on Settings (top right) once you&#8217;ve logged in. Select &#8220;Forwarding and POP3&#8243;</li>
<li>Enable IMAP Access. Click Save Changes.</li>
</ol>
<h3 id="handsetconfig">Set up the email account on the handset.</h3>
<p>In the Menu select Messaging &#8211;&gt; Email &#8211;&gt; Settings &#8211;&gt; Account Settings &#8211;&gt; New Account.</p>
<p><strong>Connect Using:</strong> Select the correct GPRS/GSM Account that you used to get on the internet in step 1.<br />
<strong>Protocol: </strong>IMAP4<br />
<strong>Incoming server:</strong> imap.googlemail.com<br />
<strong>Incoming port:</strong> 993<br />
<strong>Encryption:</strong> TLS/SSL<br />
<strong>Mailbox: </strong>username@yourdomain.com<br />
<strong>Password: </strong>YourPassword<br />
<strong>Outgoing Server:</strong> smtp.googlemail.com<br />
<strong>Outgoing Port:</strong> 465<br />
<strong>Email Address: </strong>username@yourdomain.com<br />
<strong>Download:</strong> Headers Only (much quicker)<br />
<strong>From Name: </strong>This is the name that will be displayed in the from address when you email someone else.<br />
<strong>Signature: </strong>Customise to your liking<br />
<strong>Copy Outgoing: </strong>can forward mail to another address. Set to off.<br />
<strong>Check Interval:</strong> 2 Hours -be warned, this can be expensive.</p>
<p>After setting up your email, if you enter into Messaging -&gt; Email -&gt; Inbox and select More -&gt; Send and receve you should be rewarded with an error message stating:
<div class="codesnip-container" >&#8220;Encryption error, TLS/SSL unknown certificate authority&#8221;</div>
<p>. Not a problem We deal with this next.</p>
<h3 id="sslinstall">Install the SSL Certificate.</h3>
<p>Head to <a href="http://www.thawte.com/roots/index.html" target="_blank">http://www.thawte.com/roots/index.html</a>, you can leave the form blank and it will let you download &#8220;thawte-roots.zip&#8221;.</p>
<p>Inside of the zip file in the folder &#8220;Thawte Server Roots&#8221; you want to extract two files:<br />
ThawteServerCA.cer<br />
ThawtePremiumServerCA.cer</p>
<p>Bluetooth/Infared these two files to your phone. It will ask if you wish to install them, say yes.</p>
<h3 id="testing&quot;">Test Your Mail</h3>
<p>Messaging -&gt; Email -&gt; Inbox</p>
<p>Select Send and Recieve: it should JustWork??? Also Check you can send Email.</p>
]]></content:encoded>
			<wfw:commentRss>http://cranialtrauma.co.uk/2008/08/googlemail-imap-k750i/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

