Monday, October 10, 2011

A few short notes on the backport of Wine

Before I forget, there were a few nuances with the packages I backported (into Karmic) from the Wine PPA site that Scott Ritchie provided (for Maverick and other Ubuntu releases).

Firstly, the orig tar gzipped file had wine folder name while the diff expected wine1.3 which is the release name. I had to repackage the orig.tar.gz file to use wine1.3 folder name.

On the control file, I had to deal with debhelper version checking which I'm pretty sure is caused by the new Ubuntu releases moving to newer versions of files. I saw two other new items, gcc-4.5-multilib and oss4-dev of which I removed as dependency. I'm fairly certain that Wine will compile on old GCC 3.x so, the requirement of GCC 4 looked a little silly from my point of view. I don't plan to release the package to the masses anyway, so it won't hurt anybody but me.

Final touches, I updated the changelog also to reflect karmic version numbering and then removed the reference CC="gcc-4.5" on the rules file to avoid forcing GCC 4 when building. Everything built fine and wine is running well after packaging and installing.


Wednesday, October 5, 2011

Sims 3 Teaser Update!

I'm going to keep this very brief. I've basically updated to 1.3.29 and boy it really eliminated most of the graphical glitches on the game. It basically runs very well although it still gets some minor culling problems. Works very well!

Tuesday, October 4, 2011

The Sims 3 Teaser on Wine

When EA unveiled a Sims 3 demo that could run on your browser through the Gaikai service, I thought it was a great way to provide cross-platform Sims gaming. After all, the Sims Social facebook game was utter piece of crap. I figured I'd give this game a go to see how everything worked, but as it turns out Gaikai deemed my area too far from their data centers. I guess that was it as far as running it from a browser went. Time for plan B on playing Sims 3.

I checked out EA's online store Origin and discovered there that if you have Origin setup on your computer (please guys, read the Terms and Conditions for some nasty I surrender my PC to EA banter), you can add the game to your account and download the actual teaser. Sweet.

I did try to install Origin on Wine (version 1.3.11) but everytime I tried to log in, Origin would say 'Login Failed'. That did not work the way I had hoped for sure. The only sure fire way to get Origin to work was install it on my throwaway XP box and I managed to get the 2.5 GB download there. It was time to plan on how to transfer the game into Wine, so I started poking through the innards to figure out how it could be done.

Basically, the idea is to fool the game into thinking that it is installed with all the proper registry entries slipped in. To perform this surgical operation, I exported several registry entries out of my XP box. Look at "HKEY_LOCAL_MACHINE\Software" and grab the following keys:
  • EA Play
  • Electronic Arts
  • Origin Games
  • Origin
As far as I could tell, the rest are either miscellaneous or not related at all. Truth be told, I wasn't entirely sure that the registry entries are necessary, but I used them anyway. Aside from the registry entries, I also snagged these folders off my XP box and dropped them into my Wine virtual drive.
  • C:\Program Files\Origin Games\The Sims 3 Teaser
  • C:\Program Files\Common Files\EAInstaller
After putting these into the proper install paths, I tried to run the game on a 1024x768 virtual desktop and although the game didn't immediately complain about install corruption, it was complaining about msvcrt80. To fix this, I ran 'winetricks vcrun2005' to make wine install the proper libraries. I imagine that installing 'vcrun2005sp1' would be a better idea though.

The end result is that the game did run, albeit not perfectly. There's very apparent problems with the Z-buffering rendering causing the game to cull incorrectly. Several objects were de-rendered incorrectly causing Sims to turn temporarily invisible. Tweaking the OffScreenRenderingMode on Wine Direct3D settings to FBO did not help either. On the Wine console debug printing, I see plenty of Stencil Buffer errors and fixmes so this is definitely a Wine deficiency.

The next step I plan to do is to update my Wine libraries to 1.3.29 and hope for the best. I will post back results as soon as I have them.


Thursday, September 29, 2011

GOG Broken Sword: Shadows of the Templars Director's Cut Promo

If you haven't checked it out and play a ton of point and click adventure games, this is your chance to check out this cool promo courtesy of GOG. The site is celebrating 6 million unique game downloads as a special milestone. The prize, as you may have guessed it, is that you'll be able to get Broken Swmrd: Shadows of the Templar Director's Cut for free. The special offer is valid until October 1, 2011 (11:59 am GMT), so head over and grab it now!


Now is an interesting time to compare Broken Sword: Director's Cut on the PC, Wii and the DS. The Wii and the DS versions I finished some time back!

Friday, September 16, 2011

My Journey to the Tablet World

Recently I got an Acer Iconia Tab A500 tablet and I've been meaning to get one of those fancy mobile internet devices for myself. I've always had a plan to unstrap myself on the computer chair for all the online tasks I demand. This idea spawned from using the Zaurus SL-5600 for a good year or so and while the machine was mostly insufficient for even for simple browsing, it was a brief glimpse into this vision of being online anywhere, everywhere. I had thought of several options, from netbooks to perhaps another laptop, but I knew this was not the optimum solution. I owned a laptop for many years now, and it has not particularly been portable. Of course, it weighed a ton, which did nothing to help the situation.

When I saw what tablets could do, it did not even strike me to use it, but I suppose the interest grew and as I evaluated the propositions, I started to see some value in them. They were many times more easier to interface with, and the wifi connectivity was very good. The biggest trouble I have ever had with my Zaurus was simply running out of memory and that problem seemed to crop up at every turn with it. Even using my brother's mobile phone to surf the web was an exacting experience. While analyzing modern tablets, I saw this problem didn't even exist and that was a very important key to this. It seemed to be the natural solution of what I was after.

Selecting the Acer Iconia had then become weighing through different options. The plan was to get a proper ssh client and VNC viewer so that I could still do some work while away from my office that I had become so entrenched in. The next step was to have very good Google services support seeing that I was almost embedded into Google's ecosystem. Everything else was gravy as far as I was concerned. It had to be an Android, and the price had to be reasonable.

At first, I was interested in one of those Chinese knock offs, Wopad. The i7 builds seem to solve much of the processing power issues the first editions had. Its price was also extremely attractive but shouldn't really be a surprise judging that it does come from China. But, there was something about it that I just couldn't get around to. It was support. You'd be getting this neat device for a couple of hundred dollars cheaper than the regular tablets, but what happens when you have problems? Who do you go to? Don't know? I thought so.

Chopping those cheap ones off put the choices down to Samsung's offering as well as Acer's and Asus'. All three are pretty good machines, though I found the Galaxy tabs here to be much older models and those definitely did not attract. Asus meanwhile seemed to be a tad bit more expensive than Acer's proposition and what I got from it was much, much less. Acer it is, and to this day, I'm quite happy with it.

For the most part, I've read that the Acer Iconia Tab is a pretty hefty device, but since I haven't handled much in terms of tablets, I did not have any preconceived notion of just what was light. I got around the weight issues pretty quickly and settled in on the device. Having a capacitive touch screen display was an eye opener as the last quasi-tablet I handled was Toshiba's ultra portable with a resistive touch screen. It ran on Windows and it was such a pain to use. This tablet's touch screen was very sensitive and at times seemed too much to handle. The availability of a full-sized USB port also made some of the transition very easy, allowing me to plug in flash drives and transferring files. Overall I was pleased, but it was not all rosy with this.

Software seemed to be the biggest issue with Android. Going through Android's Market was like entering a flea market and you just never know what you get. There's a lot of stuff, and a lot of it, you don't really know if you'll ever need. Some of the stuff just simply does not work and it would be ideal if Google could separate the glitchy apps from the stable ones. Perhaps they haven't because surprisingly, Google Docs is one of those crazy malfunctioning apps. It pains me to have to work with this and Android's crappy soft keyboard. I was on the verge of screaming for directional keys as the cursor would almost always jump too far with the touch screen. For those who had those problems, pickup the Hacker's keyboard. It's a god-send for me and it made the app much more bearable. It also works great on my ssh client, ConnectBot (I think), which allowed tab support (Yippee!). Google Docs had even more issues though, with the cursor not being aligned to where the letters were going to show up. I hope that this is going to get sorted soon.

Games are also absolutely nothing to write about here. Acer's tablet came with Hero of Sparta, Let's Golf and Need for Speed: Shift and the only game worthwhile there is EA's work. I was very skeptical with NFS, tilt racing, but the end result is surprisingly natural. The game also looks very good for portable devices. The other game that really shone for me was Galaxy on Fire 2, which had that Freelancer kind of feel, if you want some space flight sim-ish game. The virtual control stick is just awful for mining though it may just require more time to adjust. I really wanted to try Nova 2 from Gameloft but their site seems to keep me from downloading any trial version. Speaking of trial, I also wanted to get Riptide GP demo, but it just wasn't around at all. To wrap up the disappointment, I really wanted Sims 3 and it seemed that the Android Market just refuses to list the game down for me.

Other apps that were very useful for me were ES File Explorer as this allowed me to access my Samba file server and pull up mp3s, videos and pdfs. It was very good and the interface was very nice. VNC Viewer I used was called android-vnc-viewer and while it works well, it is kind of unstable especially when I try to touch the display with more than one finger (for some reason). Using it needs some getting used to, but it works and that's all that matters for me.

Lastly, there's this thing about syncing back to a desktop. I read about being able to connect to Ubuntu and after taking much consideration, I figured that the mtpfs drivers that were used to interface with the device should be mature enough but the support libraries in Karmic were just too old. I decided to just use my XP Virtualbox install and expose the tablet to it. For some reason, I have to turn off USB debugging on my tablet to get the entire setup working, but it did work. I manage to copy stuff into and out of the device and that works just fine for me.

Tablets do address specific needs and I can certainly understand that better now. It isn't for everyone, but if you're looking for some robust online device on the go, then look no further.





Wednesday, September 7, 2011

Expansion Slide Pad - What the hell?

Famitsu just spilled the beans on a new Nintendo 3DS slide pad contraption that adds buttons and a second stick for the 3DS. It is nothing short of monstrous to look at and even worse, it will likely fragment the market of the 3DS to those who own one and those who don't. What was Nintendo thinking when they were doing this? I have no fucking clue.

Saturday, August 27, 2011

Splinter Cell: Chaos Theory DS Glitches

I've been blasting through the game a second time around and just wanted to post a few quick thoughts. The first one is really annoying because on my second playthrough, I've been trying to unlock the bonus outfits and everytime I get one, I lose it when I shut the DS off. It's very annoying but I guess nothing I can do about that.

The second glitch is the damn Manhattan Streets bug that causes a mission failure when you climb up the crates to get to the main streets to Zherkezhi's apartment. It's only now that I realize that there's an internal time limit as someone actually dies around the six or seven minute mark and counts as a civilian kill. Strangely enough the check for mission failure happens exactly at the moment Sam climbs the crates. That's how some people trigger the glitch and result in mission failure. I only happened to figure this out while playing on the DSi XL. You'll hear the sound effect of someone getting hit with a sticky shocker as background noise. If you get that sound before you climb the crates, you will stumble into the glitch. If you get the noise while the cutscene between Lambert and Sam is playing, you will get through the mission just fine. So, in short, to pass this glitch, you just need to play the level as fast as you can.