bakkesmodorg / BakkesModInjectorCpp

C++ rewrite of the BakkesModInjector
67 stars 21 forks source link

Multi user support #19

Open L0laapk3 opened 3 years ago

L0laapk3 commented 3 years ago

I, like many others, own multiple steam accounts to play rocket league. To keep the steam credentials for both accounts stored, I use an (inactive) second windows user.
I then start steam using runas to run it under my current windows account with permissions of the second user account (this is required for steam to store both credentials). The full command I use is: %windir%\system32\runas.exe /user:SECOND_WINDOWS_USER /savecred "cmd /c start steam://rungameid/252950".

Bakkesmod injector fails to detect rocketleague.exe when using runas. To reproduce you do not need a second steam account/rocket league copy, the results can be reproduced with only a second windows user and the above command.

Edit: I want to mention that I have obviously tried both running bakkesmod as admin and as the second user