Mount&Blade: Warband > Town Watch - Warband Tech Support
Warband in Linux
CryptoCactus:
As it stands now, Warband appears to be fully functional in Ubuntu (see fixes for major issues below)
Though it may run a little rougher than in its native Windows.
First, see this thread regarding the original M&B in Linux:
http://forums.taleworlds.com/index.php/topic,27679.0.html
Using Ubuntu 9.10 and Wine 1.1.39, it's a simple two-step process to get Warband "working":
1.) (May not be necessary) Acquire and install DirectX 9.0c in Wine, or copy data from the .cab files as described in the link above
2.) Run WB installer executable in Wine, as normal
That's it. Now, the skinny on how it works:
What Works "Out of the box"
(click to show/hide)-Installation
-Single-player campaign (for those who have access to it)
-Battles
-Main map
-All scenes as far as I can tell
What Has Problems
(click to show/hide)Mouse issues, (workaround below!) same as in the original M&B - can only turn view about 180degrees at default sensitivity (see above linked thread for possible hacks/fixes, this thread for discussion and more possible hacks/fixes, or just crank the sensitivity up)
Multiplayer - game can see servers and pull up information, but says "Unable to connect to server" on all servers (edit: see solution below)
Graphics - minor graphical glitches, such as weird border static on the initial splash screen, the occasional strangely-glowing helmet.. for the most part unnoticeable unless you're looking for it
Sound - WB doesn't seem to like ALSA for some reason - you may have to use OSS (most likely) or ESD. (change audio settings in wineconfig)
ALTERNATIVELY: Change use_winmm_audio from 0 to 1 in rgl_config.txt to use ALSA
If anyone else wants to give it a go, I'd appreciate if you'd share your experiences, especially if they differ from mine. Bear in mind that I am, as I said, an amateur linux hobbyist, but I *am* still tinkering with things and whatzits to see if I can't at least partially solve a few of the problems.
EDIT: MOUSE QUICKFIX
Turns out the simplest mouse solution was right there in the first thread I linked (here).
Here it is in a nutshell, all credit goes to Dilettante:
1. Download this file.
2. Copy the file to /usr/lib/wine/ (note: on 64-bit versions, it may be lib32 instead of lib)
(Steps 3-5 are not mandatory; they're more for ease-of-use)
3. Make a new text file, call it warband.sh or similar
4. In the file, write this and save:
--- Code: ---#!/bin/sh
cd /home/[username]/.wine/drive_c/Program\ Files/Mount\&Blade\ Warband/
export WINEFORCEMOUSEWARP=yes; wine ./mb_warband.exe
--- End code ---
Replace [username] with your username, obviously. This is also assuming you've installed everything to default locations - edit as needed.
5. Make the file executable (e.g.: chmod +x warband.sh)
That's it. Running warband.sh will fire up Warband with the mousefix activated. Run it from the console, put it in a menu or on your desktop, whatever you prefer.
Now, this quickfix will occasionally make navigating menus annoying, as any time your mouse touches the edge of your screen it will bounce back to the middle. But combat/movement works perfectly this way.
EDIT: MULTIPLAYER FIX
--- Quote from: Nireco on March 03, 2010, 08:57:41 AM ---For multiplayer you need to change use_secure_connection in rgl_config.txt from 1 to 0. (".wine/drive_c/users/<username>/Application\ Data/Mount\&Blade\ Warband/rgl_config.txt" or use slow way "find ~ -iname rgl_config.txt")
If you hit the issue that it won't manage to load fonts when entering multiplayer, make quick visit to tutorial first.
--- End quote ---
I can confirm that this works!
Happy Warbanding!
N.B.: I will update this topic upon WB's actual release and/or any major breakthroughs/workarounds/fixes, unless I forget/die in a fire/etc
Nireco:
For multiplayer you need to change use_secure_connection in rgl_config.txt from 1 to 0. (".wine/drive_c/users/<username>/Application\ Data/Mount\&Blade\ Warband/rgl_config.txt" or use slow way "find ~ -iname rgl_config.txt")
If you hit the issue that it won't manage to load fonts when entering multiplayer, make quick visit to tutorial first.
CryptoCactus:
Ah, thank you. I'll try that this evening when I get off work.
edit: Yep, works like a charm, thank you. :)
Vornne:
I've been playing warband on linux since 0.580, every version has worked pretty much as well as it seemed to for the windows users.
* The mouse fix is still needed, but I'm pretty sure installing windows DirectX is not necessarily required, as I'm currently only using an override for dinput (the mouse patch). The fix I'm using doesn't need WINEFORCEMOUSEWARP, I just put a patched dinput.dll in ~/.wine/drive_c/windows/system32/, run winecfg and add a library override "dinput (native, builtin). "diff" says my dll is not the same as the linked one, probably I compiled it with the patch myself a while ago (I think it was the shorter one); so people should probably just use your solution or alternatively dig into the issue for themselves starting here.
* The server issue only appeared just after the christmas version for some reason, and I can confirm the fix.
* The sound works fine for me using ALSA, I don't have OSS or ESD installed; though it didn't work at all only with 0.7 and 0.701, and I'm not sure what I did to fix it in the end - it might have been "use_winmm_audio = 1" in rgl_config.txt, worth a try if you have problems.
* I've never seen "border static" or "strangely glowing helmets"; however, in every version at random times any heraldic textures like the ally bubbles and shields can either appear corrupted by stripes, or using some other texture like food or wood ones; sometimes people can get the wrong heraldry which is a bit annoying.The first link seems a bit outdated; if you have wine installed I'd just try run the warband installer with wine and then use the shortcuts it installs to the desktop or menu as they work fine for me, as well as the setup and options screens; the mouse fix is the only thing you really need.
Nireco:
Actions I needed to fresh wine:
* Copy d3dx9_36.dll to system32
* Download hacked dinput.dll.so and create script for it
* Change use_secure_connection from 1 to 0
* Change use_winmm_audio from 0 to 1 (apparently needed when using alsa)
* Make quick visit to tutorial after the game is launched
Didn't know that winmm_audio earlier, thanks Vornne.
Example of the static:
(click to show/hide)
Example of high HDR (I guess this is what was meant with glowing helmets):
(click to show/hide)
Example of broken fonts:
(click to show/hide)
And of course these are just personal experiences. I use gentoo 2.6.31r6 and wine 1.1.38
Navigation
[0] Message Index
[#] Next page
Go to full version