Welcome, Guest
Username: Password: Remember me
"City Car Driving" general discussion forum for English users

TOPIC: Using Oculus Rift in City Car Driving (TUTORIAL)

Using Oculus Rift in City Car Driving (TUTORIAL) 14 Feb 2015 03:28 #42122

Hello everyone!

I have the Oculus Rift working with City Car Driving. It took quite a long time (and my computer completely breaking at one point; long story) in order to find the right software to get it to run. However, I have done it and here is my evidence!

(Warning: The video has some swearing in it.)



I've had this video up for a few weeks now. I realised I should probably let this forum know that it works.

So, now you may be asking how I did it. Okay, you are certainly asking that. Well, I've been helping a few people in the comments of my video who are getting it to work already. I cannot guarantee it will work for you but I'm sure for most people it'll work just fine.

(TUTORIAL)

For this I used the Oculus Rift DK1. However, it'll probably work with the DK2. If anyone has the DK2 feel free to chime in and let me know.

Essentially, it all comes down to which programs you use. The two requirements are Opentrack 1.8 alpha and TriDef.

Opentrack 1.8 alpha can be found thanks to user mm0zct over at: www.mtbs3d.com/phpbb/viewtopic.php?f=141&t=17594
Direct link to OpenTrack 1.8 Alpha:dl.dropboxusercontent.com/u/15205095/opentrack.zip

TriDef can be found at: www.tridef.com/

With these two programs (and of course the latest edition of City Car Driving [my version is 1.3.3]) you are set!

Step 1: Open Opentrack 1.8 and ensure that the 1st tracker source is set to Rift.

Step 2: Ensure your Oculus Rift is facing the way you want to face and then click "Start" in the "GO!" section. (If you don't ensure the Oculus is facing the right way then it won't be facing the right way in the game.)

At this point when you move your Oculus Rift you should see the guy in glasses and a suit in the top left corner moving too.

Step 3: Start TriDef and add the game to the list using a Game Profile (Euro Truck Simulator worked for me).

