Skip to content

Update Space Engineers VR to 2.0.4 - #376

Merged
viktor-ferenczi merged 5 commits into
StarCpt:mainfrom
ColbyJack1134:update-space-engineers-vr-2.0.1
Nov 18, 2026
Merged

viktor-ferenczi merged 5 commits into
StarCpt:mainfrom
ColbyJack1134:update-space-engineers-vr-2.0.1

Conversation

@ColbyJack1134

@ColbyJack1134 ColbyJack1134 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Updates Space Engineers VR from 58d63d1 (v1.6.1) to 148efd6 (v2.0.4). Per-release notes.

  • Warfare 3 compatibility and interactive controls for Fighter Cockpit Type II and Captain's Chair.
  • PRO-1 handheld target locking, EMP HUD interference and immunity indicators, optional camera panning and rifle sight clipping fixes.
  • DLAA/DLSS motion for moving grids and block parts, solid-preview option, mod HUD rendering fixes, and corrected static motion and desktop preview restoration.
  • Fixed left-eye FXAA and weapon aim dots with post-processing off, symmetry planes and planet previews.
  • Prepare DLSS/stereo shaders during loading, submit both eyes together in menus and worlds, and release a stranded Steam overlay pause when VR stops.
  • Improved hand-relative ship steering; optional left-hand translation, stick haptics and shared trigger actions.
  • Grip selects from either radial wheel without closing; Quest centered-release pinning and tap-Y dampeners; immediate Inventory/G-menu shortcuts.
  • Wrist seat setup, optional cockpit seat panel, and fixes for third-person wrist placement, radial body tracking and Jetpack selection.
  • Wrist Blueprints page and Search Build actions; fixed Hotkeys clipboard shortcuts and VR targeting.
  • SmoothFrames compatibility for VR cameras, hands, cockpit controls and displays.
  • Cockpit building controls no longer trigger ship weapons or target locks.
  • With SteamVR closed, Space Engineers launches on desktop without starting SteamVR.
  • Adjustable turret screen opacity and ship Quick actions in turret, camera and remote-control views.
  • Smoother third-person hand selection, spectator hand and wrist alignment fixes, and restored empty-hand interaction after loading certain Creative saves.
  • Stable safe-zone and Factorum field refraction while turning, and corrected flare occlusion.

Notes for review

  • The descriptor pins v2.0.4 and installs the matching OpenVR Windows DLL on Windows and Proton. Supported platforms, the native Linux asset and NuGet references are unchanged. DLSS uses the existing NGX integration.
  • Motion capture and solid previews add render hooks; desktop cleanup restores native previews without changing saved settings. SmoothFrames failures disable its integration independently.
  • Hand selection uses the character’s reach in both native detector paths. Detached hands skip physical world buttons.
  • Proton can check the host SteamVR runtime through its OpenVR bridge on startup.
  • No new network channel or packet format. Update the optional Flatscreen Companion for handheld target locking.

@ColbyJack1134 ColbyJack1134 changed the title Update Space Engineers VR to 2.0.1 Update Space Engineers VR to 2.0.2 Nov 18, 2026
@ColbyJack1134

Copy link
Copy Markdown
Contributor Author

Updated to 2.0.2 and updated the description.

@ColbyJack1134 ColbyJack1134 changed the title Update Space Engineers VR to 2.0.2 Update Space Engineers VR to 2.0.3 Nov 18, 2026
@ColbyJack1134

Copy link
Copy Markdown
Contributor Author

Updated to 2.0.3 and updated the description.

@ColbyJack1134 ColbyJack1134 changed the title Update Space Engineers VR to 2.0.3 Update Space Engineers VR to 2.0.4 Nov 18, 2026
@ColbyJack1134

Copy link
Copy Markdown
Contributor Author

Updated to 2.0.4 and updated the description.

@viktor-ferenczi viktor-ferenczi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: Space Engineers VR 2.0.4

