v1.0
Changes since v0.6:
User-facing:
- There's a change to how the layer mask override is applied
- The SDK's internal variable isn't modified anymore, so resetting to the original value should work across all games.
- New behaviour for clip plane position/rotation
- Controlled by new config option:
ClipBehaviour - Respects
ClipShouldBeVertical - Value 0 is for previous logic
- Plane centred on clip target
- Plane rotated to face camera position
- Value 1 is for new behaviour (like "that diagram")
- Plane has same rotation as camera
- Plane is positioned at a point along the camera's forward vector such that the clip target will intersect with the plane
- Controlled by new config option:
- The mod should work with games using v2 of the LIV Unity SDK.
- Tested with the current Beat Saber URP beta
- Getting the HMD position (for clip targeting) no longer needs a foreground render.
- Using the MMF's clip position is now also dependent on a settings value.
- It's
0x08, and it's set automatically in LIVnyan 1.3a2, whenever there's a bone being sent.
- It's
Internal:
- As part of the support for SDK 2, the way that I feed data into the existing code has been mostly re-done.
- The SDK v1.5 private
_injectionfields have been replaced with harmony patches that should have the same effects. - Reflection is no longer used.
- The Spout sending patches have been separated from the data-related patches, and could be applied on their own, if someone wants that.
- The SDK v1.5 private
- The camera data struct has a new method to make checking settings more convenient.
Boring project stuff:
- The BSIPA csproj will now copy the Spout and Linux C dlls into the release artifact folder
- I don't have to make the zip myself - it's all automatic!
- The BepInEx csproj now has targets to make a similar release artifact.
- Less work for me!