SOS TTD browser edition, 2026-11-29
Publisher of this edition: SOS DIGITAL . PRO
Engine: OpenTTD 15.3, commit 14ec60f248547d4d062a1160f0fc26d742319888
Graphics: OpenGFX 8.0, commit e68bd9b7cb60305aa98c687b6836e0e0b08e2847
Sound: OpenSFX 1.0.3. See its readme and licenses.
Engine and browser shell: GPL-2.0. See engine/OpenTTD/COPYING.md.
Bundled third-party modules retain their respective licenses and notices.

Prerequisites on Windows: Visual Studio C++ Build Tools and Windows SDK,
CMake, Ninja, Python, and Emscripten SDK 3.1.57 installed at tools/emsdk.
The supplied PowerShell scripts point to the Build Tools path on the build PC;
adjust vsInstallPath if necessary. Obtain the Emscripten SDK from:
https://github.com/emscripten-core/emsdk
Install and activate SDK 3.1.57, without --permanent or --system.
Copy engine/OpenTTD/os/emscripten/ports/liblzma.py to the SDK's
upstream/emscripten/tools/ports/contrib/liblzma.py.
Run scripts/build-host.ps1, then scripts/build-web.ps1.
The build-web script applies scripts/configure-engine.py idempotently.
Run scripts/package-web.py with Python after the build.
Keep the same directory layout; the asset tar files are preloaded by CMake.
The third-party folder supplies downloaded source archives for build ports.

Changes versus upstream: quote resource paths correctly on Windows;
preload Polish, OpenGFX, OpenSFX and default config; enable SDL sound;
initialize new local configurations and surface storage errors; add the
SOS TTD browser shell with save import/export.
Expose em_sos_save_game for saving the current world from the website toolbar.
The square floppy button uses the browser Save File picker on supported
browsers. Folder-based automatic snapshots use the File System Access API;
both require the normal browser permission and retain user-selected paths.
Run node --test tests/disk-backup.test.cjs for the backup logic tests.
Music MIDI is not implemented in this browser edition.
No game-service backend or multiplayer WebSocket proxy is included.
