| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| bsd:notes:wine [2025/08/21 18:24] – Sean Rhone | bsd:notes:wine [2026/07/05 07:14] (current) – Sean Rhone |
|---|
| | ====== Install ====== |
| | |
| | ===== Wine ===== |
| | |
| | * https://docs.freebsd.org/en/books/handbook/wine/#installing-wine-on-freebsd |
| | |
| | wine wine-gecko wine-mono winetricks icoutils |
| | |
| | ==== 64-bit ==== |
| | |
| | * :?: 2026/06/27: ''wow64'' and ''win64'' prefixes had no files in ''syswow64'' |
| | |
| | wine-devel-allaudio wine-gecko-devel wine-mono-devel winetricks icoutils |
| | |
| | ===== 32-bit pkgs ===== |
| | |
| | * :!: Done from regular user and **not** ''root'' |
| | * :?: 2026/07/05: No ''gstreamer1-libav'' |
| | |
| | exit |
| | |
| | '/usr/local/share/wine/pkg32.sh' --old -o 'ASSUME_ALWAYS_YES=YES' update -f && '/usr/local/share/wine/pkg32.sh' --old upgrade |
| | |
| | '/usr/local/share/wine/pkg32.sh' --old install -r FreeBSD-ports wine mesa-dri mesa-libs gstreamer1-plugins-good gstreamer1-plugins-ugly libressl |
| | |
| | '/usr/local/share/wine/pkg32.sh' --old autoremove && '/usr/local/share/wine/pkg32.sh' --old clean -a -q -y |
| | |
| | ===== Update Script ===== |
| | |
| | <code> |
| | '/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old -o 'ASSUME_ALWAYS_YES=YES' update -f" |
| | '/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old upgrade" |
| | '/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old autoremove" |
| | '/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old clean -a -q -y"</code> |
| | |
| ====== Tweaks ====== | ====== Tweaks ====== |
| |
| # Logging | # Logging |
| export WINEDEBUG='-all' | export WINEDEBUG='-all' |
| | export VKD3D_DEBUG='none' |
| # DXVK | export VKD3D_SHADER_DEBUG='none' |
| export DXVK_LOG_LEVEL='none' | export DXVK_LOG_LEVEL='none' |
| export DXVK_CONFIG='dxgi.hideIntelGpu = False' | |
| |
| # End</code> | # End</code> |
| |
| ====== Resources ====== | ====== Resources ====== |
| | |
| | ===== TODO ===== |
| | |
| | * https://gitlab.winehq.org/wine/wine/-/wikis/Sound#sdl-applications |
| | * https://forums.opensuse.org/t/wine-v5-8-running-windows-game-unable-to-initialize-audio-target-pulse-not-available/140566/2 |
| | * SDL mixer env (doomsday) |
| | * https://wiki.archlinux.org/title/FluidSynth#No_MIDI_sound_/_Not_the_lowest_or_first_MIDI_device |
| | * https://www.freshports.org/audio/alsa-utils (''aconnect'') |
| | |
| | <code> |
| | WINEPREFIX=~/'.wine/Diablo III' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\WineDbg' /v 'ShowCrashDialog' /t 'REG_DWORD' /d '0' /f |
| | |
| | HKEY_CURRENT_USER\Software\Wine\WineDbg</code> |
| |
| ===== Environment Variables ===== | ===== Environment Variables ===== |
| * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/openglenvvariables.html | * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/openglenvvariables.html |
| * ''vblank_mode'' values: https://github.com/intel/external-mesa/blob/master/src/util/xmlpool/t_options.h#L213 ((if this becomes unavailable, it seems to be a source file for a DRI Conf tool)) | * ''vblank_mode'' values: https://github.com/intel/external-mesa/blob/master/src/util/xmlpool/t_options.h#L213 ((if this becomes unavailable, it seems to be a source file for a DRI Conf tool)) |
| | * https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/driconf.h?ref_type=heads#L149 |
| | * https://github.com/Winetricks/winetricks/blob/master/src/winetricks#L2400 |
| | |
| | nt351|nt40|vista|win10|win11|win20|win2k|win30|win31|win7|win8|win81|win95|win98|winme|winxp|winxp64 |
| |
| ===== winetricks ===== | ===== winetricks ===== |
| * https://github.com/Winetricks/winetricks/blob/master/src/winetricks | * https://github.com/Winetricks/winetricks/blob/master/src/winetricks |
| * [[linux;notes;wine_wayland_vulkan_wow_335]] (''renderer=vulkan'', ''graphics=wayland'') | * [[linux;notes;wine_wayland_vulkan_wow_335]] (''renderer=vulkan'', ''graphics=wayland'') |
| |
| ====== DXVK Install ====== | |
| |
| ===== master ===== | |
| |
| * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | |
| * https://github.com/doitsujin/dxvk/commits/master/ | |
| |
| ==== 64-bit Prefix ==== | |
| |
| === x64 === | |
| |
| **** | |
| |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' | |
| |
| === x32 === | |
| |
| **** | |
| |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64' | |
| |
| ==== 32-bit Prefix ==== | |
| |
| **** | |
| |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' | |
| |
| ===== Release ===== | |
| |
| * https://github.com/doitsujin/dxvk/releases | |
| |
| ==== 64-bit Prefix ==== | |
| |
| === x64 === | |
| |
| **** | |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' | |
| |
| === x32 === | |
| |
| **** | |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64' | |
| |
| ==== 32-bit Prefix ==== | |
| |
| **** | |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' | |
| |
| ===== Dll Overrides ===== | |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d8' /t 'REG_SZ' /d 'native' /f | |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f | |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d10core' /t 'REG_SZ' /d 'native' /f | |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d11' /t 'REG_SZ' /d 'native' /f | |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f | |
| |