This project is an Emscripten-based web port of Xash3D-FWGS, an open-source engine for games based on the GoldSource engine.
git clone --recurse-submodules https://github.com/yohimik/webxash3d-fwgs.git
cd webxash3d-fwgsYou must provide your own game files (e.g., from Steam):
steamcmd +force_install_dir ./hl +login your_steam_username +app_update 70 validate +quitZip and and copy the valve folder from your Half-Life installation into the public/valve.zip.
Note: zip contents should be like this:
/valve.zip
├──┬/valve
│ ├───/file1
│ └───/file2...
└──┬/cstrike
├───/file1
└───/file2... docker compose -f hlsdk.docker-compose.yml up -dNavigate in your browser to http://localhost:8080
docker compose -f cs16-client.docker-compose.yml up -dNavigate in your browser to http://localhost:8081
Cannot be supported at this moment (wait for freevgui).
Support mobile devices (currently crashes).
Fix all issues above and publish xash3d-fwgs npm package.
Support GLES3Compat batching and fix Vertex buffer is not big enough for the draw call.Understand this warning warning.
Some scripts stop working after saving and loading (eg. the guard doesn't open the train door).








