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

Single click launch mode for games using compatibility tools #92

Closed
neuromancer opened this issue Sep 30, 2018 · 12 comments
Closed

Single click launch mode for games using compatibility tools #92

neuromancer opened this issue Sep 30, 2018 · 12 comments
Labels
enhancement New feature or request needs testing question Further information is requested

Comments

@neuromancer
Copy link
Contributor

Once a game was installed with some compatibility mode and (and maybe configured to run properly), it could be nice to offer a single click launch mode to run it. Also, once the game started, it could be a good idea to disable the launch of other games because the compatibility tools can take a little longer to start (e.g. wine) and some impatient users could click several times 😞

@Hedronmx
Copy link

Please do stop the launching of games after a game is already launched. I accidentally run my games multiple times...

tkashkin added a commit that referenced this issue Oct 20, 2018
@tkashkin
Copy link
Owner

Multiple games launch at the same time is now blocked.

@neuromancer
Copy link
Contributor Author

This is working in dev.

@neuromancer
Copy link
Contributor Author

For some reason, the single click launch mode is not working for non-native user games.

@neuromancer neuromancer reopened this Oct 25, 2018
@tkashkin
Copy link
Owner

@neuromancer seems to work for me. Any info about game and used compat tool? Anything weird in log?

@neuromancer
Copy link
Contributor Author

neuromancer commented Oct 27, 2018

To reproduce with latest revision (4150ba2):

  1. Download UPlayInstaller.exe.
  2. Add it as a custom game and install it (latest wine works fine). Ignore the login screen, just close it.
  3. Modify the custom game to use UPlay.exe as executable.

After that, clicking on the UPlay game will always bring the compatibility layer popup.

@tkashkin
Copy link
Owner

@neuromancer can't reproduce. May it be related to compiler optimizations too?

@tkashkin tkashkin added enhancement New feature or request question Further information is requested needs testing labels Oct 31, 2018
@neuromancer
Copy link
Contributor Author

I tried without optimizations but it is still an issue. However, it is not a very important one, so feel free to close it. Other users will re-open it if they have the same issue.

@tkashkin
Copy link
Owner

tkashkin commented Oct 31, 2018

@neuromancer check compat_tool_settings column in database for that game.
It should contain compat_options_saved after game is launched at least once. Example:

{
    "proton_961940": {
        "options": {
            "PROTON_NO_ESYNC": false,
            "PROTON_NO_D3D11": false,
            "PROTON_USE_WINED3D11": false,
            "DXVK_HUD": true
        }
    },
    "compat_options_saved": true
}

@neuromancer
Copy link
Contributor Author

The compat_options_saved row is null for all the games I manually added and the last_launch column is 0 (despite I launched them many times).

@tkashkin
Copy link
Owner

tkashkin commented Nov 1, 2018

@neuromancer try 75a5015. It should be fixed.

@neuromancer
Copy link
Contributor Author

It's fixed. As efficient as always, thanks a lot!

Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs testing question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants