Author Topic: Mount&Blade in linux  (Read 35126 times)

0 Members and 1 Guest are viewing this topic.

diavel

  • Grandmaster Knight
  • *
  • ♘&⚔
    • View Profile
    • Weird Animated Adventures of Hank the Sad Introvert
  • Faction: Neutral
  • WBWF&S
Re: Mount&Blade in linux
« Reply #75 on: September 03, 2009, 06:18:17 PM »
Hey, I was wrong. This IS the good solution - works perfectly. But you have to replace your dinput.dll.so file with:
http://bugs2.winehq.org/attachment.cgi?id=15550

they say dinput.dll.so file is located in /usr/lib/wine, in my case it was actually - /usr/lib32/wine (but it wasn't deadly hard to find :lol:)



Did anyone else noticed that some scenes look different in linux and windows? Can siege tower in quick battle - siege defense rich castle wall?


Is the 360 angle problem still there now? Thinking of installing M&B on arch today. Just have to play a little first, too addicted :)

Code: [Select]
#!/bin/sh
cd M&B's folder (you have to set it manually, just browse to where the game is installed and copy the location and paste over here)
export WINEFORCEMOUSEWARP=yes; wine ./"mount&blade.exe"
Save this as a text file and give it the file ending .sh and make it possible to execute it, then its a icon on your desktop for just running the game <3

For me, i just execute it from direct from the commandline with Openbox:
Code: [Select]
xterm -e "cd '~/.wine/winedir/C/Spill/Mount&Blade' && export  WINEFORCEMOUSEWARP=yes; wine ./'mount&blade.exe'"
This would make combat possible, but navigating the menus a little painfull(i got used to it).
« Last Edit: September 04, 2009, 03:36:37 PM by diavel »

Myxb

  • Recruit
  • *
    • View Profile
  • Faction: Vaegir
Re: Mount&Blade in linux
« Reply #76 on: September 04, 2009, 09:01:38 AM »
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?

Dread Lord

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Mount&Blade in linux
« Reply #77 on: December 24, 2009, 05:43:35 PM »
4. Copy from DirectX.cab files cp *.dll to /home/use/.wine/drive_c/windows/system32 if program will overwrite files set NO

So uh... What files am I supposed to move? I don't see any cp *.dll and I don't know what that's supposed to mean.

Cotin

  • Master Knight
  • *
  • Qu'il y a-t-il de plus comique que la réalité ?
    • View Profile
    • VF Mount&Blade
  • Faction: Rhodok
  • MP nick: Ellear
  • M&BWB
Re: Mount&Blade in linux
« Reply #78 on: December 31, 2009, 04:53:45 PM »
Hi all.

I recently installed Linux (Ubuntu 9.10), so I'm still a newbie...
I tried the method of this topic but when I run M&B, main menu does not appear.
Setup works well, laucher works well, even music works well but not main menu. I've just a black screen with the (so great) musical theme.

Has anyone a idea ?

Thanks ;)
Le Soleil et la Lune transforment le Jour...mais qu'est-ce qui transforme l'Esprit ? L'Absurde, pardi !

Come, ACTA, come and try...

jfac666

  • Veteran
  • *
    • View Profile
  • Faction: Neutral
  • WB
Re: Mount&Blade in linux
« Reply #79 on: January 10, 2010, 10:57:11 PM »
can anyone tell me how to find out which distributor my mac os x software is (for downloading wine/ compatible files)?

exoriou

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Mount&Blade in linux
« Reply #80 on: February 18, 2010, 04:33:40 PM »
I was searching the forum on net and haven't found any fix to the mouse yet :( 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 ?

miner249er

  • Recruit
  • *
    • View Profile
  • Faction: Nord
Re: Mount&Blade in linux
« Reply #81 on: April 03, 2010, 02:36:47 AM »
I just installed wine but I don't know how to install mount blade far it?

ilyamaltian

  • Recruit
  • *
    • View Profile
  • Faction: Khergit
  • WB
Re: Mount&Blade in linux
« Reply #82 on: April 04, 2010, 10:45:02 AM »
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.


ilyamaltian

  • Recruit
  • *
    • View Profile
  • Faction: Khergit
  • WB
Re: Mount&Blade in linux
« Reply #83 on: April 04, 2010, 11:23:30 AM »
I have solve the problem with sound
"mmdevapi" should be set to "disabled" under "Libraries" tab in "Wine
configuration"

Ash nazg durbatuluk

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Mount&Blade in linux
« Reply #84 on: May 05, 2010, 04:07:09 PM »
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. :P

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.
« Last Edit: May 05, 2010, 04:11:25 PM by Ash nazg durbatuluk »

Ptizian

  • Recruit
  • *
    • View Profile
  • Faction: Nord
Re: Mount&Blade in linux
« Reply #85 on: June 18, 2010, 10:03:10 PM »
 :mrgreen: а вы играли в Mount Blade Russ 13 Centuri&
(click to show/hide)

Fed89

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Mount&Blade in linux
« Reply #86 on: August 28, 2010, 10:39:41 PM »
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: [Select]
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

Abraxis

  • Recruit
  • *
    • View Profile
  • Faction: Vaegir
Re: Mount&Blade in linux
« Reply #87 on: November 18, 2010, 08:52:29 AM »
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?

Swyter

  • Master Knight
  • *
  • »Star Wars Conquest Dev Team Leader
    • View Profile
    • [my tiny homepage]
  • Faction: Swadian
  • MP nick: Sareth | Swyter
  • M&BWBWF&S
Re: Mount&Blade in linux
« Reply #88 on: October 18, 2011, 08:31:39 PM »
- if i try launching by terminal according to priapus suggestion i get this
Code: [Select]
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:
http://forums.taleworlds.com/index.php/topic,199418.0.html

Rongar

  • Master Knight
  • *
  • Cave canem
    • View Profile
  • Faction: Sarranid
  • M&BWB
Re: Mount&Blade in linux
« Reply #89 on: October 19, 2011, 11:04:12 AM »
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:
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).


Factionize items tool
I hear and I forget.
I see and I remember.
I do and I understand...
 that would better if I heard.