GTA V in VR

With a simple to install mod you can play GTA V in Virtual Reality

Thanks to LukeRoss00, modding your PC copy of GTA V to work in virtual reality has never been easier. The R.E.A.L. mod for Grand Theft Auto V – 100% VR! is easy to install and use, doesn’t require extra software like vorpX and is available for free on GitHub. 

This guide will show you how to play Grand Theft Auto 5 in VR on your PC. I have successfully tested with Oculus Rift CV1 and with Oculus Quest using Oculus Link (wired connection). I also tried, but was unable to get it to work correctly using the Quest wirelessly—I used Radeon Relive VR instead of Virtual Desktop, but it seems from reading some bug reports that Virtual Desktop  may not display the game correctly either. 

Disclaimer: This mod will only work for GTA V Story Mode—Rockstar checks to make sure your copy of GTA V has not been altered, so this mod will NOT  work for GTA Online. This mod does not include support for touch controls (there’s just not enough buttons on the touch controllers to do everything), so be prepared to use a gamepad or mouse and keyboard.

Installation instructions, and much more detailed information about the mod, is available in the README.md at https://github.com/LukeRoss00/gta5-real-mod

Here’s how to get it set up…

If you haven’t already, purchase and install GTA V on your PC—A fortunate few of us got the game free from Epic Games last week, this version is going to require the extra step of downloading an updated ScripthookV in the step 2 to make the mod work.

  1. Run the game in regular desktop mode, and make the following adjustments to settings. (If you got it from Epic, you’ll need to launch the game via the Epic Games Launcher.) Epic Games Launcher

Settings> Gamepad> Targeting Mode : Free Aim

Settings> Camera> Allow Independent Camera Modes : Off

Settings> Camera> First Person Head Bobbing : Off

Settings> Camera> First Person Third Person Cover : On

Settings> Camera> First Person Vehicle Hood : Off GTA V Camera Settings

  1. Go to https://github.com/LukeRoss00/gta5-real-mod and download the file GTAV_REAL_mod_by_LukeRoss_r4.rar (if you are having trouble finding the file, it is linked in step 3 of the README.md and may have been updated since this post and have a different number on the end.)
    • download the zip which at the time of writing this is ScriptHookV_1.0.1868.4.zip
    • extract it to copy the file ScripthookV.dll into the folder GTAV_REAL_mod_by_LukeRoss_r4  or wherever you decided to unzip the mod, and make sure you give your PC permission to replace the existing file. 
  1. Copy all files from GTAV_REAL_mod_by_LukeRoss_r4 and paste them into the directory where GTA V is installed on your PC. The default installation directories are:If you are using the Epic Games version copy all files to C:\Program Files\Epic Games\GTAV
    • If you bought the game from steam it should be in C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V
  1. Run RealConfig.bat which will copy the necessary settings files and make the game launch in VR when a headset is detected.
    • The RealConfig.bat will open a command window, and ask you to Select High, Medium or Low (H,M,L). RealConfig.Bat
    • When run, RealConfig.bat copies files to the default location for GTA V settings: My Documents\Rockstar Games\GTA V\settings.xml. If your Documents folder is not in the default location you may  see “The system cannot find the path specified” or “0 file(s) copied.” If that’s the case, you’ll need to edit the RealConfig.bat to point to wherever the Rockstar Games\GTA V\settings.xml is. (Right-click on the file RealConfig.bat and choose Edit.)

      Edit RealConfig.bat
      My Documents folder is on a separate hard drive, so I had to edit the path in RealConfig.bat
  1. Make sure your headset is connected to the PC.
  2. Set your headset as your default audio device in windows.
  3. Launch GTA V and enjoy exploring the virtual city of Los Santos.

That’s it for installation, now just kick back and enjoy.

Uninstalling

If you want to make an on/off switch for the mod keep reading the next section below and learn how to create .bat files that will turn the mod on or off. If you just want to manually remove the mod right now, this is how to Uninstall the mod.  You need to delete the files copied there from the GTAV_REAL_mod_by_LukeRoss_r4. Use your Files Explorer to remove the following files and folders.