Scope: hub PR head 5f12d1e923b73e545775c73146065dbbc7a12bce, manifest Plugins/SpaceEngineersVRPlugin.xml. Version bump 58d63d1..148efd6 (v1.6.1 to v2.0.4): 35 commits, 155 files, +5565/−676. 94 files (+3426/−531) reach the hub build. 30 are Diagnostics/ files, all wrapped in #if SEVR_DIAGNOSTICS, which only the repository's own project file defines. The rest are guide images, docs moved to guides/, dev scripts, the diagnostics tool and the Multiplayer assembly's version. Your comments say the PR moved through 2.0.2 and 2.0.3 to 2.0.4; this review covers the whole range from the merged 1.6.1 pin to the 2.0.4 pin, so the interim versions are included.

Summary: No agent-detected blockers. Two low findings. With SmoothFrames installed, the first third-person view after each world load writes a new trace CSV into the root of the game's user data folder, and nothing ever removes them. A failure in the SmoothFrames bridge also leaves SmoothFrames' interpolation off after VR stops. The new WindowsOpenVR asset is Valve's openvr_api.dll 1.16.8, byte for byte, and the same file OVRSharp already ships. Handheld target locking keeps the game's range and cone checks. There is no new network traffic, process start or assembly loading.

Manifest and pin

  • Hub validator (python3 test.py Plugins/ at the PR head): All files validated. CI xml-check passed.
  • The PR changes <Commit> and adds the WindowsOpenVR asset. SourceDirectories, the NuGet packages, platforms, runtimes and the other assets are unchanged.
  • 148efd6 is tagged v2.0.4 (release published 2026-11-18) and is the current main HEAD. The repository is public, GPL-2.0.
  • No project file, package reference or committed binary changed in the hub-built tree.
  • The repository's own SpaceEngineersVR.xml doesn't have the WindowsOpenVR asset yet. The hub manifest wins, so this is only drift.

The WindowsOpenVR asset

  • openvr_api.dll from ValveSoftware/openvr tag v1.16.8 (commit 4c85abc), bin/win64: 818,904 bytes, SHA-256 c3314d88…c6cee744f, PE32+ x64, FileVersion 1.16.8. That matches the manifest Sha256.
  • It is the same file as content/openvr_api.dll in the OVRSharp 1.2.0 package. The package marks it copyToOutput="true", so Pulsar v2.4.3 already copies it into the plugin's Bin folder (NuGetRestore.GetRuntimeFiles, GitHubPlugin L183-L188). The asset is resolved after that and File.Create overwrites the copy with identical bytes, after the hash check. Harmless. See the note below.

Security

  • Process and environment. Main.SteamVrRunning only lists vrserver processes and disposes them. Under Proton, when PROTON_VR_RUNTIME is set, it calls OpenVR.Init as a VRApplication_Background app, which doesn't start SteamVR, then shuts it down. Nothing is started or written.
  • Files. The only new write is the SmoothFrames trace (finding below).
  • Reflection and IL. The SmoothFrames bridge reflects over fixed member names in SmoothFrames.* and the renderer. DlssParts.VoxelLodSize emits a DynamicMethod that reads one fixed field. No type or member name comes from config, network or game data.
  • The NGX binding and native loading are unchanged apart from comments. Dlss.Prepare on the loading screen returns early when DLSS is off, so NGX still starts only after the player picks a DLSS mode.
  • No new network channel, packet handler, process start, assembly loading or deserialization. The only new environment variable read outside SEVR_DIAGNOSTICS code is PROTON_VR_RUNTIME.

From-source build

I built SpaceEngineersVR/**/*.cs with C# 14 in Release against the installed game Bin64 (Steam build 26329893), Harmony 2.4.2, Mono.Cecil 0.11.6 and the two hub packages. The build used an MSBuild harness, not the repository's project file:

Symbols Errors Compiler warnings
net48, TRACE;NETFRAMEWORK;PULSAR 0 0
.NET 10, TRACE;NETCOREAPP;PULSAR 0 SYSLIB0050
.NET 10, TRACE;NETCOREAPP;LINUX;PULSAR 0 SYSLIB0050, CS0649 (same as 1.6.1)

The game members that the new patches and reflection look up by name exist in game 1.211.017 decompiled code. These include MyRenderScheduler.Done, MyBlockBuilderRenderData.EndCollectingInstanceData(…, bool useTransparency), MyProjectorBase.SetTransparency, MyFlareOcclusionRenderer.Get, MyRender11.ProcessMessageInternal/ProcessMessageQueue(bool), ActorExtensions.GetSkinning, MySkinningComponent.SetAnimationBones, the MyHudEmpDistortion fields and the in Vector3D from, in Vector3D to signature of MyCharacterRaycastDetectorComponent.ProcessUseObjects. SetSamplers lives on MyCommonStage, which AccessTools finds through the base type.

Compatibility and authority

  • Handheld target locking. HeldTargetingPatch swaps the one GetHeadMatrix call in MyTargetLockingComponent.CanTarget for the held weapon's sight pose. The vanilla check that runs on the server is only IsTargetInRange (range and cone). The head direction it replaces is client-controlled in vanilla too. The weapon pose has to stay within 1.5 m of the head (HeldItemPose.TryGet), so the range moves by at most a couple of meters. On a dedicated server without the plugin, the vanilla head check stays.
  • Relative dampeners. DampenerRequests.Allowed now also checks the game's IsDampeningToGridDenied, which makes the server-side validation stricter.
  • Hand interaction, blueprints and HUD. The detector ray length now comes from ReachAlong around the head with DEFAULT_INTERACTIVE_DISTANCE, and the area cast is skipped when the swept sphere doesn't fit (OverrideAreaRay). Blueprint copy/cut/delete go through the native actions and are gated on IsCopyPastingEnabled. The EMP HUD copies the game's own distortion and hides signals while AreSignalsFlickeredOff is set. The VR HUD doesn't show anything the native HUD hides.
  • Other plugins. The symmetry-plane capture moved from a global MyRenderProxy.DebugDrawTriangle prefix to a transpiler on MyCubeBuilder.DrawSymmetryPlane, so other callers of that proxy method are no longer affected. The SmoothFrames bridge patches SmoothFrames' RunFrame, SnapAndDefer, PublishPendingSnap and CameraHistory.TryGetPair at its hub pin 34d51d0; all those members exist there. The guard uses its own Harmony id and is unpatched by that id on dispose.

Findings

Low: the SmoothFrames trace adds a new CSV to the user data root in normal play. ThirdPersonView L209 calls StereoRenderState.RequestTrace() the first time a third-person view starts. ThirdPersonView.Reset clears that flag on world reset, VR cleanup and spectator entry. This range made RequestTrace also call SmoothFramesBridge.Request. When SmoothFrames is installed, the bridge records 240 frames (L288), about 50 rows per frame by my count, most of them 12-number matrices. Save then writes SEVR-smoothframes-<UTC timestamp>.csv straight into MyFileSystem.UserDataPath. The older SEVR-render-trace.csv keeps overwriting one file. This one gets a new name every time, so a VR player with SmoothFrames gains a file of a megabyte or more per world session, plus one per spectator round trip. Nothing deletes these files, and the player isn't told about them. Please write the trace only when it is asked for with the developer options' "Capture trace" button (or under SEVR_DIAGNOSTICS), or keep a single overwritten file under UserDataPath/SEVR/. The tradeoff is that you no longer get a trace automatically from a user's first third-person view.

Low: a bridge failure leaves SmoothFrames' interpolation off after VR stops. Fail sets SmoothFrames.Plugin.InterpolationEnabled to false while VR is active. It writes the static field and not SetInterpolationEnabled, so the saved SmoothFrames setting stays the same. Nothing turns it back on, though. If VR then stops (SteamVR quit, VR failure, desktop fallback), SmoothFrames stays off on the desktop for the rest of the session, while the log says "suspended while VR is active". The AllowSmoothing guard already skips RunFrame while VR is active and the bridge has failed. Restoring the previous value when VR stops would match the message.

Non-blocking notes

Note: WindowsOpenVR duplicates a file OVRSharp already provides. See above. It is the same DLL, so nothing changes at runtime. It does add a raw.githubusercontent.com download to every Windows and Proton build, and a failed or slow download fails the whole plugin build. If you added it for a case where OVRSharp's copy was missing, it would help to say which one. Otherwise it can go.

@viktor-ferenczi
viktor-ferenczi merged commit 2accdaa into StarCpt:main Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants