Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.