Hey there folks, I’ve finally got some time to show how to get this amazing village-building, sand-box strategy game, called Banished, working on Linux through wine( windows binary layer).As a quick start bonus I’ll share a screen cap of the game working with my awesome KDE system as canvas.
And just so you know, the game itself works alright, I’ve had only a few crashes. The only remaining issue is that sound is usually garbled, more info on this below.
So lets get to it, I’ll try to write very comprehensive steps, if anything is unclear, do leave a comment below.
Well You’ll need a Linux system with wine installed and the standalone version of Banished( DUH!). I’m doing this on Debian Jessie, which currently have wine 1.6.2.
There are some ways to get Banished I know of: Steam, the Humble store, and of course a pirated download. I recommend through the Humble Bundle store, you get a DRM free download and may activate it on Steam also.
This step is to set up a custom wine prefix, something like a custom windows installation, only for this game, so it won’t conflict with any other windows apps. To do this open a terminal and set some environment variables that wine will use:
export WINEPREFIX /path/to/your/desired/location export WINEARCH=win32
The arch variable is just to make sure wine 32-bit is used, as currently the 64-bit version has a few issues to work out. Next run:
This will create your new wine prefix’s folder, it will be unique to this app, any configuration you do will only affect this prefix.
Here you can setup virtual drives, make sure there’s at least the drive_c and your home folder as a virtual drive( the drive_c is created automatically by wine).
Optionally you can also link the user folders appropriately( documents, music, etc), the documents folder is used to save the game.
Now, this is also an optional step, kind of. Here you’ll install specific DLL libraries needed for the game to run properly however they may not be needed since you’ll install the actual Direct X bundle in the next step, this is yet to be tested. Oh, and you’ll need winetricks installed too.
Go to your terminal and issue the command:
winetricks d3dx9 xact
This is a neat little script that install and configure needed DLL and stuff automatically, well, kind of( again!). It may ask you to download some stuff manually when needed, in that case you download it and move to the indicated folder and run the command again.
Now you will download and install the DirectX 2010 redist… something…something….
You can get it here. This has been referred by the developer, indicating that even windows user had some issue concerning direct audio. The game will run fine without it, but no audio at all.
wine start /path/to/directx_jun2010_redist.exe
Hopefully, it will just install it without issues.
Noticed that until now you didn’t even touch your game files at all? This is to make sure you’ll install in the proper environment with everything it needs.
Now back to your terminal, you’ll install the game with the help of “wine start” combination, this is required if your installer version is a .msi file.
wine start /path/to/BanishedInstaller-1xxx.x32.msi
Remember to use the installer version you currently have, and use 32-bit unless you’ve managed to get wine 64-bit running without issues( this will also required the WINEARCH variable to be win64).The installation will probably go without issues. Now you’ll have a /path/to/wineprefix/drive_c/path/to/Banished folder with the installed game files inside.
Now with the game installed, you’ll need to go to the game folder, find a file named VideoDX11-x32.dll, rename or remove it. The game will try to load Dx11 by default, and without this file it will use Dx9 instead.
Wine does not support Dx11 yet.
You can optionally download the update patch and copy the file to this directory, it may have some fixes. You can download it here, though you should check if there is a newer patch.
Replace only the existing files and don’t accidentally copy a new Dx11 into the folder that the game could use.
Now you should have a working Banished into your Linux machine ready for endless hours of nerdy playing.
When something is installed through wine, usually, it will create its own menu option for the app with already proper prefix variable and stuff.
If you don’t want to use the menu, you can use this command on a terminal the game( or trough a script, or custom menu item):
WINEPREFIX=/path/to/prefix wine /path/to/banished/executable.exe
I recommend trying it out with an ille*$# download( cough cough) before buying the game, just to see if it will work out on your setup.
I also recommend the Humble Bundle store, since they’re awesome and will give you an activation code to get it on Steam, and by the way this, is also the developer’s site buying method.
The dev has shown clear intent on porting the game to Linux and Mac, I think this may be difficult since it’s a DirectX game, but just the shown intent is good enough for me. I’ll gladly wait the Linux version while playing this way.
And a bonus picture of my current game’s village, its beautiful even on low graphics.
As mentioned before, there is the audio issue, it sounds very garbage-ish at the moment, only UI sounds work for me( everything else is muted). There are reports of people with perfect sound, more recent wine version may already have this issue solved. Others say the overrides in winecfg aren’t needed.
My game didn’t start complaining of no compatible display( or something), I think it’s because Xorg doesn’t have any other available resolutions( nvidia driver and xorg issue). I solved this by enabling virtual desktop on winecfg, and choosing a regular 16:9 used resolution, Voilà, the game worked.
You may want to edit your .desktop file or menu to have a proper more direct command.
My current system is:
Debian Jessie( testing) Linux 3.12-1-amd64
KDE 4.11.5 with wine-1.6.2
iMac 2009 21,5 inch with
Intel Core 2 Duo 3,06 Ghz
Geforce 9400 256Mb with nvidia 318.82 driver
- Banished on winehq: page where wine users share experience on how to make apps work
- Banished wiki on how to install on Mac and Linux
- Banished wiki on troubleshooting
- Very explicative forum thread of users trying to work it out on linux
- Developer’s blog on issues and some fixes
- Developer’s blog on the first update patch
There you go, this took me a couple of hours, specially because I didn’t write in this format yet.Hope you liked and this was helpfull.
You can help me out by sharing this, hitting that like button and leaving out a relevant comment.