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

Ability to overwrite Profiles #215

Open
NightHammer1000 opened this issue Apr 9, 2023 · 21 comments
Open

Ability to overwrite Profiles #215

NightHammer1000 opened this issue Apr 9, 2023 · 21 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@NightHammer1000
Copy link

It would be nice to have the ability to overwrite Profiles by just saving a new Profile with the Same name.
The UUID should stay the same so that I dont have to change out Batch Scripts and Shortcuts.

Sometimes after Driver Updates all the Profiles won't work anymore.
Especially if you have to DDU after a driver fucks something up.

This could save us a lot of Work in the Future.

@NightHammer1000 NightHammer1000 added the enhancement New feature or request label Apr 9, 2023
@terrymacdonald
Copy link
Owner

Hi @NightHammer1000 ,

Unfortunately the way that Profiles works prevents me from adding this functionality as you have described it. There is, however, a potential alternative.

I was thinking about adding a 'replace profile' functionality into the Game Shortcuts. This would mean that when you created a game shortcut with a previous display profile, if that display profile was deleted, then you would automatically be asked which other display profile you wanted to replace it with in all your game shortcuts. The idea would be to easily all your game shortcuts with a single click when you have to replace display profile.

With this functionality you wouldn't need to have the UUID stay the same, as the game shortcut would be updated, and you would only need to be able to run the game shortcut from the command line.

Thanks
Terry

@terrymacdonald terrymacdonald added this to the 3.0.0 milestone Apr 11, 2023
@terrymacdonald
Copy link
Owner

@NightHammer1000 do you mind if I change the name of this issue to be 'Ability to replace Profiles in Game Shortcuts'? It's more accurately what I think I'll be able to do.

Thanks
Terry

@NightHammer1000
Copy link
Author

To bad. That actually won't help me that much as I don't use Game Profiles at all.

Display Magician only works as a Display Profile Switcher with hotkeys for me.
I also use the Desktop Shortcuts for said Profiles in a Batch files to Switch to a HDMI Dummy Plug Display when I play with my Steam Deck Remotely over Moonlight and back to the Default Profile after I disconnect.

I just need a way to keep the UUID the same for those Shortcuts in some way. Maybe a ability to set custom UUIDs?

@terrymacdonald
Copy link
Owner

terrymacdonald commented Apr 11, 2023 via email

@NightHammer1000
Copy link
Author

Okay. That sounds like it could work.
Great!
Thanks!

@terrymacdonald terrymacdonald modified the milestones: 3.0.0, 2.6.0 Jan 12, 2024
@terrymacdonald
Copy link
Owner

@NightHammer1000 I've nearly finished development of a way to update a display profile to the current display layout in use. This should enable people to simply recreate a display layout and update the Display Profile with the current settings, eliminating the need for making changes to any Game Shortcuts. I'm hoping this makes everyone's lives easier.

Expect something in the next 2 weeks.

Thanks
Terry

@terrymacdonald
Copy link
Owner

@NightHammer1000 The latest test version should be working properly, and it has an 'Update' button for Display Profiles.

Could you please test it for me so I know that it fixes your issue? If it does then I'll be able to close this issue as the fix will be part of the next full release.

DisplayMagicianSetup-V2.6.0.515-No-NvApi_SetDisplayConfig.zip

As I've not really had any feedback from you recently I'll give it a week and then close this issue if I have no further responses. We can always reopen this issue in the future if need be.

Thanks!

@NightHammer1000
Copy link
Author

Hi.

This Version does not start on my System.
Flat out refuses to start up without writing out a log file.

@NightHammer1000
Copy link
Author

image

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 11, 2024 via email

@NightHammer1000
Copy link
Author

Nope. There is no more Info. That screenshot is from the Event Viewer. And thats everything there is in there.

I also tried to delete the App data local folder to recreate it because I already suspected it might be something with the configs.

Did not help.

The Program crashed before it even recreated the folder.

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 12, 2024 via email

@NightHammer1000
Copy link
Author

Always had NVIDIA in that Machine.
Its an AMD Ryzen 9 7900X3D and a RTX 4080

4 Displays are connected. 3 on DisplayPort one on HDMI.

Nothing Fancy. The exact same setup I used with the current Version.

Old Version from the Releases Page works just fine.

@NightHammer1000
Copy link
Author

Had time to fire up Visual Studio and run the debugger on the exe.
It throws pre-Init, while loading references.

DisplayMagician.Shared, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null

Thats what it can not find.

@NightHammer1000
Copy link
Author

It seems that file is Missing in the Installer.
If I install a old Version, the file is there in the root directory of the App.
In the newest version, its not.

Sooo. Dont think its my rig^^

@NightHammer1000
Copy link
Author

If I copy the file over from the old to the new, it starts up.

@NightHammer1000
Copy link
Author

NightHammer1000 commented Feb 12, 2024

But does not seem to handle DPI Scaling very well:
image

Also its unable to get the current Display Config.

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 12, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 12, 2024 via email

@terrymacdonald
Copy link
Owner

@NightHammer1000 could you please test this version? Its got the corrected setup that should install everything (I've yet to fully test myself!) but it doesn't have any DPI scaling fixes. If you'd be able to get back to me with whether this works, and if it still has the DPI scaling issues then please reply with how you got it to look like the picture you provided earlier.

DisplayMagicianSetup-v2.6.0.522-corrected-setup.zip

Thanks
Terry

@NightHammer1000
Copy link
Author

@terrymacdonald got to test it out.
Now it works as it should.

Updating Profiles works.

For the DPI Issue, I had to set DPI Scaling in Compatibility Settings to "System (Advanced)"
Now everything looks good again.
There should be a way to tell the System to handle DPI instad of DotNet. I think something in the Manifest.
My C# is a bit rusty.

Thanks!

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

2 participants