Commit Graph

17 Commits

Author SHA1 Message Date
temacdonald
cc42c05bd7 Created new Main Form to separate main tasks
It seemed to me that it would make more sense to
separate tht two main tasks completely and have them
independent from each other in the program. So I
created a new MainForm that opens up either a
'Setup Display Profiles' or 'Setup Game Shortcuts'
window depending on what the user clicks.
    The idea is that Display Profile setup only happens
when the app is first installed, and after that it's just
the game shortcut that gets updated.
    Also created a first attempt at a new HeliosPlus Icon.
2020-05-03 20:39:35 +12:00
temacdonald
ae1a759be4 [WIP] Changing Icon lib libraries
The current Icon Library is old and I haven't been
using it properly :). I need to use something different
and the IconExtractor library is still being updated
whereas the IconLib.Unofficial isn't any longer.
2020-04-29 22:29:43 +12:00
temacdonald
04c93e283a Fixed commandline so shortcuts would work
Had to adjust both the order and structure of the command
line so that the shortcuts would work, and wouldn't make
people crazy! And adjusted the shortcut creator to make sure
it generated correct shortcuts. Still a lot of edge cases sitting
in there so need some good testing.
    Also disabled the CreateShortcut option, as it doesn't really
work with the future combined list of multiple game library
families.
    So the main command line options now are:
- SwitchProfile permanent ... = swaps to a new display profile
- SwitchProfile exe ... = temp swaps to profile and runs an exe
- SwitchProfile steam ... = temp swaps to profile and runs a steam game
- SwitchProfile uplay ... = temp swaps to profile and runs a uplay game
- EditProfile ... = goes straight to the edit display profile screen
- <none>   = starts up the graphical UI.
2020-04-28 22:38:43 +12:00
temacdonald
8f41b94427 [WIP] Massive redevelopment to alter shortcut form
Added in a binary VDF reader to find and figure out all
of the Game Icons, Exe locations, Names, Ids and
Install Dirs all from the local file syste,m. It makes the
shortcuts populate within 1 second, rather than the
60 seconds it was taking beforehand. Users should
love the newfound responsiveness.
2020-04-27 22:55:44 +12:00
temacdonald
a9bb295d1f Renamed app to HeliosPlus namespace and more
Renamed app to HeliosPlus namespace so that the updated
changes don't interfere with HeliosDisplayManagement if
that is also installed. The fact that I've changed so much of
the app means that my changes would be unlikely to be
accepted by Soroush, so I'm best to release this work in a
similar way to other projects like Notepad++, by keeping
the same root name, and adding a plus.
    I've also changed the Shortcut form to put all the games
in a single list to reduce the number of clicks a user has to
do in order for them to create a shortcut. I have begun to
prepare the form so that it will support multiple game
libraries, but now I am at a point that I need to fix the Steam
and Uplay game detection mechanisms so that they report
the correct information for the lv_games list view.
2020-04-23 20:16:16 +12:00
temacdonald
413525f9a1 [WIP] Modified shortcut generation and Uplay skeleton
The programme compiles with the commandline changes
and the changes to the shortcut form, including aligning
the shortcut generation with the new command line.
   The Uplay skeleton has been disabled for now as I'm
concentrating on getting the commandline args working
and fixing the annoying errors in the way the MainForm
and the ShortcutForm work. Probably have a couple more
days work to fix that.
2020-04-22 23:46:31 +12:00
temacdonald
e71b5bcb29 [WIP] Refactor to use CommandLineUtils and change Shortcut Form
Changed to use natemcmaster's CommandLineUtils library to provide
flexbility for command structure, and enable the use of custom
validators which allow us to make sure that the command line options
provided are accurate. This removes the need for all the individual
exceptions being thrown across the main application.
    Also started the modification of the CreateShortcut Form to make
it easier to use and more self explanatory.
    And finally started the integration of Uplay into the application so
that users can use Uplay as well as Steam to select their games.
2020-04-19 17:37:29 +12:00
temacdonald
34337a0255 [WIP] Testing new CommandLineParser version 2020-04-16 22:49:11 +12:00
temacdonald
c061c5c32c Converted back to CommandlineParser
Converted back to CommandLineParser as there is better ability to
format the Help Text for error messages generated by additional checks
we're now performing after the commandline options have already been
parsed.
2020-04-14 22:18:52 +12:00
temacdonald
476d6bfcb5 Added ability to use profile name
Added ability to use profile name within speech
marks instead of profile ID if the user wants. Added
initial set of checks to warn the user when the
command line options are in an incompatible
state (wrong options used together).
2020-04-13 22:10:35 +12:00
temacdonald
38c6302c8a Converted to .Net4.8 and System.CommandLine.DragonFruit
Migrated to the latest .Net Framework (v4.8) and changed to
System.CommandLine.DragonFruit for the parameter processing
as CommandLineParser completely altered their required
programme structure which meant something had to change.
Figured using Microsoft's own poduct would be best.
2020-04-13 15:47:38 +12:00
s_falahati
4adc67c6f5 Each profile now has a unique identification string 2018-10-24 03:04:49 +03:30
s_falahati
c5bc1e3d26 Cleanup + Enforcing styling 2018-10-20 03:57:25 +03:30
s_falahati
58fa54c995 Fixing a problem with Steam's new TLS policy 2018-10-20 03:50:53 +03:30
s_falahati
2ab56b0c2f Cleanup 2017-08-10 18:51:45 +04:30
s_falahati
f3e50b5491 Program now shows a notify icon while waiting for a program or a Steam game 2017-08-10 18:42:44 +04:30
s_falahati
dd45011a06 Add project files. 2017-08-06 10:45:17 +04:30