Skip to content

Commit

Permalink
Merge pull request #10 from bhaptics/unity-2022
Browse files Browse the repository at this point in the history
Upgrade project to 2022
  • Loading branch information
westside authored Apr 18, 2024
2 parents 442bd5a + 4d3aca5 commit 936f7b5
Show file tree
Hide file tree
Showing 9 changed files with 426 additions and 289 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# bHaptics VRChatOSC
This project is designed to use bHaptics devices in VRChat.</br>
Please read **[How to play VRChat with bHaptics](https://bhaptics.notion.site/How-to-play-VRChat-with-bHaptics-375a0f3e87ca47eb943699780cb238cd)** before attempting to use.
Please read **[How to play VRChat with bHaptics](https://bhaptics.notion.site/How-to-play-VRChat-with-bHaptics-0130853e0eaa496a8500d44546a23aca)** before attempting to use.

### Files
- [bHaptics Player](https://www.bhaptics.com/support/downloads)
- [bHaptics VRChatOSC](https://github.com/bhaptics/VRChatOSC/releases/download/v1.0.2/bHapticsOSC.exe)

### Quick Guide
- **Run** both [bHaptics Player](https://www.bhaptics.com/support/downloads) and [bHaptics VRChatOSC](https://github.com/bhaptics/VRChatOSC/releases/download/v1.0.2/bHapticsOSC.exe).
- **Enter** [bHaptics Avatar World](https://vrchat.com/home/world/wrld_7b1fed5e-50da-4263-b68a-81344fab1ac7), or **Update** your avatar by referring to [How to update an avatar with bHaptics devices](https://bhaptics.notion.site/How-to-upload-an-avatar-with-bHaptics-devices-777b7dc686044291877b7ed21c27b7cd).
- **Enter** [bHaptics Avatar World](https://vrchat.com/home/world/wrld_7b1fed5e-50da-4263-b68a-81344fab1ac7), or **Update** your avatar by referring to [How to update an avatar with bHaptics devices](https://bhaptics.notion.site/How-to-upload-an-avatar-with-bHaptics-devices-c0479c68b8984b9d9048423b8c44f503).
- This project currently supports avatars with Animator As Code **<u>V0</u>**.

### License
Expand All @@ -19,7 +19,7 @@ bHaptics VRChatOSC is licensed under the GPL-3.0 License.
- [Animator As Code (V0)](https://github.com/hai-vr/av3-animator-as-code/tree/main) is licensed under the [MIT License](https://github.com/hai-vr/av3-animator-as-code/blob/main/LICENSE).

### Link
- [How to play VRChat with bHaptics](https://bhaptics.notion.site/How-to-play-VRChat-with-bHaptics-375a0f3e87ca47eb943699780cb238cd)
- [How to update an avatar with bHaptics devices](https://bhaptics.notion.site/How-to-upload-an-avatar-with-bHaptics-devices-777b7dc686044291877b7ed21c27b7cd)
- [How to play VRChat with bHaptics](https://bhaptics.notion.site/How-to-play-VRChat-with-bHaptics-0130853e0eaa496a8500d44546a23aca)
- [How to update an avatar with bHaptics devices](https://bhaptics.notion.site/How-to-upload-an-avatar-with-bHaptics-devices-c0479c68b8984b9d9048423b8c44f503)
- [bHaptics Avatar World](https://vrchat.com/home/world/wrld_7b1fed5e-50da-4263-b68a-81344fab1ac7)
- [bHaptics Official Website](https://www.bhaptics.com)
17 changes: 10 additions & 7 deletions Unity/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"dependencies": {
"com.unity.collab-proxy": "1.10.2",
"com.unity.ide.rider": "1.2.1",
"com.unity.ide.visualstudio": "2.0.11",
"com.unity.ide.vscode": "1.2.4",
"com.unity.test-framework": "1.1.29",
"com.unity.textmeshpro": "2.1.6",
"com.unity.timeline": "1.2.18",
"com.unity.ai.navigation": "1.1.4",
"com.unity.burst": "1.8.7",
"com.unity.collab-proxy": "2.0.5",
"com.unity.ide.rider": "3.0.24",
"com.unity.ide.visualstudio": "2.0.18",
"com.unity.ide.vscode": "1.2.5",
"com.unity.mathematics": "1.2.6",
"com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.5",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
Expand Down
125 changes: 117 additions & 8 deletions Unity/Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,41 @@
{
"dependencies": {
"com.unity.ai.navigation": {
"version": "1.1.4",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.modules.ai": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.burst": {
"version": "1.8.7",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.2.1"
},
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "1.10.2",
"version": "2.0.5",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.collections": {
"version": "2.1.4",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.burst": "1.8.4",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.nuget.mono-cecil": "1.11.4"
},
"url": "https://packages.unity.com"
},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 1,
Expand All @@ -15,16 +44,16 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "1.2.1",
"version": "3.0.24",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.1"
"com.unity.ext.nunit": "1.0.6"
},
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.11",
"version": "2.0.18",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -33,14 +62,35 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.vscode": {
"version": "1.2.4",
"version": "1.2.5",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.mathematics": {
"version": "1.2.6",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.mono-cecil": {
"version": "1.11.4",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.newtonsoft-json": {
"version": "3.2.1",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.29",
"version": "1.1.33",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -51,7 +101,7 @@
"url": "https://packages.unity.com"
},
"com.unity.textmeshpro": {
"version": "2.1.6",
"version": "3.0.6",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -60,7 +110,7 @@
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.2.18",
"version": "1.7.5",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -80,6 +130,64 @@
"com.unity.modules.imgui": "1.0.0"
}
},
"com.unity.xr.legacyinputhelpers": {
"version": "2.1.10",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.xr": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.xr.management": {
"version": "4.4.0",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.modules.subsystems": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.xr": "1.0.0",
"com.unity.xr.legacyinputhelpers": "2.1.7"
},
"url": "https://packages.unity.com"
},
"com.unity.xr.oculus": {
"version": "4.0.0",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.xr.management": "4.2.0"
},
"url": "https://packages.unity.com"
},
"com.vrchat.avatars": {
"version": "file:com.vrchat.avatars",
"depth": 0,
"source": "embedded",
"dependencies": {}
},
"com.vrchat.base": {
"version": "file:com.vrchat.base",
"depth": 0,
"source": "embedded",
"dependencies": {
"com.unity.burst": "1.8.7",
"com.unity.collections": "2.1.4",
"com.unity.mathematics": "1.2.6",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.xr.management": "4.3.3",
"com.unity.xr.oculus": "4.0.0"
}
},
"com.vrchat.core.vpm-resolver": {
"version": "file:com.vrchat.core.vpm-resolver",
"depth": 0,
"source": "embedded",
"dependencies": {
"com.unity.nuget.newtonsoft-json": "3.0.2"
}
},
"com.unity.modules.ai": {
"version": "1.0.0",
"depth": 0,
Expand Down Expand Up @@ -213,6 +321,7 @@
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}
Expand Down
7 changes: 4 additions & 3 deletions Unity/ProjectSettings/AudioManager.asset
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ AudioManager:
Rolloff Scale: 1
Doppler Factor: 1
Default Speaker Mode: 2
m_SampleRate: 0
m_SampleRate: 48000
m_DSPBufferSize: 1024
m_VirtualVoiceCount: 512
m_VirtualVoiceCount: 64
m_RealVoiceCount: 32
m_EnableOutputSuspension: 1
m_SpatializerPlugin:
m_AmbisonicDecoderPlugin:
m_DisableAudio: 0
m_VirtualizeEffects: 1
m_RequestedDSPBufferSize: 1024
m_RequestedDSPBufferSize: 0
4 changes: 3 additions & 1 deletion Unity/ProjectSettings/EditorBuildSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes: []
m_configObjects: {}
m_configObjects:
com.unity.xr.management.loader_settings: {fileID: 11400000, guid: b2d9340805da76d428cde361574deb33,
type: 2}
28 changes: 13 additions & 15 deletions Unity/ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--- !u!30 &1
GraphicsSettings:
m_ObjectHideFlags: 0
serializedVersion: 13
serializedVersion: 15
m_Deferred:
m_Mode: 1
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
Expand All @@ -13,9 +13,6 @@ GraphicsSettings:
m_ScreenSpaceShadows:
m_Mode: 1
m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
m_LegacyDeferred:
m_Mode: 1
m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
m_DepthNormals:
m_Mode: 1
m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
Expand All @@ -28,14 +25,10 @@ GraphicsSettings:
m_LensFlare:
m_Mode: 1
m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
m_AlwaysIncludedShaders:
- {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
m_VideoShadersIncludeMode: 2
m_AlwaysIncludedShaders: []
m_PreloadedShaders: []
m_PreloadShadersBatchTimeLimit: -1
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
m_CustomRenderPipeline: {fileID: 0}
Expand All @@ -45,8 +38,9 @@ GraphicsSettings:
m_DefaultMobileRenderingPath: 1
m_TierSettings: []
m_LightmapStripping: 0
m_FogStripping: 0
m_FogStripping: 1
m_InstancingStripping: 0
m_BrgStripping: 0
m_LightmapKeepPlain: 1
m_LightmapKeepDirCombined: 1
m_LightmapKeepDynamicPlain: 1
Expand All @@ -57,7 +51,11 @@ GraphicsSettings:
m_FogKeepExp: 1
m_FogKeepExp2: 1
m_AlbedoSwatchInfos: []
m_LightsUseLinearIntensity: 0
m_LightsUseColorTemperature: 0
m_LightsUseLinearIntensity: 1
m_LightsUseColorTemperature: 1
m_DefaultRenderingLayerMask: 1
m_LogWhenShaderIsCompiled: 0
m_AllowEnlightenSupportForUpgradedProject: 0
m_SRPDefaultSettings: {}
m_LightProbeOutsideHullStrategy: 0
m_CameraRelativeLightCulling: 0
m_CameraRelativeShadowCulling: 0
Loading

0 comments on commit 936f7b5

Please sign in to comment.