Tool BGE Browser (http server+browser)

baka

Engaged Member
Modder
Oct 13, 2016
3,496
7,278
This is a browser/local http server all-in-one tool.
created by Baka from the BGE team ( ) ( )

OS
Windows 7, 8, 10 (not sure about XP, VISTA)

Purpose:
To be able to run a html game offline that require a http location.
Instead of using multiple programs, this tool can be both a server and a internet browser.
it will use the windows own IE, in windows 7 it will offer IE10 and windows 10 it will be IE11.
If IE is giving you issues, it is possible to launch firefox/chrome instead, while still use the http-server.
it will use a random port, but is its possible to set a port using parameters and also the hostname (otherwise localhost)

Usage:
Run it in the same folder as the *.htm file. it will check for index.htm/html and default.htm/html, if not any *.htm/html it can find.

Optional (Parameters)
-f (start firefox)
-c (start chrome)
-h (hide the window, use this if you want the program to be hidden when running firefox/chrome)
-# (a number in second of how long the program will be alive before shutting down, use with -h)
# (a number 1-65535, what port to be used, if that port is already used, or theres an error, it will try a random port)
hostname (a specific hostname, this can be used if you edit the hosts file)

Download:


(the file include 3 examples .bat files how it can be used, if you want to launch firefox/chrome)

Virustotal:

(as always my programs will have some virus-alerts)
 
Last edited:
  • Like
Reactions: nirvanita54 and Cul