Commit Graph

23 Commits

Author SHA1 Message Date
Ben Marsh
df83418aeb Auto-format UBT for consistent spacing. All default Visual Studio settings, but tabs instead of spaces.
[CL 2704665 by Ben Marsh in Main branch]
2015-09-24 12:37:21 -04:00
Jamie Dale
1321916545 Made the Localise automation script more data driven, and removed some hard-coded assumptions
The Localise automation script processing was failing as we have acquired the "zh-Hans-CN" culture in our OneSky project, but the UE4 commandlet doesn't generate that culture, only "zh-CN". This was causing the script to fail as it couldn't find the data for that culture in Perforce.

This change has the Localise automation script read the same config file that the UE4 commandlet will use, and then use that config file data to work out what cultures it will export/upload to OneSky.

This change should also make the script generic enough for it to be used for other projects (once we can pass in the arguments on the command line).

[CL 2704649 by Jamie Dale in Main branch]
2015-09-24 12:25:10 -04:00
Peter Sauerbrei
e2e7e2edb6 missed some ini sections that need to be loaded
[CL 2692430 by Peter Sauerbrei in Main branch]
2015-09-15 17:05:07 -04:00
Peter Sauerbrei
e706287759 Speed up reading and accessing ini files from UAT/UBT
#uat
#ubt
#codereview ben.marsh, wes.hunt

[CL 2691637 by Peter Sauerbrei in Main branch]
2015-09-15 09:29:42 -04:00
Ben Marsh
9610023ca5 Use FileReference and DirectoryReference classes instead of strings for paths. Massively reduces the amount of paranoid calls to GetFullPath(), CleanDirectorySeparators() et al., and improves performance for really common UBT operations like making relative paths or checking if files are under a directory. Strong typing ensures that intention of parameters is explicit.
[CL 2678429 by Ben Marsh in Main branch]
2015-09-03 08:47:24 -04:00
Steve Robb
3b8ddc4689 Fixed ParseAction.Remove.
#codereview robert.manuszewski

[CL 2632090 by Steve Robb in Main branch]
2015-07-24 08:35:03 -04:00
Mike Fricker
ca39745810 Renamed WinUAP platform to UWP
- Microsoft renamed Universal App Platform to Universal Windows Platform
- https://msdn.microsoft.com/en-us/library/dn894631.aspx

[CL 2547380 by Mike Fricker in Main branch]
2015-05-12 12:00:23 -04:00
Jeff Campeau
cf48eb78f0 Fix issue deploying games with invalid characters in names or ABCD style guids.
Added some default values for project setup.
Added type support to default value macros for manifest settings.
Added a macro for manifest generation that filters all non-alphanumeric or dot characters (this is a common requirement for manifest fields).
Filtered game name with alphanumericdot and productid with guid type to support projects that didn't use the same format as some others.

[CL 2541236 by Jeff Campeau in Main branch]
2015-05-07 12:19:58 -04:00
Mike Fricker
65bbc0e732 Initial Unreal Build Tool support for Visual Studio 2015 and UAP (disabled by default)
- Merged in Microsoft's Unreal Build Tool changes for VS 2015 support, and Universal App Platform support
- VS 2015 support is disabled by default (the engine is not yet compiling with VS 2015)
- Use the new '-2015' option when generating project files to enable VS 2015 support
- Windows SDK 8.1 is used by default.  To use Windows SDK 10, enable WindowsPlatform.bUseWindowsSDK10
- UAP support is disabled (not supported yet, work in progress.)  Use WinUAPPlatform.bEnableUAPSupport to enable it.
- Various loose ends still remain (search for "@todo UAP" in Unreal Build Tool code)

[CL 2537920 by Mike Fricker in Main branch]
2015-05-05 15:32:10 -04:00
James Moran
f1320865f9 Many improvements to HTML5.
- Fixes to the Mac HTML5 Device selection. .app files now work correctly.
- Re-enabled HTML5 in Mac Editor.
- Added HTML5LaunchHelper executable to clean up the process of LaunchOn for HTML5.
- Improve HTML5 SDK Settings Editor interface. Only the emscripten install directory is needed now, SDK version are automatically picked up and selected for use.
- Change UnrealPak to also account for bytes saved (>64KB) and percentage size of original file (<90%) when choosing to automatically turn off compression.
- Added Server Port option for HTML5 deploy to stop clashes on port 8000
- Adding more logging for use during debugging & tracing.
- Added an option to turn on HTML5 tracing api and added calls to the api.
- Fix up check() macros to throw alert messages and be more clear that something has gone wrong on HTML5.

