Skip to content

Enable protontricks python package on Steam Deck by downloading winetricks before#929

Open
gmvi wants to merge 3 commits into
Furglitch:rewritefrom
gmvi:fix-deck-install
Open

Enable protontricks python package on Steam Deck by downloading winetricks before#929
gmvi wants to merge 3 commits into
Furglitch:rewritefrom
gmvi:fix-deck-install

Conversation

@gmvi
Copy link
Copy Markdown

@gmvi gmvi commented Mar 17, 2026

On my system python protontricks can't find winetricks automatically when installed by uv. Providing it via $WINETRICKS solves the problem without really groking what's going on. So it feels like hotfix quality right now, maybe let's not rush to merge this.

For a temporary workaround the current rewrite branch can be enabled on Steam Deck by downloading a copy of winetricks and pointing $WINETRICKS to it. Once there's a winetricks in ~/.cache/mo2-lint/downloads/, you can point $WINETRICKS to that instead.

Code has been tested against Morrowind and Oblivion via Steam on Steam Deck only.

@gmvi gmvi changed the title WIP: Enable protontricks python package on Steam Deck by downloading winetricks before Enable protontricks python package on Steam Deck by downloading winetricks before Mar 18, 2026
@gmvi
Copy link
Copy Markdown
Author

gmvi commented Mar 20, 2026

I feel silly for assuming this project was using the latest version of protontricks instead of checking 🤦. I was comparing 1.13.1 against 1.14.0, not uv-install vs pip-install.

So, protontricks doesn't come with its own winetricks, and of course it doesn't see the winetricks bundled with flatpak protontricks. So on steam deck we just need to set $WINETRICKS. I also changed the download code to only download winetricks if needed.

Tested up to MO2 on oblivion and up to post-MO2 game launch on morrowind, both via steam on steam deck. I can't get oblivion to run at all right now, I'll have to figure that out.

@Furglitch should I squash these commits into a single one that follows the project format now or just squash-merge after review?

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.

1 participant