Beginners Guide to Setting Up Your Microsoft Kinect for Windows PC Hacking


Beginners Guide to Setting Up Your Microsoft Kinect for Windows PC Hacking

Setting up your Kinect sensor on your Windows PC is a pretty straight forward now that the binaries are available. Follow these simple steps and you'll have the tools necessary to hack your Kinect on Windows XP, Vista and Windows 7

First off, you'll need to download the latest Middleware, SDK and driver versions and install them in the following order:

  1. OpenNI v1.0.0.25
  2. SensorKinect
  3. NITE Middleware v1.3.0.18 - See Key below

NOTE - The latest version of OpenNI is incompatble with the current version of SensorKinect. In order for this tutorial to work, you must download the exact files specified above.

When installing the NITE Middleware, insert this key - 0KOIk2JeIBYClPWVnMoRKn5cdY4=

In order to get the PrimeSense examples running properly:

1. Copy the XML files from "c:\Program Files\Prime Sense\Sensor\SampleXMLs\NITE\Data" into "c:\Program Files\Prime Sense\NITE\Data" (overwrite files)

2. Copy the XML files from "c:\Program Files\Prime Sense\Sensor\SampleXMLs\OPENNI\Data" into "c:\Program Files\OpenNI\Data" (overwrite files)

Thanks for the assist Pat_loonytoon

From your start menu, locate the OpenNI or Prime Sense programs and try out some of the samples. You should be all set.

Looking for some cool programs to try out? Have a look at Kinect Ultra, KinEmote and FAAST to get the ball rolling on your new adventures in Kinect hacking. Enjoy!

AttachmentSize
sample-scene.xml580 bytes
sample-tracking.xml607 bytes
sample-user.xml579 bytes

My Kinect is not being recognized, I have plugged it in via usb but I dont hear the usual noise when a device is connected. Any help? My computer is on Windows XP

You need to install the drivers...

I installed everything, just doesn't wanna respond, Plugged into my laptop after installation of drivers and I can't find it in Device Manager. Did I have to connect my Kinect to the computer before installation?

I just found that I need the power adaptor to connect my Kinect to my pc. Is there a workaround for this?

Oh I see. I don't think there's a work around for this. You'll have to buy the adapter on its own as far as I know. Here's one from the Microsoft store: http://store.microsoft.com/mic...Check ebay as well

hey this might sound like a stupid question but how do i use this with kinect adventures or kinect sports i downloaded all of the sensors and stuff and i have faast 0.07 and it works fine i pluged my kinect in and all the sensors worked but how do i hook it all up to my xbox and get it to work or do i even need my xbox

This guide is only intended to set up your Windows PC so that you can interface with a Kinect sensor. XBOX 360 games won't even run on Windows so you won't be able to play Kinect Adventures or Kinect Sports. You can however play Zombie Holdout or use some of the other software that's been created such as Air Presenter or StagePresence. You can use FAAST 0.07 to write key bindings in order to play all kinds of PC compatible games as well if you'd like.

thx it worked perfectly the way i wanted it to but how would i go about makeing my own commands like how can i make it say left_arm_circle 5 hold_key 9 or somthing when left_arm_circle isnt a action for the kinect or this program how would i make it be one if i wanted to. im useing faast btw , thx

You can only map gestures to for the game itself. I'm not sure if you're referring to moving your arm and having the character match that motion in real-time. You can only map left_arm_circle 5 hold_key 9 for example to shoot or reload or whatever motion you're binding to whatever keyboard command.If I'm way off, check out the FAAST forums for some additional help at - http://projects.ict.usc.edu/mx...

thx for your reply =) yea thats exacly what i want it to do i just want to create my own gesture like if i were to do one motion like just for example waveing my hand in a circle and the kinect would reload my gun. i have faast 0.07 and they already have a few commands and they are like left hand out and that would press key 5 or somthing i just want to make a new command that dosnt exest like just for example 2 hands waveing or somthing and it would say 2 hands waving press key 6 or somthing like that i dont want it to follow my every move i want to make a few of my custom motion commands for like black ops or somthing. what program or process would i have to go thorugh to get that to work, thx =D

The microsoft kinect SDK is only compatible with the following operating systems: windows 7 and windows 8 developer preview (both 32-bit and 64-bit)

but it should still work as a microphone array (multiple microphones) as the kinect has 4 multi-directional microphones at the bottom, so if you set it as the default recording device then you can use it as a microphone for sound recording, speech recognition etc.

If that doesnt work, you may be missing a Kinect Power Adaptor which converts the Kinect USB wire to fit into a computer's usb.

 

