Mount & Blade: Warband

Mount & Blade: Warband

The Last Days of the Third Age
 This topic has been pinned, so it's probably important
Swyter  [developer] 2 Jul, 2023 @ 11:24am
Optional native Linux game version improvements
Because the native Linux version of Warband has some visual and functional problems compared to its Windows counterpart, here are some optional quick patches to make it look and work better. Just ensure that the game is closed, then copy the whole thing from below as-is, paste it in a Terminal window and then press the Enter key to run it.

# swy: enable trilinear texture filtering; fix the ugly mipmap # transitions appearing as hard lines when zooming in: # rglGraphics_context::set_sampler_state() at 0x081806d0: # 08180910 c7 44 24 08 01 27 00 00 MOV dword ptr [ESP + local_24],0x2701 # GL_LINEAR_MIPMAP_NEAREST (0x2701) -> GL_LINEAR_MIPMAP_LINEAR (0x2703) # 08180920 c7 44 24 08 01 27 00 00 MOV dword ptr [ESP + local_24],0x2701 # GL_LINEAR_MIPMAP_NEAREST (0x2701) -> GL_LINEAR_MIPMAP_LINEAR (0x2703) sed -i -e 's|\xC7\x44\x24\x08\x01\x27\x00\x00|\xC7\x44\x24\x08\x03\x27\x00\x00|g' ~/.steam/steam/steamapps/common/MountBlade\ Warband/mb_warband_linux

These should apply the next time you start the game. They work with any mod.
Last edited by Swyter; 2 Jul, 2023 @ 11:32am