Jump to content

[SOLVED] -console_command for VR running


photo

Recommended Posts

Posted

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

 

 

Posted

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.

Posted

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

Posted

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:

Posted (edited)

 I think I have all the files

Untitled35.thumb.png.d2a5e2378cebb6ccd7a809934e865df0.pngUntitled36.png.df9999f58df7808becd00a052c257632.png

Untitled37.png.70641c1c0718d6f1d0c0e52abec08e7c.pngUntitled38.thumb.png.ba4f474ff06b6620d535106ad7240e0b.png

Untitled39.png.18cd27f199df5993e1eb564e166ed29a.png

Edited by de-Roo.Lukas
Posted

Yeah,  it works. I just copy openvr_api.dll to bin.

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