Commit Graph

589 Commits

Author SHA1 Message Date
Terry MacDonald
0830ed58dd Fixed Steam and Uplay game detection
Fixed an issue where Steam and Uplay don't detect the
game correctly. Now they find the processes themselves.

Also fixed ProgramSettings so that it generates a new
settings file on startup.

Also added LogLevel option to the ProgramSettings so that
I can start rolling out the NLog log statements to report
errors from the binary when it's installed on people's
PCs.
2020-12-09 20:47:30 +13:00
Terry MacDonald
c0389cdba7 Added NLog to Program.cs
Did the first basic integration and setup for
NLog to the application as part of my push
to get better error logging.
2020-12-08 21:20:26 +13:00
Terry MacDonald
41fc905e8c Skip audio change if same audio device
Only perform an audio device change if the
audio device is a different one.
2020-12-07 21:11:51 +13:00
Terry MacDonald
a7aa06f3e0 Rename Copy function to CopyInto 2020-12-07 21:08:34 +13:00
Terry MacDonald
02485e6de3 Fix audio setup issue and update setup UI
The audio onselect event had an errant bit of
logic that resulted in an exception - now fixed.
Also updated the Setup UI with nicer pictures
and some words that are more reflective of the
purpose of this software.
2020-12-06 22:18:01 +13:00
Terry MacDonald
9522af5574 Added new CreateProfile startup action
CreateProfile will just open a new DisplayProfile
window and that will be used only from the
Shell Extension.
2020-12-06 21:33:00 +13:00
Terry MacDonald
45e2c32c30 Updated shell ext to createprofile 2020-12-06 21:19:03 +13:00
terrymacdonald
7e43cd99ef
Added Github sponsors link 2020-12-06 20:17:47 +13:00
terrymacdonald
8ebccd013b
Updates for main branch rename 2020-12-06 20:13:28 +13:00
terrymacdonald
dfce79f9d4
Remove related projects
Removed related projects as they are Soroush's.
2020-12-05 23:35:42 +13:00
terrymacdonald
6e2291005d
Update README.md 2020-12-05 23:33:41 +13:00
terrymacdonald
358418f980
Update README.md 2020-12-05 23:33:08 +13:00
Terry MacDonald
c1fe8e3f8b Reduced dependencies and added new strong key
Added the strong key just to the ShellExtension.dll
so that Windows will accept it as a Desktop
Shortcut extension, and will provide a popup-menu
that will let users change Display Profiles with a
single click.
2020-12-05 23:28:01 +13:00
Terry MacDonald
8b6be0b223 Working basic installer 2020-12-05 22:58:01 +13:00
Terry MacDonald
65e1751467 Working but bare setup install 2020-12-05 22:27:20 +13:00
Terry MacDonald
afb56b9e98 Made setup install start program
Icon works, but the programme doesn't
correctly start after installation.
2020-12-05 21:59:16 +13:00
Terry MacDonald
80ef9d807e Initial fixes for Setup 2020-12-05 21:40:20 +13:00
Terry MacDonald
ba6532adb6 Merge branch 'main' of https://github.com/terrymacdonald/DisplayMagician into main 2020-12-05 17:45:13 +13:00
Terry MacDonald
c9957b28a5 Audio volume now set correctly
It also changes the audio device and then
rolls back the changes on game exit.
2020-12-05 17:41:15 +13:00
Terry MacDonald
09b9e185e3 Correcting audio selection loading in UI
Was incorrectly loading audio volume on form
load and also not correctly adjusting it when
selecting a different audio device.
2020-12-05 17:04:30 +13:00
Terry MacDonald
a87d6397fa WIP] Audio volume UI 2020-12-04 23:09:08 +13:00
Terry MacDonald
0eb05639f6 WIP] Adding audio volume to shortcut form 2020-12-04 21:53:15 +13:00
Terry MacDonald
c5cb6e52f1 Removing old code 2020-12-04 21:05:06 +13:00
terrymacdonald
65f1c03422
Create FUNDING.yml 2020-12-04 12:28:18 +13:00
terrymacdonald
1fbd399404
Update README.md 2020-12-03 23:18:33 +13:00
terrymacdonald
d963e84825
Create LICENSE 2020-12-03 23:14:46 +13:00
terrymacdonald
301b87cc49
Delete LICENSE.md 2020-12-03 23:14:05 +13:00
Terry MacDonald
a596c0b252 Added Audio switching and reverting logic
Audio device now correctly switches and reverts.
Very happy how easy that was to do. This is an
amazing audio library!
2020-12-03 23:10:25 +13:00
Terry MacDonald
1ef91be002 Updated README screenshots 2020-12-03 22:32:45 +13:00
Terry MacDonald
8ddea18929 Updated README 2020-12-03 22:31:17 +13:00
Terry MacDonald
2a03f5064d Updated README 2020-12-03 22:30:11 +13:00
Terry MacDonald
98ce76293e Updated README screenshots 2020-12-03 22:28:39 +13:00
Terry MacDonald
cd93986530 Added audioPermanence to choose audio separately
Separated permanence to display and audio separately
so you can choose exactly what reverts.
2020-12-03 22:25:28 +13:00
Terry MacDonald
eb93e84e22 Added audiodevice logic to save it
Added the ability to store the audio device
information within the ShortcutItem, and also
added the logic to the ShortcutForm to correctly
load and save the audio device settings. Also
coped with the edge case of when an audio device
is turned off or unplugged when the user edits the
shortcut... in that case we want to still keep the
old audio device settings as it is likely to be plugged
back in when the shortcut is actually run.
2020-12-03 21:45:24 +13:00
Terry MacDonald
e44c2d045b Disabled rescan audio button by default 2020-12-02 22:49:50 +13:00
Terry MacDonald
b95f7b7a47 Tweaked the rescan audio button appearance 2020-12-02 22:47:39 +13:00
Terry MacDonald
1714cf3a9f [WIP] populated dropdown with audio devices
Part of the work through getting audio devices
into DisplayMagician, as it now scans the devices
and automatically selects the one in use currently.
You can also press the 'rescan' button to have it
update the list. This is the UI part done.

