Av3Emulator icon indicating copy to clipboard operation
Av3Emulator copied to clipboard

OSC input of built-in parameters.

Open NotAKidoS opened this issue 2 years ago • 4 comments

Please add an option to allow built-in VRChat OSC parameters to be properly received through OSC.

I have the emulator synced between Unity and VRChat for debugging, but /input/ messages are handled incorrectly and error.

https://user-images.githubusercontent.com/37721153/159388950-3f9ea520-c307-4edc-a2af-140bd0c5fae7.mp4

NotAKidoS avatar Mar 22 '22 01:03 NotAKidoS

I've since added this functionality for myself as proof-of-concept, but it is very iffy and I think I broke some other stuff... :shrug:

https://user-images.githubusercontent.com/37721153/165020781-94d13e90-6c94-4cec-9c67-99f7ea67dad9.mp4

It is helping me immensely atm while I debug locomotion and viseme activated stuff.

NotAKidoS avatar Apr 25 '22 04:04 NotAKidoS

Cool!

Feel free to submit a PR if you want. It looks like a fun feature to play with.

How did you solve the issue with listening ports? (VRChat will take over port 9000 if you turn on OSC)

lyuma avatar Apr 25 '22 05:04 lyuma

Haven't run into any port issues actually. Av3Emulator is listening for VRChat while VRChat listens for Av3Emulator. Swapped the ports around in-editor.

Id submit a PR, but I completely nuked some other function to get this working. Only know very basic C# so best I could do was hijack something that already existed and move it around.

NotAKidoS avatar Apr 25 '22 13:04 NotAKidoS

Fixed up what I broke and made a PR. Tried to keep my edits minimal for simplicity, but the handling of the ParamName string feels suboptimal.

NotAKidoS avatar Apr 25 '22 20:04 NotAKidoS