Delete these Folders from C:\Program Files\Epic Games\GTAV or if you have the steam version C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V

  • \asi
  • \Settings
  • \ShaderFixes

Delete these Files from C:\Program Files\Epic Games\GTAV or if you have the steam version C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V

  • d3d11.dll
  • d3dx.ini
  • dinput8.dll
  • nvapi64.dll
  • openvr_api.dll
  • ScriptHookV.dll
  • RealVR.ini
  • commandline.txt
  • RealConfig.bat

Delete the settings file File from My Documents\Rockstar Games\GTA V

  • settings.xml

 

Turning the VR Mod Off / On 

If you need to be able to turn off the VR mod because you want to play GTA Online, or you just want to play the Desktop version without Oculus trying to launch, then here’s how we can make two Batch (.bat) files to quickly switch modes. gta vr on off

First we want to make sure we’re keeping a copy of that folder with the mod  somewhere—including the updated ScriptHookV.dll if you are using the Epic Games version. I’ve copied it to C:\Program Files\Epic Games\GTAV_REAL_mod_by_LukeRoss_r4, but if you have the Steam version you would want to copy it to something like C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTAV_REAL_mod_by_LukeRoss_r4. Where you save this folder is not as important as knowing where it is so you can put the correct path in your .bat script (this location will be the MODDIR path).

Turning the mod off

To turn off the VR mod we can use a script to delete the files that we copied and the restore the settings file. To get started, Right-Click and make a new text document on your Desktop. New Text Document

Copy the following code, and paste it into the text file.

@echo off
set GTA5DIR=C:\Program Files\Epic Games\GTAV
set MODDIR=C:\Program Files\Epic Games\GTAV_REAL_mod_by_LukeRoss_r4
set SETTINGSDIR=%UserProfile%\Documents\Rockstar Games\GTA V

if not exist "%GTA5DIR%\d3d11.dll" goto ALREADYOFF

rd /s /q "%GTA5DIR%\asi"
rd /s /q "%GTA5DIR%\Settings"
rd /s /q "%GTA5DIR%\ShaderFixes"

del "%GTA5DIR%\d3d11.dll"
del "%GTA5DIR%\d3dx.ini"
del "%GTA5DIR%\dinput8.dll"
del "%GTA5DIR%\nvapi64.dll"
del "%GTA5DIR%\openvr_api.dll"
del "%GTA5DIR%\ScriptHookV.dll"
del "%GTA5DIR%\RealVR.ini"
del "%GTA5DIR%\commandline.txt"
del "%GTA5DIR%\RealConfig.bat"

echo F|xcopy "%SETTINGSDIR%\settings.xml" "%SETTINGSDIR%\settings.VR.xml" /f /k /y
del "%SETTINGSDIR%\settings.xml" /f
echo F|xcopy "%SETTINGSDIR%\settings_ori.xml" "%SETTINGSDIR%\settings.xml" /f /k /y
echo.
echo *********************************************
echo *** Game restored to Normal mode (non-VR) ***
echo *********************************************
echo.
goto EXIT

:ALREADYOFF
echo *** Game is already in Normal mode (non-VR) ***
goto EXIT

:EXIT
set GTA5DIR=
set MODDIR=
set SETTINGSDIR=
pause
exit

Now save and rename the text file to something like GTA VR OFF.bat (Make sure you’re able to see and change file extensions in Files Explorer to ensure that it is changed from .txt to .bat)

If you double-click or Open this file it will now remove the mod files from the GTA V directory, rename the settings file so you can switch back, and restore normal settings. 

Turning it back on

We just need to have another batch file that copies the files back to the GTA V directory. Make another new text document with the following code, and save it as whatever you want I’ll call mine GTA VR ON.bat

@echo off
set GTA5DIR=C:\Program Files\Epic Games\GTAV
set MODDIR=C:\Program Files\Epic Games\GTAV_REAL_mod_by_LukeRoss_r4
set SETTINGSDIR=%UserProfile%\Documents\Rockstar Games\GTA V

