Local WebAssembly runtime provenance ==================================== These artifacts were extracted without network downloads from a local clone of: https://github.com/lrusso/CounterStrike (identical mirror https://github.com/rhenryw/CSFull) commit 776b3012e0f91f22d78793fbe5f1869962de74a4 Reproduce: python3 scripts/extract-engine.py SHA256 and byte lengths: manifest.json Local audio fix: scripts/audio_patch.py replaces only SDL's JavaScript output callback and close hook in xash.js. The original callback started unscheduled 1024-frame buffers with a drifting setTimeout loop. The replacement delegates to public/audio.js for clock-scheduled immutable PCM buffers and pause/cleanup. All six WebAssembly binaries remain byte-for-byte identical to upstream pins. Local browser fix: scripts/browser_patch.py lets the wrapper explicitly choose engine pixel ratio (1), avoiding a high-DPI framebuffer/scope-mask mismatch. It exposes the existing SDL relative-mouse functions and prevents native keyboard handlers from swallowing menu controls while paused (key releases still pass). No scope textures, models or compiled game code are changed. Movement: native ground friction is restored to 4, with stopspeed75 and acceleration5. The former gameFriction=0 override is no longer enabled. scripts/movement_patch.py remains an optional helper, but the runtime does not opt into it. Auto-hop and the native bunny-cap bypass are enabled independently; air acceleration100 aids strafing, with normal running speed and a raised engine velocity safety ceiling100000. Local practice buying: scripts/shop_patch.py installs ReGameDLL's public CBasePlayer_AddAccount hook, replenishing actual native accounts to mp_maxmoney on each transaction. The native Money message/HUD remains authoritative. Its public EntityAPI KeyValue guard permits buying on arena maps by overriding only info_map_parameters.buying during parsing and restoring the original value pointer afterward; BSPs are untouched. Local board launch: scripts/board_patch.py wraps the public PlayerPostThink callback after original processing. On Pool Day's original board-tip contact band, ground contact sets human native velocity to (330,0,268.328157) and clears ground contact; a fresh native takeoff instead preserves its upward component and sets horizontal velocity to (330,0). Public SDK offsets are compile-time checked. Bots, other maps and previously-airborne passes are excluded. No private player offsets, camera writes or BSP edits are used. Local AK47 HE: scripts/ak_he_patch.py uses pinned public ReGameDLL 5.28 APIs for purchasing and per-weapon variant ownership. The public CBaseEntity-to-CCSPlayer accessor is validated against a real native player constructor and backlink; no private CBasePlayer inventory/account/recoil offsets are guessed. Original AK firing, clip, cadence, KickBack and event code runs; its tagged shots use zero penetration and queue native SpawnGrenade(HE) after ItemPostFrame. Native death/free/map hooks clean ownership; public APIs provide full ammunition and a bounded rebuy bookmark. scripts/ak_menu_patch.py adds adjacent AK/AK47 HE entries to the native CT rifle menu, with scope invalidation, native rebuy routing and player-facing failure feedback. scripts/ak_client_patch.py copies/restores the public client callback table at Initialize(7), retaining the original AK event and its sound/animation/shells while scoping PM_PointContents to stop only HE-AK client bullet effects before traces. Native grenade physics, fuse and explosions are unchanged. The same original AK models and sound assets are used; all six WASM binaries remain unchanged. The extractor verifies the original JS SHA256 before applying these exact patches; manifest.json records the patched hash and original source hash. No Valve game assets are part of this engine directory. Compiled versions: - Xash3D FWGS WebAssembly xash3d-fwgs@1.0.1 - CS16Client WebAssembly cs16-client@0.0.2 - ReGameDLL CS 5.28.0.0-dev, including CSBot/zBot - JSZip embedded in preserved loader Engine source: https://github.com/FWGS/xash3d-fwgs Game client source: https://github.com/Velaron/cs16-client Game DLL source: https://github.com/rehlds/ReGameDLL_CS Surviving web build recipe: https://github.com/toledomauricio/webxash3d-fwgs JSZip source/license: https://github.com/Stuk/jszip Licensing notice: The web wrapper's MIT license does not relicense its compiled dependencies. Xash3D source identifies GNU GPL version 3 or later. CS16Client LICENSE identifies GNU GPL version 2 or later, a Half-Life linking exception, and separate Valve Half-Life SDK terms. JSZip is dual MIT/GPLv3 licensed. Retain all applicable component licenses and comply with corresponding-source obligations for any redistribution. This provenance file does not replace those licenses or establish redistribution rights for original Valve assets, bot data, or custom map assets. Those are provided separately in the local asset pack. Reproducible-source caveat: Original yohimik web engine/client forks are currently unavailable. The surviving build recipe pins source commits whose complete fork patches have not yet been recovered. This build preserves already compiled binaries; it is not claimed to be a freshly reproduced source build. Review this before public redistribution.