BrianLima / UWPHook

🔗 Add your Windows Store or UWP games to Steam
https://brianlima.github.io/UWPHook/
MIT License
1.57k stars 118 forks source link

Launch options not working #59

Open tpaclatee opened 3 years ago

tpaclatee commented 3 years ago

Adding --enable-dev-ui to cities skylines does not do anything. Is there something else I need to do or is this a bug?

BrianLima commented 3 years ago

It might depend on the game and how it expects to receive the launch params, Tetris effect won't understand the --vr command like the epic version, so if the game won't receive the command, it probably isn't handling launch-args properly in the windows store version and there isn't much more that we can do, since launch-args in UWP apps isn't a common practice.

If you desire, you may read a bit about it in: [1] - https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-iapplicationactivationmanager-activateapplication [2] - https://stackoverflow.com/questions/61858220/in-uwp-app-read-command-line-arguments-and-pass-it-from-app-xaml-cs-file-to-the

I'll be doing further tests, but it most likely depends on the game.