Skip to content

ololoken/xash3d-launcher

Repository files navigation

How to play with friends

In the title you'll see ololoken.NNNN— this is your virtual lan host name. When you create LAN server another player can connect to your game using console command connect ololoken.NNNN. Just send him the link to the demo and your virtual host name.

image Here you can see running game server in iphone's browser with connected desktop client.

In case of any issues open demos in private tab and/or using dev console purge indexeddb with name /xash. Dev tools console command is indexedDB.deleteDatabase('/xash').

How to build

First, install and configure emsdk.

emscripten xash3d fork

emconfigure ./waf configure --emscripten && emmake ./waf build && emmake ./waf install --destdir ./out

emscripten hlsdk-portable fork

 emconfigure ./waf configure --emscripten -T release && emmake ./waf && emconfigure ./waf install --destdir out

copy output to src/assets/module

To run the game you'll need data pack:

  1. cd /path/to/hl/valve
  2. zip -r -9 data.zip .
  3. copy data.zip to src/assets/module
  4. run server npx tsx server.ts in the source root
  5. run npm run dev in the source root
  6. http://localhost:8086 here will be your game

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published