Comments (6)
The order of parameters is correct: you have to put Protontricks related parameters first. The dots at the end (...
) denote where you should put the Winetricks parameters, but the auto-generated message does not make this clear.
The parameters in the usage message (--verbose
, -s SEARCH
, etc.) are parameters that Protontricks itself supports, and must be added before the app ID. This is because the parameters after the app ID are given to Winetricks as-is without any validation. Protontricks doesn't know what parameters your Winetricks installation supports, and trying to detect which parameters are Protontricks related and which are Winetricks related would be extremely difficult.
For example, this is a valid command:
$ protontricks --no-runtime 377160 --gui
# GUI is shown as expected
but this isn't
$ protontricks 377160 --no-runtime --gui
# Winetricks doesn't know what to do with `--no-runtime`
------------------------------------------------------
unknown option --no-runtime
-----------------------------------------------------
Flags like -v
are also accepted by both applications, so you can do this:
$ protontricks -v 377160 -v --gui
# Verbose flag is enabled for both Protontricks and Winetricks
from protontricks.
I'll look into clarifying the message when using incorrect parameters. The usage message alone is really terse, so it's probably better to show the full help message instead if the command is incorrect. This is already done in some cases.
Winetricks has a --gui
flag that forces GUI even if the environment seems to be non-interactive. --gui
in Protontricks means that the user will be prompted to choose the game from a dropdown list, which will then open the Winetricks GUI for that game.
from protontricks.
Thanks for the clarification, I'm aware of this as I use protontricks on a regular basis, but there is nothing about this (I mean, winetricks parameters) in the message I quoted. Maybe, it needs a special mention there?
Also, looking at protontricks -h
output I actually see a mention of 'winetricks_command' once — in 'positional arguments' section, maybe it's possible to substitute '...' with it? I guess it should make more sense for people not so familiar with a tool.
from protontricks.
Btw, returning to my first post, I still see some confusion for '--gui' parameter. Do both protontricks and winetricks support it?
from protontricks.
I'll look into clarifying the message when using incorrect parameters. The usage message alone is really terse, so it's probably better to show the full help message instead if the command is incorrect. This is already done in some cases.
Agreed, that should give an end-user much more insight (and above all things, unify things some).
Winetricks has a
--gui
flag that forces GUI even if the environment seems to be non-interactive.--gui
in Protontricks means that the user will be prompted to choose the game from a dropdown list, which will then open the Winetricks GUI for that game.
Thanks, now it's clear.
from protontricks.
Thanks for fixing!
from protontricks.
Related Issues (20)
- insufficient permissions HOT 2
- PROTONTRICKS_STEAM_RUNTIME not set HOT 2
- Cant get game to load. GBFVSR HOT 3
- Some tests are broken by pytest 8 HOT 1
- protontricks not launching on steam deck HOT 3
- Cannot install Microsoft C++ Runtime 2019 // Stray wont work HOT 4
- Protontricks fails with warning: Unknown file arch of /home/$USER/.cache/protontricks/proton/GE-Proton9-1/bin/wineserver. HOT 5
- protontricks-launch -h neither offers an option to set the working directory nor has any hints or clues which one it is HOT 4
- Cannot Install dll HOT 1
- [wow64] error with checking HOT 1
- Unable to install physx HOT 1
- protontricks not detected when installing a file HOT 1
- Unable to create prefix for fallout 3 HOT 2
- After updating to 1.11.1-1 can no longer open protontricks HOT 3
- Unable to use the tasklist command HOT 1
- Protontricks cannot find custom shortcuts, despite games being installed with them. HOT 1
- how too fix HOT 1
- protontricks appears to require --no-bwrap HOT 4
- Question about which Proton version is used HOT 1
- Error when trying to launch protontricks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protontricks.