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

Using latest UMU-Proton via TOML config #135

Open
JayTee42 opened this issue Jul 3, 2024 · 1 comment
Open

Using latest UMU-Proton via TOML config #135

JayTee42 opened this issue Jul 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JayTee42
Copy link

JayTee42 commented Jul 3, 2024

When invoking umu-run from the CLI, we can omit the PROTONPATH env to use the latest version of UMU-Proton, right? How to achieve the same thing from a TOML config file passed to umu-run? Omitting proton from the file does not work since it is required. And passing an empty string is also forbidden. We could specify an absolute path to ~/.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-2 or similar, but that one changes for every new version of UMU-Proton.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Jul 3, 2024

I'm aware of this, and I have plans to try address this case in the next release if everyone else on the team is fine with it. In the TOML file, it'd probably look like this:

[umu]
game_id = '0'
exe = '/home/foo/WINE/flowers/drive_c/GOG Games/Flowers - Le Volume Sur Printemps/FLOWERS.exe'
prefix = '/home/foo/WINE/flowers'
proton = 'GE-Proton' # Will use the latest GE-Proton

Same for users' environment variables as it makes mores sense to define them under a table. For example:

[umu]
game_id = '0'
exe = '/home/foo/WINE/flowers/drive_c/GOG Games/Flowers - Le Volume Sur Printemps/FLOWERS.exe'
prefix = '/home/foo/WINE/flowers'
proton = 'GE-Proton' # Will use the latest GE-Proton
[env]
mesa_loader_driver_oveerride = 'zink' # Will use the zink driver when running the game
zink_debug = 'nir,spirv,tgsi,validation'

@R1kaB3rN R1kaB3rN added the enhancement New feature or request label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants