<?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>A Linux User in a Windows World &#187; EVE-Online</title>
	<atom:link href="http://jan.saell.org/blog/archives/category/eve-online/feed" rel="self" type="application/rss+xml" />
	<link>http://jan.saell.org/blog</link>
	<description>Ramblings from an old Linux guru</description>
	<lastBuildDate>Tue, 10 Jan 2012 10:12:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>EVE Incursion and Wine and pulseaudio</title>
		<link>http://jan.saell.org/blog/archives/1527</link>
		<comments>http://jan.saell.org/blog/archives/1527#comments</comments>
		<pubDate>Sat, 18 Jun 2011 18:20:11 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[EVE Online]]></category>
		<category><![CDATA[Incarna]]></category>
		<category><![CDATA[Puleaudio]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1527</guid>
		<description><![CDATA[Last week has been &#8211; lets say &#8211; full of work. So after a long sleep in, in the morning, I decided to start up my old friend EVE. And I remembered that the on Tuesday the 21:th it is time for Incarna. So I read a bit about it on the forums and it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Last week has been &#8211; lets say &#8211; full of work. So after a long sleep in, in the morning, I decided to start up my old friend EVE. And I remembered that the on Tuesday the 21:th it is time for Incarna. So I read a bit about it on the forums and it seems that I needed to patch wine. But to be sure I started EVE on Sisi and downloaded the patch and tested.</p>
<p><span id="more-1527"></span>And yes &#8211; it would not connect.</p>
<p>So I read a bit more and found that I needed the latest wine and a patch to thie to make network working &#8211; if you dont you will get the error message:</p>
<pre>unable to connect to 87.237.38.50 on port 26000</pre>
<p>Apparently there has been some changes to the network and wine had a small bug or some flags that it did not support. And the good thing is that someone has already made the patch. You can find it on the forums <a href="http://www.eveonline.com/ingameboard.asp?a=topic&amp;threadID=1521316" target="_blank">here</a>.</p>
<p>But unfortunately for me I also need the pulseaudio enabled wine. The page about <a href="http://art.ified.ca/?page_id=40" target="_blank">WinePulse</a> describes very well how to do this and the patches to patch wine to support pulseaudio. But only for 1.3.20 version and not 1.3.22. So I needed to fiddle around abit to get it working. Not to much,</p>
<p>So here is the way to build wine 1.3.22 with pulseaudio support and suport for EVE online. Most information from <a href="http://www.eveonline.com/ingameboard.asp?a=topic&amp;threadID=1521316" target="_blank">here</a>.</p>
<p>First get the dependencies for building Wine</p>
<pre>sudo apt-get build-dep wine1.3</pre>
<p>Then remove the installed wine version</p>
<pre>sudo apt-get remove wine1.3</pre>
<p>Then install git if you dont have it installed.</p>
<pre>sudo apt-get install git</pre>
<p>So lets get a got repository to work with</p>
<p>git clone git://source.winehq.org/git/wine.git</p>
<p>Go into it and download the patched both for the network changes to get EVE working and the patches for</p>
<p>cd wine</p>
<p>Get the overlapped2.diff file</p>
<pre>wget http://pastebin.com/download.php?i=mnx3Uqq5 -O overlapped2.diff</pre>
<p>The overlapped2.diff was also a dos file so i converted it to dos and you whant to ass a last newline to it:</p>
<pre>fromdos overlapped2.diff</pre>
<pre>echo -e "\n" &gt;&gt; overlapped2.diff</pre>
<p>Or you can get my fixed one <a href="http://jan.saell.org/blog/wp-content/uploads/2011/06/overlapped2.zip">here</a> and unzip it.</p>
<p>Then download the Winepulse patched:</p>
<pre>wget http://art.ified.ca/downloads/winepulse/winepulse-0.39.patch</pre>
<pre>wget http://art.ified.ca/downloads/winepulse/winepulse-winecfg-1.3.11.patch</pre>
<p>The winepulse patch for configure.ac is not updated for 1.3.22 as of this writing so you can get it <a href="http://jan.saell.org/blog/wp-content/uploads/2011/06/winepulse-configure.ac-1.3.22.zip" target="_blank">winepulse-configure.ac-1.3.22.zip</a>. YOu need to unpack the file with unzip before you can continue.</p>
<p>Time to apply the patch files</p>
<pre>git apply overlapped2.diff</pre>
<p>And the winepulse patches</p>
<pre>git apply winepulse-0.39.patch</pre>
<pre>git apply winepulse-winecfg-1.3.11.patch</pre>
<pre>git apply winepulse-configure.ac-1.3.22.patch</pre>
<p>Now we can rebuild the configure system</p>
<pre>autoreconf</pre>
<p>And configure the build</p>
<pre>./configure</pre>
<p>And now we build the wine system &#8211; this take some time so this is a nice place for a cup of coffe</p>
<pre>make</pre>
<p>And if all is well &#8211; install it</p>
<pre>sudo make install</pre>
<p>Now you shoudl be able to run Incarna &#8211; I have tested it with sisi and i have some small graphics glitches but captains quarter works.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1527/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>First glimses of incarna</title>
		<link>http://jan.saell.org/blog/archives/1221</link>
		<comments>http://jan.saell.org/blog/archives/1221#comments</comments>
		<pubDate>Sat, 09 Oct 2010 21:50:46 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1221</guid>
		<description><![CDATA[Here are some nice videos of character creation that CCP has released. Its still work in progress but if you like to make you avartar just your own ut seems that you have plenty of options here. I sugest that you whatch it in HD and on full screen to get all details.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Here are some nice videos of character creation that CCP has released. Its still work in progress but if you like to make you avartar just your own ut seems that you have plenty of options here.</p>
<p><span id="more-1221"></span>I sugest that you whatch it in HD and on full screen to get all details.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/tJ_DQFVuixM?fs=1&amp;hl=en_GB" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/tJ_DQFVuixM?fs=1&amp;hl=en_GB" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/YAT8jHde9og?fs=1&amp;hl=en_GB" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/YAT8jHde9og?fs=1&amp;hl=en_GB" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1221/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubntu Karmic (9.10) from 8.04 – Part 3 – Wine and EVE Online and pulseaudio</title>
		<link>http://jan.saell.org/blog/archives/881</link>
		<comments>http://jan.saell.org/blog/archives/881#comments</comments>
		<pubDate>Sun, 18 Apr 2010 12:29:01 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=881</guid>
		<description><![CDATA[So the next item on the upgrade list is to get sound and wine to work. Yes &#8211; I&#8217;m kind of addicted to EVE Online and i have to get that work. In the old system I had pulseaudio to work. I really like that as it handles multiple input and outputs and you can even adjust volumes and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So the next item on the upgrade list is to get sound and wine to work. Yes &#8211; I&#8217;m kind of addicted to EVE Online and i have to get that work.</p>
<p>In the old system I had pulseaudio to work. I really like that as it handles multiple input and outputs and you can even adjust volumes and individual applications. So its a really god system. In the old system (8.04) it worked very well, but tended to hang some times, and I had to kill the pulseaudion daemon and restart it from time to time.</p>
<p><span id="more-881"></span></p>
<p>In 9.10 pulseaudion is the default use and I like that. Its very stable and works well. Unfortunately some applications is not OK with pulseaudio and there is some problems getting them to work.</p>
<p>Things that works well is:</p>
<ul>
<li>System sounds</li>
<li>Skype &#8211; latest version 2.1.0.81 has pulseaudio support</li>
<li>Audacity audion editor works now well with pulse</li>
<li>Flash via Chrome or Firefox works ok</li>
<li>Virtualbox works very well</li>
</ul>
<p>Not working:</p>
<ul>
<li>Realaudio player</li>
<li>IP Telephone &#8211; ekiga can work by using the headset without pulseaudio</li>
<li>VMWare &#8211; but im not using sound there</li>
<li>Wine out of the box</li>
</ul>
<p>So most is working but I need to get wine working.</p>
<p>I hate the fact that when you go out and surf for a problem with any application and pulseaudion the top 10 things you get is &#8220;Oh i solved the problem by uninstalling pulseaudio and now everything is working&#8221;. That is not a solution for me. I want pulseaudion to be able to handle multiple streams and so on and going back to an older system is a bit backwards in my opinion. Fix the bugs and get the new things to work instead.</p>
<p>In the old system I had wine working with padsp &#8211; the pulseaudion OSS wrapper. And it was working well. But in this new OS its not working well at all. <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>After googeling and checking I found the Winepulse project. Apparently someone in Canada did make a sound backend for wine that can talk to the pulseaudio server. Unfortunately it will not be included in the normal wine as the wine people are rewriting wine to use OpenAL and that has pulseaudio build in so it will be available when that is in. When that now will happen.</p>
<p>So in the mean time you have to use winepulse patch or download from their archive.</p>
<p>So did it work &#8211; YES &#8211; perfectly and without any problem.</p>
<p>So what did I do.</p>
<ul>
<li>First i removed the old wine installation.</li>
<li>Then i disabled the winehw archine from the source list</li>
<li>And added Neil Wilson’s PPA: <a href="https://launchpad.net/~neil-aldur/+archive/ppa">https://launchpad.net/~neil-aldur/+archive/ppa</a></li>
<li>And installed the <em>wine1.2 &#8211; 1.1.31.oubuntu+winepulse0.33</em> package</li>
</ul>
<p>And now I happily can play my eve. Almost!!!</p>
<p>There is a bug in the ubuntu kernel that apparently locks up eve when you start it up. There are some fixes but I changed the start-up icon to do this instead of  anything else. What is does is change the <em>bitsCancelled=1</em> to <em>bitsCanccelled=0</em> in the prefs.ini file before starting up eve. And this works 95% of all cases.</p>
<pre>env WINEPREFIX="/home/xxx/.wine" sed -i -e '/bitsCancelled/ s/1/0/'
 "/home/xxx/.wine/drive_c/Program Files/CCP/EVE/cache/prefs.ini"
&amp;&amp; wine explorer /desktop=0,1600x1000 "C:\Program Files\CCP\EVE\eve.exe"  /end /LUA:OFF</pre>
<p>It shuld be all on one line. And if you have multiple start-up for different clients you need to change them to. Don&#8217;t forget to change the xxx to you home directory.</p>
<p>There are a few times when the startup dont work for me. By doing a <em>wineboot -k </em>command and then start again usually works then.</p>
<p>Now I can play eve as I whant.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/881/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I got ganked in Empire</title>
		<link>http://jan.saell.org/blog/archives/818</link>
		<comments>http://jan.saell.org/blog/archives/818#comments</comments>
		<pubDate>Mon, 08 Mar 2010 07:47:36 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=818</guid>
		<description><![CDATA[It has been an expensive weekend in EVE. First it started out on saturdays that we needed to transport a tower down to our new place in Fountain. I logged on my alt in our transport Corp. Checkd and good &#8211; no wardecs or anything so that should be safe to travle in empire. Headed [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> It has been an expensive weekend in EVE.</p>
<p>First it started out on saturdays that we needed to transport a tower down to our new place in Fountain. I logged on my alt in our transport Corp. Checkd and good &#8211; no wardecs or anything so that should be safe to travle in empire.</p>
<p><span id="more-818"></span></p>
<p>Headed to the place where the tower was. Picked up the contract and headed out to the place where we jump things down. And as its &#8220;safe&#8221; in empire i just put the autopilot on and went back to my moonscanning. And when i looked back on that screen i was in a pod &#8211; WTF</p>
<p>Checked a bit and yes &#8211; someone had killed me in 0.5 space. DAM.</p>
<p>And then I started to look more what happened, and saw what I actually did transport. It was a Domination tower &#8211; cost 1.02b or so.</p>
<p>Fortunately the tower was killed so the bastard that blowed up my ship did not get it. So that was a good thing at least.</p>
<p>So the lesson for this &#8211; if you transport 1b worth of isk &#8211; dont count on being safe in empire.</p>
<p>Then i managed to get killed in my viator down in fountain. And the reason fr that was that I did not follow my own rules when going tru a gatecamp.</p>
<p>So over all it was a loss off 1.9b for that weekend. But its a game and i dont mind. you learn someting new every time.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/818/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NIX EVE Meetup in London 2009-09-12</title>
		<link>http://jan.saell.org/blog/archives/596</link>
		<comments>http://jan.saell.org/blog/archives/596#comments</comments>
		<pubDate>Tue, 15 Sep 2009 12:21:19 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=596</guid>
		<description><![CDATA[On Saturday it was time for the London meet up of my online corporation NIX (Phoenix Industries). We have been talking about meeting up quite some time and now it was finally time. I trawled to London earlier in the week so i was kind of in place at our office out in Harlow already [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> On Saturday it was time for the London meet up of my online corporation NIX (Phoenix Industries). We have been talking about meeting up quite some time and now it was finally time.</p>
<p>I trawled to London earlier in the week so i was kind of in place at our office out in Harlow already but Wollarie was coming in from Germany in the morning and Lasha was travelling down from the Midlands in the morning to. And I took a train in. We were supposed to meed with Blan and Alexej also but they got IRL things to take care of and as usuall the IRL business has to take precedence over internet spaceship.</p>
<p><span id="more-596"></span>We decided to meet up at <a title="Trafalgar Square" onmousedown="return clk(this.href,'','','res','1','')" href="http://maps.google.co.uk/maps?hl=en&amp;client=firefox-a&amp;rls=com.ubuntu:en-US:unofficial&amp;hs=cLr&amp;resnum=0&amp;um=1&amp;ie=UTF-8&amp;q=london+trafalgar+square&amp;fb=1&amp;split=1&amp;gl=uk&amp;view=text&amp;latlng=14988193149676247495"><em><em>Trafalgar Square</em></em></a> around 12. I took the train in from Bishop Stortford and was at Liverpool Street station around 11:15 and the out and got the bus to Trafalgar Square. We were meeting at the stairs in front of the National Gallery and i stood there waiting. After some minutes Lasha called me and after some looking around we found each other.</p>
<p>Wollarie had been travelling from Germany since far to early so he was a bit hungry for some lunch so we decided to stop at a Pizza Hut on the way up to the hotel.</p>

<a href="http://jan.saell.org/blog/wp-content/gallery/nix_eve_london_meet_2009-09-12/dsc00015.jpg" title="Lunch at PuzzaHut" class="thickbox" rel="singlepic84" >
	<img class="ngg-singlepic" src="http://jan.saell.org/blog/wp-content/gallery/cache/84__320x240_dsc00015.jpg" alt="dsc00015" title="dsc00015" />
</a>

<p>After a long lunch with 2 or 3 fill ups of the cola we decided to move on up to the hotel. Both Lasha and Wollarie was at the same hotel so that was easy. Well it was a bit strange as One was in the main building and the other room was 1 block away, but that&#8217;s how it was.</p>
<p>We took off out to town and a Starbucks, as they usually have free internet wifi there, and also for some coffee. Unfortunately there was not any wifi at the Starbucks at covent garden so we could only satisfy our coffee urges.</p>
<p>After a bit of check-up with what people likes or dislikes we decided on Indian food. I really loves that as we don&#8217;t get that as much home in Sweden and apparently the same goes for Germany. So poor lasha had to come a long also <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . We stopped in Covent garden as there where some free Wifi there and we checked to see if any one else was coming or so, and found out among other things that TQ was down. Well we where not going to play just now so that did not bother us to much.</p>

<a href="http://jan.saell.org/blog/wp-content/gallery/nix_eve_london_meet_2009-09-12/dsc00016.jpg" title="Texting in Convent Garden" class="thickbox" rel="singlepic85" >
	<img class="ngg-singlepic" src="http://jan.saell.org/blog/wp-content/gallery/cache/85__320x240_dsc00016.jpg" alt="dsc00016" title="dsc00016" />
</a>


<a href="http://jan.saell.org/blog/wp-content/gallery/nix_eve_london_meet_2009-09-12/dsc00017.jpg" title="Texting in Convent Garden" class="thickbox" rel="singlepic86" >
	<img class="ngg-singlepic" src="http://jan.saell.org/blog/wp-content/gallery/cache/86__320x240_dsc00017.jpg" alt="dsc00017" title="dsc00017" />
</a>

<p>We had a wonderful meal at a restaurant somewhere between covent garden and trafalgar squeare. A nice micture of meat, Tandori meet and the Chicken TikaMasala. And Naanbread as I really like that. Nice.</p>
<p>Then it was time for beer or alcohol. We started in one of the bars in covent garden and had a nice bottle of wine (lasha cant have beer poor him) and we had a long discussion about EVE and skills and skilltraning etc.</p>

<a href="http://jan.saell.org/blog/wp-content/gallery/nix_eve_london_meet_2009-09-12/dsc00018.jpg" title="Skill diskussion" class="thickbox" rel="singlepic87" >
	<img class="ngg-singlepic" src="http://jan.saell.org/blog/wp-content/gallery/cache/87__320x240_dsc00018.jpg" alt="dsc00018" title="dsc00018" />
</a>

<p>Then we went back to the hotel and I had my guinnes <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  As i was getting a bit tired, I headed back to Liverpool street station around 10 and got one of the fast trains out to Harlow and Stansted so I was in Harlow around 11:30 and back in Much Hadham just before 12.</p>
<p>A very nice meetup and thanks to bout Lasha and Wolarie that came over, and we hope we can do this again and with a bit more planning get more people to come.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/596/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wine 1.22</title>
		<link>http://jan.saell.org/blog/archives/455</link>
		<comments>http://jan.saell.org/blog/archives/455#comments</comments>
		<pubDate>Sun, 24 May 2009 16:42:12 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=455</guid>
		<description><![CDATA[So yesterday the new version of Wine (the windows emulator for Linux) came out. I have not had very much problems with the old version 1.21, the only problem is that the autopatcher for new versions of EVE-Online did not work. And one person has reported that the only thing that was wrong with that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So yesterday the new version of Wine (the windows emulator for Linux) came out. I have not had very much problems with the old version 1.21, the only problem is that the autopatcher for new versions of EVE-Online did not work. And one person has reported that the only thing that was wrong with that was that the code was trying to call a function for setting the priority of the download and that was not implemented in Wine so the call returned an error and the download failed.</p>
<p>But he fixed that, wrote a small stub function that only returns OK, and that is now included in the 1.22 version so I would liked to have that going.</p>
<p>So i let the upgrade program do it works and had wine 1.22 running in no time.</p>
<p>Started up eve and &#8220;Oh No&#8221; &#8211; when I was inside the station i only had a black screen &#8211; no interior at all. So out in space and my show is permanently cloaked &#8211; even for me <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>So reading a bit in the forum it seems that this is a bug in the ATI driver and there is a patch for it, and apparently it should work on Nvidia cards. It might be the fact that i am running a bit old version of the Nvidia drivers. I am running the 169.12 version and the new version that is out is 180.51 so perhaps it is time to think of upgrading that, but as i am about to upgrade the whole system (I don&#8217;t like it and don&#8217;t have the time, but have to eventually) to the new version 9.04, I think I will do it then.</p>
<p>So now I need to downgrade to version 1.21 to have my game going as I whant it. I can live with the fact that I have to download the patches manually.</p>
<p>Downgrading wine</p>
<p>First i need to download the old version. You just go into the link on the wne HQ page and go to the Ubuntu pages and the old archives (<a href="http://wine.budgetdedicated.com/archive/index.html" target="_blank">here</a>) and download the old version (1.21).</p>
<p>Then you install that with dpkg:</p>
<pre>sudo dpkg --install wine_1.1.21~winehq0~ubuntu~8.04-0ubuntu1_amd64.deb</pre>
<p>Next thing you need to do is to lock the version. if you dont do that the system will upgrade wine next time you run the upgrade program. And you do that with:</p>
<pre>echo wine hold | sudo dpkg --set-selections</pre>
<p>And if you as me have Synaptic package manager installed, you can go in there and lock the version also.</p>
<p>This now get me a god working wine that pays my eve, and I have to live with the not working autopatcher for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/455/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wine and EVE Apocrypha 1.2</title>
		<link>http://jan.saell.org/blog/archives/447</link>
		<comments>http://jan.saell.org/blog/archives/447#comments</comments>
		<pubDate>Thu, 14 May 2009 19:45:34 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=447</guid>
		<description><![CDATA[So its time for Apocrypha 1.2 in EVE. This is the new version of EVE online that was released to day. So I hade to patch ofcuase. And with Wine and Linux its not allways that straight forward and easy. First you cant use the normal new download in the client. It will not work. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So its time for Apocrypha 1.2 in EVE. This is the new version of EVE online that was released to day. So I hade to patch ofcuase. And with Wine and Linux its not allways that straight forward and easy.</p>
<p>First you cant use the normal new download in the client. It will not work. But thats not a problem. You can go into the EVE online site, Go to downloads patches and manually download the patch. The file anme for this new patch is <strong>evepremiumpatch86756-88517_m.exe</strong>.</p>
<p><span id="more-447"></span>And the you run this manually:</p>
<pre>env WINEPREFIX="/home/xxx/.wine" padsp wine explorer /desktop=0,1280x1024 download/eve/evepremiumpatch86756-88517_m.exe</pre>
<p>This will start up wine in my home directory, and run wine with padsp (im running wine under pulseaudio).</p>
<p>And go thru the patch process. Then, as I am running 2 clients, I need to patch the other directory also, but thats just to run in one more time.</p>
<p>And onto start it up and check that its working. And the splashscreen comes up and nothing more &#8211; just a blank black screen. Dam &#8211; what to do. Checking the forums and see if anyone else has tis problem.</p>
<p>The first think I found on the forum was ofcuase this from CCP:</p>
<pre>After the deployment of Apocrypha 1.2 there seems to be a problem for
some users running EVE in Wine as well as some Windows users. The
client will open to a black screen and crash if you try to interact
with the escape menu. We at CCP are looking into the issue and will try
to have a solution out as soon as possible. Unfortunately, with
Apocrypha 1.0 back on March 10th we discontinued support of the linux
client and we have never supported running EVE through Wine. What this
means is that we can not guarantee that any solution we implement will
correct this issue for anyone using EVE on a Linux machine.</pre>
<p>You can guess what the result was on that post. But after some rally and some people saying &#8211; take it easy there was a new post and there is a new patch &#8211; <strong>evepremiumpatch88517-88737_m.exe</strong>.  And you can find it at http://ccp.vo.llnwd.net/o2/evepremiumpatch88517-88737_m.exe</p>
<p>So runing this again:</p>
<pre>env WINEPREFIX="/home/xxx/.wine" padsp wine explorer /desktop=0,1280x1024 download/eve/evepremiumpatch88517-88737_m.exe</pre>
<p>And after that my beloved EVE works as it should.</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/447/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New kernel &amp; EVE on Wine 1.1.12</title>
		<link>http://jan.saell.org/blog/archives/240</link>
		<comments>http://jan.saell.org/blog/archives/240#comments</comments>
		<pubDate>Sun, 11 Jan 2009 15:24:29 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=240</guid>
		<description><![CDATA[So new kernel out. With all the problem that can give. I have refrained from installing it during the week as I did not want to much interruption during normal workdays. But now on a Sunday I feel i can afford the time to do it. So first of all i start installing the updates [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So new kernel out. With all the problem that can give. I have refrained from installing it during the week as I did not want to much interruption during normal workdays. But now on a Sunday I feel i can afford the time to do it.</p>
<p>So first of all i start installing the updates and the kernel. I&#8217;m a bit chicken and not going to install wine yet.</p>
<p>The upgrade works as it should. Still no built in support for the network cards so I have to compile and install that module again. Not a big deal.</p>
<p>And then i have to install/configure vmware modules also. Still not a big problem. And now all things is working as it should. Sort of.</p>
<p><span id="more-240"></span></p>
<h2>Testing palm</h2>
<p>Next step is to se if the new kernel has solved the problem with my palm &#8211; and guess what &#8211; it has not. Dam. But not a big deal as I can use the palm xfer programs to get my work done and its working &#8211; even if its a bit cumbersome.</p>
<p>So onto the big issue &#8211; Wine</p>
<h2>Installing wine 1.1.12</h2>
<p>When wine 1.1.10 came out I started to get some problem. The EVE online game had problems when starting or when warping into some new area. I could get it to work better is I remembers to not do anything, not move the mouse, pan or zoom or anything when warping in but its hard to remember this all time.</p>
<p>So I backed down to the 1.1.9 version that worked perfectly for me. But its kind of annoying to always have that reminder that there is new things to install all the time.</p>
<p>So this week the 1.1.12 version came out so I decided to test that.</p>
<p>Removed the lock on the install and let the system upgare wine. And the the big test &#8211; startup eve and run and test it.</p>
<p>And I can gladly now report that it works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/240/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scary day/week of upgrades</title>
		<link>http://jan.saell.org/blog/archives/118</link>
		<comments>http://jan.saell.org/blog/archives/118#comments</comments>
		<pubDate>Sun, 05 Oct 2008 07:28:18 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=118</guid>
		<description><![CDATA[So its upgrade time in EVE. Usually it works OK but sometimes it fails so its always a bit scary. As I am running the client in wine and not on windows there is always a chance that it will fail, and ofcourse &#8211; one cant blame CCP for not testing it as they do [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So its upgrade time in EVE. Usually it works OK but sometimes it fails so its always a bit scary. As I am running the client in wine and not on windows there is always a chance that it will fail, and ofcourse &#8211; one cant blame CCP for not testing it as they do have a official eve client that runs under Linux, even it its using cedega.</p>
<p>So downtime and setting a long skilltraning and wait. And wait&#8230;.  And wait.</p>
<p>And finally the download it up and running. Answer yes and download the new patch. After the download is done &#8211; not to big &#8211; 9.2Mb so it was quick. And click on yes to stop eve and install. And noting. The game hangs. So after waiting for 15 minutes if its just slow, i decided to kill off eve and wine and start the patch manually. The patch get downloaded to the cache directory. So you can go there and start it manually. i have it under ~/.wine/drive_c/Program\ Files/CCP/EVE/cache/ so its just to go there:</p>
<pre>cd ~/.wine/drive_c/Program\ Files/CCP/EVE/cache/</pre>
<p><span id="more-118"></span></p>
<p>and the patch is there, and as wine will start automaticaly for me I can just run it with</p>
<pre>./evepremiumpatch61817-64311.exe</pre>
<p>And its starting up as it should. And the fails. Dam. Its getting an error and saying that you can try to run the DirectX install in the bin directory of EVE. Strange. This has not happened before.</p>
<p>So over to the EVE forum and the Linux sections to se what they are saying. The only report of problems is a bug when tabbing out of game and back and solution to this is to run in the /desktop settings and I&#8217;m doing this already.</p>
<p>Ok &#8211; il will upgrade and try the official version also. Here i cant even click on the start download option. So i downloaded the patch manually and then when in to the config program and patch the program. And that worked as it should. So i tried to start it and it just hangs.</p>
<p>So back to wine. Checking and there is a directX setup in .wine/drive_c/Program\ Files/CCP/EVE/bin/DirectX. Trying to run this starts up the installer but that one fails after a while. Dam.</p>
<p>Reading more on forum it seems that you now have to replace 2 ddl&#8217;s and use the native dll&#8217;s instead of the wine ones.</p>
<p>Download the two files from</p>
<p><a href="http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_35" target="_blank">http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_35</a><br />
<a href="http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_36" target="_blank">http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_36</a></p>
<p>and extract them to ~/.wine/drive_c/windows/system32. Then start up winecfg with:</p>
<pre>wine winecfg</pre>
<p>And click on library, Then select the d3dx9_35 from the dropdown and press the <em><strong>add</strong></em> button. Then do the same for the d3dx9_36 file. When both of them are in the override box, click on each of them and then click on Edit and select <em><strong>Native (Windows)</strong></em> for both of them. This will tell wine to use the new files and not the built in ones it have.  And i tried again. And still the same problem.</p>
<p>At this point I&#8217;m hitting rock bottom. I have tried everything. I restored the directory from the backup. I have even moved that aside and installed a new one. And everywhere i get the same problem.</p>
<p>Then it hit me. The standard ones are probably a shared library so changing this might not force it out, so I rebooted the machine and it all worked. Hurray.</p>
<p>So I can play my beloved EVE again. Only problem is that there is a new patch on Friday and I fered the worst, but that one worked without any problem. Still the same problem tha the system hangs after downloading, but its only to killit. Go into the wine directory and runthe patcher mannually.</p>
<p>So for the game the week ends well.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/118/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acer, kubuntu and pulseaudio</title>
		<link>http://jan.saell.org/blog/archives/34</link>
		<comments>http://jan.saell.org/blog/archives/34#comments</comments>
		<pubDate>Thu, 31 Jul 2008 11:44:07 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=34</guid>
		<description><![CDATA[So having got the sound to work on my Acer Aspire 8920 there was one small annoyance left and that is that I can only use one sound application at the time. It does not sound as a very bad thing, but its annoying. Like when i playing my game and someone sends me a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So having got the sound to work on my Acer Aspire 8920 there was one small annoyance left and that is that I can only use one sound application at the time. It does not sound as a very bad thing, but its annoying. Like when i playing my game and someone sends me a msn message, kde tries to sound a audible warning or notification and I cant here then &#8211; all will pop up when the game closes down.</p>
<p>When reading about pulseaudio it seems to promise to solve all the problems, multiple applications and even individual volume controls for each application, so it seems promising. The only problem is that kde is not handling pulseaudio direct so there might be some work necessary to get the kde notifications going.</p>
<p>First thing ofcuase was to get the sound to work at all. Without ALSA working i dont think this would have succeeded at all. I did found 2 notes/links to information about how to do this so i followed that and added some things of my own.</p>
<p><span id="more-34"></span></p>
<h2>Install pulseaudio</h2>
<p>Started of with backing up important configuration files (don&#8217;t worry if you see &#8220;no such file or directory&#8221; warnings):</p>
<pre>mkdir ~/pulse-backup; sudo mv ~/.asoundrc* /etc/asound.conf ~/pulse-backup/
cp /etc/pulse/daemon.conf /etc/pulse/default.pa ~/.pulse/</pre>
<p>Then we install some packages to ensure that all the pulsaudio will work right. I also added the pulseaudio package to this (all on on line):</p>
<pre>sudo apt-get install libasound2 libasound2-plugins libasound2-dev padevchooser swh-plugins
libao-pulse libsdl1.2debian-pulseaudio ladspa-sdk pulseaudio</pre>
<p>Create a new &#8220;~/.libao&#8221; file and set the default driver to &#8220;pulse&#8221; for libao applications:</p>
<pre>echo "default_driver=pulse" &gt;~/.libao</pre>
<p>Create a new &#8220;~/.asoundrc&#8221; file:</p>
<pre>vi ~/.asoundrc</pre>
<p>And add the following to the file:</p>
<pre>pcm.!default {
  type pulse
}
ctl.!default {
  type pulse
}
pcm.pulse {
  type pulse
}
ctl.pulse {
  type pulse
}
</pre>
<p>This should have set everything up and so. The only thing left is to go into sound and hardware and set the sound system up to ALSA.</p>
<p>And still no sound.</p>
<p>So reading some more and found another guide, so I followed that to. This will probably be some overlaps but lets try it also.</p>
<p>Install additional packages:</p>
<pre>sudo apt-get install libao-pulse libasound2-plugins</pre>
<p>Edit <em><strong>/etc/asound.conf</strong></em> and set the following content:</p>
<pre>pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}</pre>
<p>Edit  <em><strong>/etc/libao.conf</strong></em> and have the content sat to:</p>
<div style="margin: 5px 20px 20px;">
<pre>default_driver=pulse</pre>
</div>
<p>If the files dont exists, create them..</p>
<p>Install more packages and packaged for the default libSDL:</p>
<pre>sudo apt-get install libflashsupport padevchooser pulseaudio-module-hal pulseaudio-module-x11
sudo apt-get install libsdl1.2debian libsdl1.2debian-alsa</pre>
<p>The last install will warn about conflicting installs but that as it should be. Allow it to install.</p>
<p>Now add the following lines to <em><strong>/etc/apt/sources.list</strong></em> (this will add a new repository, from zman0900 so that we can install the patched SDL driver):</p>
<pre>## zman0900's PPA
deb http://ppa.launchpad.net/zman0900/ubuntu hardy main
deb-src http://ppa.launchpad.net/zman0900/ubuntu hardy main</pre>
<p>Then run the following to get the patched DSL driver installed:</p>
<pre>sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libsdl1.2debian-pulseaudio</pre>
<p>You will get a warning about installing from an unknown source but I went ahead and did it anyway.</p>
<p>Last thing to do now is setup one environment variable for the patched SDL driver and you do that by editing your .profile and add the following 2 lines to the end of the file:</p>
<pre># Make SDL audio work properly with Pulse
export SDL_AUDIODRIVER=pulse
</pre>
<p>This should be it and we can now reboot the machine and see if it works. And guess what, It did not. Hum more googeling and a bit of searching and I found out that for some reason the pulseaudion daemon did not start up as it should. First I tried to start it up manually with:</p>
<pre>pulseaudio -D</pre>
<p>And now the pulseaudio things works. Well kind of. I still don&#8217;t have any notifications from KDE but all other applications i start works so this is kind of on its way at least.</p>
<h2>Configure kde</h2>
<p>So KDE is not playing along so far. More sufring and checking for answers. Apparently KDE (and kde3 as I&#8217;m using) is using the artsd to play sounds. This daemon is not ready to work with pulseaudion, but it can be configured to work to esd (Enlightened Sound Daemon) and that one is OK with pulseaudio. So i reconfigured sound hardware and wolla I got it to work.</p>
<p>Sound from kopete when someone pings me, at the same time as i play music via amarok. Nice.</p>
<p>If you whant to do this you can edit the .kde/share/config/kcmartsrc</p>
<pre>[Arts]
AddOptions=
Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f
AudioIO=esd
AutoSuspend=true
Bits=0
DeviceName=
FullDuplex=false
Latency=250
NetworkTransparent=true
SamplingRate=0
StartRealtime=true
StartServer=true
SuspendTime=1</pre>
<p>No its the only thing lft to test and thats to reboot the system and se that it works after that. So I reboot again and no sound &#8211; dam.</p>
<p>More checks and the sound daemon is not running. One suggestion is to make a small Autostart file in .kde/Autostart and that did start-up the pulseaudio daemon but there is still problem with the kde notifications and I think its due to the fact that Autostart starts up the pulseaudio deamon long after the time when the artsd has started and tried to access the sound already. Have to find a way to start the pulseaudio daemon earlier. After reading some manuals i found the way and its to configure Xsession (the program that normally start up Xsession in the X11 world). It has a number of config files and you can add new things in /etc/X11Xsession.d. So I created a new file <strong><em>/etc/X11/Xsession.d/99-pulseaudio</em></strong> withthe content:</p>
<pre>#!/bin/bash
pulseaudio -D</pre>
<p>And tested and rebooted the system (after removing the Autostart file first) and now the sound works perfectly as it should.</p>
<p>I did have a bit of a problem getting skype to work so you need to configure the daemon to get away with some of the stuttering. Se next part under skype for that config also.</p>
<h2>Applications</h2>
<p>So now the basics things in the system will work as it should and I can even adjust individual application sounds levels with the pulsaudio volume control &#8211; very nice. But not all applications are that well-behaved.</p>
<h3>amarok</h3>
<p>Amarok is using xine as a backend to play sounds and its fully integrated into the pulseaudio system so thats just works out of the box. Very nice.</p>
<h3>wine</h3>
<p>When reding the notes about wine it seems to be a problem but it also said that the latest version should work with <em><strong>padsp</strong></em> that emulates the oss layer onto pulseaudio.</p>
<p>So I started up winecfg and selected oss as the sound device. I then started up my EVE client with padsp:</p>
<pre>env WINEPREFIX="/home/jan/.wine" padsp wine "C:\Program Files\CCP\EVE\eve.exe" /end /LUA:OFF</pre>
<p>And it works prefectly. I changed my desktop icons to do the same and this is now working.</p>
<h3>skype</h3>
<p>Skype has some problems with pulseaudio it seems. There are some cases of stuttering an you can get that out of the way by changing the priority of the pulseaudio daemon.</p>
<p>Add your user to the groups &#8220;pulse-access&#8221; and &#8220;pulse-rt&#8221;:</p>
<pre>sudo adduser $USER pulse-access
sudo adduser $USER pulse-rt</pre>
<p>Edit <em><strong>~/.pulse/daemon.conf</strong></em>:</p>
<pre>vi ~/.pulse/daemon.conf</pre>
<p>Add the following lines to the end of the file, and save:</p>
<pre>high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
default-fragments = 8
default-fragment-size-msec = 5
resample-method = speex-float-0</pre>
<p>As I&#8217;m using my USB headset for sound for my phone, I could set the output and input of the skype client to the USB plughw device, and set the ring device to pulse. This made my skype work.</p>
<h3>ekiga</h3>
<p>ekiga and my other softphone (sjphone) has a bit of a problem with pulseaudio, but the same thing as I did with skype, can be done with these to. As they do release the audio hardware after a call, and you really only can talk to one person at the same time, its not a big deal. Ekiga uses arts for its ring signal and that goes over the pulseaudio without any problem. So I can use it as it is now.</p>
<h3>audacity</h3>
<p>Audacity is the very nice sound tool for recording and manipulation sound files. It can unfortunately not use the pulseaudio system and will lock up and not work nicely if you try.</p>
<p>As this might happen for some applications there is a small utility called <em><strong>pasuspender</strong></em> that will stop the pulseaudio system, run one application and start up the pa system again after its done. Very handy. So to run audacity you do:</p>
<pre>pasuspender audacity</pre>
<p>That will make audacity having full access to the hardware while its running and when it stops you get the sound back over pulsaudio again. I changed my menu item for audacity to do te same.</p>
<h2>Links</h2>
<p><a href="http://ubuntuforums.org/showthread.php?t=789578" target="_blank">HOWTO: PulseAudio Fixes &amp; System-Wide Equalizer Support (Hardy Heron)</a></p>
<p><a href="http://ubuntuforums.org/showthread.php?t=776739" target="_blank">How To: The (almost) Perfect Pulse Audio Setup</a></p>
<p><a href="http://pulseaudio.org/wiki/PerfectSetup#ThirdPartyApplications" target="_blank">PulseAudio &#8211; The Perfect setup</a> talks a lot of different applications</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/34/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Wine version 1.1.2</title>
		<link>http://jan.saell.org/blog/archives/31</link>
		<comments>http://jan.saell.org/blog/archives/31#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:18:06 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=31</guid>
		<description><![CDATA[So most of you know that I&#8217;m playing EVE-Online on my machine and have been doing that on my Linux since I moved over over a year ago now. And it has been interesting and more or less very good. When moving over to the new machine i installed Wine version 0.9.58 as this version [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So most of you know that I&#8217;m playing EVE-Online on my machine and have been doing that on my Linux since I moved over over a year ago now. And it has been interesting and more or less very good.</p>
<p>When moving over to the new machine i installed Wine version 0.9.58 as this version worked and had almost no bugs. I have been trying new versions on and off when they come out but so far I haven&#8217;t found a newer version that was OK and worked well. So I stayed on 0.9.58. I have the Premium Graphics working and I can run 2 clients at the same time without the machine being to tired.</p>
<p>I did lock the version with both the synaptic package manager (package &gt;&gt; lock version) to lock it for synaptic but I also had to do a dpkg command to lock the adept package manager:</p>
<pre>echo wine hold | sudo dpkg --set-selections</pre>
<p>This was necessary for me so that the automatic updater would NOT update wine, but it was complaining all the time that there was a new release out there.</p>
<p><span id="more-31"></span></p>
<p>When I checked the updated today i saw that a new version of wine (1.1.2) was out there and after some checking on the forums it looked promising. So I decided to try it out. I just removed the hold of the application and let adept updated it:</p>
<pre>echo wine install | sudo dpkg --set-selections</pre>
<p>and then run the updater.</p>
<p>And it works &#8211; evryting except one small thing is working as it should. The thing that isn&#8217;t working is that when i start up the wine and eve client i get s 10 pixels or so alignment problem of the screen. So this requires a bit more googeling. But one way to solve it it to press &lt;ALT&gt; + &lt;ENTER&gt; to that wine switched to full screen more and then so the same again so it goes back into window mode &#8211; that works.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/31/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empyrian age is over us</title>
		<link>http://jan.saell.org/blog/archives/15</link>
		<comments>http://jan.saell.org/blog/archives/15#comments</comments>
		<pubDate>Wed, 11 Jun 2008 12:05:37 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=15</guid>
		<description><![CDATA[So the new version of eve is over us. Will this work on Linux and will my client survive? It always a nice question as running the official client before was impossible on my laptop and the only way to run it was via wine. It run perfectly, usually. But sometimes it broke during patches [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So the new version of eve is over us. Will this work on Linux and will my client survive? It always a nice question as running the official client before was impossible on my laptop and the only way to run it was via wine. It run perfectly, usually. But sometimes it broke during patches and it took some time to fix wine to get it to work.</p>
<p>So while the eve system was down I spent some time trying to sync over all data from my old laptop to the new one.</p>
<p>First thing was to get all the installed applications installed the same way on the new machine. I found some references out on the net on how to dump the installed applications on the old machine to a file and then use that to install the same applications on the new one. So i tried that and it almost worked. Not quite.</p>
<p><span id="more-15"></span>To get all the installed applications out from a ubuntu/kubuntu or any debian based system you use the dpkg command and some grep and awk to make a nice list:</p>
<pre>sudo dpkg --get-selections | grep '[[:space:]]install' | awk '{print $1}'</pre>
<p>the command <em>dpkg &#8211;get-selections</em> gets all applications on the system. The <em>grep</em> then filters out only the installed ones and <em>awk</em> just prints out the package name.</p>
<p>Then do some editing of the list as there are some things you don&#8217;t want to install on the new system. Like i don&#8217;t want to install the fgl xorg drivers as i&#8217;m not using a ATI card on the new system, but already have installed the nvidia driver. So remove the following package in that case:</p>
<pre>fglrx-amdcccle
fglrx-kernel-2.6.20-16-generic
fglrx-kernel-source
xorg-driver-fglrx
xorg-driver-fglrx-dev
</pre>
<p>Then I removed all the linux version packages like <em>linux-headers-2.6.20-15</em> and others like that as i dont want old version on the system.</p>
<p>I then transfered the list over to the new system and use <em>xargs</em> to get <em>apt-get</em> to install it. The documentation out there just did a cat on the file and piped it into xargs &#8211; if you do this and you get some questions from <em>apt-get</em> you get a break as the input is connected to /dev/null. So i used the command:</p>
<pre>xargs -i /tmp/apt-get-list.txt -n 10 sudo apt-get install</pre>
<p>The -i flag tells xargs to use the file instead of stdin. and -n tell xargs to only do 10 args at a time.</p>
<p>Now it ran fine and I get a number of installs and I also had to say Y a number of times to install extra packages and so, but all in all I got all my applications installed now.</p>
<h2>Empyrian Age</h2>
<p>When I had installed everything I just &#8211; to make sure that the system still worked as it should &#8211; started up into the EVE client. I did not expect that the server would be back up, but it was. It asked if it should download the new patch and I said yes. It downloaded it and installed it &#8211; No problems. And finally I was in and all worked. A very nice patch indeed.</p>
<p>So i tested the official client also and that upgraded and installed a new version also without any problems.</p>
<p>So i can now run the new version of EVE. I&#8217;m happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/15/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EVE Premium graphics after a long weekend</title>
		<link>http://jan.saell.org/blog/archives/14</link>
		<comments>http://jan.saell.org/blog/archives/14#comments</comments>
		<pubDate>Tue, 10 Jun 2008 07:02:57 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=14</guid>
		<description><![CDATA[So the weekend has been a very hot one in Sweden. The temperature has been over 30 degrees and thats very much by Swedish standards and when one is not quite prepared for it it gets very hot. We have been moving from the house to the apartment for the last month and the only [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So the weekend has been a very hot one in Sweden. The temperature has been over 30 degrees and thats very much by Swedish standards and when one is not quite prepared for it it gets very hot.</p>
<p>We have been moving from the house to the apartment for the last month and the only real thing left now is to finish off the garden so its in hand over state. And thats what we have been doing during the weekend.</p>
<p>But there has been small times when we haven&#8217;t moved or carried things. And I decided to test the wine and premium graphics to see if I could get it to work. From what I have read on the forum the wine version of EVE runs without any big problems.</p>
<p>So i copied all the .wine directory over form my old laptop and used that as a start &#8211; that way I also would retain my old setting in the EVE client and thats very useful.</p>
<p><span id="more-14"></span>First thing i tested was installing wine from the normal repository and that one did not work.</p>
<p>I got some strange errors and it would just not start. I then added the wine-hq repository with the command:</p>
<p><strong><em>sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list</em></strong></p>
<p>And then do the install with:</p>
<p><strong><em>sudo apt-get install wine</em></strong></p>
<p>The version I got installed this time was the 1-0-rc3 and I still got the error. Problems &#8211; what to do. The error i got was:</p>
<pre>err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc}</pre>
<p>After checking and doing some reading is seems that the bug is due to some old initiation error and a patch for wine is out there. But its strange. I did run the old version and had no problem.</p>
<p>I decided to install the client from scratch. First i installed the msttcorefonts and copy them to ~/.wine/drive_c/windows/windows/fonts.</p>
<pre>cp /usr/share/fonts/trutype/msttcorefonts/* ~/.wine/drive_c/winedows/fonts/</pre>
<p>Then I went to the EVE-Online site and downloaded the windows premium client from the EVE-Online site. and then started the installer. After installing the client, dont start it just yet. Go into the eve directory and run the RedistD3DXOnly.exe with</p>
<pre>wine .wine/drive_c/Program\ Files/CC/EVE/bin/RedistD3DXOnly.exe</pre>
<p>That worked but i still got some weird error</p>
<pre>preloader: Warning: failed to reserve range 00000000-00010000</pre>
<p>This is because the new version of kubuntu has a harder memory protection and that conflicts with what wine does, so you need to relax that setting. This can be done with the command:</p>
<pre>sudo <span class="search_hit">sysctl</span> -w vm.mmap_min_addr=0</pre>
<p>But that only changes it temporary. To set it fully you need to edit /etc/sysctl.conf. Go in and change the line:</p>
<pre>vm.mmap_min_addr = 65536</pre>
<p>To</p>
<pre>vm.mmap_min_addr = 0</pre>
<p>This will change it for the futrure and keep the setting when you reboot the system.</p>
<p>Thats was it. I have wine working. BUt the latest version has some weird graphics errors, so I did some more googeling. Aparently the best version for running the eve premium grpahics is the 0.58 version.</p>
<p>So i downloaded it from the wine debian archive, removed the normal version and installed it. And perfect. You need to turn of shading in the client and change the wine registry setup for OffscreenRenderingMode.</p>
<p>Edit the <em><strong>~/.wine/user.reg</strong></em> file and add the following lines:</p>
<pre>[Software\\Wine\\Direct3D]
"DirectDrawRenderer"="opengl"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"VertexShaderMode"="hardware"
"VideoMemorySize"="256"</pre>
<p>Then startup the client and change the shadow quality to of in the setting. This makes the premium graphics work very well,</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/14/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing EVE on the new machine</title>
		<link>http://jan.saell.org/blog/archives/7</link>
		<comments>http://jan.saell.org/blog/archives/7#comments</comments>
		<pubDate>Fri, 06 Jun 2008 15:33:20 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=7</guid>
		<description><![CDATA[More work on the new laptop. As I got my new nvidia card to work and its looks OK so far as I can see it, I need to do some testing. I have been playing EVE-Online now for quite some time and on the old laptop I could not play the official client and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png"><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /></a> More work on the new laptop. As I got my new nvidia card to work and its looks OK so far as I can see it, I need to do some testing. I have been playing EVE-Online now for quite some time and on the old laptop I could not play the official client and had to run it via wine. That worked very well and I do want to continue doing that, but that will require some more install and transfer of data form the old laptop, so lets get the official one and do a quick test to see what the new graphics card can do.</p>
<p><span id="more-7"></span>I downloaded the official client for EVE-Online and saved the .deb file and run the installation as I should. No problem. Started up the configure program to configure it and I got an error that it missed some 32 bits libraries and I had not ofcourse installed that yet so that was kind of expected.</p>
<p>A bit more googleing gave me the info that I needed ia32-libs, util-linix, lib32nss.-mdns libasound2-plugins, so i installed that with the command:</p>
<pre>sudo ap-get install ia32-libs util-linux lib32nss-mdns libasound2-plugins</pre>
<p>Then it was time test again. Into the config and run all the test &#8211; no problems, all passed ok and no problem.</p>
<p>So fire up the game &#8211; and wow it starts but in full screen mode.</p>
<p>Bakc into the config program and change the &#8220;Run in Window&#8221; from No to 1280 x 1024. Back into the game and now it start as it should, but i can move the mouse outside the windows. Back into the config and change that to &#8211; thats the DCGrab check box and now the game works just right.</p>
<p>And the framerate i get outside our pos in 0.0 is almost up to 30 fps and on the old one I had around 8-10 fps &#8211; very nice and smooth.</p>
<p>When I get the wine version running its suposed to be able to run even the premium graphics moce so that will be nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

