Commit Graph

62 Commits

Author SHA1 Message Date
James Moran
2a1ba3ccad Packaging HTML5 deploys double-click script for HTML5LaunchHelper to avoid using the command line.
Fixes UE-19637

[CL 2647934 by James Moran in Main branch]
2015-08-07 11:00:13 -04:00
Ankit Khare
08ec877c77 Always copy web server during packaging itself too for html5. #jira UE-19556
[CL 2643992 by Ankit Khare in Main branch]
2015-08-04 16:19:39 -04:00
Peter Sauerbrei
dc1d815f84 refactored the logging system for UAT/UBT to be more like UE4
we now use an enum similar to UE4 with Fatal, Error, Warning, Display, Log, Verbose, and VeryVerbose
Log will only go to the log file unless -verbose is passed on the command line
reduced some of the output from UAT to be Log only

[CL 2631062 by Peter Sauerbrei in Main branch]
2015-07-23 14:51:46 -04:00
Ankit Khare
9f0dbaee08 #html5 fix packaging when prebuildsync was not called ( packaging content only games, sync'd from perforce)
[CL 2622371 by Ankit Khare in Main branch]
2015-07-15 16:37:24 -04:00
James Moran
e89583075e emscripten's file_packager.py requires EM_CONFIG is set before it's run.
#codereview ankit.khare

[CL 2615093 by James Moran in Main branch]
2015-07-09 10:31:56 -04:00
Ben Marsh
a8fbbae1a8 Fix compile failure on Mac due to unused variable warning being treated as an error.
#codereview Ankit.Khare

[CL 2611916 by Ben Marsh in Main branch]
2015-07-06 20:53:10 -04:00
Ankit Khare
bd63d0b413 UEPLAT-790: One click integeration with CDNs #html5
This allows the build to be uploaded Amazon S3 during packaging. the game http link can directly shared with other people.  This does not depend on AMZ SDK and only uses REST API.

[CL 2611867 by Ankit Khare in Main branch]
2015-07-06 19:26:15 -04:00
Ankit Khare
3f5f900855 Fix HTML5Launcher to correctly launch Safari and only attach to localhost by default. (attaching to other interfaces is behind a command line argument now - existing code causes issues on Windows with UAC and on stock Mac)
[CL 2610709 by Ankit Khare in Main branch]
2015-07-05 22:57:28 -04:00
Ankit Khare
9b38554ee8 UEPLAT-826 : use HTML5 SDK from third party directories.
- Always pickup HTML5 sdk from third party directory.
   - Use the new html5 template by default.

[CL 2610587 by Ankit Khare in Main branch]
2015-07-04 18:45:54 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00
James Moran
0672ad1e6f Fix HTML5LaunchHelper not serving to remote machines.
[CL 2600347 by James Moran in Main branch]
2015-06-25 06:39:00 -04:00
Ankit Khare
cb9851e8cc #html5 fix emitting compression for code projects. use consistent file extentions for compressed files.
[CL 2584749 by Ankit Khare in Main branch]
2015-06-11 15:29:20 -04:00
Ankit Khare
d2ec18b95e UEPLAT-794 Emit compressed javascript from HTML5 packaging .
- big build products which are sent over the wire are now compressed.
  - modfied HTML5Launcher to serve compressed files. Added this to the final packaged game too because python simple http server does not handle compressed files.
  - combined various javascript utlity files into one.

#codereview josh.adams, james.moran

[CL 2577658 by Ankit Khare in Main branch]
2015-06-04 17:21:16 -04:00
Ankit Khare
d95352df87 UE-15926 : missing symbols file.
make sure the the generated symbols file is checked in.

#codereview josh.adams

[CL 2559399 by Ankit Khare in Main branch]
2015-05-20 15:30:36 -04:00
Ankit Khare
bd6ee8ccad UE-8662: unresponsive script warning when using development buids.
- don't include debuggin info / minify development builds - cuts development binary size from 200Mb to 69Mb.
  - generate symbols file
  - modify template to download this symbols file on the fly on a crash and use it generate an unmangled and unminified callstack. ( we now have real callstacks for shippign builds!)

#codereview josh.adams , james.moran

[CL 2556055 by Ankit Khare in Main branch]
2015-05-18 18:27:24 -04:00
Ankit Khare
8a2d642116 HTML5: An alternate template with accurate progress bar/UI styling etc.
[CL 2521393 by Ankit Khare in Main branch]
2015-04-22 14:26:39 -04:00
Ankit Khare
f6875911b2 HTML5: Correctly gate map downloading. Use a progress bar with real progress instead of an infinite throbber.
[CL 2514434 by Ankit Khare in Main branch]
2015-04-16 12:11:10 -04:00
Ankit Khare
fc94ebce37 HTML5: Don't create per map paks when doing "Launch On".
[CL 2507081 by Ankit Khare in Main branch]
2015-04-09 14:18:38 -04:00
Ankit Khare
79542f541b Allow HTML5 to download maps on the fly.
UPLAT-685 (Remove Virtual File System to reduce run-time memory overhead and allow for larger worlds in HTML5)

#codereview josh.adams, james.moran

[CL 2505577 by Ankit Khare in Main branch]
2015-04-08 14:53:36 -04:00
James Moran
fc5be6e3ff Disable -js-console on HTML5 firefox device as it causes v36 to lock up on launch.
[CL 2473739 by James Moran in Main branch]
2015-03-10 10:17:11 -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
James Moran
6a028fd2c9 Fix incorrect HTML5 command line for content only games when enabling pak files.
[CL 2435089 by James Moran in Main branch]
2015-02-06 04:29:05 -05:00
James Moran
0fc63432ef HTML5 always uses Pak files when packaging. Pak files are compressed for HTML5.
Fixes UE-6883

[CL 2429640 by James Moran in Main branch]
2015-02-03 05:40:53 -05:00
Terence Burns
6f98decbcd UE-8433
Added an error code for missing ue4game binaries when packaging a non code project.
Added a check in main frame actions to determine whether we display a dialog with the error message in it.

Fix for incorrect IOS stub path being logged
Fix for incorrect Android apk path being generated for non ue4game renames in ::GetFinalApkName

[CL 2427458 by Terence Burns in Main branch]
2015-02-01 12:33:30 -05:00
James Moran
c5b4ca076e HTML5 SDK settings are now set via the Editor.
Android SDK path backslash duplication fix.
Fix for User inis not saving array properties correctly.

#codereview Ankit.Khare, Josh.Adams

[CL 2418611 by James Moran in Main branch]
2015-01-26 10:22:57 -05:00