sakkaku-dev / nethack-web

NetHack for the web
https://sakkaku-dev.github.io/nethack-web/
4 stars 1 forks source link
nethack

Nethack port for Web

Nethack for the web

Build

See build.yml workflow for exact steps.

Current build is from NetHack-3.6.7_Released (ed600d9f0)

Install Emscripten v2.0.34 (0d24418f0eac4828f096ee070dae8472d427edaa) and activate. NodeJS v16 is required to fix ERR_INVALID_URL error

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install 2.0.34
./emsdk install node-16.20.0-64bit
./emsdk activate 2.0.34
./emsdk activate node-16.20.0-64bit
source ./emsdk_env.sh

Fixes 3.6

Summary of the changes in lib/fixes36.diff to make Nethack 3.6 (most will not be needed anymore for 3.7 release)

Generate

To run tools/generate.js, remove type: module from package.json. To lazy to find a solution for it.

Assets

References