Mount&Blade in linux

Users who are viewing this thread

I was searching the forum on net and haven't found any fix to the mouse yet :sad: See on official forums it's no better.
I can either get mouse to be stick to the center of the screen or get mouse to get stuck to the screen edges. While first option can be done with modified dinput.dll.so and is working well in battle, but makes game totaly unplayable when you have to do something in menus.

Can someone post something more about this raw mouse input and stuff ?
 
anybody have sound in warband?

and also which locales I need to install to use russian in chat?
now if I switch language from english I type nothing.

 
I have solve the problem with sound
"mmdevapi" should be set to "disabled" under "Libraries" tab in "Wine
configuration"
 
Myxb said:
Replacing the dinput.dll.so does fix the problem with mouse rotating the view around your character. The latest wine 1.1.29 does not fix the problem, so we still have to do it manually.

There is however another problem resultant from this manual fix. If you move the mouse point to an extreme edge of the screen, the pointer jumps to the center of the screen. A bit annoying but does not prevent from playing since all the buttons can be pressed.

I wonder if there is a way to fix this bug also. Anyone?

That's not a bug- it's how the patch works. Normally, there's two different modes for the mouse pointer in wine that can be set in the registry: normal and mouse-warp. Mouse-warp makes the mouse pointer jump ("warp") to the center of the screen every time you move it. This fixes the problem of not being able to turn fully in games, but it makes it impossible to navigate menus in game, and since you can't control M&B's menus with the keyboard, it is not a viable fix for M&B.

What the patch does is that it warps the mouse pointer to the center of the screen only if it hits the edge of the screen. This means that as long as you do not touch the edges, menus are fine and you can turn your character fully. So no, there's no way to fix this "bug"- it's just how the patch works.

Really, I think it's not even a problem. In fact, sometimes my mouse is close to the edge of the screen and I need to get it closer to the middle and I actually take advantage of this behavior and move the mouse to the edge on purpose. That way I have to move my hand half an inch less. Yeah, I'm that lazy. :razz:

I've had the greatest success so far by manually applying the patch to the wine source code and then compiling by hand, rather than use a hacked dinput.dll. Dinput.dll stopped working for me at some point after I upgraded wine, and the patch will continue to work for a long time, as it only modifies a few lines in the patched file. It also means that the mouse-warp behavior can be easily modified via regedit to suit my needs. Currently, both Warband and Mount & Blade run perfectly for me on Lucid with wine-1.1.43-249-g033bb8a
compiled manually.
 
hi everyone,
i've tried to install and run MB following the instructions in Tinan's post:
i have ubuntu 8.10, so i have installed wine 1.0.1 and downloaded M&B955
i have installed it and no problem with that.
- now if i double click on M&B icon the main page of the game appears (the page with "Play M&b", "Configure", and so on)
but if i press "Play" i only get a white and then red screen...

- if i try launching by terminal according to priapus suggestion i get this
Code:
polito@Federico:~$ nice -18 wine EmulazioneWindows/Mount\&Blade/mount\&blade.exe 
fixme:reg:GetNativeSystemInfo (0x9352c56) using GetSystemInfo()                  
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot        
fixme:thread:NtSetInformationThread info class 17 not supported yet              
fixme:imagehlp:CheckSumMappedFile (0xa5f0000, 4370428, 0x93b5ba6, 0x93b5baa): stub
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x93bc352): Stub!        
wine: Unhandled page fault on read access to 0x00000034 at address 0x7bc33f67 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000034 in 32-bit code (0x7bc33f67).                        
Register dump:                                                                                                   
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b                                                                 
 EIP:7bc33f67 ESP:09abda2c EBP:09abda44 EFLAGS:00210202(   - 00      - -RI1)                                     
 EAX:00000020 EBX:7bc8aff4 ECX:006e2048 EDX:0a7631ec                                                             
 ESI:00000020 EDI:09abe04c                                                                                       
