/ Forums
New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

Guide: Installation of Oculus Software to Non-System Drives

cyberealitycybereality Posts: 20,158 Oculus Staff
edited September 2016 in General

NOTE: This guide is NOT NEEDED anymore as the setup installer supports multiple drives natively.


WARNING: Some users are experiencing issues with the steps below. You may wish to hold off performing these steps for the time being while we investigate. Thanks.The team's releasing an update that enables installation of Oculus software and apps to drives other than your system drive (typically, C:\Program Files (x86)\Oculus) in one of the first Rift updates (likely the next 2-3 weeks). In the meantime, there is an unofficial workaround you can use to move your existing Oculus software and all installed games to a different drive.Note that this is unsupported (!) and doesn't have a migration path back to a good state once we release the update in the next few weeks. Also, note that the full OculusSetup.exe functionality (uninstall, repair) won't work if you're using this workaround.

Your destination drive will need the following to be true:NTFS file systemNot a network driveNot a removable drive (like a portable external HD)Its drive letter (such as E:\) won't change for any other reason1.2GB free space (in addition to the size of your installed games)
Process:Install Oculus using OculusSetup.exe ( www.oculus.com/setup - available Monday morning PST)Launch a command prompt with admin privileges:Win 7: Start -> All Programs -> Accessories -> right-click Command Prompt, choose Run as administratorWin 8 or Win 10: Right-click Start or hit Win+X, choose Command Prompt (Admin)Shutdown the Oculus VR Runtime Service:Run in the command prompt: net stop OVRServiceMove your Oculus folder to another drive while maintaining permissions (as an example, E:\Oculus). You must move the folder using xcopy, or you will break Oculus and risk opening security holes in your system.Run in the command prompt: xcopy “C:\Program Files (x86)\Oculus” E:\Oculus\ /O /X /E /H /KDelete the “C:\Program Files (x86)\Oculus” directorySymlink your new directory with the old directory location:Run in the command prompt: mklink /d "C:\Program Files (x86)\Oculus" E:\OculusRestart the Oculus VR Runtime Service:Run in the command prompt: net start OVRService
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 32GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
«134

Comments

  • SOTBMPSOTBMP Posts: 56
    Hiro Protagonist
    Good to know ;)
    I always install Steam, Origin, UPlay or GOG Galaxy on non system drive.
    Oculus Home should be also there :)

  • notsramnotsram Posts: 1,237
    Wintermute
    Thanks, cyber. Very useful!
  • TommyEnTommyEn Posts: 14
    edited March 2016
    Would it work to install into an empty "Oculus" folder in "C:\Program Files (x86)\Oculus" that has already been symlinked?
  • dead4suredead4sure Posts: 263
    Nexus 6
    edited March 2016
    Edit: Got so carried away with the questions that I forgot to say thanks for the guide! Cheers dude!

    This is probably a stupid question coming from someone with 0 software dev experience but is it going to be a particularly difficult job for the Oculus dev team to change the installer to have a path selection?

    I mean this as a genuine question not some snarky remark btw.

    Also is anyone up for making a video tutorial on this?
  • michaeltiesomichaeltieso Posts: 5
    Virtual Boy (or Girl)
    Thanks for the guide @cybereality !
  • notsramnotsram Posts: 1,237
    Wintermute
    edited March 2016
    I'm now planning on using my SSD C: drive, at least until we get the official option of installing to other drives. I've had a busy morning of moving por... errr, I mean graphics and audio etc. files to my D: drive, and have also deleted/moved quite a few uncesscary apps from the C: drive. Antivirus software is overrated anyway!

    I now have almost 70GB free :) That should last a few weeks until the Rift software is updated.
  • ErrollErroll Posts: 28
    Lawnmower Man (or Woman)
    Assuming there is a folder that contains all the apps it would seem to make more sense to symlink that instead of the whole oculus program folder. This is what most of us used to do with Steam before they created the ability to have multiple app repository locations.
  • inter4everinter4ever Posts: 1
    Virtual Boy (or Girl)
    After the update, will we be able to install games to a drive other than the one Oculus software resides in? or will we have to reinstall Oculus on the other drive first? I would prefer to have the main Oculus software on my SSD, and the game and experiences on an HDD.
  • cyberealitycybereality Posts: 20,158 Oculus Staff
    So, this guide was to help people that absolutely don't have any space on C:. Personally, I'd rather use my spare drives, but I do have about 300GB on C: I could use for now. Then I'll re-download the files after the fix.

    I think the way it will work is you'll install the Oculus app files (and thus all new games) into a directory of your choice. So then the Oculus files and game files will be all together, on whatever drive you choose.

    Since the game save files mostly should be saved in AppData. You should be fine to install in the Oculus app on C: for now (if you have space for a few games) then uninstall/reinstall on a different drive one the fix is in place. And I believe all the saved games should still be there (just don't quote me, since I'm not sure how it will work exactly because they're still working on it). 

    @Erroll I'm not sure if symlinking the sub-folder is the best idea. Engineering came up with these steps, so I assume there was a reason for the choice.

    @dead4sure Yes. There were difficulties getting this working, which is why is didn't make it in as a launch feature. Mostly the issue had to do with wrangling Windows UAC so those popups didn't appear and break the experience. However, the team seems confident they can fix this soon.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 32GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • cyberealitycybereality Posts: 20,158 Oculus Staff

    TommyEn said:
    Would it work to install into an empty "Oculus" folder in "C:\Program Files (x86)\Oculus" that has already been symlinked?
    That sounds like a bad idea to me. I'd recommend removing the symlink and any Oculus folders prior to installing the final consumer application tomorrow.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 32GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • dead4suredead4sure Posts: 263
    Nexus 6
    @cybereality Thanks for the info!
  • LKostyraLKostyra Posts: 263
    Nice! It's good to know, symlinks are in use and work in this case. :)

    Still, my CV1 arrives in May, so probably by then there will be a much-needed update already live.
    DK1: Received
    DK2: (Jan 26) Pending => (2nd Feb) Processing => (3rd Feb) Shipped => (6th Feb) Received
    CV1: (Jan 6) Pending
    Rig: i7 4770 / GA-Z87X-D3H / GTX 760 / 16GB RAM
  • TommyEnTommyEn Posts: 14

    TommyEn said:
    Would it work to install into an empty "Oculus" folder in "C:\Program Files (x86)\Oculus" that has already been symlinked?
    That sounds like a bad idea to me. I'd recommend removing the symlink and any Oculus folders prior to installing the final consumer application tomorrow.
    Gotcha, thanks!
  • DerekSpeareDerekSpeare Posts: 164
    Art3mis
    edited March 2016
    Does this apply only to games downloaded from the Oculus Store?  Does this apply to games already installed on the user's system such as PCars, Elite Dangerous, DCS, etc. that are used with VR? Or does this apply only to the Oculus runtimes?

    It would be strangely odd if folks would have to reinstall all of their existing games. 
    derekspearedesigns.com
  • cyberealitycybereality Posts: 20,158 Oculus Staff
    @DerekSpeare It refers to games and apps downloaded from the Oculus Store.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 32GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • DerekSpeareDerekSpeare Posts: 164
    Art3mis
    @cybereality - tyvm!  You're the unsung hero of the oculus forums!  #thumbupx2

    So I'd expect that if we just install the runtimes into the default path and press on with our non Oculus store games we're cool. 
    derekspearedesigns.com
  • TommyEnTommyEn Posts: 14
    I just tried this. When I symlinked the whole Oculus folder the store wouldn't open afterwards. So I symlinked just the "Downloads" and the "Software" folder. This seems to work fine.
  • TankshellTankshell Posts: 79
    Hiro Protagonist
    @TommyEn I had the exact same problem. I just ended up sym-linking the Software and Downloads subfolders instead like you. Works fine.
    2500k@4.5Ghz
    EVGA 780Ti SC
    8GB DDR3 Corsair Vengeance
    Win 8.1 x64
  • maxx11111maxx11111 Posts: 75
    Hiro Protagonist
    tried this the store wouldn't open, so trying to xcopy back and it says invalid number of parameters, also how do you unsymlink
  • SOTBMPSOTBMP Posts: 56
    Hiro Protagonist
    @maxx11111 - just delete links and copy back the folders.
  • maxx11111maxx11111 Posts: 75
    Hiro Protagonist
    edited March 2016
    this is what im trying   xcopy "D:\Oculus" C:\Program Files (x86)\Oculus\ /O /X /E /H /K
    and getting invalid number of parameters

    sorted was just being stupid

  • TommyEnTommyEn Posts: 14
    @maxx11111 If I were you I'd just unistall the software and install it fresh. Then symlink just the Software and Downloads folder.
  • cyberealitycybereality Posts: 20,158 Oculus Staff
    edited March 2016
    You need quotes around any paths with spaces in them. For example:
    xcopy "D:\Oculus" "C:\Program Files (x86)\Oculus\" /O /X /E /H /K
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 32GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • maxx11111maxx11111 Posts: 75
    Hiro Protagonist
    thanks I've sorted it now :)
  • betavrbetavr Posts: 75
    Hiro Protagonist
    edited March 2016
    Unfortunately this doesn't work for me, after starting OculusClient.exe a window pops up for a moment, then it exits immediately.

    Edit: after reading the instructions again, I see that the destination drive needs to be ntfs formatted, but mine is fat32. 
    DK1, DK2, Hydra.
  • cyberealitycybereality Posts: 20,158 Oculus Staff
    Yeah, FAT32 won't work.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 32GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • Lurch666Lurch666 Posts: 54
    Lawnmower Man (or Woman)
    I would also like to know if I can use the files of my already installed elite dangerous instead of downloading it again-would take ages with my download speeds.
  • Shannonb1Shannonb1 Posts: 210
    Hiro Protagonist
    Windows 10, NTFS, Not working for me. Tried a reboot, store flashes and then closes.
  • wiserwiser Posts: 1
    i have the same problem than betavr, but my disk is ntfs
  • Shannonb1Shannonb1 Posts: 210
    Hiro Protagonist
    Tried to move only the software and the download folder, tells me I need to clear up drive space. Drive I moved the folders to has over 100gb free
«134
Sign In or Register to comment.