Commit Graph

591 Commits

Author SHA1 Message Date
Terry MacDonald
0808c6b1ba Added additional adapter output 2021-06-19 10:01:04 +12:00
Terry MacDonald
b1e9e6c295 [WIP] Added HDR functions to lib 2021-06-19 09:48:47 +12:00
Terry MacDonald
cf446101dd [WIP] Enough data for the Idenitifier
We now have enough data for me to identify
all the connected display devices, and to
generate a display identifier which will work
no matter if AMD Eyefinity is enabled or not!

This should allow me to generate an display
identifier that will work like the NVIDIA ones.
2021-06-18 21:31:55 +12:00
Terry MacDonald
3feef6f429 [WIP] Additional ADL2 conversions 2021-06-18 18:11:32 +12:00
Terry MacDonald
71550ba9a7 [WIP] Partial move to ADL2
Need to do this to gain access to extra
useful fields that just don't exist in ADL
functions. Example being HDR capabilties.
2021-06-18 18:02:14 +12:00
Terry MacDonald
6d64c1769a [WIP] Partial migration to ADL2
Its the only way to get HDR information :(
2021-06-18 12:33:46 +12:00
Terry MacDonald
3d0cf2542e [WIP] testing ways to get all displays
Trying different ways to get a list of all the connnected
displays via the AMD ADL library. It seems pretty
onerous at the moment, and seems like there is still a
lot of work to go :/. AGS may have been the better
way to go, but ADL at least had a C# example for me
to start with!
2021-06-17 21:40:10 +12:00
Terry MacDonald
854a359807 Fixed correct connector info 2021-06-17 20:10:14 +12:00
Terry MacDonald
b1b0ae26f5 Partially working displayids
It needs to be fixed as it isn't getting
the underlying displays when eyefinity
is turned on. Need to find a way around
that
2021-06-17 18:51:48 +12:00
Terry MacDonald
a39d9cbe01 [WIP] Working adapter and display grabbing
Need to add Display Device info extraction.
Have created consts for the connector types
in c#, but now need to add the logic to decode
the ADLDeviceConfig returned value!
2021-06-16 22:15:15 +12:00
Terry MacDonald
583fffb612 [WIP] Learning about PInvoke
This is a lot of learning about Pinvoke
and the way to marshal c structures
into c# managed structures when passed
as out.

This is all a lot more indepth than I was
hoping it was going to be!
2021-06-15 21:55:15 +12:00
Terry MacDonald
ee7c5fe1da [WIP] Building AMD library functions
There is a long road ahead of me, but
at least some of the structure is working
now! We can at least call the AMD ADL
library and get results returned back!
2021-06-14 21:42:16 +12:00
Terry MacDonald
a8c0307ace [WIP] Working basic adapter detection
Need to begin to put this in the right
places....
2021-06-14 20:37:35 +12:00
Terry MacDonald
f3acb9d292 [WIP] Seemingly basic connectivity working
So much left to do though!
2021-06-13 22:54:19 +12:00
Terry MacDonald
668d01e8a6 [WIP] Partially extended AMD ADL lib 2021-06-13 09:44:36 +12:00
Terry MacDonald
e0df4444c0 Merge branch 'develop' into feature/amd-eyefinity-support 2021-06-10 19:30:31 +12:00
Terry MacDonald
77d67d7ef5 Merge branch 'main' into feature/amd-eyefinity-support 2021-06-10 19:28:24 +12:00
terrymacdonald
c6b07c5ff7
Create SECURITY.md 2021-06-08 15:38:55 +12:00
Terry MacDonald
d403f2d0ef Update to v1.1.4 2021-06-08 07:55:52 +12:00
Terry MacDonald
54132777fb Fixed broken application library display
Accidentally broke the applications from displaying
in the ShortcutLibraryForm. Now fixed.
2021-06-08 07:28:36 +12:00
Terry MacDonald
34e4833ba1 [WIP] partial pause 2021-06-08 07:21:36 +12:00
Terry MacDonald
cc1e9307cc [WIP] Added the multiple extern mappings
ADL2_Display_SLSMapConfig_SetState
ADL2_Display_SLSGrid_Caps
ADL2_Display_SLSMapIndexList_Get
ADL2_Display_SLSMapIndex_Get

Have to try and sort out the delegates and
the other bits to match the rest of the
AMD provided library entries.
2021-06-07 21:57:50 +12:00
Terry MacDonald
09e2b19bc3 [WIP] Added initial ADL2_Display_SLSMapConfig_Get()
Tried to add the first SLS map config get function into
the ADL.cs file, as well as all the supporting data
structures. Time will tell whether this will work or not!
2021-06-07 21:41:48 +12:00
Terry MacDonald
4849c3ffaf Updated Readme again 2021-06-07 19:45:28 +12:00
Terry MacDonald
9805eb46b7 Updated readme
This is the easy part...
2021-06-07 19:40:53 +12:00
Terry MacDonald
dbfaf1f7c8 Initial ADL library import
Using the example ADL.cs from
https://github.com/GPUOpen-LibrariesAndSDKs/display-library/tree/master/Sample-Managed
2021-06-07 17:55:44 +12:00
Terry MacDonald
3ee8f61b47 Updated readme 2021-06-07 11:32:49 +12:00
Terry MacDonald
63410627a6 Update version to v1.1.3 2021-06-07 11:05:29 +12:00
Terry MacDonald
c93d2b8378 Fixed coping with gamelibrary removal
DisplayMagician can now handle it if a gamelibrary
is removed, or if you use a shortcut config file from
later version of DisplayMagician with an earlier version
of the DisplayMagician application. It will simply ignore
the incompatible shortcut, and it won't be able to be
edited or used.
2021-06-07 10:57:59 +12:00
Terry MacDonald
109a675f04 Fix for "Pass arguments to Program" issue
This fixes the stupid '"Pass arguments to Program"
not retaining checkbox check bug' error that some
how passed my testing! Fixes #19.

Really sorry to everyone for missing this as I really
did do some extensive testing (or so I thought) but
it looks like I'll need to do another release!
2021-06-07 10:23:59 +12:00
Terry MacDonald
25ecb0bd2a Added find examples button. 2021-06-06 10:40:53 +12:00
Terry MacDonald
cf843ab8d3 Update readme images to v1.1.2 2021-06-06 10:37:47 +12:00
Terry MacDonald
52c3d02d15 Updated some more details 2021-06-06 10:29:47 +12:00
Terry MacDonald
a29106b535 Added explanation of ways to start shortcuts 2021-06-06 10:28:30 +12:00
Terry MacDonald
ca463f7dea Fixing list formatting issues 2021-06-06 10:22:59 +12:00
Terry MacDonald
084bf7ea5f Replaceing divs
In order to centralise the images properly
within Github pages we need to use paragraphs
rather than divs.
2021-06-06 10:20:38 +12:00
Terry MacDonald
e6ca4db88c Aligning problems 2021-06-06 10:17:22 +12:00
Terry MacDonald
10f1fa8505 Updated releases link 2021-06-06 10:10:07 +12:00
Terry MacDonald
4648529260 Added download buttton
Added more prominent download button
to the main readme file and the one shown
on displayagician.littlebitbig.com
2021-06-06 10:04:26 +12:00
Terry MacDonald
64b0f4a0fa Made game library support clearer 2021-06-05 23:00:44 +12:00
Terry MacDonald
894bdf0550 Updated update JSON
Update JSON is now ready to push
live to release v1.1.2.
2021-06-05 22:57:20 +12:00
Terry MacDonald
42ace491ff Updated Readme
Added the fact that GOG is now
supported.
2021-06-05 22:44:27 +12:00
Terry MacDonald
bfb164fd41 Added GOG Game Library Support
Added initial GOG library support.

Also refactored the GameLibraries so that
they also start the game themselves, as
each library is different in how it starts the
game. This is the simplest way to handle that.
2021-06-05 22:41:29 +12:00
Terry MacDonald
0cb5119d62 Updated README files 2021-06-05 20:06:41 +12:00
Terry MacDonald
84871ba14c Added Epic Game Library support
Added Epic game library support based
on the awesome work by Josef Nemec in
his software Playnite. I just transposed his
hard work into DisplayMagician and made
it all work! Thanks to Josef!

Also fixed up some little bugs in the way the
derived Game classes work with the base class
for some of the propoerties. Now fixed.
2021-06-05 16:58:00 +12:00
Terry MacDonald
8dc16dd0df Merge branch 'feature/add-epic-game-library' of https://github.com/terrymacdonald/DisplayMagician into feature/add-epic-game-library 2021-06-03 21:12:52 +12:00
Terry MacDonald
f668d7e9d2 Creation of EpicLibrary files 2021-06-03 21:12:09 +12:00
Terry MacDonald
28759f8552 Creation of EpicLibrary files 2021-06-03 21:09:37 +12:00
Terry MacDonald
0f294996c1 Refactored stopping start programs
Changed the process stopping logic
to make it more relable, and also make it
much more likely to actually stop the
programs even if they do things like
launch other programs and stop themselves

Added more helpful instructions

Added a link to the Example Start Programs
settings on the wiki by clicking on a button
in the ShortcutForm itself.

Added helpful MessageBox telling people
they need to select a Game Shortcut in order
to run, edit, delete or save it. Also included
text about the mouse right-click menu.

Clarified text on the StartProgramControl.
2021-06-03 21:04:40 +12:00
Terry MacDonald
e31bbbd4aa Added stronger start program closing
Any start program that is started then
tries to doubly make sure that the program
is also closed. Now checks for something to
close in the following order:
- tries to close the process it opened
- if that was closed it tries to find any child
  processes started by the original process in
  case it was a 'launcher' process
- If there are no children with the same parent
  process then it just tries to close all processes
  with the same name as the one it opened.
  That final close also is a forced kill, as I've found
  programs like SimHub resist closing....
2021-06-02 21:53:18 +12:00