Jump to content

[SOLVED] -console_command for VR running


photo

Recommended Posts

Hi,

Currently, I want to assemble the project to a release version that runs in VR environment

what comment should I input in the -console_command area?

Thanks

 

Untitled26.png.8c92e22056acff573ce9089e26195711.png

 

 

Link to comment

Thanks, I  just followed the following procedure:

on the application start-up input:  main_x86d -extern_plugin "AppVive";

in Visual Studio built the release_double version

in Unigine SDK assemble the project

 

however, when I run the assemble project run.bat file, it is still run in the pc mode, not VR mode.

i want to assemble a version that directly runs in VR mode.

Link to comment

Thanks silent, I have edited the run.bat file as follows

start  bin\oil_refinery2_%arch%.exe  -video_app auto -video_vsync 0 -video_refresh 0 -video_mode 1 -video_resizable 1 -video_fullscreen 0 -video_debug 0 -video_gamma 1.000000 -sound_app auto -data_path "../"  -engine_config "../data/unigine.cfg"  -console_command "config_readonly 1"    -extern_plugin  "AppVive"  main_x86d Thanks Silent

however when I run the program

it says cannot load AppVive_64.dll 

Untitled34.thumb.png.041773c83421556aa11e9709e0c4fc3f.png

Link to comment

Hi Lukas,

Probably, your project is not configured to run with AppVive, please check the project settings. Inside <project>/bin dorectory you should have following libraries:

  • AppVive_x64.dll (initially stored in <SDK_Install_Dir>/bin)
  • openvr_api.dll (initially stored in <SDK_Install_Dir>/bin/x64)

You also can copy these files manually.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
  • silent changed the title to [SOLVED] -console_command for VR running
×
×
  • Create New...