Commit Graph

9 Commits

Author SHA1 Message Date
Ben Marsh
45ebc11eb9 Add native feedback context for Windows, and use it to display project file generation progress in UnrealVersionSelector. Also generate project files when switching versions.
[CL 2073201 by Ben Marsh in Main branch]
2014-05-14 14:53:19 -04:00
Ben Marsh
4b37f14c76 Incorporate support for non-foreign project handling into scheme used by UnrealVersionSelector et al, and automatically register engine installations whenever necessary.
Whenever a blank engine association is read from a .uproject via GetEngineIdentifierForProject(), it checks up the directory hierarchy for an engine capable of loading it via its .uprojectdirs search directories. If found, it will use that engine's local identifier from the registry, or register it if it doesn't exist.

Setting a project's engine association to an engine which is capable of loading it via it's .uprojectdirs will cause it to write a blank engine association string into the .uproject (and triggering the behaviour above on open).

#codereview Michael.Trepka

[CL 2064463 by Ben Marsh in Main branch]
2014-05-06 10:27:35 -04:00
Ben Marsh
7a8a1da4ba Fix command line for launching games using UnrealVersionSelector. Engine arguments use hyphens, not slashes.
[CL 2056598 by Ben Marsh in Main branch]
2014-04-25 13:30:17 -04:00
Ben Marsh
ec684822c3 Updates to version selector.
* Lots of code moved into IDesktopPlatform for sharing with Launcher and Mac (including setting up file associations, querying project versions, etc...)
* Hack to enumerate all the known launcher engine installations. Does not use registry keys any more. Will probably change to use a list of installations generated by the launcher at some point soon.
* List of registered GitHub builds is stored in HKEY_CURRENT_USER
* Switching engine versions is now done through a dialog rather than through the context menu.
* VersionSelector includes a version number for shell integration, allowing it to defer to an existing installation of the same version if necessary.

#codereview Michael.Trepka

[CL 2045845 by Ben Marsh in Main branch]
2014-04-23 18:46:48 -04:00
Ben Marsh
8835780db3 Move functions for querying engine installations from Core to DesktopPlatform.
[CL 2044626 by Ben Marsh in Main branch]
2014-04-23 18:32:52 -04:00
Ben Marsh
5d2a27f07f Fix command line for handling of GenerateProjectFiles.bat in UnrealVersionSelector
[CL 2044389 by Ben Marsh in Main branch]
2014-04-23 18:28:06 -04:00
Ben Marsh
1e98028ebc Allow engine to query installed versions, so we can handle .uproject engine associations from inside the editor and at runtime.
[CL 2042660 by Ben Marsh in Main branch]
2014-04-23 18:07:04 -04:00
Ben Marsh
db55e91c16 Fix UnrealVersionSelector compile error on Mac.
[CL 2042372 by Ben Marsh in Main branch]
2014-04-23 18:02:49 -04:00
Ben Marsh
4de5cfa396 Add UnrealVersionSelector. Allows having multiple engine installations (GitHub and binary) on the same machine, and uses a tag in the .uproject file to associate projects with the correct one. Also sets up explorer shell extensions on Windows, allowing a project to be associated with any engine version.
[CL 2041588 by Ben Marsh in Main branch]
2014-04-23 17:52:54 -04:00