Gistix / portal2vr

Portal 2 VR Mod
740 stars 19 forks source link

I messed up the configuration and how to recover from it #120

Closed mcitew closed 3 months ago

mcitew commented 7 months ago

I did not have this error previously but now every time I start up the game, there is dialog from L4D2VR which says "SetActionManifestPath is failed". Just click on the dialog the games seems to continue without problem.

How to stop the dialog from appearing ?

mcitew commented 7 months ago

Found out why already. If SteamVR is started prior to starting the game, then there is no problem.

mcitew commented 6 months ago

Modded the code to go into a loop

again: if (m_Input->SetActionManifestPath(path) != vr::VRInputError_None) { Beep(523, 500); Sleep(500); goto again; }

After a few beeps, then the SetActionManifestPath() will succeed. Therefore I could start the game without prior starting up SteamVR.