Game VM’S

For a long time I have been pondering how software will age. More specifically how old computer games will be accessible as time goes on. I had a desire to play Age of Empires (AoE) 2. I had problems trying to play this on Windows Vista back in the day. So, I didn’t believe I would have much success with my current Windows 7 x64 laptop.

So, I decided to test it out. Since I am a student, I get countless free licenses for Microsoft Windows through my IEEE membership. I created a Windows XP Virtual Machine (VM) and installed a couple old games on it. I used an ISO I had on file and created an x86 Windows XP VM. Pulled out the old Age of Empires CD and gave it a go.

Believe it or not, it worked really well. It was running so smooth at one point I forgot I was running this in a VM.

The other game I tested with this was Command and Conquer Tiberium Sun (TS).


TS’s video sequences came through clear and jitter free.


The gameplay is solid just as it was with AoE. The game speed was perfect.

Some games, like TS, use antiquated technologies. For example, TS uses IPX networking. That makes it a pain to setup for LAN games. In a virtual environment, you can use virtual networking to solve this.


Speaking of LAN parties, all you have to do is clone the VM for everyone to have a copy of the game(s). Some older games, like TS, are coming out as shareware or open source. The only legal issue that could arise from mixing your fiends an oldie game VM is the Windows XP licensing,

How is this possible?

Well, Oracle VirtualBox has 2d and 3d acceleration capabilities built in. I have experimented with these features in Linux guests but with limited success. This is the first time I am trying to do something GPU intensive on a Windows VM.

Details:

Host Configuration:

The host for this VM is a Windows 7 Home Premium x64 with 4GB of DDR3.

It has an Intel Core 2 Due T6500 without Intel VT. (If you have Intel VT this should work even better for you.)

The host GPU is an ATI Mobility Radeon HD 4570 with 512MB of dedicated Video Memory

Guest Configuration:

The guest is running inside of VirtualBox 4.0.12.

It is running Windows XP SP2 x86. Remember to install Guest Additions!

It is configured with 1 virtual CPU. 1024 MB RAM and 128 MB of video memory with 3d and 2d acceleration enabled.

I had the networking configured to NAT for this test. If you are going to play some multiplayer games you should probably use bridged networking if possible.

Find and Replace in Office documents via Java

I have created a library for finding and replacing contiguous text in Microsoft Office Word(.docx) and Excel(.xlsx) files.

To accurately describe my method you first need to know something about docx and xlsx files. Docx and xlsx files are just zip files. If you change the extension to .zip you should be able to open them and see a structure similar to the ones below:

Word(.docx):


Excel (.xlsx):


The structure of these files are described in detail in on the Microsoft MDN site. Below are links to the articles:

Word(.docx) file structure

Excel (.xlsx) file structure

But in essence if you want to do a simple operation like find and replace you only need to modify a few files.

In a docx file the text content and formatting is stored in the “document.xml” file that is located in the ./word directory.


 

In a xlsx file the content is a little more spread out.


The text content is located sheet<n>.xml files, where n is the number of the sheet, and in the sharedStrings.xml file. The sheet.xml files are located in ./xl/worksheets folder and the sharedStrings.xml is located in the ./xl folder.

I have working Java code that I am willing license that will complete the algorithm below. If you would like to purchase licensing please email: sales(at)fxit(dot)us.

If you are not willing to pay a few dollars for hours of work than simple use the algorithm below.

The Jakelis.com replace algorithm:

First you need to determine what type of file this so you can do a find and replace on the correct content files.

Next you need to unzip the source file to a temporary folder or write some fancy code to manipulate files inside a compressed folder.

Next you need to find and replace the text in the content files for that document type.

Finally you need to zip it all up with the same file extension as the input file.

If you are really clever you could modify this algorithm and do more than just find and replace. You have access to the raw XML of the file so there is no reason why you couldn’t and remove table rows and change text formatting.

 

Portal 2

I am not normally the kind of person who sits in lines waiting for a video game to come out. However, with Portal 2 I made an exceptions. I watched all the promotional videos, was well versed in the happenings of the ARG and ran my computer to help with GLADOS@Home. What did I get for it? A letdown.

Don’t get me wrong, Portal 2 is not a bad game. It just doesn’t live up to the first one. It like how Star Wars episode one is a good movie in comparison to other movies but is subpar in comparison to other Star Wars films. Portal 2 came across to me as cluttered and confusing. Portal 1 was really good at delivering gameplay mechanics in a natural intuitive way. You had no idea about the world you were in but you didn’t have any trouble knowing where to go and what you were supposed to be doing. Sure you may not have known how to complete a puzzle but you knew what you were doing.

Portal 2 to me lost a bunch of its magic when you go into the underground levels. I didn’t know where to go, I didn’t know what to do. I didn’t know what was going on and the characters in the game where little help. Cluttered environments do not play well in my mind with the game design philosophy of the first Portal Game.

I really felt like the Half Life team came across and did most of the work on Portal 2 and that pushed out the original game philosophy.

The story was interesting but did not have the great depth you would assume from the marketing campaign. You learn things about the history of Aperture Science but it really doesn’t change the way you viewed the world.

The biggest problem I had while playing the game was I always felt like there was a bunch of content I was missing. Portal 1 has a bunch of little rooms with painting and catchy phrases like, “The cake is a lie.” In contrast, Portal 2 had a couple of those moments but they were few and far between. You don’t know what you don’t know and I felt like that concept wasn’t properly used. I felt like there is a bunch of hidden rooms, chambers and insight hidden away beneath the clutter of the world.

The game is not bad. I feel like I paid for exactly what I got. Let me try and say that a little differently. Portal 1 felt like I was buying a Vespa but what I actually got was a Ferrari. I got something with history and a personality far beyond what I ever thought possible. On Portal 2, the marketing team made me feel like I was going to get that same feeling multiple times over. The ARG and the hilarious YouTube videos kept me awake at night excited and dreaming about what the game could contain. What I eventually got was a Ford Focus. There is nothing wrong with a Focus, it’s just not a Ferrari.

I played through the CO-OP completely and it was a great experience. I thought it to was two short. Why couldn’t Valve have gone out on a limb and done something crazy like make a algorithm to randomly generate Portal 2 levels. After all GLaDOS is at least part computer…That way I wouldn’t have withdrawal symptoms till some DLC comes out.

Now it’s time to put on my happy hat and say happy things. The comedy in the game is amazing. The difference in how the AI players treats you is refreshing. More times than not you have a NPC companion that will pick you up when you fall, give you a kiss, and tell you it will be alright. In Portal 2, if GLaDOS had legs she would kick you in the chest till you stopped feeling sorry for yourself and got back to work or you died from internal bleeding. I am undecided which she would prefer.

The new gameplay mechanics fit perfectly into the world. The light bridge is my favorite new addition. When it is shot so it’s vertical it reminds me of Tron.

In all the game felt very safe. It was just enough innovation so that Valve could add another money pool to their new studio. Go give a donation to the Valve money pool fund and enjoy about 18-20 hours of one of the best games of all time. As for me, time to go back to playing Minecraft.

Outlook Not Showing Updated Global Address List After Exchange Migration

Outlook would not download the default address list from Microsoft Exchange. This had gone on since the move from Exchange 2003 to Exchange 2010. An administrator converted the old default address book to the newer version but old clients would not update. However, new clients and the Outlook Web Access pulled the correct version. The solution was deleting the old offline address book folder in C:\Users\<user>\AppData\Local\Microsoft\Outlook\Offline Address Books\ and restarting Outlook on the problematic PCs.

Android 2.1 and 2.2 exchange 2010 syncing problem

I just got a Samsung Intercept on Virgin Mobile that is running Android 2.1. (More about that later…) I experienced some trouble setting it up to Active Sync with Exchange 2010. What happened was I would set it up under the account tab in the settings menu, the wizard would complete successfully and say “Mail is on its way”. Then I would try to open the mail app and it would get stuck in a “Loading” loop.

