Go to file
paradust7 ab6111aaab set build parallelism in common.sh 2022-08-07 03:29:20 +00:00
.github/workflows Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
sources Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
static Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
.dockerignore Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
.gitignore Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
Dockerfile Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
LICENSE Initial commit 2022-03-29 12:27:47 -07:00
README.md Remove emsdk patches no longer needed 2022-05-19 09:25:50 -07:00
apply_patches.sh Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
build_all.sh Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
build_curl.sh set build parallelism in common.sh 2022-08-07 03:29:20 +00:00
build_freetype.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_fsroot.sh Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
build_libarchive.sh Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
build_libjpeg.sh set build parallelism in common.sh 2022-08-07 03:29:20 +00:00
build_libogg.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_libpng.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_libvorbis.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_minetest.sh set build parallelism in common.sh 2022-08-07 03:29:20 +00:00
build_openssl.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_sqlite3.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_webshims.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_zlib.sh Commit some external source archives (for build stability) 2022-08-04 02:23:25 +00:00
build_zstd.sh set build parallelism in common.sh 2022-08-07 03:29:20 +00:00
common.sh set build parallelism in common.sh 2022-08-07 03:29:20 +00:00
emsdk_dirperms.patch Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
emsdk_emcc.patch Upstream merge fixes 2022-08-03 04:22:26 +00:00
emsdk_file_packager.patch Switch to WebGL2, add missing file packager patch 2022-04-24 09:49:41 +00:00
emsdk_setlk.patch Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
fetch_sources.sh Add libarchive, switch to WASMFS, use pack file (base.pack) for fsroot 2022-08-06 23:55:39 +00:00
incremental.sh Initial build scripts 2022-03-30 03:04:49 +00:00
openssl.patch Add openssl and curl for contentdb 2022-04-05 12:14:28 +00:00
pull_minetest.sh Initial build scripts 2022-03-30 03:04:49 +00:00

README.md

Minetest-wasm

This is an experimental port of Minetest to the web using emscripten/WebAssembly.

System Requirements

This has only been tested on Ubuntu 20.04.

  • Ubuntu: apt-get install -y build-essential cmake tclsh

Pre-requisites

The Emscripten SDK (emsdk) must be installed, activated, and in the PATH. It is assumed to be installed in $HOME/emsdk (edit common.sh to change this). The emsdk directory must be patched exactly once by running:

./apply_patches.sh

Building

cd minetest-wasm
./build_all.sh

Installation

If the build completes successfully, the www/ directory will contain the entire application. This includes an .htaccess file which sets headers that are required (by browsers) to load the app. If your webserver does not recognize .htaccess files, you may need to set the headers in another way.