Mount and blade bannerlord linux

Tercus / Bannerlord.md

Disclaimer and Thank-yous

This guide is pieced together with information collected in this very long github issue. There is no guarantee for this to make Bannerlord work on your particular system, because one thing the github issue showed was that hardware and software configurations can have a large effect on the stability of the game. You should also be prepared for crashes, even when the game seems to be running fine. Make sure to save frequently.

This guide was made possible by all the people in the github issue that tested things out and reported back. I would also like to thank VictorRogers, YellowApple, Metal079, allquixotic, lboklin, ptkato for their great suggestions and corrections and all the others in helping getting Bannerlord to work!

  1. There may be long saving times (up to a minute)
  2. There may be performance issues and micro-stuttering
  3. There may be frequent crashes

The following topics are currently being discussed as alternative solutions to get the game running:

  • using a kernel that has fsync enabled improves the time it takes to save games (no vcrun2019, .NET-core needed)
  • skipping the launcher improves performance (either by symlinking or by setting launch options)

Getting everything you need

Please be aware, that using third party ppa’s or binaries always has an inherent risk! Don’t just download any file you find, but take the time to make sure that it is from a reputable source. I tried to only include options here that are well known and used by many.

Shortly after release it was reported that mouse-input wasn’t working. The cause was identified within days and a fix was provided. That fix found its way into wine-staging, but will take a long time until it will be part of the normal wine release. Proton is based on wine and until that fix will be included in proton will take some time. There are however third-party proton builds that include the latest wine-staging changes.

  • download the release from here.
    • there’s an «Assets» button at the end of each release post
  • extract the content of the .tar.gz file in /home/ /.steam/compatibilitytools.d/
    • if that folder does not exist, create it
    • you should now have a subfolder in that folder named Proton-5.5-GE-1
  • restart steam if it is already running
  • right-click on Bannerlord and go to «Properties»
    • in the «General» tab at the bottom tick the option «Force the use of a specific Steam Play compatability tool»
    • you should be able to select the option «Proton-5.5-GE-1»
  • if you don’t see the option in the properties, try moving the «Proton-5.5-GE-1» folder into the following location:

/.local/share/Steam/compatibilitytools.d (create the folders if they don’t exist) as was recommended here

  • restart steam and check if the option exists now

winetricks with vcrun2019

Читайте также:  Как установить драйвер для принтера эпсон л3151

winetricks allows you to configure the prefix (the fake windows environment) your game is running in more easily. It also handles the installation of a lot of system software that would normally fail if installed manually. While you might find a version of winetricks in your OS repository, we will need one that can install «vcrun2019», so it needs to be fairly new.

  • winetricks is just a binary file that you need to download and make executable. I compiled the instructions from this and this source:
    • if you want to install it for the current user:
    • if you want to install it systemwide:
  • you will have to re-login to see the command in the console

Protontricks is a wrapper for winetricks. It makes it simpler to use and offers some quality of life features. In winetricks you have to define which prefix you want to use, what wineserver to use and which wine binary to run and so on. Protontricks figures all that out by the game-id it is given.

  • sadly there seems to be no other «easy» way to get protontricks other than using the pipx installation method
  • installation instructions can be found here
  • according to this post, Arch users may have another alternative by using pacman install protontricks-git
    • as has been pointed out to me, user on Arch distributions also have the following option:

After a lot of testing it was discovered that installing «.NET core» speeds up the save time immensely. The actual reason for this is not really clear. If it takes too long for you to save, you can try installing this.

  • on the official forums they recommend using the version 2.1.17 of .NET core
  • the latest version from Microsoft seems to be version 3.1.3
  • I downloaded and installed both (first the 2.1.17 then 3.1.3), though it is quite possible that 2.1.17 is enough

Getting Bannerlord to work (maybe)

  • go to /home/ /.steam/steam/steamapps/compatdata/ and rename the folder «261550» to something like «Backup_261550»
    • copying is not enough, as you actually want start with the initialisation of a completely fresh wine-prefix
    • copying the folder will backup your savegames, your settings and your whole wine-prefix in case you want to retrieve or test things later on
  • run the game once
    • this is to let steam install some dependencies
    • starting a new campaign is not necessary
  • exit the game
  • open a console and run protontricks 261550 dotnet472
    • it will run through several installations of older versions of dotnet
    • when the installer asks, choose to «Restart now» (won’t actually restart your PC)
  • in the console run protontricks 261550 vcrun2019
    • I am not a hundred percent sure if this is needed, but I did it and my setup seems to work fine
  • in the console run protontricks 261550 —gui
    • select «Select the default wineprefix»
      • check in the window title if the correct prefix is selected, it should be /home/ /.steam/steam/steamapps/compatdata/261550/pfx
    • select «Run explorer»
    • open the «/» device and go to where you downloaded the .NET-core file and double-click it to let it install
      • as I had two «.NET core» files, I installed both this way
    • close the explorer when the installation has finished
  • select «Run winecfg»
    • in the «Applications» tab at the bottom set «Windows version» to Windows 10
    • I am not a hundred percent sure if this is needed. I have it at Windows 7 and everything seems to work fine
  • close winecfg with the «OK» button and leave the protontricks gui by pressing «Cancel» until it closes
  • start Bannerlord through steam
  • start a new campaign
    • you have no other choice, because your old savegames are only in the backup
    • you can try to recover your old savegames, but only if you made them with the same game-version as the one you are using now
      • I haven’t tested this yet, so. report back if it works.

