lutris / agora

Public discussion space for the community
11 stars 0 forks source link

Enable wine logging by default when Lutris is started with -d flag #49

Open smichel17 opened 5 years ago

smichel17 commented 5 years ago

By default, wine games have wine debug output suppressed (WINEDEBUG="-all"), for performance reasons. This is good.

However, when trying to diagnose a problem, people currently have to enable wine debug output before getting a log with lutris -d. This is particularly clumsy for getting logs when an installer fails, since they need to enable debugging output in the global wine runner settings, affecting all their games if they forget to revert it afterwards.

A compromise would be to enable winedebug output if it is disabled, when starting lutris with -d. This should only be the default — it should not override game specific settings, if they override the default.

smichel17 commented 4 years ago

The relevant sections of code seem to be:

I'm new to both python and the Lutris code base, so I'm not sure exactly which steps should be added where.