Stack dump:                                                                                                      
0x09abda2c:  09abfee4 09abda3c 0054292a 09abe04c                                                                 
0x09abda3c:  00000000 09abe04c 09abda8c 0053d798                                                                 
0x09abda4c:  00000020 0053e7b8 00000000 00000000                                                                 
0x09abda5c:  00000000 09abfee4 006e20a8 09abda54                                                                 
0x09abda6c:  00000000 09abe04c 09abda58 09abd570                                                                 
0x09abda7c:  09abfecc 00542a54 006a4ff0 ffffffff                                                                 
Backtrace:                                                                                                       
=>1 0x7bc33f67 RtlEnterCriticalSection+0x17() in ntdll (0x09abda44)                                              
  2 0x0053d798 in mount&blade (+0x13d798) (0x09abda8c)                                                           
  3 0x004ba493 in mount&blade (+0xba493) (0x00b14900)                                                            
  4 0x00000000 (0x00000000)                                                                                      
0x7bc33f67 RtlEnterCriticalSection+0x17 in ntdll: movl  0x14(%esi),%edx                                          
Modules:                                                                                                         
Module  Address                 Debug info      Name (104 modules)                                               
PE        400000- 96c8000       Export          mount&blade                                                      
PE       9fb0000- a046000       Deferred        fmod                                                             
PE       a050000- a2b7000       Deferred        d3dx9_31                                                         
PE       a300000- a38b000       Deferred        skinmagic                                                        
PE      10000000-10071000       Deferred        newton                                                           
ELF     7b800000-7b93d000       Deferred        kernel32<elf>                                                    
  \-PE  7b820000-7b93d000       \               kernel32                                                         
ELF     7bc00000-7bca7000       Export          ntdll<elf>                                                       
  \-PE  7bc10000-7bca7000       \               ntdll                                                            
ELF     7bd46000-7bdec000       Deferred        oleaut32<elf>                                                    
  \-PE  7bd60000-7bdec000       \               oleaut32                                                         
ELF     7bdec000-7bf00000       Deferred        shell32<elf>                                                     
  \-PE  7be00000-7bf00000       \               shell32                                                          
ELF     7bf00000-7bf04000       Deferred        <wine-loader>                                                    
ELF     7bf10000-7bf1f000       Deferred        libgcc_s.so.1                                                    
ELF     7bf35000-7bf81000       Deferred        dsound<elf>                                                      
  \-PE  7bf40000-7bf81000       \               dsound                                                           
ELF     7bfa5000-7c000000       Deferred        shlwapi<elf>                                                     
  \-PE  7bfb0000-7c000000       \               shlwapi                                                          
ELF     7c00c000-7c024000       Deferred        imagehlp<elf>                                                    
  \-PE  7c010000-7c024000       \               imagehlp                                                         
ELF     7c024000-7c04b000       Deferred        netapi32<elf>                                                    
  \-PE  7c030000-7c04b000       \               netapi32                                                         
ELF     7d50b000-7d543000       Deferred        dinput<elf>                                                      
  \-PE  7d510000-7d543000       \               dinput                                                           
ELF     7d543000-7d55c000       Deferred        dinput8<elf>                                                     
  \-PE  7d550000-7d55c000       \               dinput8                                                          
ELF     7d9e5000-7dafa000       Deferred        wined3d<elf>                                                     
  \-PE  7da00000-7dafa000       \               wined3d                                                          
ELF     7dafa000-7db2b000       Deferred        d3d9<elf>                                                        
  \-PE  7db00000-7db2b000       \               d3d9                                                             
ELF     7db2b000-7db58000       Deferred        ws2_32<elf>                                                      
  \-PE  7db30000-7db58000       \               ws2_32                                                           
ELF     7db58000-7db6c000       Deferred        libresolv.so.2                                                   
ELF     7db6c000-7db8b000       Deferred        iphlpapi<elf>                                                    
  \-PE  7db70000-7db8b000       \               iphlpapi                                                         
ELF     7e38f000-7e3aa000       Deferred        wsock32<elf>                                                     
  \-PE  7e390000-7e3aa000       \               wsock32                                                          
ELF     7e3aa000-7e40d000       Deferred        rpcrt4<elf>                                                      
  \-PE  7e3c0000-7e40d000       \               rpcrt4                                                           
ELF     7e40d000-7e4b3000       Deferred        ole32<elf>                                                       
  \-PE  7e420000-7e4b3000       \               ole32                                                            