Next step is the saving the chosen audio device
to the saved Shortcut!
2020-12-02 22:44:02 +13:00
Terry MacDonald
6743061962 Fixed missing HeliosPLus renames 2020-12-02 22:06:50 +13:00
Terry MacDonald
c05078dd9a Fixed inadvertent SteamLibrary duplication
Accidentally was adding uplay games to the
steam library. Used AddRange to combine
the game libraries together so it works.
2020-12-02 21:53:11 +13:00
Terry MacDonald
c1980b9296 Update LICENCE to GPL v3
Also rename HeliosPlus to DisplayMagician
in the README file.
2020-12-02 21:18:49 +13:00
Terry MacDonald
415ff0eed0 Rename HeliosPlus to DisplayMagician
Decided to rename the application to DisplayMagician
to make it way more discoverable. Turns out there are
a LOT of applications named HeliosPlus!
2020-12-02 21:11:23 +13:00
Terry MacDonald
e80fe0f1bb Added new audio tab to ShortcutForm
Next step is to add some controls that get
populated by the library I'm using:
AudioSwitcher.AudioApi.CoreAudio
2020-12-01 23:00:16 +13:00
Terry MacDonald
beea0b825c Missed another LogReporter reference 2020-12-01 22:42:09 +13:00
Terry MacDonald
9a2a8453b2 Fix for late dir rename 2020-12-01 22:41:02 +13:00
Terry MacDonald
1903956b85 Fixed LogReporter
Fixed LogReporter error introduced by my earlier
modifications of HeliosPlus due to ProfileItem
object changes. This messed up the LogReporter
writing logic which in turn made log files balloon
to multiple GB in size! Also added capture of the
various JSON files that are used to store settings
so that we can help fix JSON errors.
2020-12-01 22:34:25 +13:00
Terry MacDonald
eb38e88dc5 [WIP] Renaming HeliosPlus.Reporter 2020-11-30 22:39:04 +13:00
Terry MacDonald
5cc2ce65fa Added Shell Extension to setup package
Managed to get the Shell Extension incorporated
into the HeliosPlus.Setup project so that it correctly
installs the shell extension (and uninstalls it too!).

Also updated the README.md so that it shows the
new Shell Extensino in action so people knows what
it does.
2020-11-30 22:25:58 +13:00
Terry MacDonald
fe852a6248 [WIP] Attempting to register Shell Extension
Trying to register the shell extension using the
built in COM registration function.
2020-11-29 15:31:06 +13:00
Terry MacDonald
b9d7a12ff1 [WIP] included InstallDir registry key
Added the InstallDir Regsitry key so that
the application works ok.
2020-11-29 15:23:37 +13:00
Terry MacDonald
4fabb275ca Upgraded ValveKeyValue slightly 2020-11-28 23:16:58 +13:00