bsd:notes:wine
Table of Contents
Install
16.0
- New WoW64 (
wow64) devel
cdrtoolsprovidesisoinfo
su -
pkg install wine-devel wine-gecko-devel wine-mono-devel winetricks icoutils cdrtools
USER_LDT
machdep.max_ldt_segment=2048inloader.conf
su -
cat '/boot/loader.conf' | grep 'machdep.max_ldt_segment="2048"' || echo 'machdep.max_ldt_segment="2048"' | tee -a '/boot/loader.conf' > '/dev/null'
sysctl 'machdep.max_ldt_segment'
15.1
- Old WoW64 (
win32/win64)
su -
pkg install wine wine-gecko wine-mono winetricks icoutils
lib32
- TODO: Differences between
lib32install-time, lib32.txz, or below set
FreeBSD-set-lib32
ls '/usr/lib32'
32-bit pkgs
Done from regular user and not
root2026/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
'/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"
Tweaks
su -
mkdir -p '/usr/local/etc/profile.d' && echo "export WINEDEBUG='-all'" | tee '/usr/local/etc/profile.d/wine-tweaks.sh' > '/dev/null'
ee '/usr/local/etc/profile.d/wine-tweaks.sh'
# Logging export WINEDEBUG='-all' # DXVK export DXVK_LOG_LEVEL='none' export DXVK_SHADER_CACHE='0' export DXVK_STATE_CACHE='0' # VKD3D export VKD3D_DEBUG='none' export VKD3D_SHADER_DEBUG='none' # End
winecfg GUI
****
wine64 winecfg
Resources
TODO
- SDL mixer env (doomsday)
- https://www.freshports.org/audio/alsa-utils (
aconnect) WC3 main menu and WoW WotLK installer make good audio tests (static/pops)
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
Environment Variables
nt351|nt40|vista|win10|win11|win20|win2k|win30|win31|win7|win8|win81|win95|win98|winme|winxp|winxp64
winetricks
ISO Names
xis path to.iso
isoinfo -d -i x
isoinfo -d -i ~/'Downloads/Warcraft III/Warcraft 3 Reign of Chaos.iso' | grep 'Volume id'
pkg
1)
if this becomes unavailable, it seems to be a source file for a DRI Conf tool
/usr/local/www/wiki/data/pages/bsd/notes/wine.txt · Last modified: by Sean Rhone