if exist "%GTA5DIR%\d3d11.dll" goto ALREADYON

REM        echo Y|xcopy "%MODDIR%\*.*" "%GTA5DIR%" /s /f /i /y
xcopy "%MODDIR%\*.*" "%GTA5DIR%" /s /f /i
del "%SETTINGSDIR%\settings.xml" /f
echo F|xcopy "%SETTINGSDIR%\settings.VR.xml" "%SETTINGSDIR%\settings.xml" /f /k /y
echo.
echo *************************************
echo *** Game setup with VR mod active ***
echo *************************************
echo.
goto EXIT
:ALREADYON
echo *** Game already setup with VR mod active ***
goto EXIT

:EXIT
set GTA5DIR=
set MODDIR=
set SETTINGSDIR=
pause
exit

Note: This code assumes you have the Epic Games version of GTA V, and that your My Documents folder is in the default location for Windows.  If you have the Steam version of the game or have moved your Documents folder you will need to change edit the directory paths

  • GTA5DIR to C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V (or wherever you installed GTA 5)
  • MODDIR to wherever you saved the GTAV_REAL_mod_by_LukeRoss_r4
  • SETTINGSDIR needs to point to where GTA V settings.xml is saved. (For example, I keep MY Documents on the root of my HDD so mine would be edited to say: set SETTINGSDIR=E:\Documents\Rockstar Games\GTA V.)

Have you noticed anything New?

magnificent wiener

I’ve discovered that, when it comes to GTA, I’m a much better driver in VR than I am on a flat screen; I’ve been in way fewer accidents so far, but perhaps I’m driving a little slower and taking in the scenery. There is so much detail in this game that I’m just noticing for the first time—for example the magnificent wiener pictured above.

How are you liking GTA V in VR? What is your new favorite spot to visit in  Los Santos, and what should I make sure to go check out? I might have to go see how terrifying this is in VR: Where to find Sharks in GTA 5 . For a cheap thrill I suggest going to the pier and taking a ride on the roller coaster. Please, add your comments below.

Right now you can play Half-Life in VR for free on the Oculus Quest.

Valve’s debut game, Half-Life, was released in 1998. Now, 22 years later, the company is getting geared up for the release of their new VR exclusive, Half-Life: Alyx.  As the release date draws nearer, Valve is building the hype by letting players replay the classic Half-Life games for free.

On January 21st Steam announced that the previous games in the Half-Life series are free-to-play until the release of Alyx in March

If you take advantage of this offer you’ll also be able to play the classic Half-Life in VR on your Oculus Quest by using the Lambda1VR app available in SideQuest.

Installing Half-Life on the Quest

This guide will assume you are familiar with or have used SideQuest  before. If you haven’t, well then I’ve written a guide about that too: Oculus Quest: Enabling Developer Mode and using SideQuest. You’re also going to need a USB C cable to copy files from PC to Quest. 

First, go ahead and get a copy of the original Half-Life from the Steam store. (Free for a limited time.) Install the game on your PC from Steam—you’ll need to copy some files from the PC to the Quest in a moment.

Connect your Quest to your PC with a USB cable. Open SideQuest and Install Lambda1VR on the Oculus Quest.

Keep that cable connected and SideQuest open for a moment, you need to open an Explorer window and browse to the root folder of your Oculus Quest. This PC\Quest\Internal shared storage

Make a new folder named xash

Create a folder called xash in Quest\Internal Storage

Copy the valve folder from the Half-Life directory. (The default directory location is: C:\Program Files (x86)\Steam\steamapps\common\Half-Life) Paste it into the xash folder you just made on the Quest. This can take quite a while to copy so be patient.

copy the valve folder into the xash folder

Once the copy is complete, you can restart the Quest (hold the power button for a few seconds and choose restart from the menu), then launch Lambda1VR from the Unknown sources library tab, and enjoy Half-Life in VR.

 

Make it Look Better

The default models for scientist and guard NPC’s are a little, um, cheesy looking. Fortunately valve also installs HD assets that you can use in a handy valve_hd folder.

