Fix Civilization V Sudden Start-up Crash

I have been playing Civilization V lately, already more than 24 hours now. But yesterday all of sudden the game crashed when I’m using DirectX 10/11 version. Tried DirectX 9 but still no luck.

After googling for more than 3 hours (so many turns wasted!) here are the following that I assume has fix it.

Verify Game Cache

Right click in Civilization V and select Properties. Navigate to LOCAL FILES tab and click VERIFY INTEGRITY OF GAME CACHE… . It will take awhile and you cannot do almost anything else with Steam while doing it (duh!).

2014-11-08_06h27_04

Re-install DirectX and VCRedist

Navigate to D:\Steam\steamapps\common\Sid Meier’s Civilization V directory. I installed Steam on D:\Steam so adjust it to where you install Steam. Run DXSetup.exe in DirectX directory and vcredist_x86.exe in VCRedist directory.

Delete Cache DB Files

Navigate to C:\Users\Alam\Documents\My Games\Sid Meier’s Civilization 5\cache directory where C:\Users\Alam is your user directory. Delete all files ending with *.db extension.

2014-11-08_06h37_42

I’m not sure which is the above actually fix the crash, since I done the above three all at the same time. Hope this will help you too.

Posted in Gaming | Tagged , , , | Leave a comment

November 1st with Google

Saw this when opening Google.com.

2014-11-01_21h24_05

Thank you Google!

Posted in Rant | Tagged , | Leave a comment

Things Android And SteamOS Have In Common

SteamOS has quite make a news when it announced a few week ago by Valve. For those who didn’t know, SteamOS is the operating system that powered up Valve’s Steam Machine, to be announced next year. It supposed to be Valve initiative on conquering the living room.

steamos_logo

Image courtesy of thegamingliberty.com

So what those two open source OS have in common?

  • Both are using Linux kernel. The difference is while Android is built-from-the-scratch mobile OS that utilizing Linux kernel, SteamOS is essentially just another Linux distribution. It didn’t very different from openSUSE, Ubuntu, or your favorite distribution. It built on top of Debian, it has GNOME desktop underneath, and if you want to, you can even install any Debian package on it. Yes, even Zend Server.
  • Both are used to powered up certified device manufactured by third party. Google have Open Handset Alliance. Valve have, uhm…, Steam Machine Manufacturer? I kid, I just made that up. But it seems Valve has taken clue from Google on Steam Machine program. Instead of making the machine by their-self, they allow any third party manufacturer interested on building a Steam Machine to do as they like.
  • Both (will) help promoting and spreading Linux to the masses.

The year of Linux desktop may never come, but does it really matter anymore? Android has been a top mobile OS for some time now, and it didn’t show any sign of stepping down. Will SteamOS achieve the same? Only time will tell.

Posted in GNU/Linux | Tagged , , , , | Leave a comment

How To Enable PHP’s ssh2 Function On Zend Server

In one of my project, I had to execute shell script on remote machine using SSH protocol. At first I was using simple PHP exec which executing ssh command on the local web server, but it’s requiring apache user used to running web server to be unlocked, which is very difficult to do on production server.

Then I stumbled upon on ssh2_connect which is exactly what I actually looking for. It can authenticate using password or public key and have few basic function such as scp and chmod. It’s part of PHP which mean any Zend Server installation can configured to use it.

First check if package php-5.3-ssh2-zend-server has already installed. On CentOS 6.2:

yum install php-5.3-ssh2-zend-server

Replace 5.3 with your PHP version.

If everything’s okay enable it. Open file /usr/local/zend/etc/conf.d/ssh2.ini and remove ; to uncomment the line which tell PHP to load ssh2 library.

Last step, restart apache server:

/usr/local/zend/bin/zendctl.sh restart-apache

You should be able to use any ssh2 function now.

Posted in How to | Tagged , , , , , , | 2 Comments

Android, Stepping Stones For iDevice Ownership?

I read two interesting article yesterday.

http://androidcommunity.com/android-users-comprised-40-of-ipad-purchases-this-weekend-research-suggests-20131203/

http://blogs.computerworld.com/android/23215/iphone-5c-great-christmas-present-android-users

Both showing the pattern that I have been wondering for a while. Are Android just viewed by general population as a cheap way to get a smartphone? And when you have saving enough money it’s time to switch to iDevice.

Image courtesy of engadget.com

Image courtesy of engadget.com

Or perhaps it not just Android, but any open source or free (cheap) alternatives is used nothing more than stepping stones for getting a more desirable device.

In my work environment, I know at least one person switching from Ubuntu notebook to Macbook. He still installing Windows as virtual machine since some of his tool work can only be run on Windows.

Why is this happening? It is that hard to break Apple image as desirable brand? It is even possible for Google to change this?

Posted in Android | Tagged , | Leave a comment

Fix blank screen when installing openSUSE 12.2

So a while ago when installing openSUSE 12.2 on HP Pavilion g4 (I forgot the model number), I got blank screen after choosing Installation menu, prevent me from continuing the installation.

I’m suspecting the hybrid graphics card to be the problem (Intel and AMD GPU on one machine), so I reboot the machine, hit F3 upon facing DVD boot menu and choose No KMS.

Inline image 1

After that, the installation can proceed normally.

Posted in GNU/Linux, openSUSE | Tagged , , , , , , , , | Leave a comment

Nexus 4

I’m hoping to pick Nexus 4 the first time I heard about it.

Inline image 1

But now I’m hearing that the prices will probably set at >5M IDR when it came out here late November 2012. Compare it with 300 USD released on USA (about 3M IDR).

Here hoping the prices will be more affordable when it actually launched.

Posted in Android | Leave a comment

Most expensive Android app

I always thought Final Fantasy III is the most expensive app for Android, but this app blow my mind.

NAVIGON Europe priced at full $73,30. Seventy. Thirty. US Dollar. You can buy a cheap phone with that much money.

Sadly it only has a score of 3.7 on Play Store.

What do you think? Do you know any app pricier than this?

Posted in Android | Tagged , , , | Leave a comment

Change Android Lock Screen Mute Slider Mode

I just realized there are two different mode for mute slider on lock screen. One which suppress incoming notification sound and change it to vibrate.

And one which totally silence the phone.

So how to switch between those two?

Supposed you now using vibrate mode and wish to switch to total silent mode. Unlock the screen and pull notification bar. Tap the sound toggle button repeatedly until the sound toggle changed to total silent like below.

Now try locking the screen and upon turning on the display you will notice the right slider now in total silent mode, no longer in vibrate mode.

To change back to vibrate mode just repeat the above steps but change the sound toggle to anything else except the total silent one.

The above are tested on LGE-P500 with CyanogenMod 7.2.

Posted in Android | Tagged , , , , , | Leave a comment

Cyanogen Mod now supporting Optimus One

While it’s not (yet) CM9, it’s very reassuring to know that my old Optimus One still receiving update while the manufacturer has already abandon it. I can postponed my plan to purchase newer phone and saving it for more important issue. I’m truly experiencing the beauty of open source and community.

Hopefully they will extend the support to CM9 too, which is based on Ice Cream Sandwich. Meanwhile, I have to do some flashing this weekend.

Reference:

http://www.cyanogenmod.com/blog/cyanogenmod-7-2-0-rc1-is-upon-us

Posted in Android | Tagged , , , | Leave a comment