Cant see HTML on launch, or device manager?

Hy guys,

I seen a bunch of these questions and but after following the official instructions no joy. After that didnt work i updated the .ini file and everything else instructed to do but still cant see the HTML5 option. Please can someone help me to resolve this? please see the ini below:

[Audio]
AudioDeviceModuleName=HTML5Audio

[OnlineSubsystemMcp]
benabled=false

[SystemSettings]
r.setres=800x600

[BuildSettings]
HeapSize=1024

[HTML5DevicesWindows]
(64 bit)=“C:/Program Files//firefox.exe”
(32 bit)=“C:/Program Files (x86)//firefox.exe
Firefox (32 bit)=“C:/Program Files (x86)/Mozilla Firefox/firefox.exe”
Firefox Aurora (32 bit)=“C:/Program Files (x86)/Aurora/firefox.exe”
Chrome=“C:/Program Files (x86)//Chrome/Application/chrome.exe”

;all browsers on mac are 64 bit, 64 bit browsers can allocate more than 512MB of memory to around 1.5 GB.
[HTML5DevicesMac]
Safari=“/Applications/Safari.app/Contents/MacOS/Safari”
Firefox=“/Applications/Firefox.app/Contents/MacOS/firefox-bin”
Firefox (Aurora)=“/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin”

[HTML5DevicesLinux]
Firefox=“/usr/bin/firefox”

[HTML5SDKPaths]
Mac=“/path/to/emscripten/sdk”
Windows=“pathtoemscripten”
Emscripten=“C:/Program Files/Emscripten/emscripten/1.30.0”
Python=“C:/Python27”

Hey Lynck82,

This is how my HTML5Engine.ini file looks like:

[Audio]
AudioDeviceModuleName=HTML5Audio

[OnlineSubsystemMcp]
benabled=false

[SystemSettings]
r.setres=800x600

; These following settings have moved to the  inis and can be set from the editor
; These old value are left as reference until all old code paths are removed
;[BuildSettings]
;HeapSize=1024

;[HTML5DevicesWindows]
; (64 bit)="C:/Program Files//firefox.exe"
; (32 bit)="C:/Program Files (x86)//firefox.exe"
;Firefox (32 bit)="C:/Program Files (x86)/Mozilla Firefox/firefox.exe"
;Firefox Aurora  (32 bit)="C:/Program Files (x86)/Aurora/firefox.exe"
;Chrome="C:/Program Files (x86)//Chrome/Application/chrome.exe"

;all browsers on mac are 64 bit, 64 bit browsers can allocate more than 512MB of memory to around 1.5 GB. 
;[HTML5DevicesMac]
;Safari="/Applications/Safari.app/Contents/MacOS/Safari"
;Firefox="/Applications/Firefox.app/Contents/MacOS/firefox-bin"
;Firefox (Aurora)="/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin"

;[HTML5DevicesLinux]
;Firefox="/usr/bin/firefox"

;[HTML5SDKPaths]
;Mac="/path/to/emscripten/sdk"

I would suggest copying your old .ini file and moving it to your desktop and replacing your existing one with this information and see whether or not that has resolved your issue.

I also suggest downgrading to Emscripten 1.29.0 and see whether or not that’s part of the issue. Please make sure that you’ve also set up the Environment Variables on your computer for example:

  • Variable | name: EMSCRIPTEN_ROOT | value: C:\Program Files\Emscripten\emscripten\1.29.0 (or wherever emcc.exe is location)
  • Variable | name: LLVM_ROOT | Value: C:\Program Files\Emscripten\clang\e1.29.0_64bit (or wherever llvm.exe is location)
  • Variable | name: NODE_JS | value: C:\Program Files\Emscripten\node\0.10.17_64bit (or wherever node.exe is location)
  • Variable | name: PYTHON | Value: C:\Program Files\Emscripten\python\2.7.5.3_64bit (or wherever python.exe is location)

After you’ve checked all of this information and updated, I would suggest restarting your computer and checking. If you’re still running into complications, please update your post with detailed information so that we can assist you further.

Thank you and have a nice day!

Hy , Many thanks for your prompt reply. While copying your instruction first instruction and replacing the ini file with the above, unreal engine would crash instantly when after clicking the .exe? So i reverted back the the old ini and continued to follow the other instructions. I have now re-installed both emsdk-1.29.0-web-64bit and the python-2.7.amd64.

After installation i assumed the emcc.exe would be in the Emscripten folder, but its not there only the emsdk file (whatever that is)

Looking through the Emscripten folder there is a zips folder which “containsvs-tool_0.9.4”, “llvm-e1.34.1” and “clang-e1.34.1” ?

Looking through the “containsvs-tool_0.9.4” in contains the platform tools and the emcc folder and Microsoft.Cpp.Emscripten.emcc.props file. but no .exe

i have attached jpegs of the Emscripten folder and the emcc folder just incase this would help to resolve.

Many thanks

52237-emcc+folder.jpg

Hey,

It’s unfortunate that my HTML5Engine.ini caused your engine to crash. But I’m glad I told you to keep a back up for this very reason. :slight_smile:

‘VS-Tools_0.9.4’ is related to Visual Studio. Are you working out of Binary or Source? Binary is the Epic Games Launcher while source is through GitHub.

In the meantime, I am going to run through the HTML5 steps as thoroughly as possible to ensure no steps were missed when you set it up.

When you installed the emsdk-1.29.0 did you leave everything checked on the installation options? If so, one of the options that’s given to you is “Add emsdk to System PATH” which should be checked by default. This should automatically add the environment variable for Emscripten.

After that’s occurred, I suggest going to confirm that the Emscripten variable was set up.

You can do this by doing the following:

  • Go to System Information on your PC (Windows key+Pause Break).
  • Click on Advanced System Settings.
  • Click on Environment Variable.
  • Look under System variables

After you check on that, you’d then add in the environment variables that I listed in my previous message to you. Under System variables, you should see a variable called EMSCRIPTEN and its value should be the directory path to where the SDK was installed. This is also needed for the SDK to be recognized by the engine, so you can build for HTML5.

If you’re using Visual Studio because you’re using the source version of the engine, please make sure that once all of your environment variables are in place that you launch the GenerateProjectFiles batch file (located in the root of your build) again for HTML5 to show up. Once it shows up, you’ll need to build for HTML5 for the engine to recognize it.

If for some reason you had “Add emsdk to System PATH” unchecked, you will need to manually add that value. The path will be to the folder where the file emcc is located. Example: Installed location\Emscripten\emscripten\1.29.0\

Are you positive that you’ve ran through every single step in the process for HTML5?

If you’re still having trouble, would you mind upgrading to 4.8.3 and seeing whether or not you’re running into the same issue? And if you are, would you mind checking 4.9 Preview 1 as well?

Looking forward to hearing back from you, please feel free to include as many details as you can!

Thanks!