Commit Graph

862 Commits

Author SHA1 Message Date
Terry MacDonald
2ee4c90c3c Small improvement in video library access speed 2021-10-17 20:55:59 +13:00
Terry MacDonald
9f7db6db88 Updated assembly version 2021-10-17 11:50:31 +13:00
Terry MacDonald
e174276623 Updated DisplayMagician to v2.1.0
Updated DisplayMagician to v2.1.0 in preparation for imminent release! So very close now, and only a couple more features to be added and improved.
2021-10-17 11:47:18 +13:00
Terry MacDonald
953b72e6cd Fixed audio so it allows unplugged devices
Fixes #39. This update allows unplugged devices to be used. ALlows people to plug in headphones, and allows users like @gpo123 to use HDMI audio on a currently disbled display.
2021-10-17 11:45:06 +13:00
Terry MacDonald
81f2d08fe0 Fixed profile matching for cloned displays
Weird error where having a clone causes an extra 'zeroed out' entry in the Windows Display Modes sequence. This change modifies the Windows mode info checks to allow for this situation.
2021-10-17 10:44:03 +13:00
Terry MacDonald
dcde15e73b Working cloned display WinLibrary 2021-10-16 22:03:06 +13:00
Terry MacDonald
7661f1dc73 Made changes to stop Cloned displays causing CTD
Currently still can't get the cloned displays to get applied properly though. Looks like the cloned displays are not being recorded in the settings.
2021-10-16 21:41:34 +13:00
Terry MacDonald
6032be043a Updated NVIDIALibrary to the one used in NVIDIAInfo v1.1.1 2021-10-16 21:24:59 +13:00
Terry MacDonald
a230a43fa0 Avoiding missing uplay_id game ids
Some Uplay Games have the uplay_id set to zero, when they shouldn't be. Havign to take the Game ID from the Reg key path to compensate.
2021-10-16 17:28:35 +13:00
Terry MacDonald
cf1ff873ef Added patch to convert v2.0.1 displaySource to list
This should help avoid a crash to desktop when using cloned displays. Partially fixes #47
2021-10-16 16:45:49 +13:00
Terry MacDonald
d98372bf39 Patch Profiles that are missing GDI settings
This will ensure that existing display profiles will at least load. Anyone with refresh settings changes or BPC or other device context settings will need to recreate their display profiles.
2021-10-16 09:37:52 +13:00
Terry MacDonald
b5e84cf6a8 Some logging changes for Uplay
This is the last change that fixes the broken Uplay parsing part of #47.
2021-10-16 09:09:36 +13:00
Terry MacDonald
f4bc6077e9 Fixed issue with Uplay icon paths 2021-10-15 21:59:05 +13:00
Terry MacDonald
b02155d9b1 Added robust Uplay config file game parsing
Used Josef Nemec's AMAZING code as a starter at https://github.com/JosefNemec/PlayniteExtensions/blob/master/source/Libraries/UplayLibrary/Models/ProductSchema.cs to build a proper Uplay Game parser! Uplay use protobuf encoded files that contain YAML embedded within them, just to annoy developers like me.

Uplay processing should be much more robust now.
2021-10-15 21:51:53 +13:00
Terry MacDonald
4a8acd4b86 Updated WinLibrary with latest GDI API changes
This will hopefully fix the issues #45 and #46.
2021-10-15 10:01:21 +13:00
Terry MacDonald
a9527ffd6e Better logging for Loading Games Action exceptions 2021-10-11 21:13:58 +13:00
Terry MacDonald
3f3518f536 Update NVIDIALibrary from recent HDR/colour settings updates. 2021-10-10 17:17:22 +13:00
Terry MacDonald
e41279d706 Improved NVIDIALIbrary SetActiveOverride function
It now only applies configuration changes if they are needed to be applied. If the colour settings are the same then they aren't applied.
2021-10-09 19:58:22 +13:00
Terry MacDonald
6445140924 Forced TRACE level logging while dev happening
I've set this as it was too onerous continuously teaching people how to turn on TRACE logging. While there are a large number of big changes taking place with DisplayMagician, this will minimise the backwards and forwards it takes to get the right level of log information for me to troubleshoot each issue.
2021-10-09 19:45:53 +13:00
Terry MacDonald
c5b06988dd Fixed broken apply profile logic
Changed an AND to a NAND and now it works.
2021-10-09 18:42:50 +13:00
Terry MacDonald
8d060edf83 Updated ProfileItem so it applies overrides later
Updated the profile so that it applies the new split video application process properly to DisplayMagician profiles. Should fix #45 (we shall soon see).
2021-10-07 21:15:14 +13:00
Terry MacDonald
a824f06b33 Updated DM will latest video libraries
Brought over all the latest working code from NVIDIAInfo, AMDInfo and CCDInfo. This includes the new split between the NVIDIA and AMD specific layout, and the NVIDIA and AMD specific color application, so that the video application logic goes like this:
1. Apply NVIDIA Surround or AMD Eyefinity and any 'pre' windows settings
2. Apply the Windows Display Layout
3. Apply the NVIDIA or AMD 'post' windows settings e.g. driver specific color overrides

