Skip to content

samueldoodoo/vrmod-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To install or update the module, open the "install" folder and read "INSTALLATION.txt"

--

This is the module used by the VRMod addon for Garry's Mod (https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548).
It adds some basic lua functions for interfacing with OpenVR, and a way to mirror a texture from the game to the VR compositor.

If you want to compile the module yourself using visual studio:
-add the source files to your project and make sure the project is configured to produce a .dll
-link openvr_api.lib and get the OpenVR headers, both available at https://github.com/ValveSoftware/openvr
-get the gmod lua headers https://github.com/Facepunch/gmod-module-base/tree/development
-get MinHook (header and lib, which you can build yourself) https://github.com/TsudaKageyu/minhook

SPECIAL THANKS TO:

UselessGhost (https://steamcommunity.com/id/UselessGhost)
who shared tips and their proof of concept gmod vr module source on the VRMod Workshop Discussions,
where the current directx hooking and texture sharing code is borrowed from.
https://bitbucket.org/uselessghost/gmcl_openvr

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published