My computer sits well outside my room-scale setup so it won't be a tripping hazard. However, when I want to play sit-down games like ED from the desk chair for easy access to ed-db, roguey and the like I have to move a sensor to the desk and rerun setup. I am considering buying an extra sensor just so I can leave the ones on the ceiling in place and just unplug them from the computer and plug in the desk sensor. But I would still have to rerun setup. Is there a set of files I can copy and swap back and forth via a bat file to create setup profiles to avoid all this? Maybe even software-disable the unwanted sensors? Is there a better way?
Udate: Posting my final files here which work. Assumes you've already saved copies of the sitting and standing profiles (roaming, local, locallow) - will have to save the Oculus directorie
s to the same path as in the bat files.
How to set up:
- Setup the rift for your sitting profile (run setup in Oculus app)
- Run stop.bat to stop the oculus app
- Create a Directory named OculusProfiles in your Documents area.
- Copy the three AppData directories (%AppData%\Oculus, %LocalAppData%\Oculus, %AppData%\..\LocalLow\Oculus) to the OculusProfiles directory renaming to Oculus-roaming-sit, Oculus-local-sit, and Oculus-locallow-sit.
- Make identical copies of those three directories called Oculus-roaming-room, Oculus-local-room, and Oculus-locallow-room. You should now have six directories in the Documents/OculusProfiles directory.
- Setup sensors for room scale (don't start the Oculus app yet)
- run room.bat. This will set up links to the room profiles (You should not get any error messages. If so double check the paths and file names.). This should restart the oculus app, too.
- Start the Oculus app if not already started (some times, it doesn't take in step 6 - hey, it's hack
) - Set up for Room scale
You are now set up for room scale. To change back to the sitting profile, run stop.bat, change the sensor arrangement, then run sit.bat. Going back to room is similar.
If your Documents area is not "C:\Users\%USERNAME%\Documents", you will have to edit the bat files to point to the proper area.
sit.bat:
sc config OVRService start= demand
net stop OVRService
timeout /t 2 /nobreak >NUL
rmdir "%AppData%\Oculus"
mklink /d "%AppData%\Oculus" "C:\Users\%USERNAME%\Documents\OculusProfiles\Oculus-roaming-sit"
rmdir "%LocalAppData%\Oculus"
mklink /d "%LocalAppData%\Oculus" "C:\Users\%USERNAME%\Documents\OculusProfiles\Oculus-local-sit"
rmdir "%AppData%\..\LocalLow\Oculus"
mklink /d "%AppData%\..\LocalLow\Oculus" "C:\Users\%USERNAME%\Documents\OculusProfiles\Oculus-locallow-sit"
net start "OVRService"
timeout /t 2 /nobreak >NUL
Start "" "C:\Program Files\Oculus\Support\oculus-client\OculusClient.exe"
room.bat:
sc config OVRService start= demand
net stop OVRService
timeout /t 2 /nobreak >NUL
rmdir "%AppData%\Oculus"
mklink /d "%AppData%\Oculus" "C:\Users\%USERNAME%\Documents\OculusProfiles\Oculus-roaming-room"
rmdir "%LocalAppData%\Oculus"
mklink /d "%LocalAppData%\Oculus" "C:\Users\%USERNAME%\Documents\OculusProfiles\Oculus-local-room"
rmdir "%AppData%\..\LocalLow\Oculus"
mklink /d "%AppData%\..\LocalLow\Oculus" "C:\Users\%USERNAME%\Documents\OculusProfiles\Oculus-locallow-room"
net start "OVRService"
timeout /t 2 /nobreak >NUL
Start "" "C:\Program Files\Oculus\Support\oculus-client\OculusClient.exe"
stop.bat:
sc query OVRService | FIND "STATE" | FIND "STOPPED" >NUL
IF errorlevel 0 IF NOT errorlevel 1 GOTO alreadyStopped
net stop OVRService
:alreadyStopped
Comments
At least stopping yhe run time and deleting thise files causes you ti do full set up anyways, so i assume its where the files you need are stored.
There are many others like it, but this is mine.
Would be pretty useful to be able to switch profiles based on sitting, standing, and room-scale. If we can find the file that stores that information might be fairly simple.
There are many others like it, but this is mine.
1) Oculus software didn't like going back to one sensor and I had to skip the tracking setup and then reset my view when I went to the sitting profile
2) Going back to the room scale, the guardian was shifted dramatically. Rather than rerunning, I decided to just turn it off. I have enough room that I don't really need it.
Any Win10 gurus out there know of a command line to disable (and later re-enable) the sensors I can add to my bat files (so I can leave them plugged in)?
There are many others like it, but this is mine.
1) Going back to single sensor for sitting sessions. Run the setup for Rift only - Touch controllers still work!
2) Disabling sensors is probably not very critical at this time since I have to unplug and replug the sensors anyway to stop glitching
3) Here is my bat file for sitting. I have one similar for standing. I had to comment out the net stop because the batch file would some times continue past the start of the OculusClient even when I don't exit.
You might want to look into just writing a symbilic link in though
There are many others like it, but this is mine.
once you have them all set, get visual studio downloaded and make yourself a little app for it.
There will be some use for the comunity
There are many others like it, but this is mine.
- AppData\Roaming\Oculus
- AppData\Local\Oculus
- AppData\LocalLow\Oculus
to a save area.sit.bat:
There are many others like it, but this is mine.
Just looks cleaner and works independant of drive letter
There are many others like it, but this is mine.
@kojack : if you have a moment, would you be willing to remove all the junk-posts I replaced with "."
Would be pretty useful to be able to switch profiles based on sitting, standing, and room-scale. If we can find the file that stores that info it might be fairly simple.
sit.bat:
room.bat:
stop.bat:
however, why again do people need to change? Does it matter if the HMD is being used with a remote, or not?
and a few other niceties
There are many others like it, but this is mine.
There are many others like it, but this is mine.
PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
There are many others like it, but this is mine.
Where do I put the three bat files?
I also tried elboffer's program but I'm afraid it wouldn't work for me.
Best way to set it up is to:
- Setup the rift for your sitting profile
- Run stop.bat to stop the oculus app
- Copy the three directories to the OculusProfiles directory renaming to Oculus-roaming-sit, Oculus-local-sit, and Oculus-locallow-sit
- Make identical copies of those three directories called Oculus-roaming-room, Oculus-local-room, and Oculus-locallow-room. You should now have six directories in that folder.
- Setup sensors for room scale (don't start the Oculus app yet)
- run room.bat. This will set up links to the room profiles (You should not get any error messages. If so double check the paths and file names.). This should restart the oculus app, too.
- Start the Oculus app if not already started (some times, it doesn't take in step 6 - hey, it's hack
) - Set up for Room scale
That's it. Since you already setup the links, the room scale setup was actually saved in your -room copies in Documents/OculusProfiles. Now if you want to go back to the sitting profile, run stop.bat, configure your sensors for sitting, and then run sit.bat.Let me know how it goes.