Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Linux / Proton #4

Closed
StarGate01 opened this issue Nov 10, 2020 · 11 comments
Closed

Support Linux / Proton #4

StarGate01 opened this issue Nov 10, 2020 · 11 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@StarGate01
Copy link
Owner

No description provided.

@StarGate01 StarGate01 added the enhancement New feature or request label Nov 10, 2020
@StarGate01
Copy link
Owner Author

Use start /unix /usr/bin/mumble rpc foobar to send an rpc command from wine to the linux host which runs mumble.

Use /dev/shm instead of OpenFileMappingW for shared memory, see https://github.com/feilen/oculus-wine-wrapper/blob/master/oculus_shm_adapter.c

@StarGate01
Copy link
Owner Author

@StarGate01 StarGate01 self-assigned this Nov 11, 2020
@StarGate01
Copy link
Owner Author

StarGate01 commented Nov 14, 2020

Test on Linux (Steam, Proton) shows that after installing vcrun2015 using protontricks and adding a few DLL overrides,

  • Console works
  • Injection works
  • Hooking works

Bugs:

  • Crash on console minimization

Missing:

  • Cross-OS memory sharing for Mumble Link

However, the function ucrtbase.dll.strtold (called via api-ms-win-crt-convert-l1-1-0 via std::stold), used at CLI11.hpp#L1500 requires Wine >=5.19, see https://www.winehq.org/announce/5.19 and https://bugs.winehq.org/show_bug.cgi?id=49873.

Until Steam releases a Proton version containing Wine >=5.19 (Currently 5.13-2), we can temporarily comment the offending function in CLI11, as we don't use it at all (It parses floating point numbers of type long double, we don't use those).

@StarGate01 StarGate01 added this to the 1.0.0.7 milestone Nov 20, 2020
@1337god
Copy link

1337god commented Dec 10, 2020

It just crashes in the latest version after following the instructions

@StarGate01
Copy link
Owner Author

Yes. The latest versions of the game/mod were not (yet) ported to the wine branch.

@StarGate01
Copy link
Owner Author

StarGate01 commented Dec 15, 2020

As of dcb2a0d, the wine version now support the mumble link (make sure to set the wine-uid config option to your linux user uid). Still not working: Mumble RPC, DirectX overlay.

@1337god
Copy link

1337god commented Dec 18, 2020

As of dcb2a0d, the wine version now support the mumble link (make sure to set the wine-uid config option to your linux user uid). Still not working: Mumble RPC, DirectX overlay.

Thank you! Will update

@Corben78
Copy link

Hey there, I just read that you have to compile the wine branch on your own. Is that possible to do on Linux? Haven't seen a makefile, so I'm wondering.

@StarGate01
Copy link
Owner Author

Hi, unfortunately we do not have a build setup for Linux at the moment. The DLL that is being compiled is still a Windows NT DLL, it just runs in Wine / Steam Proton.

However, we plan to merge (beta) Linux support in the next release, so stay tuned!

@StarGate01
Copy link
Owner Author

Wine support is now merged into dev. See https://github.com/StarGate01/AmongUs-Mumble/wiki/Installation-and-Setup for updated installation instructions and known issues.

@StarGate01
Copy link
Owner Author

Live in version 1.0.0.14 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants