Open edwloef opened 2 years ago
For now there are very many dependencies built in which are only usable under windows. If there is big enough interest I will think about a way to port it to Unix like Systems, but that would need a major rewrite. I'm not even sure if you can directly read from the Mumble Link API there.
I'd like to manifest some interest in it being ported to linux / wine, as I only play on linux
I investigated further and tried to get it to run under wine. Turned out that I was somehow able to get gw2rpc started, but it needs to directly connect to discord. Meaning it is not able to send game data from inside the wine container to the outside natively running discord client. Having another full discord client running inside the same wine container seems a bit overkill, and I also couldn't get it to work either.
I'm out of ideas atm as long as there is no native GW2 client for Linux.
in the Unofficial Final Fantasy 14 Online Launcher XIVLauncher & Dalamud Discord that has support for linux they use wine-discord-ipc-bridge to pass the discord rich presence from within wine to discord running natively on linux i use my own wrapper to run gw2 and additional programs simultaneously from steam which could easilly be modified to run gw2, gw2rpc and wine-discord-ipc-bridge
It appears that running GW2RPC under wine is currently causing issues with the psutil library's ability to detect the GW2-64.exe and GW2RPC.exe processes, resulting in the error message:
OSError: [WinError 87] Invalid parameter: '(originated from NtQuerySystemInformation)'
I've experimented with using direct WMI calls as an alternative to the psutil library, but implementing this change would require a significant overhaul of the code. I'll continue exploring potential solutions to address this issue.
This results in GW2RPC being unusable on MacOS and Linux.