1
| export WINEDLLOVERRIDES=winemenubuilder.exe=d
|
For home-manager:
1
2
3
| home.sessionVariables = {
WINEDLLOVERRIDES = "winemenubuilder.exe=d";
};
|
Sandbox, trusted with files, no network access
1
| bwrap --bind / / --dev-bind /dev /dev --proc /proc --unshare-net -- wine
|
Use this for Unity games, which are notorious for phoning-home.
Internet access should be a privilege for applications, not a right.
Force Wayland
winetricks - not handling wrappers
1
| WINE_BIN=$(dirname $(readlink $(which wine)))/.wine winetricks
|
See nixpkgs#338367
Highly-compressed FragileGame installers
- Install proper
cmd.exe and ALL the VC Runtimes:1
| winetricks cmd vcrun2003 vcrun2003 vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2022
|
- Enable low-memory mode, if it’s supported.
Reference Command Dumps
1
2
3
| DISPLAY= WINEDLLOVERRIDES="$WINEDLLOVERRIDES;mmdevapi=d" WINEDEBUG=+winhttp,+winsock,+wininet,+mmdevapi,+secur32,+schannel,+crypt,+mswsock wine MirrorsEdgeCatalyst.exe
WINE_BIN=$(dirname $(readlink $(which wine)))/.wine ~/Desktop/winetricks cmd vcrun2003 vcrun2003 vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2022 dxvk vkd3d
WINE_BIN=$(dirname $(readlink $(which wine)))/.wine ~/Desktop/winetricks d3dcompiler_47 liberation
|
Elden Ring: Nightreign
Seamless Co-op + PS4 DualShock 4 Setup
1. Add Custom Game in Steam
Add nrsc_launcher.exe manually to Steam’s game list.
2. Force use of SDL backend
1
| protontricks -c 'wine reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\winebus" /v "DisableHidraw" /t REG_DWORD /d 1 /f' 4270363186
|
3. Launch Outside Steam
1
| protontricks-launch --appid 4270363186 nrsc_launcher.exe
|
Mirror’s Edge Catalyst
Run in sandbox:
1
| WINEPREFIX=$PWD/wine DISPLAY= bwrap --bind / / --dev-bind /dev /dev --proc /proc --unshare-net -- wine MirrorsEdgeCatalyst.exe
|
winetricks
1
| winetricks cmd vcrun2003 vcrun2003 vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2022 dxvk vkd3d
|
Hang just after Vulkan context creation with dxvk
Open winecfg, open the Audio tab - if it hangs, then the game’s hanging on initialising audio.
Force to alsa:
1
| wine reg add "HKEY_CURRENT_USER\Software\Wine\Drivers" /v Audio /t REG_SZ /d "alsa" /f
|