There’s quite a few things to download and configure here, but it’s certainly not difficult. You’ll need to install 3 different layers of drivers and middleware in order to get this tech demo working.
Here’s the things you need to download:
- : from this page, hit the topmost item for Windows x86 Development Latest. Make sure you download the x86 even if you’re running x64 Windows as not everything is fully working with 64-bit yet.
- PrimeSense Kinect/OpenNi mod: From the github page, select the little download button on the right to just grab everything.
- : Again, grab the topmost item listed – the Latest x86 Development version.
- The from PixelNinjaGames.
- DotNet 4 from Microsoft
On the Kinect hardware side of things, if like me you own a bundle Kinect with Xbox Slim, you might be wondering how on earth the device will plug into your computer – the answer is that you’ll need to buy the power supply / USB adapter separately (search Amazon for “Kinect power supply” – best deal is about £10/$16). Those of you who bought the Kinect on its own should already have one. Don’t plug it in yet!
- Start with Microsoft .Net install if you don’t already have it. Then run the OpenNi package you downloaded first. When done installing that, extract the avin2-SensorKinect-28738dc.zip files to your desktop. Open up that up and run the installer for Windows found in the Bin directory.
- Next, navigate to the Program Files -> OpenNI -> Data directory. Keep that open.
- Again, from the directory you extracted on the desktop, open up the OpenNI -> Data directory in there. You should see a SamplesConfig.xml file. Copy that to the Program Files -> OpenNI -> Data directory you should still have open from step 2.
- Open up the SamplesConfig.xml file and change the line that reads:
This is a license key provided to the community to allow everyone to use the Kinect device.
- Although we’re not finished yet, it’s important you test this before we move on. Open up Program Files -> OpenNI -> Samples -> Bin -> Release and run SimpleViewer.exe to see something like this:
- Go ahead and install the PrimeSense MiddleWare next (Nite-Win32-188.8.131.52-Dev.exe). You’ll need to provide the license key again during install (here it is again: 0KOIk2JeIBYClPWVnMoRKn5cdY4=)
- Check that’s working too by going to Program Files -> PrimeSense -> NITE -> Samples -> Bin -> Release -> SampleTrackPad.exe
- Finally, extract the Zombie Holdout directory to your desktop and launch the game file inside there! Assuming everything has worked so far, you should be able to calibrate by just lifting your arms up to match the guy on screen. Reload by lifting them up again, and shoot by just pointing. Another awesome feature is that by twisting your body a little left or right you can look around.
Of course, there’s a million other things you could do with your Kinect now that it’s hooked up to your PC. I’ll take a look at some more next time, including how to control your Windows or Mac mouse, which would be perfect for that new living room media center.