Commit Graph

29 Commits

Author SHA1 Message Date
temacdonald
61d09e2f2f Fully working Display Profile Form
Display Profile Form now works and handles all the
adding, removing of the display profiles. I've fixed
the comparison (Equals/Contains) for the various
forms so that profile.equals() works well. This fixed
IsActive and IsAvailable as well.
2020-05-14 22:38:31 +12:00
temacdonald
f0db474086 [WIP] Remaking Equals and Contains for Profiles
The existing comparisons didn't work well, and my earlier
changes didn't help at all. Decided to recreate them from
Microsoft's latest documentation. Nearly completed it but
need to finish off SurroundTopoly and do proper testing.
2020-05-13 23:04:18 +12:00
temacdonald
5be1aacc87 [WIP] Trying to fix Profile.IsPossible 2020-05-12 22:46:23 +12:00
temacdonald
c1d69ab8e1 [WIP] - Mostly working DisplayProfilesForm
The DisplayProfilesForm is mostly working, but it doesnt
cope with invalid profiles yet. This is where the profile
was set in a different configuration of screens, but those
screens have physically or OS level changed, meaning the
profile can't be used. This is handled in the Profile.IsPossible
function, and currently that appears to be broken. It needs
fixing.
2020-05-11 23:11:26 +12:00
temacdonald
861f1585b2 [WIP] Nearly completed refactor of DisplayProfileForm
Nearly have it working. It now saves, loads and renames
the display profiles. Need to fix up the delete, apply buttons
and make it remove the old ilv images when we rename
profiles.
2020-05-10 22:47:18 +12:00
temacdonald
7196791298 [WIP] Redeveloping the display profile window
Trying to simplify the display profiles window to
avoid the confusion I had when I started using
the program.
2020-05-10 01:02:07 +12:00
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
205dcdf2c7 Fixed SteamGame.ToString()
Also removed some unusued code from ShortcutForm.
2020-05-02 14:51:28 +12:00
temacdonald
25abab0246 Fixed low-res icons and running shortcuts
The icons were way too low res due to the use
of the built-in windows fileextracticon which only
extracts the 32x32 icon. This was making the list
of games look pretty bad. Fixed it now so it extracts
the PNG where possible. Also adjusted the extraction
so that the files are all extracted when the Shortcut form
is loaded.
    Also fixed the commandline options that result in
a Steam game being run, so that they now work. Also
fixed up the names of the extracted icons and made the
suggested naming of the shortcut more reliable and
less likely to include usable characters.
2020-05-01 22:30:27 +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
322fbcb305 Fix shortcutform to start on game Library option
The form was starting on the temporary executable
option, and thats not what people will use. So made it
start on the Game Launcher option instead.
2020-04-27 22:59:45 +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
s_falahati
458a073ed5 Edit page now contains a short description of the stage we are in 2018-10-24 03:06:55 +03:30
s_falahati
fda8596d2c Version added to the main window 2018-10-24 03:05:36 +03:30
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
5f9a007e95 Countdown screen no longer opens full screen in debug mode 2018-10-20 03:51:49 +03:30
s_falahati
6ed1e5d7d8 All Enums mirrored on the Shared assembly 2018-10-20 03:49:30 +03:30
s_falahati
2ab56b0c2f Cleanup 2017-08-10 18:51:45 +04:30
s_falahati
d38bc01125 Shortcut creator now checks if the IconCache directory is created 2017-08-10 18:41:38 +04:30
s_falahati
7087bc8695 Minor Cleanup 2017-08-07 21:08:48 +04:30
s_falahati
50f1fe9cde ListView now shows only name of the profiles 2017-08-07 21:06:40 +04:30
s_falahati
16edeef156 Group names moved to Language.resx 2017-08-07 21:06:22 +04:30
s_falahati
d8f27f0834 Minor cleanup 2017-08-07 20:56:57 +04:30
s_falahati
c30c30f638 Fixed editing of the profile in the list view 2017-08-07 20:56:12 +04:30
s_falahati
dd45011a06 Add project files. 2017-08-06 10:45:17 +04:30