Latest Beta Release of the VR mod

Here you can find help for how to best run and setup your XWA VR experience.
Post Reply

Latest Beta Release of the VR mod

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Sat Jul 18, 2020 1:47 am

Well, I figured it would be easier to locate the most recent version of the VR mod if we had a dedicated thread for that.

[EDIT: Get the latest beta from the Downloads page]

To use this update, you'll need to install the latest effects (from the Download page) and then you'll need to expand the files in this update into the XWA folder.

Then you'll need to open VRParams.cfg and set "VR_Mode" to "SteamVR" (or "DirectSBS") and in CockpitLook.cfg you need to make sure "tracker_type" is set to "SteamVR" (or "FreePIE", for the DirectSBS mode).

Any questions or requests for help should go on their own topics in this subforum. Let's try to keep this thread clean so that the updates are easier to locate, thank you! :)

This is the last beta update I'll issue using the current execution model. I'll be merging the performance improvements made by m0rgg so that they are part of the next official release.
Last edited by blue_max on Sat Oct 31, 2020 5:05 am, edited 1 time in total.

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Sat Jul 18, 2020 6:19 am

Thanks to ForceFlow, the latest update can also be downloaded directly from the Downloads page!

In the update from July 17 2020, the following has been fixed:

* The Reticle and HUD are no longer squashed in VR.
* Placement of sun flares should be correct.
* Ctrl+Left/Right arrow change the size of the reticle. The reticle's size can also be controlled from VRParams.cfg.
* The speed effect is now disabled on the fly-by camera.
* The position of the active cockpit cursor in SteamVR mode was not obeying the settings from Active_Cockpit.cfg. You should be able to place the cursor wherever you want now. Just change the values of "cursor_origin_init_x" and "cursor_origin_init_y", save Active_Cockpit.cfg and press Ctrl+Alt+L to reapply the settings.
* Various minor bug fixes.

aaadmiral
Cadet 4th Class
Posts: 24
Joined: Fri Apr 17, 2020 8:54 pm

Post by aaadmiral » Sat Jul 18, 2020 6:35 am

hey I just tried this out and can report the aiming reticle is all good for me now! were there other potential fixes? for some reason it 'felt' a bit better for me in my brief test, but I didn't have the performance graph on. I did actually also lower the "CockpitLook.cfg positional_x/y/z_multiplier" to 1.8 as someone else had mentioned seemed a bit better than 2.0 so maybe that was it..

edit oops posted this without seeing the updated post above!

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Sat Jul 18, 2020 6:38 am

There are no performance improvements in this version. However, that's going to be the focus for the next preview!

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Wed Jul 22, 2020 5:34 am

Update: I just uploaded a new beta release dated July 21, 2020. It has all the improvements from m0rgg's branch plus a few of my own for 2D content. It can also be downloaded from this link:

[EDIT: Get the latest beta from the Downloads page]
Last edited by blue_max on Sat Oct 31, 2020 5:05 am, edited 1 time in total.

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Thu Jul 23, 2020 6:24 am

Update: Latest release from July 22. In this release I've improved the readability of the text displayed in the HUD, made some changes to the cockpit look hook so that the default scale for positional tracking is 1.666 and added a new setting to invert the joystick throttle. If you'd like to invert the throttle, just add the following to DDraw.cfg:

Code: Select all

InvertThrottle = 1

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Fri Jul 31, 2020 7:19 am

Update: Latest release from July 31. In this release:

1. Head tracking has been enabled while in the hangar. Some distortion may be visible around the edges of the screen.
2. Added new settings to VRParams.cfg to help configure SteamVR's mirror window:

Code: Select all

; Set the following value to something greater than 0 to override the aspect
; ratio that is computed automatically by ddraw with your own setting.
steamvr_mirror_aspect_ratio = 0.0

; You can change the zoom in the mirror window with the following setting.
; Values lower than 1 will magnify the image, values greater than 1 will shrink
; the image. The default is 0.7
steamvr_mirror_window_scale = 0.7

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Fri Aug 07, 2020 7:10 am

Update: Beta release from August 6. In this release:

* Fixed hangar mouse look when TrackIR is enabled: it is now possible to look around the hangar with the mouse even when TrackIR is enabled.
* POV offsets can now be applied even when VR is off. Just add "force_apply_custom_POVs = 1" to POVOffsets.cfg.

This release is probably going to become 1.1.4.0 soon. Just need a bit more testing.

Bman
Lieutenant
Posts: 916
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Sun Aug 16, 2020 1:35 am

Hi Blue Max, I just downloaded v1.1.4.0. So on the DL page, there's no need for us to install the 8/06/20 Beta .zip on top of verion 1.1.4.0, correct? Thanks for all these new great features.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Mon Aug 17, 2020 9:58 pm

