BeamMP-Launcher
BeamMP-Launcher copied to clipboard
Add support for MacOS Wine - Especially for CrossOver
Is your feature request related to a problem? Please describe. Yes, it looks like it.
macOS doesn't use /home
but /Users
, and macOS protects the /home folder, so we are not able to use it.
I'm currently running it on CrossOver latest version 23.5, but I don't think that have any importance here.
Describe the solution you'd like
Perhaps the software could first try /home
and then /Users
, or provide an option in the configuration or during runtime to select the desired path. This would enable people to use your mod on any platform (I'm trying to play with friends who are on Windows and Linux, their game is working great !). I'll be ready to test it as soon as you make the update!
Describe alternatives you've considered I don't know of any alternatives.
Additional context Add any other context or screenshots about the feature request here.
For more information the latest pre-release launch the game but here is no multiplayer option :
I really think, if it didn't detect that is running on Wine, it will work great. If I have the solution to disable the detection of wine, that will certainly work. Please help me :)
https://github.com/BeamMP/BeamMP/assets/63660254/80d813a4-1c49-4a0f-aee8-8d8e4283ca8a
Look, with whisky a fork of CrossOver there is no detection of Wine, and it's work.
Would this not be solved by using $HOME or similar, instead of hardcoding paths?
Generally, using std::getenv() should suffice to get the user's HOME directory, and that should be the right one on MacOS as well since thats POSIX.
Hi @lionkor, I have made a fix, and I'm going to push it. Which I know now from what I have done is that Wine on MacOS doesn't need this Linux patch to work.
Whisky (CrossOver Fork which probably lock registry reading) working great and didn't do any 'Linux' Patch on MacOS, same on CrossOver with my own hard code fix.
Let me clean my fix and, I will drop it here.
Hope I've done everything correctly to help the developers here. I'm a French student.