After reading
http://www.bay12forums.com/smf/index.php?topic=133995.msg4816834#msg4816834 I decided that I would write a text guide that allows other users to follow along to get a wine version working (for linux).
Here goes.
To start you need to download wine through your distribution's package system. On linux mint you can just run the following command,
sudo apt-get install wine.
Next you will want to install winetricks in order to get a working version of the 4.0 .net framework.
sudo apt-get install winetrickswill do the trick.
If you have already installed wine and used the directory this will cause you to lose all of your work. if you haven't and you have 64 bit wine installed then feel free to do the following that is contained in this spoiler.
After that, if you have a 64 bit version of wine, you will need to delete your .wine folder.
rm -r ~/.wine
will do it, but you might need to throw a sudo in front. Alternatively you can navigate to your home folder, then reveal hidden folders(ctrl+h in linux mint) and delete the .wine folder.
Then run the following command to make a wine folder that will allow you to properly install the framework.
WINEARCH=win32 WINEPREFIX=~/.wine winecfg
If you have a 64 bit version of wine installed, and you have used it before then I suggest reading yahweh's reply for a workaround.
That sounds like it could potentially offer a lot of "FUN" to anyone who likes to copy-paste stuff and doesn't know much about wine/bash :3 "Hey, where'd all my windows stuff go?"
I'd recommend using a different wineprefix instead of just deleting everything that the user ever did in wine! You can put a script with the env variables on the Desktop or somewhere and most DE's /WM's will allow you to "right-click/ execute in terminal" it in a way that makes the terminal stay open & usable after the script runs.
Example:
sudo apt-get install wine winetricks
WINEARCH=win32 WINEPREFIX=~/.wine32_DF winetricks dotnet40 corefonts
echo "export WINEARCH=win32 && export WINEPREFIX=~/.wine32_DF && cd ~/.wine32_DF" > ~/Desktop/DFTerminal.sh && chmod +x ~/Desktop/DFTerminal.sh
If what yahweh said is unclear you just need to run the following command.
WINEARCH=win32 WINEPREFIX=~/.wine32_DF winetricks dotnet40 corefontsBasically yahweh is saying that you should make wine create a new directory for dwarf fortress, so that everything you have used wine for before will not be lost. To launch into the directory instead of the 64 bit one you will need to type some text into a terminal. He is working on making a shortcut that could do this, but until then just type the following command into the terminal to launch dwarf fortress and the settings.exe.
To launch the settings for masterwork you will need to do the following. If you are not familiar with file structures I recommend you just make a new folder on your desktop named "Masterwork". Then unzip your masterwork into that folder and you will be able to launch it with the below command.
env WINEPREFIX="/home/(replace with your username)/.wine32_DF" WINEARCH=win32 wine /home/(replace with username)/Desktop/Masterwork/Masterwork\ Dwarf\ Fortress.exeOtherwise just replace the part after "WINEARCH=32 wine" with the location of your masterwork settings.
Finally, you can play Dwarf Fortresss by lauching it with a similar command to the one you luanch the settings with. If you aren't familar with directories and you saved it on the desktop as I mentioned above the command will be as follows.
env WINEPREFIX="/home/(replace with your username)/.wine32_DF" WINEARCH=win32 wine /home/(replace with username)/Desktop/Masterwork/Dwarf\ Fortress/Dwarf\ Fortress.exeIf you used a different directory then you just need to change the part after "WINEARCH=32 wine" with the location of your Dwarf Fortress.exe
After that, install the dotnet framework through winetricks with the following command.
bash winetricks dotnet40 corefontsIf your Dwarf Therapist isn't working you can try downloading this version and overwriting the packaged one with this. Haven't tried to launch it through the settings application, but you can find it in the following directory.
MasterworkDwarfFortress -> Utilities -> Dwarf Therapist
http://www.bay12forums.com/smf/index.php?topic=122968.0I have only able to configure the settings once, and that was on the first launch, so make sure you set them up properly before closing it the first time. A work around for this is to delete the current one you have, after backing stuff up if necessary, and do a fresh unzipping. That should be all that you need to do to get a, mostly, working MWDF. I am unable to launch it through the settings program, but it is simple to navigate to the Dwarf Fortress folder and run Dwarf Fortress.exe.
Note that this is not an optimal solution, and not all of the settings will work, nor the bundled plugins, but you will have a, mostly, working MWDF, which, to me, is all that really matters.
Sources:
Setting up the proper prefix for 64 bit systems
http://askubuntu.com/questions/177192/how-do-i-create-a-32-bit-wine-prefixInstalling dotnet framework
http://appdb.winehq.org/objectManager.php?sClass=version&iId=17886Original post which this is based upon, by Urist McTeellox
http://www.bay12forums.com/smf/index.php?topic=133995.msg4816834#msg4816834