Game library in the self-hosted version
The self-hosted (local) HypeMyStream ships the original 0.3.150 game library. The app’s built-in local backend serves it, so nothing is fetched from the old HypeMyStream cloud.
What is bundled
apps/desktop/resources/catalog/ is shipped as electron-builder extraResources (<resources>/catalog):
| Path | Content |
|---|---|
games.json |
The original catalog (112 games) plus HMS - Leaf Blower, which was added to HypeMyStream after 0.3.150. Ids, names, descriptions, engines, engine configs and versions are unchanged. |
commands/<gameId>.json |
The original per-game commands (5,640 in total), copied byte for byte. |
art/<gameId>/{icon,banner,poster}.webp |
The original artwork, resized (icons 256 px, banners 1280 px wide, posters 720 px wide) and re-encoded as WebP (quality 82, transparency kept). 18.6 MB instead of 146 MB. |
gifts/<platform>.json, gifts/tiktok/* |
The original gift catalogs: 1,075 TikTok gifts with their icons. YouTube, Twitch and Kick were empty in the original too. |
The local server (local-obs-server.ts, http://127.0.0.1:39217 by default) serves /catalog/art/... and
/catalog/gifts/.... The local API (local-dev-api.ts) returns the catalog with those URLs, so the renderer,
the OBS overlays and the gift pickers load artwork from the computer.
tools/import-original-catalog.py builds the folder from the original asset package (Python 3 + Pillow):
python3 -I tools/import-original-catalog.py <original-assets> apps/desktop/resources/catalog <release-assets>
Mods
The 85 original mod packages are not in git. They are published unchanged on the GitHub release mods-v1:
https://github.com/hypemystream/hypemystream/releases/download/mods-v1/<gameId>-<modVersion>.zip
Each catalog row keeps its modVersion and carries modSha256 and modSize. The sha256 is the original one;
the old storage named every file after its hash. The import script writes the zips and a mods/index.json
({ gameId: { file, version, sha256, size } }) into the release-assets folder. Upload them with:
gh release create mods-v1 --repo hypemystream/hypemystream --title "Original mods" <release-assets>/mods/*
Install flow: the engine handler asks the local API for GET /api/games/:id/mod-download. That returns
{ url, sha256, version, size }. The download helpers (packages/mod-engines/src/mod-installer.ts) then fetch
the GitHub URL, follow its redirect and check the file’s sha256 before the handler extracts it. A file that
does not match is deleted, and the install fails with a checksum error. The Minecraft plugin install checks
the hash the same way.
At runtime, POST /api/games/:id/mod-init and the live-session start and game-switch calls mint a fresh
32-byte modToken for HMAC-enabled games. They also return an actionMap that pairs each command code with
its original command id. The mods themselves only talk to the desktop app on 127.0.0.1.
Exceptions:
- Getting Over It: the old storage name of this package was a UUID, not a hash, so the original catalog had
no sha256 for it.
modSha256is the hash of the original package file (modSha256Source: "package"). - Rollin’ Ravioli: its mod package is not in the original asset package, so there is nothing to install. The game stays in the library as
locked:unavailablewith no download.
Not available in the self-hosted version
- 6 hosted web games (
engine: "hms-remote",game-hms-*-remote): Let’s Build Up, Diamond Hunter, Flapping Frenzy, Hopping Havoc, Planet Blaster and Spiral Drop. They ran on the HypeMyStream cloud, and their files were never part of the desktop app. Their rows stay ingames.jsonwithselfHosted: { available: false, reason }, but the local API leaves them out of/api/games.
Hosted web games that run locally
Dropper, Strimmer and Leaf Blower (engine: "hms-remote") are the original game files, packaged by
tools/package-web-games.py (each file checked against the capture’s sha256 list; deterministic zips with the game
folder at the zip root) and published on the GitHub release web-games-v1. tools/import-web-games.py adds a
webGame: { url, sha256, size, version } field to their rows (and imports Leaf Blower’s record, WebP artwork and
43 commands). On first launch the app downloads the zip, checks its size and sha256, extracts it (entries with
.., absolute paths, backslashes or symlinks are refused) into <userData>/web-games/<gameKey>/<version>/ and
opens the game window at http://127.0.0.1:<port>/play/<gameKey>/index.html. The local server serves only the
installed version of a listed game; the game window may load nothing but those /play/ files. Live events reach
the game as before, through the loopback webhook port in each command’s webhookUrl.
- Roblox games (4): commands went through the cloud relay (
/api/roblox-dispatch) to the Roblox servers. They stay listed, but commands cannot reach Roblox without that relay. - Minecraft Parkour and Minecraft Dropper: hosted minigames with no local plugin, as in the original
(feature flag
minecraft.remote-minigamesis off). Minecraft - Survival installs its plugin from the release. - Keyboard Game: the cloud’s default keyboard mappings are not in the original asset package, so “clone defaults” starts empty.
Everything else keeps its original local behaviour. That covers Unity, Unreal, GTA, Insomniac, Call of Duty
Zombies, the webhook games on localhost:5729 and keyboard input. Some of it still needs the internet: the mod
download from GitHub, and the third-party runtimes the handlers download for some engines (UE4SS, CLEO Redux,
Ultimate ASI Loader, ScriptHookV).