Giter VIP home page Giter VIP logo

Comments (9)

thywolf avatar thywolf commented on July 28, 2024 1

Switching now works like a charm for me, @adirh3 ! Thanks a million!

from sonar.autoswitch.

adirh3 avatar adirh3 commented on July 28, 2024

Try running the AutoSwitch as administrator and see if it works

from sonar.autoswitch.

JohnnyDeeee avatar JohnnyDeeee commented on July 28, 2024

Doesn't seem to work when running as admin..

from sonar.autoswitch.

thywolf avatar thywolf commented on July 28, 2024

Looks like some games are protected enough to make the Win32WindowEventManager fail when switching to such a game. I'm testing a fallback for such cases - if an exception is raised when switching to such a game, making the original detection impossible, I'm just checking if the process with a given name is running. Not ideal (don't open two problematic games at the same time!), but seems to be working for Valorant :-)

from sonar.autoswitch.

JohnnyDeeee avatar JohnnyDeeee commented on July 28, 2024

Not ideal (don't open two problematic games at the same time!)

You could go through the whole list to check if you are running multiple games which both have profiles in the app. When you detect multiple you can show a warning to the user that he must choose which configuration will be the active one (because you can only have 1 active configuration).

But tbh, this is an edge case because i don't think people are going to run multiple games and expect this app to work in that case..

from sonar.autoswitch.

adirh3 avatar adirh3 commented on July 28, 2024

@JohnnyDeeee @thywolf added support for matching by title, it should help with these games.
Check out 28.2.0 release and let me know if it works for you.

from sonar.autoswitch.

FowD8 avatar FowD8 commented on July 28, 2024

was this figured out? I haven't been able to get it to work with Valorant...

image

from sonar.autoswitch.

FowD8 avatar FowD8 commented on July 28, 2024

Just a note to the above, I guess if you're using Window Title it uses a wildcard essentially. so if the window is called "VALORANT", you can just put VAL for the Window title, BUT make sure you keep Game executable name empty, I think if it has something in there, it's looking for both, and if it's a protected exe, it won't work

from sonar.autoswitch.

adirh3 avatar adirh3 commented on July 28, 2024

Just a note to the above, I guess if you're using Window Title it uses a wildcard essentially. so if the window is called "VALORANT", you can just put VAL for the Window title, BUT make sure you keep Game executable name empty, I think if it has something in there, it's looking for both, and if it's a protected exe, it won't work

Keep EXE name empty and title Valorant worked for me.

from sonar.autoswitch.

Related Issues (20)

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.