ELF     7e4b3000-7e51f000       Deferred        msvcrt<elf>                                                      
  \-PE  7e4c0000-7e51f000       \               msvcrt                                                           
ELF     7e51f000-7e533000       Deferred        shfolder<elf>                                                    
  \-PE  7e520000-7e533000       \               shfolder                                                         
ELF     7e54c000-7e574000       Deferred        msacm32<elf>                                                     
  \-PE  7e550000-7e574000       \               msacm32                                                          
ELF     7e574000-7e58d000       Deferred        msacm32<elf>                                                     
  \-PE  7e580000-7e58d000       \               msacm32                                                          
ELF     7e58d000-7e5dd000       Deferred        libpulse.so.0                                                    
ELF     7e5de000-7e5f3000       Deferred        midimap<elf>                                                     
  \-PE  7e5e0000-7e5f3000       \               midimap                                                          
ELF     7e5f3000-7e5fc000       Deferred        librt.so.1                                                       
ELF     7e5fc000-7e6c4000       Deferred        libasound.so.2                                                   
ELF     7e6c4000-7e6fb000       Deferred        winealsa<elf>                                                    
  \-PE  7e6d0000-7e6fb000       \               winealsa                                                         
ELF     7e6fb000-7e78f000       Deferred        winmm<elf>                                                       
  \-PE  7e710000-7e78f000       \               winmm                                                            
ELF     7e78f000-7e7c2000       Deferred        uxtheme<elf>                                                     
  \-PE  7e7a0000-7e7c2000       \               uxtheme                                                          
ELF     7e7c2000-7e7cb000       Deferred        libxcursor.so.1                                                  
ELF     7e7cb000-7e7d0000       Deferred        libxfixes.so.3                                                   
ELF     7e7d0000-7e7d4000       Deferred        libxcomposite.so.1                                               
ELF     7e7d4000-7e7db000       Deferred        libxrandr.so.2                                                   
ELF     7e7db000-7e7e5000       Deferred        libxrender.so.1                                                  
ELF     7e7e5000-7e7e8000       Deferred        libxinerama.so.1                                                 
ELF     7e7e8000-7e809000       Deferred        imm32<elf>                                                       
  \-PE  7e7f0000-7e809000       \               imm32                                                            
ELF     7e809000-7e822000       Deferred        libxcb.so.1                                                      
ELF     7e822000-7e911000       Deferred        libx11.so.6                                                      
ELF     7e911000-7e920000       Deferred        libxext.so.6                                                     
ELF     7e920000-7e938000       Deferred        libice.so.6                                                      
ELF     7e938000-7e941000       Deferred        libsm.so.6                                                       
ELF     7e94c000-7e950000       Deferred        libcap.so.1                                                      
ELF     7e950000-7e957000       Deferred        libasound_module_pcm_pulse.so                                    
ELF     7e957000-7e9f2000       Deferred        winex11<elf>                                                     
  \-PE  7e970000-7e9f2000       \               winex11                                                          
ELF     7ea72000-7ea99000       Deferred        libexpat.so.1                                                    
ELF     7ea99000-7eac6000       Deferred        libfontconfig.so.1                                               
ELF     7eac6000-7eadc000       Deferred        libz.so.1                                                        
ELF     7eadc000-7eb52000       Deferred        libfreetype.so.6                                                 
ELF     7eb52000-7eb57000       Deferred        libxdmcp.so.6                                                    
ELF     7eb57000-7eb5a000       Deferred        libxcb-xlib.so.0                                                 
ELF     7eb68000-7ebbb000       Deferred        advapi32<elf>                                                    
  \-PE  7eb70000-7ebbb000       \               advapi32                                                         
ELF     7ebbb000-7ec5a000       Deferred        gdi32<elf>                                                       
  \-PE  7ebd0000-7ec5a000       \               gdi32                                                            
ELF     7ec5a000-7eda6000       Deferred        user32<elf>                                                      
  \-PE  7ec70000-7eda6000       \               user32                                                           
ELF     7eda6000-7ee6b000       Deferred        comctl32<elf>                                                    
  \-PE  7edb0000-7ee6b000       \               comctl32                                                         
ELF     7ef8b000-7ef97000       Deferred        libnss_files.so.2                                                
ELF     7ef97000-7efa2000       Deferred        libnss_nis.so.2                                                  
ELF     7efa2000-7efbb000       Deferred        libnsl.so.1                                                      
ELF     7efbb000-7efc4000       Deferred        libnss_compat.so.2                                               
ELF     7efc4000-7efea000       Deferred        libm.so.6                                                        
ELF     7efec000-7eff2000       Deferred        libxxf86vm.so.1                                                  
ELF     b7c71000-b7c75000       Deferred        libdl.so.2                                                       
ELF     b7c75000-b7dd3000       Deferred        libc.so.6                                                        
ELF     b7dd4000-b7ded000       Deferred        libpthread.so.0                                                  
ELF     b7ded000-b7df0000       Deferred        libxau.so.6                                                      
ELF     b7e03000-b7f3a000       Deferred        libwine.so.1                                                     
ELF     b7f3c000-b7f59000       Deferred        ld-linux.so.2                                                    
Threads:                                                                                                         
process  tid      prio (all id:s are in hex)                                                                     
00000008 (D) Z:\home\polito\EmulazioneWindows\Mount&Blade\mount&blade.exe                                        
        00000036    2                                                                                            
        00000035   15                                                                                            
        00000034    0                                                                                            
        00000033   15                                                                                            
        00000032   15                                                                                            
        0000002e    2                                                                                            
        0000002d    2                                                                                            
        0000002c    2                                                                                            
        0000002b    2                                                                                            
        0000002a    2                                                                                            
        00000029    2                                                                                            
        00000028    2                                                                                            
        00000027    2                                                                                            
        00000026    2                                                                                            
        00000025    2                                                                                            
        00000024    2                                                                                            
        00000023    2                                                                                            
        00000022    2                                                                                            
        00000021    2                                                                                            
        00000020    2                                                                                            
        0000001f    2                                                                                            
        0000001e    0                                                                                            
        0000001d    0                                                                                            
        0000001c    0                                                                                            
        0000001b    0                                                                                            
        0000001a    0                                                                                            
        00000019    0                                                                                            
        00000018    0                                                                                            
        00000017    0
        00000009    0 <==
0000000c
        00000014    0
        00000013    0
        00000012    0
        0000000e    0
        0000000d    0
0000000f
        00000016    0
        00000015    0
        00000011    0
        00000010    0
0000002f
        00000030    0
Backtrace:
=>1 0x7bc33f67 RtlEnterCriticalSection+0x17() in ntdll (0x09abda44)
  2 0x0053d798 in mount&blade (+0x13d798) (0x09abda8c)
  3 0x004ba493 in mount&blade (+0xba493) (0x00b14900)
  4 0x00000000 (0x00000000)
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:winmm:MMDRV_Exit Closing while ll-driver open

any suggestion???
thanks
 
so I replaced the dinput.dll for the mouse fix and it works for every edge except the left?

Like, the mouse will bounce back to the centre if I go too far up, down, or right. but too far left and the cursor stops at the edge and I can no longer turn.

Any idea on how to fix this?
 
Fed89 said:
- if i try launching by terminal according to priapus suggestion i get this
Code:
polito@Federico:~$ nice -18 wine EmulazioneWindows/Mount\&Blade/mount\&blade.exe 
fixme:reg:GetNativeSystemInfo (0x9352c56) using GetSystemInfo()                  
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot        
fixme:thread:NtSetInformationThread info class 17 not supported yet              
fixme:imagehlp:CheckSumMappedFile (0xa5f0000, 4370428, 0x93b5ba6, 0x93b5baa): stub
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x93bc352): Stub!        
wine: Unhandled page fault on read access to 0x00000034 at address 0x7bc33f67 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000034 in 32-bit code (0x7bc33f67).                        
Register dump:

Looks like a problem with the Themida protection, you're debugging it!
But the DRM protected games like this one don't allow you to do that, as cracks are done in such a way.

Try the so-called Enhanced Version instead, it comes DRM free (you still have to paste your serial) and is newer:
Code:
http://forums.taleworlds.com/index.php/topic,199418.0.html
 
Swyter said:
Looks like a problem with the Themida protection, you're debugging it!
But the DRM protected games like this one don't allow you to do that, as cracks are done in such a way.