Bman wrote:
Sun Aug 16, 2020 1:35 am
Hi Blue Max, I just downloaded v1.1.4.0. So on the DL page, there's no need for us to install the 8/06/20 Beta .zip on top of verion 1.1.4.0, correct? Thanks for all these new great features.
Correct, at this moment (Aug 17, 2020) there are no betas for 1.1.4.0. But there will be soon! :D

Bman
Lieutenant
Posts: 916
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Sat Aug 22, 2020 12:36 am

Thanks. I see Jeremy just released new ddraw ver. d3d11.1.3.11. That will make your version 1.1.4.1 ? :-)
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

User avatar
Ace Antilles

Admiral (Moderator)
Posts: 5001
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Sat Aug 22, 2020 12:43 am

Bman wrote:
Sat Aug 22, 2020 12:36 am
Thanks. I see Jeremy just released new ddraw ver. d3d11.1.3.11. That will make your version 1.1.4.1 ? :-)
An updated Effects DDraw hasn't been released yet.
Jeremys DDraw mostly added things already in the Effects version
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Sat Aug 22, 2020 12:55 am

Bman wrote:
Sat Aug 22, 2020 12:36 am
Thanks. I see Jeremy just released new ddraw ver. d3d11.1.3.11. That will make your version 1.1.4.1 ? :-)
I already merged those changes into my branch. My branch also contains improvements to the text renderer by MamiyaOtaru to make it much much faster. That'll be the first beta release after 1.1.4. I'm just testing them now -- when the weather allows.

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Mon Aug 24, 2020 5:35 pm

Update: The first beta after release 1.1.4. In this release:

* The 2D font rendering performance has been improved by Jason Winzenried (MamiyaOtaru). The text rendering with fonts is now almost as fast as the regular text rendering.
* The latest changes from Jeremy's ddraw have been merged. This is now on par with d3d11.1.3.11. This version has performance improvements to the text, 2D brackets and radar.
* The FOV can now be adjusted with the usual hotkeys (Ctrl+Shift+Alt + Right/Left Arrow Keys). This was previously broken in 1.1.4.
* Support for holographic DC displays.

User avatar
blue_max
Lieutenant Commander
XWAU Member
Posts: 1435
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Sat Oct 03, 2020 5:55 am

Update (Oct 2, 2020): I've added new DC elements. Several text areas can now be captured and placed inside the cockpit -- or they can be placed floating around inside the cockpit:

Code: Select all

SHIELDS_FRONT_SRC -- Front shields numeric percentage
SHIELDS_BACK_SRC -- Front shields numeric percentage
TEXT_RADIO_SRC
TEXT_SYSTEM_SRC
TEXT_CMD_SRC
TARGETED_OBJ_NAME_SRC
TARGETED_OBJ_SHD_SRC
TARGETED_OBJ_HULL_SRC
TARGETED_OBJ_CARGO_SRC
TARGETED_OBJ_SYS_SRC
TARGETED_OBJ_DIST_SRC
TARGETED_OBJ_SUBCMP_SRC
To make a DC element fully transparent, just add the following to its section in the DC file:

Code: Select all

transparent = 1
To make textures holographic, just add the following to its section:

Code: Select all

hologram = 1
Only rectangular holograms are supported at the moment. Holograms can be turned ON and OFF with Ctrl+Shift+T

To make a holographic texture noisy, add:

Code: Select all

hologram = 1
noisy_hologram = 1
The MissileBoat has two warhead launchers and the text overflows its box a bit. I've added code to fix the placement of the text. To enable the fix, add the following anywhere in the DC file:

Code: Select all

fix_missles_countermeasures_text = 1

m0rgg
Cadet 3rd Class
Posts: 47
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Thu Nov 26, 2020 10:40 pm

Hello all!

I started to play the XWA campaign in VR and quickly realized that on missions when the performance drops due to many objects/polygons on screen, the VR tracking was really bad.

I looked back at the code and realized that while improving performance, the changes I did introduced some tracking inconsistency between the CockpitLook hook and the ddraw.dll that might have been behind the "jumpiness" of game world objects (compared to the HUD that was completely stable).

So I spent some time trying to fix that and I think I have made some improvements. Before sending the changes to blue_max for merging, I would like someone else to test and verify that there is indeed an improvement. And that I didn't break anything else :)

You can find the compiled DLLs here:
https://github.com/morallo/xwa_ddraw_d3 ... ment_test1

Just drop them in your XWA folder with a recent Beta version from blue_max and SteamVR configured, and let me know what you think!

Thanks,
m0rgg

Post Reply