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

Minimal Linux Proton Support #19

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Minimal Linux Proton Support #19

merged 1 commit into from
Oct 24, 2022

Conversation

TheSHEEEP
Copy link
Contributor

@TheSHEEEP TheSHEEEP commented Oct 23, 2022

Currently finds the game on Linux and creates working my_mods.txt for Proton use

Starting/continuing/etc. the game won't work since no Proton (or wine) is being called.
But the my_mods.txt is created and can then be applied via Steam launch options for WH3.
Useful for when the normal WH3 launcher refuses to work.

NOT suitable for use with the native Linux version - although making it so would likely only need smaller modification in addition to the ones in this PR.

I have not tested these changes on Windows (since I don't run Windows on this PC), so please do so before accepting the PR.

I only replaced use of the Windows \-paths with the cross-platform compatible path.join() and added "Z:" to the paths in the my_mods.txt if the mod manager is running on Linux (needed for Proton).
Also not using the Registry on Linux of course, instead assuming standard Steam install path.
Should work just fine on Windows still, but better safe than sorry.

@Shazbot Shazbot merged commit 1bdd736 into Shazbot:master Oct 24, 2022
@Shazbot
Copy link
Owner

Shazbot commented Oct 24, 2022

This is great, thanks a bunch!

@SmookY95
Copy link

SmookY95 commented Dec 4, 2022

How did you apply the modlist with launch options ?

@SmookY95
Copy link

SmookY95 commented Dec 4, 2022

Btw warhammer3.sh can be executed with the Bash warhammer3.sh command.

@TheSHEEEP
Copy link
Contributor Author

How did you apply the modlist with launch options ?

As simple as "%command% my_mods.txt" in Steam.

@SmookY95
Copy link

SmookY95 commented Dec 4, 2022

can't get it to work, i will try with a fresh proton install instead of nativ linux.

@AdivonSlav
Copy link

Anybody got this to work? No mods appear for me when launching through Proton, even though they're downloaded and sitting in the content folder of Steam Workshop for the game

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

Successfully merging this pull request may close these issues.

4 participants