#codereview Ankit.Khare

[CL 2452979 by James Moran in Main branch]
2015-02-20 04:41:01 -05:00
Josh Adams
d80709d2c5 - Changed FConfigCacheIni files to have a "type" that determines if Flush is called on them when they go out of scope (temporary objects were writing bad files to disk) [UE-8542]
- Temporarily (until 4.8) deleting the bad Engine/Config/NoRedist/BaseEngine.ini that was being created because of the above problem

#codereview jamie.dale,terence.burns

[CL 2423949 by Josh Adams in Main branch]
2015-01-29 12:06:08 -05:00
Josh Adams
9cf8c67c77 - Generate AndroidManifest.xml from ProjectSettings
- Moved some Android settings to ProjectSettings, re-enabled SDK settings
- Removed SigningConfig.xml, and moved those settings into project settings
- Added concept of NotForLicensees and NoRedist engine and project config settings
- Removed BaseInternalGame.ini, replaced with NotForLicensees/BaseGame.ini
- Moved User*.ini to end of .ini hierarchy
- Added support for CLASS_GlobalUserConfig, so their settings will be saved to <AppData>/.../User*.ini (useful for SDK paths, etc)
- Enabled AndroidPlatformEditor module on Mac
- Changed Mac Build.sh to allow for Android on the commandline (just pass through if it's not an Xcode platform name)
- Iterative Android packaging now looks at just the important .ini sections, NOT entire .ini files

#codereview jamie.dale,james.moran,michael.trepka,robert.jones,chris.babcock

[CL 2413870 by Josh Adams in Main branch]
2015-01-21 11:17:55 -05:00
Robert Jones
b5a273a278 SDK path editing in editor.
- Added class to hold values (AndroidSDKSettings)
- Added code to Android editor module to setup the values on load
- Changed device detection so that the thread is always started and the SDK path can be changed on the fly
- Changed Platform Target Management Module so that a single platform can be checked via UBT
- Settings can now be sourced from an ini file via temp direct reading code (auto seralisation is disabled until later changes are made)
-- Settings currently not exposed in editor

- Added Mac Environment var setting support

Unreleated
- Envars can now be passed down to process start points in tools

#codereview michael.trepka

[CL 2412194 by Robert Jones in Main branch]
2015-01-20 10:05:42 -05:00
Kellan Carr
2e14550d4d rocket sample separation, samples can be built against specified rocket build, build individual samples
[CL 2391279 by Kellan Carr in Main branch]
2014-12-17 11:37:40 -05:00
James Moran
e48fdc9356 Enable User.ini's.
Switch HTML5 SDK setupt to prefer values from User*.ini's over environment varibles

FYI #codereivew josh.adams, ankit.khare, rob.jones

[CL 2383359 by James Moran in Main branch]
2014-12-10 09:07:36 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00
Marcus Wassmer
bcd5b9c326 Add GenerateChunks (-manifests) support to Packaging Settings. Read it properly from .ini when setting up ProjectParams.
#codereview josh.adams,peter.sauerbrei

[CL 2341633 by Marcus Wassmer in Main branch]
2014-10-27 17:53:23 -04:00
Josh Adams
7fe7dfe099 - Allow for UAT scripts to set up UBT to have proper engine relative path and UProject path. Only BuildCookRun does it currently
- Fixed .ini parsing of bools to allow for True, true, TRUE, etc.
#codereview Robert.Manuszewski,niklas.smedberg

[CL 2284471 by Josh Adams in Main branch]
2014-09-04 10:24:49 -04:00
Robert Manuszewski
94db02aa98 UBT: Proper fix for exceptions when parsing ini files that start with an empty line
[CL 2072844 by Robert Manuszewski in Main branch]
2014-05-14 09:02:56 -04:00
Ben Marsh
6e81cb70e2 Fix exception in UBT when config file starts with a blank line.
#codereview Robert.Manuszewski

[CL 2072838 by Ben Marsh in Main branch]
2014-05-14 08:57:52 -04:00
Robert Manuszewski
d0488e7915 Better project INIs support in UBT. Added project INIs to UAT project properties.
[CL 2072760 by Robert Manuszewski in Main branch]
2014-05-14 06:42:35 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00