Automatically switch Sonar gaming configurations when a game is in focus.
Auto switch will switch based on game database in game_database.json
.
Feel free to create pull requests to add more games, the schema of the JSON is -
{
"SonarProfileName": "Game Name", // Game Name as shown in UI (required)
"ExeName": "FileName", // Filter based on Exe name without the .exe (optional)
"Title": "WindowTitle" // Filter based on window title (optional)
}
ExeName
or Title
must be filled for it to work.
- Download the app from the release section.
- Extract the ZIP and launch
Sonar.AutoSwitch.exe
- Set the
Per app config
per game / apps - Set the
Default config
to apply to all other games/apps - To set game, set the
Executable name
of the app. For some games like Valorant it won't work, if that's the case then useTitle
instead and leave theExecutable name
empty.
- Install .NET 7
- Go into repo folder
- Run
dotnet run
in command line
Currently releases uses single file publish -
dotnet publish -c release -r win10-x64 --self-contained=true /p:PublishSingleFile=true