Commit Graph

11 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
6251d1c57e Change project 'upgrades' to be based on the format of the project file and nothing to do with engine version or association, and allow the UpdateGameProject commandlet to always write latest version information to the file.
[CL 2072245 by Ben Marsh in Main branch]
2014-05-13 18:23:53 -04:00
Jamie Dale
8df82f10d1 Fixed UnrealVersionSelector failing to add UE4 installation paths
FDesktopPlatformWindows::RegisterEngineInstallation was checking that creating the registry key had failed (rather than succeeded) before trying to add the value to the key.

ReviewedBy Ben.Marsh

[CL 2070177 by Jamie Dale in Main branch]
2014-05-12 08:39:57 -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
Max Preussner
c0a2d304b4 fixed UnrealEngineLauncher overwriting local P4 workspace files with files downloaded from the internet if launched through an Editor that was started with -Dev
[CL 2046896 by Max Preussner in Main branch]
2014-04-23 19:02:27 -04:00
Ben Marsh
890b81e3d2 Change default UnrealVersionSelector executable name to not have the Win64-Shipping suffix.
[CL 2045894 by Ben Marsh in Main branch]
2014-04-23 18:48:03 -04:00
Ben Marsh
6c05d84ef1 CIS fixes for 2045858
[CL 2045863 by Ben Marsh in Main branch]
2014-04-23 18:47:20 -04:00
Ben Marsh
7b0f041f8b Add missing resources for UnrealVersionSelector, add missing to DesktopPlatformWindows and remove RegisterShellCommands.bat (just run UnrealVersionSelector to set up file associations). Also always select something by default in the switch engine version dialog.
[CL 2045856 by Ben Marsh in Main branch]
2014-04-23 18:46:59 -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
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00