Code Monkey home page Code Monkey logo

perception's Introduction

#VIREIO PERCEPTION

####BUILD INSTRUCTIONS

Created using Visual C++ 2012 Express for Windows Desktop on Windows 8 64-bit.
(Windows 8.1 users cant use the online installer, please use the ISO file instead)

Built using the Microsoft DirectX SDK (June 2010) (may work with newer versions)

Download libfreespace libfreespace-0.6rc0-win32-vs2010.zip
Extract it to a folder

Download Oculus SDK v0.6.0.1

Extract and copy LibOVR and LibOVRKernel to project directory.

  1. Click Start, Control Panel, System (in System and Security), Advanced System Settings, Environment Variables Create environment variables:
    • FREESPACE : The folder for libfreespace (Hillcrest Labs SDK).
    • DXSDK_DIR : Your DirectX SDK folder (already set automatically by the June 2010 DirectX SDK)
  2. Open the VireioPerception.sln solution file. It contains all the projects with their dependencies set correctly.
  3. Choose either Debug or Release.
  4. Either Run or Build the solution. It should just work.
    (There should be only two compiler warnings about the output directories not being the same as the target directory. That's deliberate.)

When you want to publish it, just build in Release mode and zip the contents of the Release folder. But be careful because when running in Release mode, changing the separation, convergence or other settings in game will affect the files you will release. The Debug folder is automatically created from the files in the Release folder whenever you compile in Debug mode.

####Support

If you want to view the debug prints from hooking the game, download and run DebugView or TraceSpy. Sometimes DebugView becomes unresponsive, in which case just continue what you were doing and look at it later.

It makes sense to work with the DxProxy project mainly. The DxProxy project is the main meat of the application. Basically what it does is it proxies DirectX so the game loads this modified "d3d9.dll" file instead of the real "d3d9.dll". Mostly all the functions are just dumb pass-throughs, but a few key functions are modified. This allows us to alter a few things, like the view-projection matrix (which is modified to fake a 3D camera), or the present call (where we display a new 3D image).

The DxHijack project helps us to inject our modified dll into games, without having to place the proxy "d3d9.dll" file in the game folder (though some games don't work with this method, so we still have to copy the dll over as a last resort).

The Perception project is the GUI interface for the app. You probably will not need to touch this unless you are adding new options to the menu (ie a new tracking device).

If you need help, please post on the Official Vireio Perception Forums on MTBS3D.com.

perception's People

Contributors

eisernschild avatar drbeef avatar baggyg avatar chrisjd avatar jimrandomh avatar cybereality avatar samaust avatar mistakeswheremade avatar dylanwinn avatar sigboe avatar carlkenner avatar muchcharles avatar mscoder610 avatar marulu avatar mwmacmahon avatar nikgh avatar rckanki avatar namark avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.