Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add profiles for fast settings switching #213

Open
SpartanC90 opened this issue Apr 12, 2019 · 7 comments
Open

Add profiles for fast settings switching #213

SpartanC90 opened this issue Apr 12, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@SpartanC90
Copy link

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).

@cgutman cgutman added the enhancement New feature or request label Jun 23, 2019
@ikogan
Copy link

ikogan commented Feb 17, 2021

In addition, some games would benefit from custom settings for just that game, similar to what moonlight-stream/moonlight-android#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.

@tweelix
Copy link

tweelix commented Jun 12, 2022

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.

@ezamelczyk
Copy link

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

@Foul-Tarnished
Copy link

Also interested

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

@Foul-Tarnished
Copy link

Foul-Tarnished commented Mar 20, 2024

@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

@LetrixZ
Copy link

LetrixZ commented May 18, 2024

I just found out that this app has a CLI.

This is how I use it and does exactly what I need:

/Applications/Moonlight.app/Contents/MacOS/Moonlight --1440 --fps 120 --bitrate 80000 --absolute-mouse --no-vsync --video-codec auto --video-decoder auto --display-mode borderless stream {HOST} "{APP}"

@Loyola-IS352
Copy link

A related issue: it would be nice to be able to configure settings per host or per 'application' (maybe something similar to the way NVidia has a global profile and a per application profile). I have two hosts on my network and one can do HDR and the other cannot. For simplicity, I leave HDR off, but it would be nice to configure this per host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants