Giter VIP home page Giter VIP logo

sonar.autoswitch's People

Contributors

adirh3 avatar thepastorj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sonar.autoswitch's Issues

Matching Window Titles Containing Symbols

Looking through other issues I see that Call of Duty does not allow using the executable for switching due to being "protected" so you need to use the window title. Currently the window title is Call of Duty® HQ and it doesn't seem to work so I'm guessing that the reserved symbol is causing problems as some other tests worked fine.

Some games are not recognized

When running Call of Duty: Modern warfare 2 the app doesn't recognize it and won't update the Sonar config.
I think this has to do with Win32WindowEventManager, i debugged the app and never got in https://github.com/adirh3/Sonar.AutoSwitch/blob/master/Sonar.AutoSwitch/Services/Win32/Win32WindowEventManager.cs#L67

I tried

_windowEventHook = SetWinEventHook(
				1, // eventMin
				2147483647, // eventMax
				IntPtr.Zero, // hmodWinEventProc
				_lpfnWinEventProc, // lpfnWinEventProc
				0, // idProcess
				0, // idThread
				WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS);

thinking this would show me all the events, but it never triggered on cod.exe.

In my procexp64 program i also cannot get any information on the process.. Could it be that this is somehow "protected" and need admin privileges to access this process? (running procexp64 with admin privileges doesn't work, so not sure if this will work in the app..)
image

Starting behaviour

Hi,

thanks for this great tool, which brings an obvious feature to the sonar tool.
one question or demand: can you make the auto start into traybar possible?

thanks in advance
Michael

App opens fully, rather than minimised to system tray.

Hi,

So after adding the profiles, I built the source using the .net cli, but now I'm running into a weird issue where the app is opening fully on system boot rather than being minimised to the tray. Did I do something wrong or is it a bug?

start to system tray

hi

try to modify registry HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
with addin argument /startminimized --minimized etc ...
does not work

and i think the app keep the original registry entry.

Question regarding Spotify and Brave

Hi!

First of all, thanks for this app! Been avoiding Sonar until I found this today!

Now to my questions. How exactly would I do with Spotify and Brave? I cant make it work for either of them. Maybe you could print screen? What im confused about is if I should use overwatch.exe or Overwatch Application in the "Game executable name"

Im trying to get music from spotify as media output with a music EQ while playing Overwatch 2 with a game EQ at the same time. Is this possible?

Also, if you could make the program start minimized, that would be great! (win 10)

App no longer appears to be switching.

I haven't changed anything apart from updating steelseries gg. I'm on the latest version, 52.0.0. Maybe something's changed there, mind taking a look when you get time?

Profile doesn't switch

Doesn't work with apex legends.
Tried running the autoswitch program as admin, but it's still not working. Also doesn't work with valorant.
image

can't create branch

Hey, I was wanted todo a small change to give the user a better user experience on the application.

but I wasn't able to create / push my branch on the github repo, after cloning.

Failed to push to the remote repository. See the Output window for more details.
Pushing smallChanges
Remote: Repository not found.
Error encountered while pushing to the remote repository: Git failed with a fatal error.
Git failed with a fatal error.

By the way thanks for this project!

do you also know if it is also possible to make to create a default for your sonar channels like these:
image
When you turn on the headset, it would go to the default of steelseries headset, but I got a goxlr and I doesn't want that because I have my hardware sliders. So the default needs to be what I set and they have to stop changing that, but steelseries isnt that smart because I opened a ticket and they dont understand the issue when I uploaded a video to them...

Doesn't work - using Window Title

Hi there,

This was exactly what I was looking for but:

I don't get this to work, at all

Since it's pretty hard to find the location of .exe's these days since they all run through Steam more or less,
please make the "Window title" appear in the "Per app config" name as well ... if you're not using the "Game executable name". Else all the games are just with empty names ( the per app config is empty for all the games )

Sonar is NOT switching profiles for the two games I tried out
I set Window title for both
"Age Of Empires IV" and "Elden Ring"

It will not switch between those profiles, I set different profile for each game in the "Sonar gaming confiugration"

image

image

and as you can see, the names are both empty since you take the name from "Game executable name" which is just blank, since I use the "Window title" instead:

image

Sonar API

I saw that you found some rest API to sonar's "SteelSeriesGGClient", do you have a link to this API documentation?
I was able to find GameSence but it doesn't have the abilities you showed.

I'm trying to create a script to switch between audio devices (and sound configurations) so I can assign it to a key bind (instead of when using a specific process).

Thank you!

GG doesnt show the switched profile

after opening and configuring autoswitch and GG to my liking, when i open both COD and destiny 2, looking at GG doesnt show that the profile has been switched. i still have to manually apply them

i have tried entering destiny 2 into both fields and selecting the config i want, starting destiny 2 when GG is open and closed but it still doesnt switch and just stays on default when i check it
image

did i miss something in the readme or setup process? or something extra i have to do after installing autoswitch?

Game executable name does it have to be a profile name?

Is it possible to add the upload of own profile icons or at least add displaying the window name as a replacement if the name of the executable file is empty, alternatively, is it possible to add a field to fill in titled profile name?

I have several game profiles with their name empty and constantly checking what has been saved in them can be a bit of a pain

in addition, I would like to ask if it is possible to extend the capabilities of the application with the ability to detect several profiles at once, e.g. 1 for playing and 1 for listening to music at the same time?
Zrzut ekranu 2023-08-26 201931

Exception thrown when using a language different than English

When running the app it crashes when i open the Settings window.
When i debug the app i see that this line fails
https://github.com/adirh3/Sonar.AutoSwitch/blob/master/Sonar.AutoSwitch/MainWindow.axaml.cs#L42

This is due to the Tag containing "Instellingen" (dutch translation of "Settings"). To fix this is changed it to

NavigationViewItem { Name: "SettingsItem" } => typeof(Settings),

which seemed to work. I couldn't find a Tag defnition anywhere for "Settings" so that's why i used the Name.

Feature Request --Device Fallback

Potential Feature/Enhancement

Without knowing much about the internals of this, would it be possible for some option to change the output device or a fallback option?

e.g. When a headset is disconnected it seamlessly transitions to the speakers. As of right now I need to change it manually.

as of GG 35.0.0, this would seem rather straight forward of just changing the master output to a base default

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.