The same day my boss had the same problem when we tried to setup Exchange synchronization on his Samsung Galaxy S running Android 2.2. We are running a Exchange 2010 environment using an Active Directory 2008 domain that was upgraded from Exchange 2003 and Active Directory 2003.

Good thing to try before I get to my solution:

In you exchange management console brows to the mailbox that is having problems and right click on it.

Click manage mobile phone.

Now if that option isn’t there or it is and the information within is blank this solution may work for you.

Here is the solution that fixed it for me:

On a Domain Controller, Click on Start/All Programs/Administrative Tools/ActiveDirectory Users and Computers

Click on View and Select Advanced Features

Browse through you active directory structure and select the user that isn’t working and double click on the account. Select the Security Tab and then the Advanced Button. Select Exchange Servers, and tick the Include inheritable permissions toggle

then Apply and OK.

I had to setup my “corporate account” again on my phone again to get it to work but after that should be good.

DarkStar One

Well I don’t normally review everything I buy/see/touch but I review things that I find amazing/interesting.(Ill stop doing the / thing now).

I bought Darkstar One from gog.com because I was browsing the game list shouting out names of games to a co-worker when cam across Darkstar One he said “buy it it’s a game like Freelancer!”. So I forked over the money and commenced the huge 4.2 GB download.

Darkstar One is a shooter/RPG space simulator that resembles Freelancer in every way. It has a weird alien plot and a story line so obvious I knew how it would end after the opening cut scene.

However, the game play itself makes up for it faults.

Something about blowing random ships into another dimension with rockets while rolling and fighting of fighters is extremely satisfying. You can be a pirate, a merchant, a bounty hunter or a serial killer for all the game cares.


Why you would ever want to play this game in 1st person? You will find yourself press F4(to switch to 3rd person) when ever you start/load a new game.

The upgrade system is also a little wired as I found my self upgrading towards the indestructible plasma shield as quickly as possible and upgrading the ship to move faster and carry more turrets(auto aiming wonders). After that I just went on killing sprees as nothing in the universe could stop me.

The story is kind of weird too. I find myself confused during more of the missions and not knowing what was going on.

(Spoiler highlight to see it) Also, you don’t get the girl! In every medium of story telling, the hero always gets the girl!!!! Except the Zelda series(end spoiler).

In conclusion Darkstar One is weird but one of my favorite games of all time. It is available DRM free, it has amazing graphics, and being able to redirect power from weapons to shields is just so cool!

GO BUY IT!


Programs/Games I use/play

Some of my friends where asking me some of the programs I used and I thought I might just as well post about them.

Programs

For Name
FTP FileZilla
VNC Tight VNC
Music iTunes
Web Firefox with Ad Block
Archive 7-zip
Word Processing Microsoft Office
Ad-Aware Ad-Aware
Virus/Firewall Mcafee
Instant Messaging Trillion pro
Password Management Key Pass
Virtualization Virtual box
File Synchronization DirSyncPro
Image Editing Gimp
Email Backup Thunderbird
Video Conversion ;) Handbrake

Favorite Unix editor VI
Favorite Linux distribution Ubuntu(ya I know)

Please leave a comment if there is a (DRM Free!)program I should know about.

Some of my most played mostly DRM Free games:

Games

Psychonauts
Gratuitous Space Battles
Assassins Creed
AaaaaAAaaaAAAaaAAAAaAAAAA!!!
Prince of Persia
Portal
Half life 2 episode 1 & 2
Trine
World of Goo
Eufloria

Please leave a comment if there is a (DRM Free!!) game I should know about.

I am trying to go as DRM free as possible.

Game Maker 8

AHHHHHHHH! Well, after my lovey dovey review of Avatar I caught up on some blogs I read and I discovered that my old friend Game Maker(GM) and my sworn enemy DRM had hooked up and created a bastard love child… GM8!

