STEAM GROUP
PAYDAY 2 VR: Improvements Mod pd2vrmod
STEAM GROUP
PAYDAY 2 VR: Improvements Mod pd2vrmod
100
IN-GAME
671
ONLINE
Founded
17 November, 2017
ZNix 17 Nov, 2017 @ 12:26am
Unofficial VR port of the BLT modloading hook
This port is discontinued, use SuperBLT - it also has VR support, and is fully compatible with regular BLT mods. This old DLL will NOT show any mod option entries, and is kept only for archival reasons.

BLT for VR
I've finished what seems to be a complete port of the IPHLPAPI.dll BLT hook to the VR Beta. It's also compatible with the standard version, so you don't' need to swap around when switching between the VR Beta and the flat version.

Usage
Install the 'mods' folder from the normal version of BLT - that part doesn't change. Then download the hook (IPHLPAPI.dll) from below and put that into your PAYDAY 2 folder, instead of the one that came with BLT.

BLT will nag you to update - do not do so. That will revert you back to the standard version of BLT, and you'll have to download and overwrite the DLL again.

License/Credits
License: MIT License, https://github.com/JamesWilko/Payday-2-BLT/blob/master/LICENSE.md

Credits:
https://github.com/JamesWilko/Payday-2-BLT/tree/master
While I made it work with the VR Beta, that was a thousandth of the work it took the BLT team.

Changelog
2.0VR8:
Fix for PD2VR Beta v1.3
SHA256 Checksum: 7f4ed5ab7a932d07fd9ddc0cb332560103bfb6ab3df717e420b19aa735aba34c

2.0VR7:
Add blt_vr helper functions, allowing for determining the HMD brand (Oculus, HTC) from Lua (this makes it possible to have different default settings depending on the HMD), and allowing reading from the A and X buttons on the Oculus Touch controllers.
SHA256 Checksum: e89cca4b7974edb552ad41df0f592a043d04d0e03b2ac306caa8925a16f2a547

2.0VR6:
Update the signature of luaL_newstate again, as two bytes of the first 16 in that function changed in the last update.
SHA256 Checksum:
7e58fd4c1d615032fcf940a76808a1059ee34f68ac4f56540940455c5affcd7e

2.0VR5:
Add SSL support, as I stuffed up when compiling LibCURL.
SHA256 Checksum: 8cbbd333c55c22726e2aa850a30f625d7c754884221e9409429417b6678c8b6c

2.0VR4:
Fix debug console - note the you will get a 'payday2 has stopped responding' when you close the game if you use it.
SHA256 Checksum: 4c266158cd152358e9530d19cfbf0723131a1ddd14743b93163b8db3a82a2fa3

2.0VR3:
Fix hook after PD2 update, updating luaL_newstate signature
SHA256 Checksum: e5bd2cc51f74ceb563e8ecb8722c64cb6069b6ed852bf5b3ce0b108d6aa4f5df

2.0VR2:
Remove lua_close debugging popup at game start
SHA256 Checksum: 8c34a08b6815c0f96e8456e7c186edad77e861f942fd591401041d406afca2fc

2.0VR1:
Initial VR Beta port
SHA256 Checksum: f2433ffcce3486a843a172d300d9d9cf507c6c755734053402130bd101d814ed

Downloads
Main download[znix.xyz]
VirusTotal scan[www.virustotal.com]
Source Code (GitHub)[github.com]

What to try if it crashes
1) Make sure you have the latest version of the hook DLL
2) Remove all mods other than the VR Improvements mod (if this fixes it, put them back one at a time until you find which one is causing crashes)
3) Remove your mod_overrides. If this fixes it, do the same as above putting the mods back one at a time to find the culprit.
Last edited by ZNix; 17 May, 2018 @ 5:53am
< >
Showing 1-15 of 87 comments
A Squared 17 Nov, 2017 @ 4:38pm 
Awesome to have someone working on this. Should BLT actually be working in VR now? Using your hook, the game doesn't crash, but BLT and my BLT mods don't appear.
ZNix 17 Nov, 2017 @ 4:40pm 
Huh, that's odd. I'll look into it.

Can you delete the contents of your mods/logs folder, open the game then close it by clicking the 'quit' button on the projector, and then send me the contents of your mods/logs folder.
A Squared 17 Nov, 2017 @ 5:13pm 
Yep. the only file is 2017_11_17_log.txt, which contains just:

08:11:33 PM Log: (..\src\http\http.cpp:43) CURL_INITD
08:12:07 PM Log: (..\src\http\http.cpp:48) CURL CLOSED
ZNix 17 Nov, 2017 @ 5:22pm 
Huh, seems it's not getting loaded in the VR mode thank's to an update
A Squared 17 Nov, 2017 @ 5:37pm 
Alright thanks, good to know that the issue isn't just on my end. I'm exicted to see VR mods being made.
ZNix 17 Nov, 2017 @ 6:09pm 
Okay, the latest version should work.
[dr42] Moniker 17 Nov, 2017 @ 6:34pm 
I appreciate how quickly you got this up and running, Do you have any mods planned for after you introduce a smoother locomotion?
ZNix 17 Nov, 2017 @ 6:36pm 
Smooth locomotion? I'm working on that right now. I'll send an announcement when it's ready to be tested.
Alex Solowjow 18 Nov, 2017 @ 6:12am 
could you try to make beardlid work in vr? that way we maybe could even get custom heists to work in vr
ZNix 18 Nov, 2017 @ 12:02pm 
Originally posted by Alex Solowjow WILDCASE.COM:
could you try to make beardlid work in vr? that way we maybe could even get custom heists to work in vr
Sounds cool, I'll do that a good bit later though (locomotion comes first).
Kieran 20 Nov, 2017 @ 12:00am 
So are we still not supposed to update this hook from within Payday? You said the mod can be auto updated now, but the hook also still nags every time at launch.
Last edited by Kieran; 20 Nov, 2017 @ 12:00am
ZNix 20 Nov, 2017 @ 12:03am 
The hook is trying to update itself? I'll fix that in the next update of the main mod.
ZNix 20 Nov, 2017 @ 12:05am 
Or did you mean there's a popup that comes up, as opposed to the little thing in the corner? If so, you have to update the hook manually as the old versions don't support automatic updates.
Kieran 20 Nov, 2017 @ 12:36am 
I get a message in the left-hand corner that says the BLT hook needs updating.
Last edited by Kieran; 20 Nov, 2017 @ 12:37am
ZNix 20 Nov, 2017 @ 12:49am 
Okay, download a new version and it should be fine again.
< >
Showing 1-15 of 87 comments
Per page: 1530 50