Monday, April 30, 2012

Update: Mouse Warp Patch Problem

I was hoping to slip in my ported mouse patch but it looks like 1.4 source has changed quite a few things in the mouse implementation.  I got this error while compiling.


mouse.c: In function ‘dinput_mouse_hook’:
mouse.c:359: error: ‘SysMouseImpl’ has no member named ‘mapped_center’
mouse.c:359: error: ‘SysMouseImpl’ has no member named ‘mapped_center’

Looks like I will need to read the code to reintroduce the hack.

Wine 1.4 Backport notes

Have a new spanking build of Wine on Karmic using 1.4 from the Launchpad PPA.  Here's a few notes on what I noticed here.
  • I had to repackage wine1.3_1.4.orig.tar.gz to rename the folder to wine1.3-1.4
  • ttf-symbol-replacement-wine1.3 is back in this build.
  • changed the dependency debhelper >=5
  • removed gcc-4.4-multilib
  • removed oss4-dev
  • remove in /debian/rules CC="gcc-4.4" line 51
Rebuilt it and there were no build problems.  I installed it and it looked like it didn't find anything wrong.  winecfg and wineboot works fine.

Winetricks was backported from precise pangolin.  Very easy to update for Karmic.  Just update the debhelper >= 5 and change the compat file to 5.

A few Linux stuff...

While doing some debugging on some production server, I had a bad bout with daemontools where my script was just failing without errors output.  I spent quite some time reading about this figuring out what went wrong and it just wasn't working out.  I could execute the service run manually but I couldn't via svc -u.  At the end of it, I decided to kill svscanboot and the svscan processes to re-execute the daemontools startup script.  My services ran just fine after.  Phew!  I think what caused it was the killing of readproctitle which is used by daemontools to tell us what happened (by using ps).

As an additional point, I managed to get multilog working by creating this /service/runme/log/run script.  The script basically executes: exec setuidgid user multilog t /location/to/the/log/

Next is fiddling with fonts.  To install fonts, create the .fonts folder and run sudo fc-cache -f (or sudo fc-cache -fv for verbose flag).

Lastly, it seems that I may have to backport wine-1.4.  wine-1.3.33 has served me well, but it is also now pretty old.  Also with this is the latest winetricks backport.




Friday, April 27, 2012

Yes!!! Witcher 2 Keys!

After staring through days of the download of Witcher 2 Steam, hoping to fire it up and get a CD key, I was getting desperate that I wouldn't be able to avail of the GOG.com Witcher 2 backup promo.  After going through CD Projekt RED's website for a replacement key, I was told to wait for 72 hours.

I'm always skeptical about these things, but apparently after just 48 hours, they've responded with my new key.  Thank you very much CD Projekt RED and thank you GOG.com! You guys rock!

Thursday, April 26, 2012

MMA Journalism Thoughts


Yesterday, I listened to Ariel's MMA debate with Pat Miletich and they seemed to be locked into this talk on Chael Sonnen's latest samples of crazy talk.  I don't think Pat Miletich made a compelling case against Ariel who really seemed flustered by the entire thing.  It did made me dig up Mauro Ranallo's interview with Kenny Rice back on April 4. 

I really have to say that I agree with Kenny here.  Journalists ought to be trying to get the truth out there and you can't just let crazy stuff fly out like that unchallenged.  Ariel Helwani is a great journalist and interviewer.  You just have to see the way he cracked Nick Diaz's barriers to really appreciate what the guy can do.  Getting anything out of Nick Diaz that feels genuine, raw and special is always interesting.  Sad to say, I get the total 180 impression when he does interviews with the likes of Chael.

Chael Sonnen talks crazy stuff.  He does it all the time, and I think people know it.  His style attracts in the same way media punditry does in the world of cable news.  It is sad that someone of Ariel's expertise would stoop so low as to give Chael a forum to spew nonsense and never really choose to hold that guy accountable for what he says.  It really looks like he's out to get more page hits on his site because everyone knows sound bites sell.  Everyone knows that conflict sells.  It's why CNN and other cable news spend a lot of money on graphics and showmanship.  

To me, it's not news.  It's BS.  If Ariel wants this kind of interview with Chael, he should put up a late night talk show where Chael can do whatever he wants and Ariel can laugh while the money rolls in.

Sunday, April 22, 2012

Patching Steam's Mortal Kombat Arcade Kollection

I managed to get the game patched before but that was after numerous tries to get the auto-updater to work.  I'm posting this as an archive so I don't lose this information.  

64-bit
"C:\Users\username\AppData\Local\Microsoft\XLive\Updates\57520fa2\Content\setup.exe" /f "C:\Program Files (x86)\Steam\steamapps\common\mortal kombat arcade kollection"


32-bit
"C:\Users\username\AppData\Local\Microsoft \XLive\Updates\57520fa2\Content\setup.exe" /f "C:\Program Files\Steam\steamapps\common\mortal kombat arcade kollection"

This is a very helpful thread on that.

Witcher and Wine Update

Playing a lot of Witcher lately but I've run into some interesting findings.  One is that on a fresh boot, I have to run Witcher twice to fix the graphics problem (puppeteer bug), so this has very little to do with the Launcher.exe.  Having it run directly from desktop menu is also added convenience and less clicks to do.

At least one time, I had an error dialog box telling me that Witcher crashed.  Once I clicked OK, the game launched anyway, but there was no sound at all.  This has been consistent in that everytime the dialog box shows up before launch, the game loses sound.  I don't know what causes that but after a reboot, it fixes by itself.  The sound is also automatically disabled by the game so you have to go the option and re-enable it.