Fantasy Grounds in Ubuntu/Linux/WINE
Update: I have updated these instructions for April 2017. They now reflect Ubuntu 16.04.2 LTS and WINE 2.6.
It has been a pleasure to use Fantasy Grounds on a Mac in WINE using Winebottler and Wineskin Winery, and my Mac players are most appreciative of the pre-wrapped version that downloads from Steam. Zeus (DrZeuss) has done an excellent job supporting and documenting that environment. I hope Smiteworks is paying him well for all of the hard work he's put in over the years, I really do.
I am using Ubuntu and will instruct on how to get FG running in a vanilla Ubuntu Desktop install, using the built-in Software Center and without using any extra software repos. My goal is to create instructions that do not require a user to open a terminal window *gasp. Scroll down for additional instructions for those that prefer to work in the terminal.
Update Ubuntu
- Run the prescribed updates in Software Updater
- Reboot
Fantasy Grounds Installer Download
- open Firefox on the Ubuntu system and go to fantasygrounds.com/downloads/
- Download the Demo version of Fantasy Grounds (the Linux link just takes you to this forum post!)
- save the FG installer to a local folder, anywhere, Downloads is good
- close Firefox
Install PlayOnLinux
- open Software Center
- search for and install playonlinux
Open PlayOnLinux
- Tools > Manage WINE versions
-- PlayonLinux First Use, just click Next
-- Install 2.6 by highlighting it and clicking the arrow
-- Click Next on the Wine 2.6 installer and wait for it to complete
-- Close wine version manager
- Install a non-listed program
-- Click Install > Install a non-listed program
-- Manual Installation starts
-- Install a program in a new virtual drive
-- name it FantasyGrounds
-- Do NOT select "use another version of wine", "configure wine", or "install some libraries"
-- Choose 32 bits windows installation
-- Wait while a virtual drive (prefix) is created.
-- Select the install file to run, Browse to FGWebInstall.exe, Next
-- Install Fantasy Grounds
--- FG Installer will run
--- Agree to terms
--- make sure Cross-Platform compatibility is checked and hit OK
--- FG Updater runs, downloads everything, installs, then attempts to run FG
--- ERRORS COULD POP UP
----- CHECKDEVICETYPE FAILED! ERROR CODE 16
----- COULD NOT INITIALIZE GRAPHICS SYSTEM!
----- ignore these, just hit OK
--- If Fantasy Grounds launches as normal, simply click OK in the Settings window
--- You should see the Fantasy Grounds start screen. If you do, choose Load Demo Campaign to test performance and for draw issues. Roll some dice. Open some FG windows. Close the window.
--- You will return to the Manual Installation wizard
--- Choose a shortcut: FantasyGrounds.exe
--- Name your shortcut, just keep default is fine, click Next
--- Choose I don't want to make another shortcut, click Next
- (OPTIONAL IF YOU HAD ERRORS OR SCREEN ISSUES UPON LAUNCH) Configure Fantasy Grounds in PlayonLinux
-- Go to the list of applications in PlayOnLinux
-- Highlight FantasyGrounds2
-- Click Configure and Display tab
--- offscreen rendering mode > backbuffer
--- render target mode lock > readdraw
-- Close all windows
Run FG from the desktop shortcut, and license it from within.
ENJOY!
Alternate method posted by Galach
-------------------------------------------------
1.Installing WineHQ
The first step is to install the newest version of Wine. Since Ubuntu did not update its repositories, the stable 2.0 version is not available to an easy install and this is why we will work right now with the development version. To do things right, we just need to follow some steps, describer below, all of them using the Terminal Console:
a. Adding Multiarch Compatibility (Mandatory for x64 users)
Ubuntu don’t have a good native support for multiarch (i.e. running 32 and 64 bits applications alongside each other), and installing the 32-bit libraries is mandatory to run 32-bit applications on Wine:
Code:
$ sudo dpkg --add-architecture i386
b. Adding Wine Repositories to your system
This step will configure your system to look into Wine repositories instead of Ubuntu repositories for the installation files. For some reason, even adding the Wine repository, the system cannot find the wine-stable packet, only the wine-devel and wine-staging (development and bleeding-edge packets, respectively).
Code:
$ sudo add-apt-repository ppa:wine/wine-builds
Code:
$ sudo apt-get update
c. Installing Wine
This step will install Wine and Winetricks, a too, used to manage more easily some aspects of Wine:
Code:
$ sudo apt-get install winehq-devel winetricks
-------------------------------------------------
2. Configuring Wine
Here, we will be configuring Wine so we can install Fantasy Grounds. Since Wine will always install things in the same default folder, and installing different softwares in the same place can mess things, it is a good practice to create different folders (also knows as bottles or prefixes) for each different software we are installing.
The first step is to create a subfolder inside your home folder were wine prefixes will be stored. For example, mine is .wine-prefixes (the “dot” as first character in the folder name will make it a hidden folder – if you do not want it to be hidden, create your folder without it).
Inside this folder, each Wine prefix will be stored in a subfolder, created as part of the process of setting up that prefix. Since Fantasy Grounds is a 32-bit application, we will create a 32-bit prefix, using the following command:
Code:
$ WINEPREFIX="$HOME/.wine-prefixes/Fantasy-Grounds” WINEARCH=win32 wine wineboot
The first time you do that in your machine, some new windows will pop-up asking to install mono and a bunch of other things required to Wine work properly. Accept them all and wait a bit until they are installed.
After that, we will make sure the system will configure the right Wine prefix by using the following command:
Code:
$ export WINEPREFIX="$HOME/.wine-prefixes/Fantasy-Grounds”
Then, we will configure Wine to be seen by the application as if it was a windows 10 machine:
Another window will pop-up. There you will change the Windows 7 under “Windows Version” to Windows 10, hit apply and then ok. Next step is install the Microsoft Core Fonts, to be sure everything will be displayed correctly in your Fantasy Grounds:
Another window will be displayed, with the option “select default wine-prefix” already selected. Leave it that way and hit OK. Select the option “install a font”, hit OK , select the option “corefonts” and “tahoma” and then OK again. Wait the download and installation process finish , and close winetricks window.
-------------------------------------------------
3. Installing Fantasy Grounds
Download the FG web installer from Fantasy Grounds page. Inside the console, go to the folder were you saved the file (I will be assuming it is in the Downloads folder):
And then, use Wine to install it:
Code:
$ wine FGWebInstall.exe
The install window of Fantasy Grounds will pop-up. In this window, you will need to:
- Fill your license key in the corresponding field;
- Check the “Cross-platform compatibility mode for Linux and Mac” selection box; (experiment with this setting - using it will consume more CPU and may not be necessary on your install)
- Enter your Fantasy Grounds account username and password.
For purposes of easier backup process, I also recommend you change the default folders path to a shorter one. Mine are like this:
App Directory: C:\Fantasy Grounds\App
Data Directory: C:\Fantasy Grounds\Data
Hit OK and wait until it finishes downloading everything. Here, everything worked just fine; except for a minor glitch on library selection – when rolling up and down through the window, the module icons look like they are “going out/off” the window.
-------------------------------------------------
A final comment
Just remember that purchases made through Steam will not be downloaded, even if you install the Windows version of Stem in the same prefix as Fantasy Grounds. FG relies on the Steam background service to work with it, but this service do not run in a Wine install.
If you have purchased modules on Steam, take some screenshots of your Steam Library as well as from your order confirmations and send it to the support email address of Fantasy Grounds, asking to add those products to your account.