WINE for 32/64bit FreeBSD


by ross at 09:32:28 on July 27, 2015


Initialize Wine by runninig winecfg as your regular user.

Go to Drives tab and add /media/cdrom as drive D: (cdrom type). Now you can mount cdrom or an iso image and it will be available to Wine programs.

Quit winecfg.

If you do not like the font rendering try this patch:

> wine regedit wine-fix-fonts.reg

Start winecfg again to test the new rendering.


# cd /usr/local/bin
# fetch
# chmod +x winetricks

Get some basic libraries:

> rehash
> winetricks corefonts vcrun6

Install Steam

> winetricks steam

Steam in separate X Window server

This will improve performance. Create a wrapper:


X :2 -ac -terminate & 
sleep 3

export DISPLAY=:2
export WINEDEBUG=fixme-all
export WINEPREFIX="$HOME/.local/share/wineprefixes/steam"


cd "$WINEPREFIX/drive_c/Program Files/Steam"
wine Steam.exe

kill $pid

chmod it to be executable for everyone and start it.

Delete everything

If you ever want to delete everything and start over:

> cd $HOME
> rm -rf .wine
> rm -rf .cache/wine*
> rm -rf .local/share/wineprefixes
> rm -rf .local/share/applications/wine*
> rm -rf .config/menus/applications-merged/wine*
> rm -rf .local/share/desktop-directories/wine*
> rm -rf .local/share/icons/????_*.{xpm,png}
> rm -rf .local/share/icons/*-x-wine-*.{xpm,png}

Now run winecfg again and repeat the installation of programs.