Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
naam00's avatar
naam00
Honored Guest
11 years ago

OSX build for windows/Directo to Rift mode

Is there any way to build, on OSX, a windows application that features the Direct-to-rift .exe? Or a way to create it afterwards?

5 Replies

Replies have been turned off for this discussion
  • Proton's avatar
    Proton
    Honored Guest
    If you look at OVRShimLoader it seems to just copy:
    /OVR/Editor/OculusUnityPatcher_[32/64].exe
    And rename it to
    YourGame_DirectToRift.exe

    I'm not sure why line 39 has
    #if !UNITY_EDITOR_OSX


    I guess you could just take out the ! and see if it works.

    The other thing it does is write to OVRAppInfo, not sure why it does that.
  • naam00's avatar
    naam00
    Honored Guest
    Alright! Thanks! It didn't work directly copying the OVR executable, but nabbing the patcher from another demo and renaming it works fine it seems!

    Much appreciated!
    Naam
  • gg67's avatar
    gg67
    Honored Guest
    Any word on why this is the case? And if there's any harm in the current fix?
  • "Proton" wrote:
    If you look at OVRShimLoader it seems to just copy:
    /OVR/Editor/OculusUnityPatcher_[32/64].exe
    And rename it to
    YourGame_DirectToRift.exe


    This worked perfectly for me. Thank you Proton! :D