DramaticShapeVoxelMod archival mirror · read-only
2ce44586c22796f4467e99d0ec0842b7e7db4a8b

Merge pull request #64 from DramaticShape/pcvr

DramaticShape · 2026-08-02 · parent b0d37cd8e6 e8caa4f537

Merge pull request #64 from DramaticShape/pcvr

Added PC VR mode. Enable SteamVR, launch the game, toggle the VR menu option to "ON". Tested over virtual desktop/Quest 3. Standalone VR is not supported (too potato).

| control | does |
| --- | --- |
| left stick | move — grid-walks the diorama, free-walks 1ST |
| A / B (X / Y on the left hand) | A / B |
| either trigger | START |
| left stick click | step the VOXEL angle ladder (same as the "3" key) |
| right stick up / down | *diorama only* — zoom the model |
| right stick left / right | *1ST only* — snap-turn 45° |
| grip squeeze + raise / lower that hand | *diorama only* — drag the table's height |
| head | *1ST and battles* — look; FreeMove walks where you look |
| left hand | *1ST and battles* — the Pokédex: menus, dialogs and the 2D battle screen on its screen |

Changed files

CHANGELOG.md                                                    |  218 ++++++
 README.md                                                       |  106 ++-
 assets/vr/LICENSE-openxr_loader.txt                             |  188 +++++
 assets/vr/openxr_loader.dll                                     |  Bin 0 -> 2133504 bytes
 lib/BattleCam.lua                                               |   16 +-
 lib/BattleScene.lua                                             |   85 +++
 lib/FirstPerson.lua                                             |   10 +
 lib/Mat4.lua                                                    |   47 +-
 lib/OverworldBattle.lua                                         |  142 +++-
 lib/Pokedex.lua                                                 |  223 ++++++
 lib/Sky.lua                                                     |  303 +++++++-
 lib/VR.lua                                                      |  681 +++++++++++++++++
 lib/VRGL.lua                                                    |  237 ++++++
 lib/VRRig.lua                                                   |  248 +++++++
 lib/VRXR.lua                                                    | 1052 +++++++++++++++++++++++++++
 lib/Voxel3D.lua                                                 |  205 +++++-
 lib/VoxelScene.lua                                              |  168 ++++-
 main.lua                                                        |  174 ++++-
 manifest.json                                                   |    2 +-
 mod.card                                                        |   10 +
 oxr.zip                                                         |  Bin 0 -> 3129858 bytes
 oxr/.signature.p7s                                              |  Bin 0 -> 9468 bytes
 oxr/OpenXR.Loader.nuspec                                        |   18 +
 oxr/[Content_Types].xml                                         |   10 +
 oxr/_rels/.rels                                                 |    5 +
 oxr/build/native/OpenXR.Loader.props                            |    5 +
 oxr/build/native/OpenXR.Loader.targets                          |   35 +
 oxr/native/Win32/release/bin/openxr_loader.dll                  |  Bin 0 -> 1632256 bytes
 oxr/native/Win32/release/lib/openxr_loader.lib                  |  Bin 0 -> 15638 bytes
 oxr/native/Win32_uwp/release/bin/openxr_loader.dll              |  Bin 0 -> 305664 bytes
 oxr/native/Win32_uwp/release/lib/openxr_loader.lib              |  Bin 0 -> 15638 bytes
 oxr/native/arm/release/bin/openxr_loader.dll                    |  Bin 0 -> 2401792 bytes
 oxr/native/arm/release/lib/openxr_loader.lib                    |  Bin 0 -> 14588 bytes
 oxr/native/arm64/release/bin/openxr_loader.dll                  |  Bin 0 -> 2902016 bytes
 oxr/native/arm64/release/lib/openxr_loader.lib                  |  Bin 0 -> 14596 bytes
 oxr/native/arm64_uwp/release/bin/openxr_loader.dll              |  Bin 0 -> 363520 bytes
 oxr/native/arm64_uwp/release/lib/openxr_loader.lib              |  Bin 0 -> 14596 bytes
 oxr/native/arm_uwp/release/bin/openxr_loader.dll                |  Bin 0 -> 287744 bytes
 oxr/native/arm_uwp/release/lib/openxr_loader.lib                |  Bin 0 -> 14588 bytes
 oxr/native/x64/release/bin/openxr_loader.dll                    |  Bin 0 -> 2133504 bytes
 oxr/native/x64/release/lib/openxr_loader.lib                    |  Bin 0 -> 14596 bytes
 oxr/native/x64_uwp/release/bin/openxr_loader.dll                |  Bin 0 -> 289792 bytes
 oxr/native/x64_uwp/release/lib/openxr_loader.lib                |  Bin 0 -> 14596 bytes
 .../core-properties/948f85fa57f345119150f5525085c62c.psmdcp     |    9 +
 tests/dramatic_shape_test.lua                                   |  510 ++++++++++++-
 tests/vr_probe.lua                                              |   61 ++
 46 files changed, 4605 insertions(+), 163 deletions(-)

Diff