bartok765 / galaxy_blizzard_plugin

GOG Galaxy 2.0 plugin for Blizzard
MIT License
35 stars 15 forks source link

Missing Account Switcher #26

Open yoshimo opened 4 years ago

yoshimo commented 4 years ago

Describe the bug Hitting play just defaults to whatever SubAccount of the Battle.net Account you where signed in for the game (WoW being the example here).

Expected behavior Kind of recreate this grafik

bartok765 commented 4 years ago

This needs change in GOG Galaxy and API as plugins do not have own UI. I hope they provide way to launch the same game in different ways.

See this: https://github.com/gogcom/galaxy-integrations-python-api/issues/9

Then - research if it this is possible to run different game version from using command line args. Currently plugin calls <path_to_battlenet_exe> --exec="launch WOW" that calls default one. For example you can run from cmd console:

"C:\Battle.net\Battle.net Launcher.exe" --exec="launch WoW"

Is there any command to specify which WoW?

bartok765 commented 4 years ago

Actually I think we should make transition from battlenet cmd line arguments to direct game exe arguments like it is done in desktop shortcuts created via battlenet for example:

"C:\Games\World of Warcraft\World of Warcraft Launcher.exe" --productcode=wow_classic

this makes bnet open with proper game selected. Do not tested with ptr-s. @yoshimo, can you check, please?