You should copy the Barney and Scientist models from C:\Program Files (x86)\Steam\steamapps\common\Half-Life\valve_hd\models to the models folder on your Quest: This PC\Quest\Internal shared storage\xash\valve\models

Also, you might want to check out this HD texture pack on reddit. It really makes the walls and environment much better and has some improved sounds.

Finally, edit the commandline.txt folder that is in the xash folder. (If you haven’t launched  Lambda1VR yet this file won’t be there.) 

If you try to just open the file and edit it directly on the Quest’s internal storage, it wont work. You’ll need to copy the file to your PC to edit it, just copy it to your desktop or documents folder.

If you choose to skip the HD texture pack just make it so the content says: 

xash3d -log --supersampling 1.25 --msaa 2 --cpu 4 --gpu 4

if you choose to install the HD texture pack then make it say:  

xash3d -log --supersampling 1.25 --msaa 2 --cpu 4 --gpu 4 -dev 3 -game hl_gold_hd

then save the file and copy it back to the xash folder on the Quest. If prompted, make sure to overwrite the original file by clicking Copy & Replace

To make sure the HD files are used, when you launch Lambda1 on your headset, open the Video options: Configuration>Video>Video Options and check that the box for Allow Materials  is filled. 

Have Fun!

 

 

Steam VR Games on Oculus Quest

Want to play Steam VR games like Skyrim, No Man’s Sky, and Fallout 4 (FO4VR) on your wireless headset? By unlocking developer mode and enabling side-loading on your Oculus Quest, you can install an application that allows you to do just that.

Air Light VR (ALVR) is a free opensource app that lets you connect your Oculus Quest to your PC wirelessly. It creates a server between an app on the Quest and a desktop application on your PC.

There are other applications which can also get the task done. VRidge: Riftcat is not free, but allows for 5 minute demos to see if it’s worth paying for. There’s also Virtual Desktop (for Oculus Quest)—I bought the Oculus Rift version a while back, but rarely had reason to use it after Oculus and Steam VR made virtual desktops a feature of their own software. I’ve tried Riftcat, but found that ALVR had better latency for me, and since it was free it was the easy choice.

A couple of caveats, you’ll need to be connected to the same WiFi network that your PC is on to play games, and it is suggested to use a 5ghz connection for best latency. You’ll also need to have installed Steam, and Steam VR on your PC, and purchase your games through the steam store. Before you can install ALVR on your Quest you will need to enable developer mode and install SideQuest. After you’ve done that, go ahead with the rest of this post for a step-by-step rundown of how to set it up.

Continue reading “How to Play Steam VR Games Wirelessly on Oculus Quest”

Streaming or casting Oculus Quest headset to other screens

If you’re showing off your Oculus Quest and taking turns with friends it’s great to be able to watch what the player is seeing. Streaming or Casting the Oculus Quest can let you demonstrate virtual reality apps and games for others. It’s also really helpful when introducing people to VR.

Here are two ways to mirror your Oculus Quest on another screen.

Setting Up Oculus Quest for Side-loading

To unlock the full potential of your Oculus Quest headset, you need to enable developer mode and side-loading. Side-loading is just transferring files between two devices—in this case, your PC and Oculus Quest. You’ll be able to add apps and games from sources other than the Oculus Store, open up streaming options, and the ability to play some PC VR games on the Oculus Quest without having to use a wire or Oculus Link.

Continue reading “Oculus Quest: Enabling Developer Mode and using SideQuest”

Whether you’re new to modding Beat Saber, or you just need to update your mods for the latest version of Beat Saber,  these instructions will show you how to add mods and custom songs in Beat Saber—you’ll be swinging your arms and chopping blocks to your favorite beats in no time.

Notes:

  • This guide is for PC version of Beat Saber. For Oculus Quest read How to Play Beat Saber Custom Songs on Oculus Quest
  • Before using these methods you will need to have already installed and launched Beat Saber at least once, so that it will create some necessary files and sub-directories.

Continue reading “How to Play Custom Songs in Beat Saber (Updated)”