pottedmeat7 / OpenVR-WalkInPlace

An OpenVR driver that applies virtual movement using a pedometer
GNU General Public License v3.0
110 stars 17 forks source link

The installation fails #56

Closed dara-mtl closed 5 years ago

dara-mtl commented 5 years ago

The installation of the version 4.1 fails everytime. Specs: Windows 10 19h01, WMR Lenovo Explorer and Steam v1.3.20 -The installer can't complete the operation: "error opening file or writing: \drivers\00vrwalkinplace\driver.vrdrivermanifest" and it keep going on like this with other files. -Ive tried to disable the antivirus/malware and restart the computer with the same result -The v4.0 installer works fine

pottedmeat7 commented 5 years ago

Hi dara, the installer will give these errors if it can't run the exe and steamvr. Please go to program files/Openvrwalkinplace / and run the startdesktopmode.bat the actual error with the exe will then be shown

dara-mtl commented 5 years ago

Hi pottedmeat7, thanks for the quick reply! I've managed to make it run but I had to manually download and add the following dll to the program folder: VCRUNTIME140D.dll MSVCP140D.dll ucrtbased.dll

With those in place, I could finally run the the bat and then the overlay and then a fresh install with the installer would work.

After restarting SteamVR and creating and applying a model, I could activate WIP but unfortunately it would not run. Here is the Overlay UI Log: [INFO ] 2019-04-07 15:44:06: Application started [INFO ] 2019-04-07 15:44:06: Log Config: C:\Program Files\OpenVR-WalkInPlace\logging.conf [INFO ] 2019-04-07 15:44:06: Log File: C:/Users/Asean-It/AppData/Roaming/pottedmeat7/OpenVRWalkInPlace/VRWalkInPlace.log [INFO ] 2019-04-07 15:44:06: Sound effects disabled. [INFO ] 2019-04-07 15:44:06: Settings File: C:/Users/Asean-It/AppData/Roaming/pottedmeat7/OpenVRWalkInPlace.ini [INFO ] 2019-04-07 15:44:07: VR Runtime Path: C:/Program Files (x86)/Steam/steamapps/common/SteamVR [INFO ] 2019-04-07 15:44:10: Found device: id 0, class 1, serial WindowsHolographic [INFO ] 2019-04-07 15:44:10: Found device: id 1, class 2, serial MRSOURCE1 [INFO ] 2019-04-07 15:44:10: Found device: id 2, class 2, serial MRSOURCE0 [INFO ] 2019-04-07 15:44:10: unable to load data model at: C:/Users/Asean-It/AppData/Roaming/pottedmeat7/OpenVRWalkInPlace/default.csv [INFO ] 2019-04-07 15:50:34: Application started [INFO ] 2019-04-07 15:50:34: Log Config: C:\Program Files\OpenVR-WalkInPlace\logging.conf [INFO ] 2019-04-07 15:50:34: Log File: C:/Users/Asean-It/AppData/Roaming/pottedmeat7/OpenVRWalkInPlace/VRWalkInPlace.log [INFO ] 2019-04-07 15:50:34: Sound effects disabled. [INFO ] 2019-04-07 15:50:34: Settings File: C:/Users/Asean-It/AppData/Roaming/pottedmeat7/OpenVRWalkInPlace.ini [INFO ] 2019-04-07 15:50:34: VR Runtime Path: C:/Program Files (x86)/Steam/steamapps/common/SteamVR [INFO ] 2019-04-07 15:50:36: Found device: id 0, class 1, serial WindowsHolographic [INFO ] 2019-04-07 15:50:36: unable to load data model at: C:/Users/Asean-It/AppData/Roaming/pottedmeat7/OpenVRWalkInPlace/default.csv [INFO ] 2019-04-07 16:02:37: Received quit request.

pottedmeat7 commented 5 years ago

For WMR you should choose "other" on the HMD drop-down. Then check out the graph to make sure it's tracking. You will have to create a data model before it will work also

dara-mtl commented 5 years ago

Yes this is what I have done, I've chose "other" and I have created and applied a data model before activating WIP. Maybe the values for the data model are not right, because I can't see the yellow line in the graph. It all look quite different from the previous versions, so I'll try to teak them tomorrow. Could my profile from previous version be interfering as well? Thank you for your help, and your great work! I really love this plugin.

pottedmeat7 commented 5 years ago

If the data model isn't loading it probably didn't save right. Check the path in the logs if it's there. Might be a naming issue.It should import any csv files you have in that directory as options in the drop down.

tselling commented 5 years ago

I am having same install problem. Trying to run bat file gives VCRUNTIME140D.dll is not found.

dara-mtl commented 5 years ago

Actually I can load the data model I have created and I see it in the directory so I start to think it might be a value issue. I'll do it all over again and make more test tomorrow.

dara-mtl commented 5 years ago

I am having same install problem. Trying to run bat file gives VCRUNTIME140D.dll is not found.

Try to manually add the missing dll in the folder and start the bat, then after you should be able to complete the install.

tselling commented 5 years ago

More than one dll missing. Previous version installed and ran fine so not sure why would get this error now.

tselling commented 5 years ago

I uninstalled current version and reinstalled previous version without any problems. This version doesn't want to install.

pottedmeat7 commented 5 years ago

Okay you have given me something to work on. I will try to produce this issue on my side. Can't think of immediate need for a new DLL...

tselling commented 5 years ago

From what I am reading those are debug version of the DLL's so maybe needs a recompile in release mode.

pottedmeat7 commented 5 years ago

Dara, Double check that you have a controller enabled on the tracked devices page, you need at least one. If you can, check out the model page, there should be a red line. If not probably no controllers are enabled. If the data shows on the page then its loading correctly.

pottedmeat7 commented 5 years ago

I suppose I may have built mlpack in debug mode, and thats why the installer is giving errors... I do not have these DLLS directly in the install directory.

tselling commented 5 years ago

Yes, but you if you have visual studio installed for developing they are part of it so you will have them. Most users will not have visual studio installed and so will not have the debug versions of those DLLs. So you should include them or build in release mode. Those DLLs are not in the user versions of the Visual C++ Redistributable packages. The normal release DLLs won't have the "D" at the end.

pottedmeat7 commented 5 years ago

Yes looks like I built mlpack dll in debug, so its those looking for debug versions, I am recompiling those and should need no other changes. Coming shortly

pottedmeat7 commented 5 years ago

Ok should use the release vs DLLs now here it is https://github.com/pottedmeat7/openvr-walkinplace/releases/tag/4.1 You can close this issue if it works, thanks

tselling commented 5 years ago

New version installs without any issues.

tselling commented 5 years ago

Working great in War Dust with trackers on ankles. First time I have managed to get something with trackers working acceptably. Thanks!