If things still don’t work, there are a few things that were mentioned in the very long github issue that you can try to do.

Читайте также:  Clamav freebsd что такое

You are running an AMD GPU and the game doesn’t work

  • you can try updating to the latest MESA drivers
    • a good option for this is the oibaf ppa
  • installation procedures for NixOS are different, so installing winetricks is a bit more complicated. I don’t use it, but there is a step by step guide here (you will have to unhide the post)
    • there is also a script «for documentation and easy toggling between various steps and methods to create prefixes»
  • this might be because of a stuck wineserver process. Check the taskmanager of your OS and kill it if necessary.
  • proton assumes a set of debug settings, but you can change that. See this post for explanation

Источник

Bannerlord & Linux Discussion

Users who are viewing this thread

Yarvin

Recruit

sylvecorne

Recruit

I’ve never used protontricks, so I’m probably missing something obvious.

I’ve :

  • quit steam
  • installed ge’s proton build
  • restarted steam
  • protontricks 261550 annihilate
  • protontricks 261550 vcrun2019 ( at this point it tells me it doesn’t know steam app 261550)
  • realize I didn’t launch the game before I ran annihilate.
  • launch the game (made sure it’s configured to the latest installed proton)
  • steam installs stuff
  • (at this point, not sure if I should resume at annihilate or vcrun2019)
  • protontricks 261550 vcrun2019 =>Unknown arg vcrun2019

From the beginning it complains that «You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.»

I’m not sure what to do now.

Bridge_Troll

Veteran

perrypus

Regular

I’ve never used protontricks, so I’m probably missing something obvious.

Читайте также:  Ssh туннель по ключу

I’ve :

  • quit steam
  • installed ge’s proton build
  • restarted steam
  • protontricks 261550 annihilate
  • protontricks 261550 vcrun2019 ( at this point it tells me it doesn’t know steam app 261550)
  • realize I didn’t launch the game before I ran annihilate.
  • launch the game (made sure it’s configured to the latest installed proton)
  • steam installs stuff
  • (at this point, not sure if I should resume at annihilate or vcrun2019)
  • protontricks 261550 vcrun2019 =>Unknown arg vcrun2019

From the beginning it complains that «You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.»

I’m not sure what to do now.

Aliervo

Recruit

YellowApple

Recruit

  • realize I didn’t launch the game before I ran annihilate.
  • launch the game (made sure it’s configured to the latest installed proton)
  • steam installs stuff
  • (at this point, not sure if I should resume at annihilate or vcrun2019)

/.steam/steam/steamapps/compatdata/261550″, or run «protontricks 261550 annihilate»), then rerun the game once, then do the protontricks commands (except «annihilate»).

  • protontricks 261550 vcrun2019 =>Unknown arg vcrun2019

From the beginning it complains that «You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.»

I’m not sure what to do now.

YellowSolEk

Recruit

Denebula

Recruit

> They honestly need to make a native Linux port as they did with Warband.

Usually when you need a favor from someone you ask nicely for it. Anyways, I believe they’ve hinted at other platforms getting support post-release.

norman_rogerson

Recruit

For once I actually don’t agree with someone asking for a native release. Valve has made it clear they are on board with some form of Linux support in the form of Proton and SteamOS(if it ever gets updated). Proton is intended to lower the barrier to entry for modest Linux support, as it leans heavily on the community. What I think really needs to happen is Valve, or more accurately the community, finds fixes and upstreams them into WINE. Then, Valve can publish a compatibility map for devs to build Windows versions of games that play nicely with Proton.

The corollary to all of that, though, is properly recording metrics for devs/publishers to help them make good business decisions that hopefully support Linux native releases. It also means we as a community need to spend money; money is the only reason a publisher will release a native version.

Источник

Поделиться с друзьями
КомпСовет
Adblock
detector