MasterGenius.NET – Lambros Petrou

Be Smart | Be Logic | Be A Genius

Easy way to connect Kinect with your PC and use it in Unity3D

by on   •

I wanted to try Kinect from the day it got released but i didn’t have the chance till yesterday. It really is an incredible little thing, you can use for many different projects. Below you can find easy steps in order to install the necessary drivers on your PC in order to have a working connection with Kinect. Also at the end you can find some additional information if you want to use it in Unity 3D, which is awesome by the way.

Before we begin please note that for some drivers you will have to choose between Development and Redist editions. If you want to have the samples ( with which you can try your Kinect connection at the end ) and extensive documentation you must choose Development

Procedure

  1. Disconnect Kinect from PC if it is connected and visit OpenNI website: OpenNI downloads page
  2. First we are going to download OpenNI Binaries. Select that from the 1st dropdown. Choose either stable or unstable from the 2nd one ( I myself chose stable ) and from the 3rd choose your system’s version ( right-click on Computer and then click Properties if you are on Windows and want to find out if you have 32-bit or 64-bit ) and then Download.

    I downloaded: OpenNI Stable Build for Windows x86 (32-bit) v1.5.2.23 Development Edition

  3. Now we move on to OpenNI Compliant Middleware Binaries so choose that in the 1st dropdown. Again choose stable or unstable and then your system’s version and click Download. If you would like to use Unity afterwards download the PrimeSense Unity Wrapper too and then move on to step 3.

    I downloaded: PrimeSense NITE Stable Build for Windows x86 (32-bit) v1.5.2.21 Development Edition
    I downloaded: PrimeSense Unity Wrapper Stable Build v0.9.7.4

  4. It’s time for OpenNI Compliant Hardware Binaries. Again find it in the 1st dropdown and then again stable or unstable in the 2nd and your system’s version in the 3rd, be careful to select PrimeSensor Module and not anything else like Asus Xtion firmware upgrade tool.

    I downloaded: PrimeSensor Module Stable Build for Windows x86 (32-bit) v5.1.0.41

  5. Please note that i recommend you to be consistent on your choice between stable and unstable, which means choose the same in all downloads.

  6. As a verification step you should have the following files:
    • (step 2) — openni-win32-1.5.2.23-dev.msi
    • (step 3) — nite-win32-1.5.2.21-dev.msi
    • (step 3) — OpenNI_Unity_Toolkit-0.9.7.4.unitypackage (this is optional)
    • (step 4) — sensor-win32-5.1.0.41-redist.msi
  7. Install them all in the order you downloaded them ( openni , nite, sensor )
  8. Now we must download Kinect drivers: SensorKinect at Github

    Click the Downloads button at the right and then choose Download as zip

  9. Extract the files from previous step and go to Bin folder and install the driver choosing your system’s version
  10. Now you have all the drivers installed and you just need to plug in your Kinect. Make sure it is powered otherwise the camera may not be detected. Connect Kinect with the usb and wait until the driver software is found and installed (it should succeed)
  11. Open Device Manager ( right-click Computer and then choose Manage, from the left choose Device Manager ) and you should see something like below:
  12. You have successfully installed drivers for Kinect on your PC. The last thing you need to do is try the sample projects in the following directories in order to verify that everything is fine. Note that you may have to restart your PC if you get an error for missing .dll

    You can find sample projects in the following directories:

    C:\Program Files\OpenNI\Samples\Bin\Release
    C:\Program Files\PrimeSense\NITE\Samples\Bin\Release
    

Multiple Kinect Drivers

If you want to have a different Kinect driver then do the following:

  • Open Device Manager
  • Right-click Kinect Camera under PrimeSense
  • Select Update driver software
  • Select Browse my computer for driver software and Let me pick from a list of device drivers on my computer
  • Choose the driver you want (CLNUI for example)

Use Kinect in Unity

If you want to use Kinect with Unity, obviously you need to have it installed and fortunately there is a free version available here.

  • Create a New Project in Unity but do not choose to import any assets
  • Navigate to AssetsImport PackageCustom Package
  • Find the package you downloaded in step 3, OpenNI_Unity_Toolkit-0.9.7.4.unitypackage and click open
  • Wait Unity to decompress the package and choose to import everything and click ok
  • Now from the Project Window open OpenNI folder and then Samples Scenes
  • Double-click to load any scene and try Kinect yourself by clicking the Play button

I hope i was descriptive enough and you managed to install Kinect on your system. If there are any questions or if you find a mistake don’t hesitate to comment below.

Happy Kinecting :P

Posted in Guides & Tutorials

{App-Guide} – Hack WiFi networks with your Android, iPhone or Windows Mobile smartphone

by on   •