I have drivers installed - I suspect I am missing something obvious. The three .exe files do not install, but seem to get stuck, opening a dos window with a moving, blinking cursor. Any ideas?

It's hard to troubleshoot these issues without any error messages. I'd suggest uninstalling OpenNI, PrimeSense and SensorKinect and giving it another try by installing them again.

Hi, I know that it's a silly question, but, How can I download the .xml files, because when I click in the link, it opens a new tab, so... I don't know If a need copy the text in a text file and save it with the .xml extension.Thanks

Hi, I know that it's a silly question, but, How can I download the .xml files, because when I click in, it opens a new tab, so... I don't now If a copy the text in a text file and save it with the .xml extension.Thanks

You can either copy the text and paste it into a text file and save it with the same name, or, save the link to your desktop or somewhere else by right clicking the link and saving it. I'll look into the issue with a new tab opening up. Thanks for the heads up!

I installed the three packages and copy the three XML files. But when I run the samples Primesense, like PointViewer, there´s an error with the message: InitFromXmlFile failed: File not found!. Do you have any idea how to solve this?Thank´s

Did you try running the samples from a command prompt apposed to just clicking on them to open them? I can't recall exactly but I think I was able to get them running by those means at one point or another. I tried googling your error message as well and didn't come up with anything concrete to help you out with. Anyone else run into this?

i think there i have a similar error, I Just install the openni and Nite and when i try to open NIviwier or the NIsimpleread they says that didn't found xnproduction node relase at the dinamic link libray (biblioteca de vinculos dinamicos). (openni.dll) any help about it? any idea of how can I fix it.? thanks.

Try opening NIviewer from a terminal. If I recall correctly, that's how I was able to launch those sample applications.

hi, i hae an idea aobut a project with kinect but i dont know which programming language i could use and if its difficult or not too much, i got some skills with visual basic 08' and C++sorry 4 my bad englishthanks

So I done this and installed ICM (Activate3D), It wont connect with my kinect saying a error message I just ignore then It says "Could not connect to DepthCamera" Then closes

Waste of time. you cant get the kinect working on windoze no matter what you do because the supposed kinect driver is for linux only! EVERYTHING IS FOR LINUX ONLY HERE!!!! call me when you ppl get a brain to code for windows.

I guess when I used my Kinect on my windows machine the last few months I was really having daydreams...highly unlikely.

Are you for real?

judging from the guy's recent activity it looks like he just spams every board with his "EVERYTHING IS FOR LINUX" garbage. Not exactly the way to act if he wants help.Joel, what you need is-[Before you begin- Uninstall any kinect drivers installed previously.]//If you don't have the adapter plug for AC power then you will need to get one as the Kinect cannot run off of just USB power1. OpenNI (You must use the unstable OpenNI which you can get from: http://www.openni.org/download... )2. Kinect Sensor drivers (Use the unstable sensor drivers as well which you can get from: (https://github.com/avin2/Senso... Click download button and then after unzipping navigate to /Bin/SensorKinect-Win32-5.0.0.exe to install [make sure to allow unsigned driver])3. Install NITE (http://primesense.com/) > Use the key: 0KOIk2JeIBYClPWVnMoRKn5cdY4=4. Copy the XML files from "c:\Program Files\Prime > Sense\Sensor\SampleXMLs\NITE\Data" into "c:\Program Files\Prime Sense\NITE\Data" (overwrite files) 5. Copy the XML files from "c:\Program Files\Prime Sense\Sensor\SampleXMLs\OPENNI\Data" into "c:\Program Files\OpenNI\Data" (overwrite files)I just uninstalled all my drivers and reinstalled using the above and it works again.

Thanks for taking this one on Pat. I didn't feel like helping the guy out in the slightest after dropping those types of comments all over the place. I owe ya a beer!

I've been trying for about 5 hours yesterday with the guide from a different site (and every permutation of their steps I could fathom), which ended up just giving me a blank screen output.And your step-by-step worked perfectly. So appreciative!

I'm trying your steps, but after step #2 when I go to install SensorKinect-Win32-5.0.0.exe I get an error "Installation Failed! Could not register module with OpenNI!"Using Win 7Did 'run as administrator'In step 1, downloaded and installed the "OpenNI Unstable Build for Windows x86 (32-bit) v1.1.0.39 Redist Edition"

the latest openNI drivers don't work with the kinect, so SensorKinect-Win32-5.0.0.exe will not install. to get the old driver, check out brekel.com or check out my video tutorial which shows you how to install all of the drivers, set up and use MikuMikuDance and pipe the output into another VJ program in realtime. I am hosting all the required software (compatible versions) in a zip file http://mohawkmedia.co.nz/mikup...

I've updated the post to link directly to the required files apposed to the page I'm hosting every version on. The latest version of OpenNI isn't compatible with SensorKinect so we'll have to wait for avin2 to update his software.

Thank you!!! Ive spent days trying a variety of permutations of various tutorials and this is the only one that worked. Im guessing that the main issue was that they are constantly updating the various builds so incompatibility sneaks in all the time. Anyway, thank you again!

Tried this exactly as written - Win7 x64, no dice Chicago right after the change, but after a minute, it worked -- muchas gracias!Any hope for a 64-bit mode of the install?

I have an error, whenever I open a sample, I get this message. "The device is not connected!" Though it is fully connected, also before that I see a message saying that "xnistypederivedfor" is not found in the dynamic link. Please help!

Do you NEED to have primesense? For me its the thing that screws it up.

I need help, apparently my kinect is "not connected" though everything is plugged, drivers installed also, HELP ME!

I cant seem to get it to work with faast maybe an update is messing it up?

is this up to date?

every windows 7 computer i use the following happens no matter what. NOTE: on all windows 7 systems i have. 3 diffrent devices;  when ever i click on the kentic hacks link from the dash hacks drop down menu it brings me to a fake search website http://kinect-hacks.com/ realy enoying. almost as if there is no such site, same thing happens to the link on this post for sensorkinect download

I think we scrapped the drop down for the hacks menu item.  I added a link to the "Hacks" link from the dashhacks.com primary menu.  Let me know if it's working alright for you now.

MCL juggalo homie

IM TRYING to come up with a solution to useing the Kinect on a PS3 in hand with my HOMEBREW GAME/engine im working on. a application, something like FAAST would be needed, porting somethin in ordanince with the device,  end result would be 1: pluging the camra into the ps3. 2: runing the FAAST like application from XMB, it would then back you out to the XMB menu wile activating the use of the camra and its operations but in the manner to where it would work with in other homebrew applications, i would have a prefonfigured set of controls. that would work with the defult joystick button mapping with in my engines system settings. its all realitive and obvouisly i have not done it yet.. but i think that his here what i stated, i can make happen

i followed this tut. first, did it over and over about 5 times in the span of two days. and each time; makeing sure i followed this to the T. i get big problems, as if this tutorial is wronge,  i cant launch any program i tryed getting and useing.. perticurly FAAST.exe where i get a error message stateing the procedure entry point xnLOADsKELETONcAlibrationDataFromFile could not be located in the dynamic link library.dll  i then tryed other varations of this tut. i found asuming there diffrence is based on the fact that they may be more up to date then this one...   but not matter what i do on both of my computers i tried over and over again.. and this tutorial to me simply seems to be wronge..

This might help - http://goo.gl/qsMWx -  I think your problem is outside the scope of this tut.  Good luck!

Hey

I did the tut, followed every step to the word but when i open the OpenNI viewer it tells me my device isn't connected =S please help?

thanks in advance =D

I hope my question doesn't sound silly, but I am a beginner and I have to make sure I understand everything before running any of those programs. Why do I have to copy the XML files to that location? It's difficult for me to understand how some file extensions work, and HML files are unknown to me.

Hey I followed your instructions to the T and its not working same when I followed the SimpleOpen NI instructions. It keeps saying it cannt link to the Dynamic Library OpenNI.dll. any ideas?

I installed everything, just doesn't wanna respond, Plugged into my PC and It shows in Device Manager. But when i try to use samples it shows " could not initialize from file:can't create any node of the requested type!"
pls give me a solution

I installed everything, just doesn't wanna respond, Plugged into my PC and It shows in Device Manager. But when i try to use samples it shows " could not initialize from file:can't create any node of the requested type!"
pls give me a solution

When I try to run samples from prime sense a command promt window opens for half a second then closes again and when I try to open samples from openNI a command windows opens saying:One or more of the following nodes could not be enumerated: Device: PrimeSense/SensorV2/5.0.0.25: The device is not connected! Press any key to continue . . .Ive intalled the programs above successfully and in the right order and windows installed the drivers successfully. What is wrong and how can i fix this?

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.


 
CREATE ACCOUNT NOW TO POST COMMENTS!

Why create an account on the Dashhacks network? Because being logged in has its privileges!

• COMMENTS! Only logged in users comments go live without waiting for moderator approval!
• No video! The video ad in the upper right doesn't interrupt you on all pages!
• Customize your profile! Flaunt your xBox Live, PSN, Wii, and Steam gamertags!
• It's FREE and it's EASY! And one login works for all of the Dashhacks review sites!
• If you have an account in our FORUMS, your username as password will work here!

So what are you waiting for?

LOG IN NOW!         |         CREATE YOUR ACCOUNT!