(To add the game go to File > Add Game. Click "Add a game manually" then browse to your City Car Driving folder and select the Starter.exe [City Car Driving Home Edition\bin\win32\Starter.exe]. Click Next and select "Euro Truck Simulator" as the game's name. Click next and it has been added! At this point it will name the game "Euro Truck Simulator". You can right click it, go to properties and change the top text area to say "City Car Driving".)

Step 4: Double click the game in TriDef and you are good to go!


FAQ:

Q: My vertical head movement is reversed! When I look up in real life it looks down in the game.
A: Go to Opentrack 1.8 and look for the area that states "Axis Inversion" in the top right and checkmark the boxes beside "Pitch" and "Y". This should invert this axis and have your head move up and down correctly.

Q: OpenTrack isn't working! The guy in a suit isn't moving after I click "Start" or it tells me there's no rift device!
A: This is likely a problem with the Oculus Rift or what may be using it. Make sure before you start opentrack that TriDef isn't running! Close both Opentrack and TriDef, then restart Opentrack and click "start" again.

If this still doesn't work , then it likely is a problem with your Oculus Rift. Find your rift folder (Or if you see the Oculus rift icon on your system tray, open it from there) and open the "Oculus Configuration Utility". The rift picture should be up under "Device". If it isn't then check your Rift's cables to ensure the rift is set up correctly. Otherwise, you will have to go through and get assistance on getting the Oculus Rift set up (Try the Oculus support page at: support.oculus.com/hc/en-us)


-

This tutorial isn't 100% complete and certainly will require some revisions in the future so if you believe anything should be revised feel free to tell me and I can make it happen. There may be some things that I forgot to mention (especially changing options in the in-game TriDef menu to get the correct 3D settings. This menu can be accessed by the default "0" button on rightside numpad on your keyboard, not the 0 below the F1-12 keys! To navigate this menu, use the numpad keys listed here: www.tridef.com/user-guide/in-game-settings)

Hope this helped get some of you up and running with using the Rift in City Car Driving! If it works, please let me know as I'd be really happy to hear that!

Happy driving!
Last Edit: 14 Feb 2015 05:16 by HyperDave. Reason: Adjustment of title. Icon change to represent a tutorial.
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 21 Mar 2015 05:06 #43190

  • maaboo
  • maaboo's Avatar
  • OFFLINE
  • Novice
  • Posts: 35
I have an issue with displaying games in Rift Mode only on monitor (not on the Rift). It looks like driver is working (I see stereoscopic-like image on my monitor and OSD in different games) but I don't see anything except my wallpaper in the Rift.

My environment:
Windows 7 SP1 w updates
Nvidia GTX 970 (344.75)
Oculus Rift DK2 (SDK 0.4.4)
Latest TriDef available (6.5 + 1.0b8)

Would you give me directions where to start troubleshooting?
Core i5-6600K / 8GB / GTX 1070 / Logitech G27 / Oculus Rift DK2
Last Edit: 21 Mar 2015 20:18 by maaboo.
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 21 Mar 2015 10:10 #43195

I don't have a DK2 so I'm not too sure how much help I can give but I will definitely try.

Firstly, this will sound stupid but check your cords. I had problems with my USB2.0 cord initially, I had to switch it out because it just wasn't working. Make sure everything is plugged in right. Maybe even try an HDMI cord or a DVI cord if you have one. Yeah, I know it sounds a bit stupid but it's always a possibility!

Secondly, there's always a simple solution (but not convenient) of unplugging your other monitor after you start up the game. Then the only one remaining is the rift which should force it into the rift. It also helps narrow down your possibilities - if the rift is the only thing plugged in and it still won't send the correct video to it then something else is going on.

Thirdly, I'd say look into the Oculus Configuration Utility. Select the "Tools" menu and go into "Rift Display Mode..." and select "Direct HMD Access From Apps". If that's already selected try "Extend Desktop to the HMD". Extending increases latency a bit but it may work.

I wish I could be of more help, but without a DK2 I'm not fully certain. But I will still give it my best shot to see what we can do. I hope this actually helps!

Edit: Since you can see the screen on the monitor, then when you enter the game does head tracking work? If it is tracking it fine then that's a good sign. There's always the chance you could do a workaround of running the game in windowed mode (you shouldn't see the border of the window in your Oculus anyways) and then drag the window over to your Rift's 'extended' desktop. Then you wouldn't need to unplug the monitor and the game should run fine in the rift.
Last Edit: 21 Mar 2015 10:15 by HyperDave.
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 21 Mar 2015 10:26 #43197

  • jericho
  • jericho's Avatar
  • OFFLINE
  • Forum Administrator
  • Posts: 4795
  • Thank you received: 666
Topic stickied
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 22 Mar 2015 03:15 #43215

  • maaboo
  • maaboo's Avatar
  • OFFLINE
  • Novice
  • Posts: 35
HyperDave wrote:
Secondly, there's always a simple solution (but not convenient) of unplugging your other monitor after you start up the game. Then the only one remaining is the rift which should force it into the rift. It also helps narrow down your possibilities - if the rift is the only thing plugged in and it still won't send the correct video to it then something else is going on.

Forcing this way works, though I spent more than hour trying to figure out why my Oculus Rift rotated when I unplugged my monitor. I suspect that there is some inconsistency between Windows orientation and NCP (NVidia Control Panel) orientation. I saw vertical screen with "Landscape" caption, it was really weird. After some f*cking with plug-unplug cable and changing orientation in both ways I achieved consistency, hope it will not happen again.
HyperDave wrote:
Edit: Since you can see the screen on the monitor, then when you enter the game does head tracking work? If it is tracking it fine then that's a good sign.

Unfortunately tracking isn't working at the moment. I installed OpenTrack 2.3-rc9, it sees my Oculus Rift and I see how demo octopus rotates along with Oculus Rift. But when I'm starting the game, I'm getting:
"HMD sensor is currently in use. Head tracking has been disabled". The same message appears even when there is no running OpenTrack. I don't have solution for this right now. When I'll find it, I'll write here.

Could you tell me what protocol and profile for OpenTrack do you use?
Core i5-6600K / 8GB / GTX 1070 / Logitech G27 / Oculus Rift DK2
Last Edit: 22 Mar 2015 03:22 by maaboo. Reason: additional question
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 23 Mar 2015 04:56 #43254

  • maaboo
  • maaboo's Avatar
  • OFFLINE
  • Novice
  • Posts: 35
I found out that protocol must be "Freetrack 2.0 Enhanced", it wasn't set by default.

But now the game is LAGGISH, and head tracking isn't smooth. Should I use filter? Which one?

Could you tell me your specs and FPS?
Core i5-6600K / 8GB / GTX 1070 / Logitech G27 / Oculus Rift DK2
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 05 Apr 2015 08:27 #43692

I've been trying to figure out your problem but honestly I can't figure out the issue. Sorry for not getting back to you sooner but it's getting close to the end of my semester and classes are insane!

I run the default profile and Freetrack 2.0 protocol (I don't have the option for Enhanced). I'm only using opentrack 1.8 Alpha though, not opentrack 2.3rc9. I actually tried using the newer opentrack but had issues so I found this earlier release that seemed to work for me. Have you tried opentrack 1.8 alpha? And I don't use a filter but you could see if it helps.

My specs are:
OS: Windows 7 64-bit Home Premium SP1
Processor: Intel Core i7-960 Processor
RAM: 16GB Ram
Video card: AMD Radeon HD6990 (Catalyst 14.12)
VR: Oculus Rift DK1 (SDK 0.3.2)

I can't recall my FPS but it was certainly in the 30fps range. There was no visible lag at all.

We have a few similarities in our specs, but it looks like I've got some older software than you do (SDK 03.2 instead of 0.4.4 for the Rift, older Opentrack).

Is the game itself laggy or is just the head tracking lagging behind your actual movements? What sort of video settings do you have on for City Car Driving? Possibly if the settings are too high it may be having trouble trying to render everything at once, especially as the DK2 is more demanding than the DK1. Maybe lowering the settings a bit could help.

It's too bad I only have a DK1, I honestly I feel a bit lost. I'm browsing around other forums for information about the DK2 and I see others with the same problems you are having. TriDef doesn't officially support the DK2 at the moment but some people have found a way around that. I just can't find how they did it.

(Edit - removed section recommending uninstall/reinstalling TriDef/opentrack. It sounds like they are working for you, but the problem is solely lag at this point. )
Last Edit: 05 Apr 2015 08:47 by HyperDave.
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 15 Apr 2015 20:32 #44031

  • Spoutnik
  • Spoutnik's Avatar
  • OFFLINE
  • Guru
  • Build a wall
  • Posts: 1502
  • Thank you received: 225
Will City Car Driving actually release support for Oculus Rift directly from the game (like it supports Logitec wheels, etc...)

Thanks,

Pierre A.
SPOUTNIK

Warning: Spoiler! [ Click to expand ]
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 16 Apr 2015 18:53 #44066

  • Gino
  • Gino's Avatar
  • OFFLINE
  • Banned
  • Posts: 1
Well I think a person should learn driving from professional trainer, as it’s a matter of life. I learnt from Port Macquarie Driving School for two months, and my trainer was just genius. He is really have patience, else I would not have learnt driving in my life.
The administrator has disabled public write access.

Re: Using Oculus Rift in City Car Driving (TUTORIAL) 14 Feb 2016 09:14 #60336

I have a very irritating problem and I literally want to throw this f**king Oculus out of the window.

When I open the game with all of the software, I only see it through my monitor. The head tracking works, but unplugging the desktop from the computer doesn't. I've tried using software 0.7, 0.8, and 1.
The administrator has disabled public write access.
Time to create page: 0.145 seconds