[Bug/Feature] BetterCrewLink on Linux
Conobi opened this issue · 6 comments
Pre-Flight Checklist
Please use this checklist to avoid spamming:
- I am not asking a question => use the Discord if you are
- I have checked that someone else has not suggested this using the search bar
- My feature request is one of the commonly suggested features (but I've been approved): Linux / MacOS support
Is your feature request related to a problem? Please describe.
BetterCrewlink start on Steam Proton, but doesn't work correctly. There is no audio device/microphone, and Better Crewlink doesn't detect Among Us.
This issue is common to CrewLink, there is already an issue about that: https://github.com/ottomated/CrewLink/issues/4
To Reproduce
Steps to reproduce the behaviour:
- Installing protontricks
- Running
protontricks -c "wine /home/donokami/Downloads/Better-CrewLink Setup 2.2.3.exe" 945360
- After that it installs Better-Crewlink and start it.
- It loops on this message :
Interface is clickable. But "Open Game" doesn't open anything, and in settings, no audio device/microphone is found :
Expected behaviour
It should detect my microphone and audio devices, and also detect Among Us.
Desktop (please complete the following information):
- OS: Ubuntu 20.04.1 LTS x86_64
- Host: Lenovo ideapad 330-15ARR
- Kernel: 5.4.0-65-generic
- Proton version : 5.13
Describe the solution you'd like
It seems that @zbanks was able to fix this issue on an older Crewlink version (here is his fork: https://github.com/zbanks/CrewLink). Maybe his changes are mergeable?
See what is the fix: https://github.com/ottomated/CrewLink/issues/4#issuecomment-747182894
I tried it, and it works really well. To try it, after starting Among us on Steam Proton:
wget "https://github.com/zbanks/CrewLink/releases/download/v1.2.1/CrewLink-1.2.1.AppImage"
chmod +x CrewLink-1.2.1.AppImage
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
./CrewLink-1.2.1.AppImage
EDIT: There is another fork which add these compatibility changes on the latest Crewlink version:
https://github.com/TheGreatMcPain/CrewLink
Additional context
Proton is a Wine (Windows simulation) system for Linux systems, that makes Among Us working on it.
I do have a branch in my fork called bettercrewlink-linux which ports BetterCrewLink
to Linux.
I only needed to port node-keyboard-watcher (used for push-to-talk), because it used a Windows only function to check the state of the keyboard. I personally haven't tested it yet, but at least it builds and allows BetterCrewLink
to work on Linux.
I do have a branch in my fork called bettercrewlink-linux which ports
BetterCrewLink
to Linux.I only needed to port node-keyboard-watcher (used for push-to-talk), because it used a Windows only function to check the state of the keyboard. I personally haven't tested it yet, but at least it builds and allows
BetterCrewLink
to work on Linux.
Pretty thanks! It works quite well on your latest PR @TheGreatMcPain, only the overlay doesn't work (I've got a white screen)
Like i said in my pr. There are fixes that i need to add which fix the overlay transparency.
Linux support is now in this repo and working, if there are any issues with it you can make an issue on this repo now.
https://github.com/OhMyGuus/BetterCrewLink/wiki/installation#linux
(totally not stolen message)