Help with setting up HTML5 for UE 4.1.0 through Github

I tested this from scratch and was able to successfully build an HTML5 binary.

I did the following:

  • cloned EpicGames/UnrealEngine from GitHub
  • integrated the required binary zip files
  • ran GenerateProjectFiles.bat
  • built Development_Editor config of UE4
  • built Development version of UnrealFrontend
  • ran UnrealFrontend from Engine/Binaries/Win64
  • did the HTML5 profile process describe earlier

I have Emscripten 1.16 installed via their web-based SDK installer. Instructions for setting up Emscripten are included in our HTML5 documentation pages here: Sharing and Releasing Projects for Unreal Engine | Unreal Engine 5.1 Documentation

I get confuse with this
Environment Variables…
After Installing Emscripten 1.16
what is name and value i have to put

i hav share image ref

Sorry buddy! Troubling u so much :frowning:
bt i am completely new and no one here to solve my these problems

In the Environment Variables window, you need to have a definition for EMSCRIPTEN under the “System variables” section:

6822-step1.png

If you don’t see a definition for EMSCRIPTEN, then the Emscripten SDK did not install properly. The SDK should take care of creating this variable for you. If it doesn’t, for some reason, you can click the “New…” button and enter the following:

6823-step2.png

Note that the path here (D:\Emscripten\emscripten\1.16.0) will be different in your case. You will need to change it to wherever you installed the Emscripten SDK. The folder pointed to by the EMSCRIPTEN variable should contain a file called ‘emscripten.py’

after installed emscripten i checked the environment where its auto created name and variable
there is in folder emscripten.py exist

bt…

after installed emscripten and followed all proper setup
when UnrealFrontend advance create new profile
and keep all by tutorial there that html5 disable
even github unreal engine html5 still disable
where i am wrong :frowning:

even in launch option A required platform SDK is missing

if u want to see i will attached all required snapshot or info
please help me

I am Waiting for ur reply

link text
There i tried again
here is skipping files when i am building ue4 in visual studio express 2013

Hi,

Here is the check list I normally use:

  1. Install emscripten SDK 1.16 from Emscripten SDK · emscripten-core/emscripten Wiki · GitHub
  2. Generate the UE4 project by double clicking the GenerateProjectFiles.bat in the root directory
  3. In the Visual Studio project, build the Unreal Frontend
  4. Run Unreal Frontend
  5. Select the Game Launcher tab
  6. Select the Advanced… icon on the left
  7. Click the + button near the drop down to create a new profile
  8. Browse for the uproject file by selecting the Project drop down and browsing to your project location
  9. Click on the Build check box on the right side of the Build section, this will build your game or UE4Game if it is content only
  10. In the Cook section, select By the Book from the drop down
  11. Select HTML5 in the Platform list (if HTML5 does not show up here then the HTML5 target platform library wasn’t built in step 3, go back to step 3 and force a clean build of Unreal Frontend)
  12. Select the map you wish to load.
  13. in the Package section select Package and Store locally and leave the options blank
  14. Select the Launch button at the bottom of the window, this will launch the build and cook process
  15. Once that completes, you should have the game in the Engine/Binaries/HTML5 directory (for a content only project) or Game/Binaries/HTML5 (for a code project) with a simple web page to load it in to.
  16. Load the web page (GameName.html) in to Firefox or Firefox 64-bit and verify your game launches.

16.a. If you want to try it in Chrome, then you will need to run a simple server. I typically run python -m SimpleHTTPServer 8888 from within the Binaries/HTML5 directory and then browse to that server in Chrome (http://127.0.0.1:8888/GameName.html).

Let me know if you run into anything after following those steps and we can troubleshoot further.

-Pete

Thxs! That worked like a charm. Just one question tho’ why aren’t my textures showing? Is there a size limit for them? These are just 512*512 textures.