Shazbot / WH3-Mod-Manager

Mod manager for Total War: Warhammer 3, Steam version only
MIT License
107 stars 17 forks source link

Minimal Linux Proton Support #19

Closed TheSHEEEP closed 1 year ago

TheSHEEEP commented 1 year ago

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 commented 1 year ago

This is great, thanks a bunch!

SmookY95 commented 1 year ago

How did you apply the modlist with launch options ?

SmookY95 commented 1 year ago

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

TheSHEEEP commented 1 year ago

How did you apply the modlist with launch options ?

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

SmookY95 commented 1 year ago

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

AdivonSlav commented 11 months ago

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