I have always had a tender place in my heart of Game Maker. It syntax was like Python, its community was like middle school and its games where like Electronic Arts games. However, following the disastrous release of GM7 with Soft Wrap Yoyo games swore to never again use Soft Wrap. DONG! Their doing it again! Yoyo games must be run by worthless mindless English wankers.(Trying to convey my message without swearing, and apologies to all other English people.) WHY? WHY? Damn it! Why must you screw us over with DRM? People pirate your software because it has DRM! And or it not worth paying for!

If you want to use Game Maker go pick up a version of GM5 which is the last version to be DRM free and work.

I will be pulling my good games/posts off of GMC and Yoyo games and leave it to its overwhelming piles of crappy games.

Cheers Yoyo Games you lost a loyal customer with your own greed.

I hope you and DRM are happy together.

You broke my heart!

Hit up http://www.messy-mind.net/ for some anti GM programs.

Avatar

Well, I saw one of the most beautiful pieces of art today. It wasn’t a painting, it wasn’t a photograph it was a movie. Avatar is a perfect piece of modern story telling. I head people ranting and raving about it and I thought “what the heck ill go see it”. O my goodness it is worth every penny of the $200 million it cost to create.

To see something that beautiful brought tears to my eyes. The 3d in Avatar is not that fake hand coming out at you 3d. It’s more like the 3d we see every day. Like your friends face or being shot at by the police kind of 3d.

The story telling was a bit new agey though… “They killed their planet!” and “there is no more green!” where prominently placed. I could have gone with a little less global warming crap but that’s just me.

Every one in that movie should get a boat load of awards and I hope it makes good money.

Now I hope James Cameron does the right thing and releases this DRM free on DVD. I know he never will but nerdy people like me with watch this movie over and over and it will became a geek staple like Star Wars. Go see Avatar in 3d!

Google Chrome OS

Well normally when I talk about a open source program/os I do it lovingly and proudly. With Google’s Chrome OS I don’t feel the same way. I find it interesting that we are giving ALL our digital information to Google without a second thought. Google has a product for everything:

Product Google’s solution
e-mail Gmail
Music Lala
Word editor Google docks
Navigation Google maps
411 Google 411
Online commerce Google Checkout
Health information Google Health
Internet browser Google Chrome
Books/stories Google Books
News Google News
Videos YouTube
Blogs Blogger
Forums Google groups
Pictures Picasa
Web sites Google sites
3d modeling Google Sketch up
Instant messaging Gtalk
Foreign Languages Google Translate
Wikipedia Knol
Friend finder Orkut
Operation System Google Chrome OS
Games Ok you got me there

Google is building a super monopoly of really good free products. This is very bad! Soon small programs like me will not be able to make products to compete with Google’s monopoly. Can you honestly find something you do on a computer that Google cant do? But enough rambling about the big G lets talk about Chrome OS!

I personally (wait for it) dislike (wait for it) cloud computing.(NO HE DIDN’T!) I dislike the idea of ALWAYS being online. Google is trying to move the market in that direction because that’s what all their products do, compute in the cloud.

I found Chrome OS to be dumb as it is JUST a web browser. I was hoping for some revolutionary interface or some revolutionary features but was disappointed. Lets start by saying it was slow for me in a VM but that is probably normal. I also found it to be unintuitive and confusing. At one point I wanted to see if I could change a setting and couldn’t figure out how or where to go to change it. How do you shut it down? It also rendered this website horribly. I HATE IT! (It does download file though….) I HATE IT SO SO MUCH!

If you are thinking about trying it about trying it, just fire up Google chrome on pc. It’s the same thing except you can do other stuff too. Google doesn’t realize consumers might spend 99% of their computer time online but that other 1% is so frustrating on Google chrome os it makes it unusable. It crashed more that Vista did. It is open source though so good job there.

Ubuntu netbook edition is a WAY better choice if you want to get a free netbook OS.

Google chrome os is just stupid.

I give it a thumbs down.

EDIT:

Apple bought Lala before google had time to close the deal.

So you can ignore that part of Google’s digital monopoly