This new process works.
2021-10-07 21:08:10 +13:00
Terry MacDonald
2c3f3de23d Fixed incorrect error when creating new shortcut
Logic error.
2021-10-06 19:34:58 +13:00
Terry MacDonald
c81ac93280 Updates to support Origin v2.1 manifest files
This code *should* support v2.1 manifest files for the Origin library. I don't have a n Origin v2.1 install though, so no chance to test. The code may work, but at least won't fail.
2021-10-06 19:24:15 +13:00
Terry MacDonald
d2c1587412 Update to v2.0.1.71 2021-10-04 23:15:53 +13:00
Terry MacDonald
988d43abdf Left some troubleshooting live 2021-10-04 22:41:07 +13:00
Terry MacDonald
b6de9aa85f Partial fix for OriginLibrary v3.x
Note - doesn't work with Origin v2.1 files yet... still troubleshooting those!
2021-10-04 22:40:32 +13:00
Terry MacDonald
aa74963d9b Updated README and screenshots to v2.0.1.59 2021-10-02 20:51:43 +13:00
Terry MacDonald
fe59e69cc6 Fixed bug in the Shortcut editing form
The Shortcut Editing form logic was allowing invalid shortcuts to be saved. Then the shortcut loading function didn't properly check for things to tell the user. This updates that to be a bit more user friendly.
2021-10-02 20:22:32 +13:00
Terry MacDonald
38e784ebd9 Fixed audio and captrure device logic error 2021-10-02 19:24:11 +13:00
Terry MacDonald
8bd3d07fa4 Fixed some UI status messages 2021-10-02 16:22:36 +13:00
Terry MacDonald
02ce747d3c Switch back to user spec debugging
During development I'd purposely set the debug log to TRACE. This chages it back to a user setting.
2021-10-02 09:53:34 +13:00
Terry MacDonald
8216d307e7 Force TLS1.3 network connections for security reasons 2021-10-02 09:49:34 +13:00
Terry MacDonald
eae7de6ead Fixed upgrade and added helpful buttons 2021-10-01 22:42:00 +13:00
Terry MacDonald
bc1415f92a Tweaked Setup to better shutdown app
Trying to get the setup to shutdown a running DisplayMagician.exe but it's not working.
2021-10-01 21:49:17 +13:00
Terry MacDonald
efc5fc43c7 Finished messages and fixed upgrade logic
Have managed to fix the logic for the messages functionality and the upgrade logic for the MSI installer so that it can install same versions.
2021-10-01 21:39:20 +13:00
Terry MacDonald
e64e836525 Message display working
This is a first working message display, but doesn't ignore messages seen already. This needs fixing.
2021-10-01 18:04:22 +13:00
Terry MacDonald
28445c53a9 [WIP] Partially working Messages
Partially works downloading the messages, but doesn't quite handle displaying the downloaded RTF in the messages window.
2021-10-01 09:40:17 +13:00
Terry MacDonald
2d1e656ba1 [WIP] Partial MessageItem creation 2021-10-01 09:31:45 +13:00
Terry MacDonald
fdd8c97f66 Updated the assemblyinfo 2021-09-30 21:33:18 +13:00
Terry MacDonald
d298c00199 First upgrade warning logic entered into DM
This provides the steps to the users from the remote site so that I can update them if they are wrong. Seems to work correctly.
2021-09-30 21:30:06 +13:00
Terry MacDonald
09c1fcf452 Merge branch 'develop' of https://github.com/terrymacdonald/DisplayMagician into develop 2021-09-30 20:48:40 +13:00
Terry MacDonald
85f28ff9d5 [WIP] Partial startup message support
Adding ability to provide messages during bootup. This is specifically to allow update messages.
2021-09-30 20:48:26 +13:00
Terry MacDonald
f6177fe493 [WIP] Partial startup message support
Adding ability to provide messages during bootup. This is specifically to allow update messages.
2021-09-30 20:47:52 +13:00
Terry MacDonald
9eafe478fc Revised build versioning
Changed the build versioning to use an incrementing build version per build (and revision version per release build) as per https://stackoverflow.com/questions/826777/how-to-have-an-auto-incrementing-version-number-visual-studio. This uses an AssemblyInfo.tt T4 template to customise the versioning so that the application version can be set using the AssemblyVersion variable within the Visual Studio application properties. This makes it dead easy to change!

The Wix Program.wxs was also changed to use that new 4 digit version number as the versioning, which should help immensely with beta testing updates. No more asking people to uninstall the previous version as the new build will automatically upgrade the earlier version!
2021-09-30 10:26:17 +13:00
Terry MacDonald
9531dc717a Fixed broken settings ui
Settings UI checkboxes weren't being set properly. This fixes that issue.
2021-09-24 22:18:12 +12:00
Terry MacDonald
26506392bb Squashed an Epic library bug
Found a bug where I was using the loading the Origin library twice instead of loading the EpicLibrary items :/. This would have been a bug for the last couple of versions of DisplayMagician, so it's gret that I managed to squash it!
2021-09-24 18:06:32 +12:00
Terry MacDonald
2643256790 Enabled upgrades even when DM is minimised
Finished move of update logic to Program.cs to ensure that update checks occur even if DisplayMagician is minimised. This was a problem I found in testing earlier this year.
2021-09-24 17:22:45 +12:00
Terry MacDonald
3f6afa333e Updated beta version upgrade settings UI
Changed the settings UI to incorporate the new beta feature upgrade. Will allow users to always get the latest version but under the expectation it will potentially be broken.
2021-09-24 16:59:12 +12:00
Terry MacDonald
8cdc8b7e9b Added upgrade to latest beta versions option.
Added the ability for users to opt into upgrades to beta versions of software.
2021-09-23 21:45:07 +12:00