Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] working properties for rider in linux os (Ubuntu 23.04) #157

Open
markaltmaier opened this issue May 29, 2023 · 2 comments
Open

Comments

@markaltmaier
Copy link

executable won't run because it doesn't use proton to run Bannerlord.exe, and setting it manually doesn't work

@Aragas
Copy link
Member

Aragas commented May 29, 2023

This might a bit out of the scope. I haven't tested debugging via Proton. I do suggest something like ProtonTricks might help with making the exe run with the proper Proton prefix.

@Aragas
Copy link
Member

Aragas commented Feb 16, 2025

We tried to test executing with Proton a few month ago. It's not possible, from what we're discovered.
You can run the game from Wine\Proton, but Rider is not able to attach to the game process because it tries to attach to the wine/proton process

Here's an example of how to run the game

// launchProperties.json
    "Proton Bannerlord": {
      "commandName": "Executable",
      "executablePath": "%BANNERLORD_PROTON_PATH%",
      "commandLineArgs": "run Bannerlord.exe /singleplayer _MODULES_*$(ModuleId)*Native*SandBoxCore*CustomBattle*Sandbox*StoryMode*_MODULES_",
      "workingDirectory": "$(GameFolder)bin/Win64_Shipping_Client",
      "environmentVariables": {
        "STEAM_COMPAT_DATA_PATH": "%BANNERLORD_STEAM_COMPAT_DATA_PATH%",
        "STEAM_COMPAT_CLIENT_INSTALL_PATH": "%BANNERLORD_STEAM_COMPAT_CLIENT_INSTALL_PATH%"
      }
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants