Commit Graph

603 Commits

Author SHA1 Message Date
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
Terry MacDonald
abb2a3b905 Fixed starting all start programs
This fixes an edge case where a start program
is already running and DM would skip starting
any additional start programs. Fixes #18.

Also fixed an issue with it trying to stop start
programs processes that were already stopped
by the user or by some other process. It now
logs the fact this wasn't done as it was already
closed.
2021-06-02 20:14:54 +12:00
terrymacdonald
5f025bd3dd
Create pull_request_template.md 2021-05-23 16:15:01 +12:00
terrymacdonald
8cfe36dd54 Update issue templates 2021-05-23 14:27:59 +12:00
Terry MacDonald
933296760d Update Update.json again 2021-05-23 10:56:41 +12:00
Terry MacDonald
2aac805795 Update update JSON to v1.1.1 2021-05-23 10:38:32 +12:00
Terry MacDonald
09bedc9d3a Update version to v1.1.1
Also updating the homepage on
displaymagician.littlebitbig.com.
2021-05-23 10:32:26 +12:00
Terry MacDonald
9ec7b58f89 Fixed Game Shortcut Hotkeys
Fixed the Game Shortcut hotkeys so that
they work properly. Some late code changes
yesterday broke them :(. Sorry for the
inconvenience!

Also stopped the annoying 'bing' everytime
the notification toasts were created by
DisplayMagician when it did things. They are
now silent except for the ones that actually
require your attention, which should stop it
all being quite so jarring.
2021-05-23 10:17:45 +12:00
terrymacdonald
d504ee0af1 Update issue templates 2021-05-21 17:21:42 +12:00
Terry MacDonald
769714207a README updates 2021-05-21 16:28:55 +12:00
Terry MacDonald
468dee53bc Updated the update json 2021-05-21 16:10:59 +12:00
Terry MacDonald
ea3b3ec94b Updated update JSON 2021-05-21 16:00:50 +12:00
Terry MacDonald
129ef3d5fd Quick fix for StartPrograms
Fixed startProgram not clearing when
changing shortcuts.
2021-05-21 15:58:41 +12:00
Terry MacDonald
bb3e05969d Partially updated README 2021-05-21 15:51:30 +12:00
Terry MacDonald
ba51a27a0d Update the update.json to v1.1.0
The update has been tested and is ready to go.
2021-05-21 14:45:05 +12:00
Terry MacDonald
6565e2f2cc Fixed error when removing unsaved startprograms
The startPrograms UI would error when someone tried
to remove an unsaved startprogram from the FLP.
This has now been resolved.

Also managed to update a warning in the logs when
a program starts and the original exe is a loader that
loads another exe then closes itself. I've provided that
warning in the log file now.
2021-05-21 14:41:49 +12:00
Terry MacDonald
c6fb0ac5ad Fixing missing files in setup
DisplayMagician wasn't working when
installed due to missing files in the setup
build file list. This has been corrected and
an installation works fine now.

Also changed the Audio exceptions during
RunShortcut to Error level rather than Warn.
2021-05-21 13:23:07 +12:00
Terry MacDonald
8d5528a35d Made AutoUpdater more robust
AutoUpdater now works more reliably
as it now propoerly maps the JSON to
the objects that AutoUpdater expects
when retrieving the JSON from the
download server.
2021-05-21 10:55:23 +12:00
Terry MacDonald
58c41cf5f7 Added Hotkey Already Registered checks
Added to alert the user and record when a
hotkey is unable to be registered due to it
already being used.
2021-05-21 09:37:45 +12:00
Terry MacDonald
22b332770c Modified the setup installer
Added a couple of libraries
since we've added new functionality
2021-05-20 21:42:18 +12:00
Terry MacDonald
d14ee49996 Update version to 1.1.0
Also fix a csproj error.
2021-05-20 21:21:13 +12:00
Terry MacDonald
627b690e50 Simplified masked control
Made the control mask prettier and
simpler code. Works perfectly.
2021-05-20 18:18:08 +12:00
Terry MacDonald
8fd4c857ec Added help button
Added a help button that opens the
DisplayMagician Wiki. I feel like there
are so many functions and features
available in DisplayMagician that I need
to write some help and guidance on how
to use it.
2021-05-20 17:59:09 +12:00
Terry MacDonald
ce0b8dc829 Change start prog close default
This changes the start program to default
to closing the start program when the main
application closes. I believe this will be the
most common way to do things.
2021-05-20 17:54:29 +12:00
Terry MacDonald
d7d6f46492 Setting ApplyProfile top most
Setting the ApplyProfile to be top most
again since I fixed the latest profile bug
and we need it to work properly again.
2021-05-20 17:43:15 +12:00
Terry MacDonald
77fbec545b Added debug and trace options
Can now add a '--debug' or a
'--trace' option to the DisplayMagician
to force it to generate a TRACE log for that
session only. Once you close the application
it will go back to the normal logging level
set within the Settings Window.
2021-05-20 17:41:38 +12:00
Terry MacDonald
0dc7c9c0d1 Fixing slight logic error during restructure
Managed to break some logic when trying to
add robustness.... effectively doing the
opposite of what I was trying to do :/. Now
*should* be fixed, but we shall see with more
testing.
2021-05-19 22:24:04 +12:00
Terry MacDonald
2096322cf0 Make EDID detection robust
Modified EDID detection to make it more
robust and to report what went wrong in
the logs in more detail. Aids in #16
2021-05-19 21:32:49 +12:00
Terry MacDonald
a4db4b39b7 Updated game library images
Also changed from game library icons
to game library images to better match
the current icon generation logic.
2021-05-19 20:40:26 +12:00
Terry MacDonald
5b99c3ac7a Working Game selection window
Also correctly extracts icons from icon
files and game exes as best it can.
2021-05-18 22:03:02 +12:00
Terry MacDonald
36c085d918 Initially working iconextrator code
This code now will cope with incorrectly
formatted icons, and will simply ignore
them and move on to the next one.

This also fixes a game ILV adaptor error
which was causing argumentnullexceptions
2021-05-18 21:24:36 +12:00
Terry MacDonald
8e46178bbe Removed an old library 2021-05-16 21:48:26 +12:00
Terry MacDonald
5bdb2adba8 Mostly working Game icons!
Well this took enough time! I have
almost corrected all the issues with
the icon parsing functions, but I still
have a couple of edge cases to fix.
2021-05-16 21:46:58 +12:00
Terry MacDonald
22964f07df Made the Game Font readable
Game font was too large in the image
list view, so made it smaller.
2021-05-15 22:09:56 +12:00
Terry MacDonald
94d9da1b7c [WIP] Using single BItmap Generator
Changed to use a single bitmap generator
to try and simplify and standardise the way
that images are extracted from the games.
Have tried to use every method to extract
icons from icon files and from exes, but it's
still not quite right :(
2021-05-15 21:58:46 +12:00
Terry MacDonald
1366ef0ab2 [WIP] Some smaller icons still broken
Currently struggling with the fact that
the smaller game icons don't get extracted
properly, and that they end up tucked into
the top left of the 256x256 bitmap at
32x32 size... so really tiny. Need to find a
fix for this so it always returns a 256x256,
and attempts to grow the 32x32 icons into
256x256 icons.
2021-05-14 21:22:29 +12:00
Terry MacDonald
91a493a35d [WIP] Almost working game selection
This is almost working. I'm struggling with
the icons loaded from various icon files which
are coming in really small rather than the large
size they should be. The .Net Icon constructor
isn't making an Icon the size I requested, so I may
need to change something else.
2021-05-14 20:07:53 +12:00
Terry MacDonald
b84eff07ad [WIP] Nearly completed ilv game selector
This is almost working, but the icons aren't
being grabbed from the game bitmaps and
loaded into the ilb_games ImageListView
2021-05-14 18:17:23 +12:00
Terry MacDonald
dcb55f0063 Initial working dynamic start programs
The startprograms logic should now
work properly. The JSON transformation
from using Enabled to Disable setting has
been tested and works too.
2021-05-14 15:37:40 +12:00