So I’ve been kinda ‘jonesin‘ for a change to get back into playing Skyrim ever since a friend went on vacation and let me play his XBox while watching his dog for a week.
I have also been wanting Valve to release a Linux version of Steam. A couple of months I found that they did a Linux client, sweet! So I installed it and then a friend gifted me with a copy of Half-Life 2 on Steam. That was fun.
Then I heard about DOTA2. I thought that was a pretty cool looking game, free. So I signed up and got on a waiting list. And waited. And waited. And waited more. I gave up thinking about it but in November, I finally got approved after 3 months. I was kinda surprised because I was like 150,000 in line or some such high number that didn’t budge at all. So, was having fun with that for like 3 weeks and then….I saw Skyrim on Sale. 75% off for a grand total of $7.49USD. Sadly, still only a Windows game. Still, I thought, I could just buy it and wait till I maybe build a windows system (not sure if I really wanted to go that route at all) or give Wine a try.
Before anyone says that Wine is just an emulator, read this from their site:
Wine (originally an acronym for “Wine Is Not an Emulator“) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.
Just to be clear “Emulation refers to the ability of a computer program in an electronic device to emulate (imitate) another program or device.” Wine does not emulate. It literally translates Windows calls into Linux calls.
That being said, that does not mean everything works exactly as offered. Wine offers some nice choices. In fact there are nearly 21,000 programs in their database which have been test/work with Wine.
So I decide, what the hell. It’s only $7.49. If I can’t get Wine to work, no biggie. I’ll just put it on the back-burner to eventually do something with it. After a little playing around….ok, a fair bit of playing around to tweak it to work relatively smoothly enough to be playable, I got it to work just fine. Thus leading into a new obsession. I am simply blown away by the level of detail paid to this game. First, the eye-candy:
And one more, day shot:
Some awesome views but the detail I am talking about is with the game itself. You can find books all over the place and read each one! Pretty damn cool and a level of detail I’ve not heard of in any other game. Admittedly, I’ve not played many other games but still…never heard of it.
Ok, so great, the game plays. I cranked up 38hrs of gameplay is a relatively short time (steams shows you how long you ‘ve played each game). Everything was going fine then….Steam sent out an update.
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7bc5787b).
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7bc5787b ESP:0033fab8 EBP:0033fba0 EFLAGS:00010202( R- — I – – – )
EAX:00000000 EBX:7bcc8000 ECX:00000000 EDX:00000004
0x0033fab8: 0033fb24 0033fc08 0000000c 0013bd88
0x0033fac8: 00000000 0033fb2c f75b4378 0013bda0
0x0033fad8: 00000002 0013bd88 0013bda0 00000000
0x0033fae8: 0013be78 0033fb2c 7bc48937 00000000
0x0033faf8: 0033fc04 0033fc14 7bc33f00 00000034
0x0033fb08: ffffffff 0033fb2c 7bc34b47 00110064
Noooooo! Just when things were going well. Sigh. So off to Google I go. After some digging and chatting with the guys on #winehq, this became a known problem quickly and a fix was already in the works/soon to be release(tomorrow I think). Ugh. Well, I could go back to playing DOTA2 for awhile, which I did. But then I got edgy. Maybe I’ll consider the ‘compile from source’ option someone mentioned. Off to Google I go again!
This…..this turned out to simply be a challenge just to find out HOW to do it, let alone go through the process itself. Eventually I narrowed down the how-to to two different websites(crazy huh?) to be able to start the process. Let’s see how this goes shall we?
First is http://wiki.winehq.org/GitWine
This was great except it didn’t tell me WHAT to do with the files after I got them. Just how to manage my own GIT versions and such.
Second was https://github.com/mirrors/wine
This told me what to do with the files but didn’t tell me how to get them. But wait…I know how to get them now….ok, let’s put the two together :)
This worked….well, it started to work then tossed me an error. After searching on this error message, it seems I needed to run “
./configure --enable-win64” because of my AMD FX6100 64bit cpu. Great….but ran into another error. At least this one told me I was just missing a program (bison), which I installed and finally the ‘configure’ part finished. This was when I decided “I should probably document this in case anyone else runs into the same issue and maybe my blog gets a hit on their googling for an answer?”.
So I just ran ‘make’ (which does the actual compiling in my understanding) and waiting for it to be done.
Wine build complete.
Now this is what I like to see! Running winecfg worked just fine. Now to install Steam!
I followed http://www.steamgamesonlinux.com/how-to-install-winetricks/ for details to install. Steam installed fine. Updated fine. When I went to log into my account, crashed! Sigh.
Well, tried a few more times to get Steam to work, no dice. So, gonna wait till 1.7.8 comes out now. Ah well.
Ok, so 1.7.8 was released. I go through the whole rigamarole and still the same problem. When I check the version, it was showing 1.4.1 o_O. I don’t quite get that considering I downloaded 1.7.8. Of course it crashes again. Ugh. I give up and leave it for the day. When I try again, I make sure I remove any mention of 1.4 installation. Then when I try to run wine (afte just compiling it of course) I get ‘not found’?! Err, this is messed. I look at the wine-git directory and can see a ‘wine’ that is a sym-linked file. Then I noticed below it a wine64(sym-linked as well). Ohhhhh. I recall the “–enable-win64”. When I type in wine64, it works! Geeze….documentation people! It’s probably mentioned someone but buried deep and not even close to those less than OCD on reading documentation.
And it seems that it still doesn’t work. typing just ‘wine’ fails to find any program. wine64 finds a program. So typing wine64 + should work. That did seem to setup Steam as it installed other components(yay) but after that, nothing. I can’t open steam. It literally gives me zero info when I type ‘wine64 Steam.exe’ in the Steam directory. Sigh. The quest continues.
Hey lookee what I found: http://wiki.winehq.org/Wine64. You’d think they’d link that in the default documents somewhere (“For 64bit versions click here” type of deal eh?).
The following packages have unmet dependencies:
libjack-dev : Depends: libjack0 (= 1:0.121.3+20120418git75e3e20b-2.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
+ uname -m
+ test x86_64 = x86_64
+ echo I do not know how to install 32 bit libraries for distro LinuxMint
I do not know how to install 32 bit libraries for distro LinuxMint
So I install ‘libjack0’ and the scripted I Dl’d does it’s thing. What a bizarre message.
So, after all that, a recompile and still can’t launch steam. Found out how to add the ppa to my Software Sources. Let’s see how that goes. No dice there. Still doesn’t even list wine at all. :/ So, looking further I see a manual way to install wine1.7. ‘sudo apt-get install wine1.7’. Gonna try that then go make sure it launches.
Was on #winehq and because steam is a 32bit, the 64bit won’t work most likely. Well, definitely not in my case. So I need the 32 bit. I believe doing the above will install both versions.
Well, after reisntalling steam (again, I really should have just left it alone as this was just a wine issue apparently…) I successfully logged in! Now to reisntall Skyrim and back to my obsession!
Thanks to everyone who helped me muddle through this, mistakes and all!