Have you ever been at a place with numerous WiFi networks around but none open ? What would you do if you wanted internet access immediately ?
Answer: Nothing…until now :P

This guide is about 2 applications that can hack and find the passwords of some WiFi routers under some circumstances.

  • The victim’s router must be supported ( see below )
  • In order for the app to find the password the victim’s network must have the default SSID name and password

Follow the steps below according to your device:

  • Android
    1. Download Penetrate Pro 2.1.1
    2. Transfer the .apk file you downloaded on your smartphone from your PC (somewhere on your memory card or internal storage)
    3. Using a file manager locate the penetratePro211.apk file and click it
    4. Install the application and open it
    5. It will ask you to download some dictionaries in order to make some difficult passwords recoverable. Make sure you are on WiFi if you don’t have a network contract
    6. That’s it :P Just run the application and you will see the WiFi networks available, those marked green are those that can be hacked
  • iPhone
    1. Download iSpeedTouched 2.3.4 or Download iWep Pro 4.1.3
    2. Now you have the .deb files you need in order to install the application(s). Follow my tutorial on how to install these files here
    3. In iSpeed Touched, download the Tables ( top right button ) for better and faster results
  • Windows Mobile
    1. Your device must have .Net Compact Framework 3.5
    2. Download SciLor’s Wifi Penetrate v0.1.1
    3. Extract the file and transfer the .cab file on your phone
    4. Install the application using a file manager
    5. In order to support the following routers: “Thomson”, “SpeedTouch”, “INFINITUM”, “Bbox”, “DMAX”, “Orange-”, “BTHomeHub-” you must have the rainbow tables on your device
    6. Download Rainbow Tables
    7. You must put the thompson folder of the file above into rainbow folder inside the applications directory folder on your phone

The following wifi routers are supported by Penetrate Pro (with tables installed):

  • Thomson-based routers*: Thomson, Infinitum, BBox, DMax, Orange, SpeedTouch, BigPond, O2Wireless, Otenet
  • Pirelli Discus
  • Eircom
  • DLink
  • Verizon FiOS (only some routers)
  • Fastweb (Pirelli & Telsey)
  • Jazztel_XXXX and WLAN_XXXX
  • Jecom
  • Infostrada
  • SkyV1

Happy Penetrating everyone :-)

ps. i am not the owner of these applications so for any bugs or problems they might cause on your device i have no responsibility, although i had no problem so far.

Posted in Guides & TutorialsSmartphones

{App-Guide} – iGO MyWay for Android (Cyprus & Greece maps included)

by on   •

After 2 posts about iDevice i had to post something about Android too :P

If you ever searched for Cyprus maps you will have probably seen my long updated tutorial about Sygic Mobile Maps for Android here. Well today i am going to give you another option if you are looking for a GPS navigation system for your Android device. This time is iGO MyWay and it has Cyprus and Greece maps included (more maps below).

.: Requirements :.

  • An Android Device (better if 2.3+) – the application is made for 800×480 but it will probably work for others too
  • around 10 minutes

.: Procedure :.

  1. Download this file: iGO MyWay for Android
  2. Mount ( connect ) your Android smartphone on your PC as a removable drive
  3. Transfer the file you downloaded in step 1 directly on the root of your sdcard (not inside any subfolder)
  4. Extract the file there and you should get a folder named iGO and inside it you should have 2 folders ( content, license) and a file named igo-amigo.apk
  5. Disconnect your device from the PC and using a file manager ( Astro, ES File Explorer, Root Explorer etc) navigate to your sdcard and go inside the iGO folder
  6. Now click on the file named igo-amigo.apk and install the application
  7. That’s it :P you should now have iGO installed on your phone ready to run. Launch it and see if it works

FAQ

  • Error message: Maps are isolated
    Thanks to Sotiris for finding the cause to this error. To fix it you just need to change your starting position in settings before you try to get a route plan in Cyprus because the default starting point is in Greece.

Add Additional Maps

If you would like to add additional maps to your iGO the steps are as just easy as before. Also i cannot upload the whole Europe cause of its size so please request the maps you would like in comments section and i will respond as soon as i can ( and my connection too :P ).

  • Request the map you would like in the comments section. Every map i upload will be included in the list below so please check if it’s already uploaded before requesting
  • Download the compressed file for your country from the list below (it will be in .rar file) and extract it somewhere on your PC (remember where)
  • Inside the file there will be 2-3 files, according to the country ( .dem, .fbl, .poi )
  • The contents of the folder must be copied into the corresponding folders in your smartphone’s sdcard. The .fbl file must be copied inside the map folder in the iGO folder in your phone and the .poi file must be copied inside the poi folder
  • Mount ( connect ) your Android phone on your PC as a removable drive
  • Navigate to the iGO folder you created in step 4 from the procedure above and inside content you should locate the 3 folders we talked about in step above
  • Now just copy – paste the contents of the folder from the map file you downloaded in step 2 into the corresponding folder here
  • When you finish all the transferring i always recommend rebooting the phone. Launch iGO and you should have the newly added maps available


