moonlight-qt icon indicating copy to clipboard operation
moonlight-qt copied to clipboard

Add profiles for fast settings switching

Open SpartanC90 opened this issue 6 years ago • 7 comments

I would love too see the possibility to add different profiles. The thing is, some games require a higher bitrate than other games to look good. Especially if you are on wireless with like a laptop, it would be nice to be able to switch settings on the fly instead of having to go to the settings and fiddle with the slider. Alternatively, it would be nice to be able to set up different settings for each game (if needed, they should pick global settings first).

SpartanC90 avatar Apr 12 '19 09:04 SpartanC90

In addition, some games would benefit from custom settings for just that game, similar to what https://github.com/moonlight-stream/moonlight-android/pull/919 is doing for Android.

One thing in particular is the ability to set "Remote Desktop" mode on a per-game basis. A game that's primarily controlled by the mouse could set that to avoid weird mouse acceleration issues, and an FPS could use the normal method.

ikogan avatar Feb 17 '21 19:02 ikogan

For anyone that this may help. I currently have 2 separate "profiles" that I can choose by overwriting the $HOME environment variable on Linux. It will create new config files in this "fake" home directory and then choosing profiles is done using different shortcuts on the desktop that set up the environment.

tweelix avatar Jun 12 '22 19:06 tweelix

@tweelix how can I set that up on macOS? I can't find any config files and I literally did find -name "*moonlight*" /

ezamelczyk avatar Feb 14 '24 10:02 ezamelczyk

Also interested

Depending on the game, I would either run at 60fps or 120fps

Foul-Tarnished avatar Mar 20 '24 01:03 Foul-Tarnished

@tweelix how can I set that up on macOS? I can't find any config files and I literally did find -name "*moonlight*" /

It doesn't work for me sadly

#!/bin/bash

export HOME=/Users/mia
Open -a "/Applications/Moonlight.app"

in a .sh file, set as executable (chmod +x filepath) the settings are shared between this shortcut and the standard app, not what we want

("mia" is another local account that exist, and isn't the one I'm using)

I guess on mac OS, moonlight read our user account and store settings differently

EDIT : it seems settings are saved in /Users/niels/Library/Preferences/com.moonlight-stream.Moonlight.plist If you want to edit it directly, you need to convert it to xml with plutil -convert xml1 filepath

or easier : just do your first game-specific configuration in moonlight app, exit moonlight, save that plist file somewhere else with a new name like profile-1.plist do another configuration in moonlight, exit moonlight, save that other savefile somewhere else too, with a different name

and in the script, you'd copy that edited profile.xml to Library/Prereferences with the correct name before launching moonlight. and you'd have one plist for each profile/game, and do one .sh script for each profile/game too

quite a pain

Foul-Tarnished avatar Mar 20 '24 01:03 Foul-Tarnished