Nitrox icon indicating copy to clipboard operation
Nitrox copied to clipboard

Steam features (like Controller mapping) won't load with direct start

Open joshuatam opened this issue 3 years ago • 8 comments

Version

master at 9e9382d

Bug

Controller is not working.

Expected

It was working in last stable build 1.5.0.1

Steps to reproduce

Build the project from master branch, open NitroxLauncher.exe after plugging in a controller, after opening the game the cursor will move randomly and clicked buttons.

Other details:

Windows 10 I have already opened Steam in the background.

joshuatam avatar Feb 04 '22 08:02 joshuatam

Could you upload your game log (it's located inside the launcher folder)?

Jannify avatar Feb 04 '22 10:02 Jannify

Could you upload your game log (it's located inside the launcher folder)?

Sure.

launcher-20220205.log

game-20220205.log

joshuatam avatar Feb 04 '22 16:02 joshuatam

Btw, this is the log from 1.5.0.1

launcher-20220205.log

game-20220205.log

joshuatam avatar Feb 04 '22 16:02 joshuatam

I also notice another behavior, when clicking "Play Multiplayer" in v1.5.0.1, it will first open Steam in the background (Steam icon appeared at the Task Bar and disappeared shortly), and then start the game. While using the master branch, it will open the game directly without Steam icon on Task Bar.

joshuatam avatar Feb 04 '22 16:02 joshuatam

I am not sure whether it is related to https://github.com/SubnauticaNitrox/Nitrox/commit/fbd4229a057b751c26a93d4be51d299d01e2af0c and #1609

NitroxLauncher/LauncherLogic.cs logic is changed from "steam://run/264710" to the real path of the game exe.

joshuatam avatar Feb 04 '22 17:02 joshuatam

Finally to workaround by revising launch method of Steam platform. Please see if it is a suitable modification. #1724

joshuatam avatar Feb 05 '22 03:02 joshuatam

I also notice another behavior, when clicking "Play Multiplayer" in v1.5.0.1, it will first open Steam in the background (Steam icon appeared at the Task Bar and disappeared shortly), and then start the game. While using the master branch, it will open the game directly without Steam icon on Task Bar.

Yeah, since 1.5 we reworked the whole logic behind platform management

dartasen avatar Feb 05 '22 17:02 dartasen

https://github.com/SubnauticaNitrox/Nitrox/pull/1724#issuecomment-1059330358

Jannify avatar Mar 07 '22 19:03 Jannify