.: Maps Covered :.

  1. NavTeq 2011_Q2 maps (Eastern – Western Europe)
  2. TopMap 2011_Q3 (Eastern Europe)


Attention:: I recommend you trying Sygic Mobile Maps too and choose whether iGO is better for you since i found the Sygic maps more detailed and overall experience is better with Sygic. But it might just be me. Try both of them and decide which one you want. Sygic Mobile Maps for Cyprus is here.

Thanks for reading. If you had any problems comment below and i will try to help you.

Posted in Guides & TutorialsSmartphones

{App-Guide} – iGO Primo World 2.1 for iPhone 4 (Cyprus and Greece Maps included)

by on   •

Well this is our 2nd post about iDevices (iPod, iPhone etc) and this mainly targets iPhone 4 (maybe iPod) with 4.3+ iOS. My other post about Sygic Mobile Maps with Cyprus Maps had huge success with many positive feedback and after many requests for a tutorial concerning iPhone and Cyprus maps i decided to write one.

Well, all of you out there searching for Cyprus maps here is the solution to your problem. JUST switch to an Android smartphone and use our guide here to install a GPS Navigation system.

I AM JUST KIDDING :P

Below you will find an extremely easy way to install iGO Primo World on your iPhone and use it as a GPS system. It comes with Cyprus and Greece maps but i will upload maps on request since they are many countries with BIG files so i can’t upload all of them.

.: Procedure :.

  1. Please read our tutorial about transferring files from your PC to system folders inside iPhone here
  2. Once you know how to transfer a file to a specific directory inside your iPhone you are good to follow the remaining tutorial
  3. Download the App from here: iGO Primo World for iPhone (CYP & GRC)
  4. Follow the tutorial in step 1 to transfer the file you download above in your iPhone and install it (this is an .ipa file)
    • If you have your own way accessing files on your iPhone the directory you need to transfer the file is:
      /var/mobile/Documents/Installous/Downloads
  5. The most important step on the tutorial above is step 10 where you Install the application. Please follow it exactly as written (if you do not know what you are doing) in order to avoid problems
  6. Now i assume you managed to install the application. Press the Home button and launch iGO to verify that it’s working
  7. You should be able to choose between the maps of Cyprus and Greece since i integrated them into the .ipa file
  8. If everything above went ok then you have your iPhone set up and ready to use as a GPS navigation system whenever you want.

Add Additional Maps

If you would like to add additional maps to your iGO the steps are not too many but require some work. Also i cannot upload the whole Europe cause of its size so please request the maps you would like in comments section and i will respond as soon as i can ( and my connection too :P ).

  • Request the map you would like in the comments section. Every map i upload will be included in the list below so please check if it’s already uploaded before requesting
  • Download the compressed file for your country from the list below (it will be in .rar file)
  • Inside the file there will be 2-3 files, according to the country ( .dem, .fbl, .poi )
  • The contents of the folder must be copied into the corresponding folders inside your iPhone. The .fbl file must be copied inside the map folder and the .poi file must be copied inside the poi folder. Both folders are inside the iGO application folder inside your iPhone (see next step)
  • The annoying part of this procedure is to find the application folder in your iPhone. Using DiskAid and the tutorial on step 1 (above guide) navigate into the directory below:
    /pivate/var/mobile/Applications
  • Here you should see many folders with strange names and numbers. You have to manually find the folder where iGO is installed. The exact name of the iGO folder is iGO_World.app
  • Once you find the folder type its name down if you ever want to add more maps in the future. Now you should go to content
  • Inside content you should locate the 3 folders we talked about in step 3.
  • Now just drag & drop the contents of the folder from the map file you downloaded in step 2 into the corresponding folder here
  • When you finish all the transferring i always recommend rebooting the phone. Launch iGO and you should have the newly added maps available

If you are familiar with Terminal commands, there is a very easy way to track the iGO_World.app folder in your iPhone. Just type the following command in MobileTerminal on your iPhone and you will find the directory path instantly.

find /private/var/ -name "*iGO_World.app*" -print


.: Maps Covered :.

  1. NavTeq 2011_Q2 maps (Eastern – Western Europe)
  2. TopMap 2011_Q3 (Eastern Europe)


This is it folks :P Another great tutorial for all users out there and especially this time Cypriot iPhone users who are in search for a GPS solution. If you find any problem don’t hesitate to comment below so i can fix it.

Posted in Guides & TutorialsSmartphones