BOLL7708 / OpenVR2WS

Provides SteamVR I/O as JSON over WebSockets
15 stars 4 forks source link

Linux? #3

Open dusanpol opened 6 months ago

dusanpol commented 6 months ago

Hi, do you think it's possible to run this on linux via wine/proton? If not, I would like to port it to .NET8. Just asking before I open the IDE :)

BOLL7708 commented 6 months ago

Oh hello there. I get so many issues reported for OpenVR2Key that I was looking for this issue over there, I had to search my inbox for the notification email again to realize it was here 🤣

I actually already have a local development branch for upgrading the .NET version for this application, that was a while ago though, and I've been busy with my Twitch bot project for the last two years to all my C# projects have been neglected...

The idea is, since I recently got the open source license for all JetBrains editors, to start updating my C# OpenVR projects using Rider in the future. That first mission then is indeed to upgrade to .NET8, which Rider recently got support for. There is no timeline though, as I'm currently fixing the alpha of my bot, as mentioned, so I'm a bit preoccupied while also coping with a stressful job.

BOLL7708 commented 4 months ago

The application is now natively .NET 8, it's still using WPF though and relies on a number of Windows features to access the system tray icons and similar things, so not sure how tricky it would be to make this for Linux now 🤔

dusanpol commented 4 months ago

That's great news! 👍 I can now try porting UI to Avalonia, shouldn't be a big task. I'll keep you updated.

dusanpol commented 4 months ago

Looks promising so far. I just need to do the dialogs, use Avalonia tray icon and test it.

OpenVR2WS Avalonia port WIP

BOLL7708 commented 4 months ago

I hadn't actually heard of Avalonia before, so this is a bit fascinating to me, and possibly something I should look into adopting myself 😅 I've always felt as if WPF was old and dusty, but then WinForms which I used in the original version of this was even worse 🤣

BOLL7708 commented 3 months ago

I've been busy adding new features, but figured I could ask here while considering it. Are you aware if anyone is using Avalonia's Direct2D mode to create proper SteamVR dashboard applications with it? I am keen to try this out when I get time but figured I could prod you before that happens 😅

dusanpol commented 3 months ago

Hi, sorry for late response, been busy. I think it is possible. One project to get inspiration from is WlxOverlay - it's an overlay written in .NET. This question might be also a good clue.

About this issue: I will push my fork soon, but not sure about PR yet. Also I want to try porting OpenVR2Key :)