fix(cli): use normalize_virtually for pipe path on windows#761
fix(cli): use normalize_virtually for pipe path on windows#761garyttierney merged 1 commit intogaryttierney:mainfrom
Conversation
garyttierney
left a comment
There was a problem hiding this comment.
LGTM, thanks. I'm surprised it was hitting an unimplemented stub. What version of WINE out of curiosity?
|
Hm, actually, looking closer at this |
This use of `normalize` will end up calling an unimplemented function when run under Wine, resulting in a crash. Signed-off-by: Sirius902 <10891979+Sirius902@users.noreply.github.com>
|
Alrighty, I've updated the PR to fix the Linux build failure and the DCO CI check.
I think this may be something to do with the fact that it's normalizing the path of a pipe specifically but I'm not sure. I'm using the
For my current setup I had thought to use Bottles with networking disabled so I could be 100% confident my modded setups wouldn't attempt to connect to the game server. I share this setup for DSAP and Dark Souls II Archipelago as well so I naturally thought to run the Windows version of me3 under Wine as well. It seems me3 has a feature to prevent connecting online by default so maybe using the Linux binary could be interesting but one blocker is I'm running on NixOS so I don't think the me3 Linux binary would work out of the box. I could try to make a Nix package for me3 and possibly upstream to nixpkgs if there's interest, though, I think it is worth supporting both use cases if possible without too much effort. For me right now running the Windows version of me3 in Wine is easier but I think making a Nix package might be worth exploring. |
Thanks! LGTM. Waiting on CI then will merge.
FWIW, me3 is in nixpkgs upstream as of about a week ago: NixOS/nixpkgs#498117. |
Fixes reaching an unimplemented function in Wine when running the Windows binary of me3. I originally ran into this issue when trying to play the Windows version of Dark Souls III Archipelago v4.0.0 in my custom Wine prefix and it turns out it just needed a one line change to stop crashing on startup!
Here was the original log messages when it was crashing on startup.