Try the so-called Enhanced Version instead, it comes DRM free (you still have to paste your serial) and is newer:
Code:
http://forums.taleworlds.com/index.php/topic,199418.0.html
Fed89 tries to run .955 (I wonder what for), so the enhanced version obviously is not his choice.
Betas before the certain point uses old themida, that is incompatible with wine.  But IIRC 0.955 is compatible.
I would try to use the last version of wine (wine-1.3.xx or last stable wine-1.2.2).
 
Hi, i am getting a problem with wine. During my game, sometimes it will randomly say "Out of Memory" and then my game crashes.

Any help

THankyou!
 
You need to copy mods files into Modules folder that located in
home/user/.wine/drive_c/Program Files/Mount & Blade/

I should be the same simple as in Windows. And if not, use Windows then.
 
I'm sorry for posting on such an old thread, but I was wondering if this method still worked. I'm trying to switch over to Linux (and don't have enough space on my laptop for a dual-boot) and want to still be able to play my favorite game (Mount & Blade) after doing so.
 
Dodosaur said:
I'm sorry for posting on such an old thread, but I was wondering if this method still worked. I'm trying to switch over to Linux (and don't have enough space on my laptop for a dual-boot) and want to still be able to play my favorite game (Mount & Blade) after doing so.

Wine works more than fine. Probably some of the instructions are a bit outdated depending on the distribution you're using. Generally only a current version of
Code:
wine
plus
Code:
winetricks
for easily downloading and configuring dependencies is required.

You may also attempt to use PlayOnLinux, which is a good wrapper which comes with built-in fixes for a good deal of games.

Here's the compatibility database entry for our beloved game, plus expansion:
Code:
http://appdb.winehq.org/objectManager.php?sClass=application&iId=4829
http://appdb.winehq.org/objectManager.php?sClass=application&iId=11710

Gold or platinum.
 
Pistolao said:
If can be done in linux, please make a android version, please please please.

This is unofficial, and only for vanilla x86 Linux, you'd have to recompile just-in-time to the ARM architecture apart from running an adapted version of Wine, not to talk that a touch screen controlled character would be kind of unplayable and many current phones just can't take it, they aren't powerful enough even for the original 2008-9 game.

Think of it like having to run the game with a custom-made compatibility layer and an emulator at the same time. That's nuts.
 
Swyter said:
Dodosaur said:
I'm sorry for posting on such an old thread, but I was wondering if this method still worked. I'm trying to switch over to Linux (and don't have enough space on my laptop for a dual-boot) and want to still be able to play my favorite game (Mount & Blade) after doing so.

Wine works more than fine. Probably some of the instructions are a bit outdated depending on the distribution you're using. Generally only a current version of
Code:
wine
plus
Code:
winetricks
for easily downloading and configuring dependencies is required.

You may also attempt to use PlayOnLinux, which is a good wrapper which comes with built-in fixes for a good deal of games.

Here's the compatibility database entry for our beloved game, plus expansion:
Code:
http://appdb.winehq.org/objectManager.php?sClass=application&iId=4829
http://appdb.winehq.org/objectManager.php?sClass=application&iId=11710

Gold or platinum.
The thing is that in winehq it says that Mount & Blade: Warband 1.153 can't run. That's why I came to this thread to ask; no one mentioned the DirectX fix on winehq, which is mentioned in this thread, so I came here to wonder if it worked.
 
Dodosaur said:
Swyter said:
Here's the compatibility database entry for our beloved game, plus expansion:
Code:
http://appdb.winehq.org/objectManager.php?sClass=application&iId=4829
http://appdb.winehq.org/objectManager.php?sClass=application&iId=11710

Gold or platinum.
The thing is that in winehq it says that Mount & Blade: Warband 1.153 can't run. That's why I came to this thread to ask; no one mentioned the DirectX fix on winehq, which is mentioned in this thread, so I came here to wonder if it worked.

Should be running okay with vanilla Wine... and if you use the native libraries even better.
Normally the scores are few and unreliable, as there are lots of possible combinations.

Here's a more current FAQ/guide with solutions, specific for Warband:
Code:
http://forums.taleworlds.com/index.php/topic,99405.0.html
 
Back
Top Bottom