Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

VR Beta support #173

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

VR Beta support #173

wants to merge 3 commits into from

Conversation

ZNixian
Copy link

@ZNixian ZNixian commented Nov 17, 2017

This patch adds support for using the VR beta.

As the beta is stored in a seperate EXE, when scanning for signatures the name of the current executable will be used, as opposed to the hardcoded EXE name. This fixes the crash-on-startup, removing the need to delete IPHLPAPI.dll before using VR mode.

luaL_newstate is also changed (although I paid no attention to how it was changed), but only for the VR version. BLT now tries to hook both versions, and if the VR version runs it sets a flag that causes blt.getvrstate() to return true, allowing special behavior for mods when in VR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants