How to run World of Warcraft on FreeBSDIf you're running 32bit FreeBSD you can skip this step of setting up a jail. First thing we need to do on amd64 is setup a 32bit jail, you can do this with the following commands. This will probably take a while depending on how powerful your computer is.
cd /usr/src make buildworld TARGET=i386 make installworld TARGET=i386 DESTDIR=/compat/i386 make distribution TARGET=i386 DESTDIR=/compat/i386 mkdir /compat/i386/usr/ports mount -t devfs devfs /compat/i386/dev mount -t nullfs /usr/ports /compat/i386/usr/portsNext we need to chroot into the 32bit jail and setup everything.
chroot /compat/i386 setenv MACHINE i386 setenv UNAME_m i386 setenv UNAME_p i386 service ldconfig startNow we can install wine from the ports tree.
cd /usr/ports/emulators/wine make install cleanIf you're using a Nvidia graphics card install the Nvidia driver.
cd /usr/ports/X11/nvidia-driver make install cleanNow we can exit the chroot environment, just type exit. If you're already on 32bit FreeBSD just install the wine port with the following commands.
cd /usr/ports/emulators/wine make install cleanNext we need a wow install folder, I've never managed to get the wow installer to run in wine so I run it in a windows virtual machine and copy over the World of Warcraft folder. Virtualbox is pretty easy to setup so I wont be explaining that in this tutorial, you can find out how to set it up here and then you just have to install windows. If you do need me to explain this please say in the comments and I'll add it in. We're pretty much done now, below is the script I use to run wow, I've only tested this with a Nvidia graphics card so I'm unsure how well it'll run with others. Change the cd path to where your World of Warcraft folder is, If you're on 32bit already remove the two alias lines and you're good to go.
#!/bin/sh alias winecfg="LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib PATH=/compat/i386/usr/local/bin:$PATH /compat/i386/usr/local/bin/winecfg" alias wine="LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib PATH=/compat/i386/usr/local/bin:$PATH /compat/i386/usr/local/bin/wine" cd "/path/to/World\ of\ Warcraft" wine Wow.exe killall wine killall wineserverRunning that script after you've made the necessary changes should run World of Warcraft enjoy. I've tried multiple times trying to get this to work with the i386-wine port and had a lot of issues with fps after I managed to get it running. If you have any problems with tutorial or feel like I missed something, please post in the comments and I'll do my best to help you.