https://bugs.winehq.org/show_bug.cgi?id=29582
--- Comment #39 from Daniel Santos daniel.santos@pobox.com --- (In reply to Maxim Stewart from comment #38)
I would love to help but don't know where to begin. What can I look at to start tackling this issue? I'm driven mad with wanting to play this properly on Linux and I don't get how it can't for a 12yo game.
Well, you're in a little bit of luck. I never brought the EA remakes, because despite the stunning graphics, the game design its self was horrid. I saw an update on Steam and presumably multiplayer functionality has been restored without having to resort to GameRanger or some crap like that. Locking in multiplayer lobby functionality to a fixed provider (that can shut it down whenever they please) is hostile towards consumers anyway -- there is no technological reason to not allow the user to select a different lobby server. Maybe one day we'll get legislators who actually understand technological ethics and ban this type of crap in future products, but I guess I'm dreaming now....
ANYWAY, I'm in the final stages of a patch set and you are welcome to try it.
git clone https://github.com/daniel-santos/wine git checkout hybrid-sync
When you run wine, you need to set a few environment variables to enable the patch:
STAGING_SHARED_MEMORY=1 STAGING_SHM_SYNC=1 WINEPREFIX=<your_prefix> \ wine GameData/BattlefrontII.exe
I'm in the process of re-running the tests, and I haven't tested this on swbf in a while (I should probably do that soon!). Now I have to un-suspend my tests and go back to having direct 3d tests flash different colors on my monitor until it finally manages to trigger a seizure -- *then* I'll know it's finally ready.