D2R PCVR 0.3.0: moving to Windows, SteamVR and Virtual Desktop
In between the first preview and this one came 0.2. I made it to move the project from the Linux machine I started on to a fresh Windows install, and it wasn’t really meant for players.
The stalls weren’t coming from the mod
The Linux build was still stalling, and the newest code was the obvious suspect. So 0.2 shipped two packages side by side: a baseline, the DLL from before the performance work, and a candidate with CPU hook optimizations and asynchronous HUD painting, which I said I hadn’t verified as a whole.
The baseline stalled too. It still stalled after I rolled the DLL back and after a full reboot of the PC, and a freshly started SteamVR logged 119 stream-reset requests before Diablo II was even running. So something was resetting the stream before there was even a game to stream.
That didn’t tell me what was wrong, but it did tell me where not to look, and I was careful not to claim more than that in the release notes: “Do not assume this release fixes streaming or that shorter average timings establish smoothness.” Native Windows, where nearly everyone who owns the game would play it anyway, was the next step.
The first Windows preview
0.3.0 runs the game on a Windows PC and streams it to the headset:
| Headset | Connection |
|---|---|
| Steam Frame | SteamVR |
| Quest 3 | Steam Link with SteamVR, or Virtual Desktop with VDXR |
| Quest 2 | the same as Quest 3, not yet confirmed |
Most of what I worked on over the next week was already in there in a first form:
- free-swing melee, aimed spells and bows
- calibration for your height and arm span the first time you load in
- swapping weapon sets by reaching over a shoulder
- belt potions you pick up
- health and mana on your wrist
- the game’s inventory, skills, conversations and journal behind a tabbed menu
To install it you needed Python 3.10 first. That requirement went away in less than a day.
It’s a mod and nothing else. You need your own copy of the game (at this point the Steam edition, 3.3.93787) and an offline character. The icons and potion models it shows are read out of your copy during setup and stay on your machine.