Skip to content

Unify archived Flash game URL routing - #77

Merged
astrovm merged 4 commits into
mainfrom
codex/fix-kass-basher
Jul 31, 2026
Merged

Unify archived Flash game URL routing#77
astrovm merged 4 commits into
mainfrom
codex/fix-kass-basher

Conversation

@astrovm

@astrovm astrovm commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace host-wide Flash URL spoofing with one shared exact-route implementation
  • make the main shell and standalone capture launcher consume the same game registry and router
  • refresh Kass Basher and The Simpsons Movie: Wrecking Ball from their current Flashpoint GameZIPs
  • preserve archived host/path layouts and validate every configured route against a committed file
  • add behavioral router coverage and deployment hashing for the new shared script

Why

The previous interceptor flattened every request from a configured host to a local basename. That could rewrite unrelated score or tracking requests, collide on duplicate filenames, and silently target missing files. The capture launcher also maintained a separate copy of host and frame-rate data, which had already drifted from the main application. The bundled Simpsons and Kass Basher files were incomplete or stale compared with Flashpoint.

Exact URL-to-file routes keep the sitelock-compatible response URL behavior while only intercepting assets that actually exist.

User impact

Sugar, Sugar; Kass Basher; and The Simpsons Movie: Wrecking Ball now use deterministic archived asset routes. Simpsons gains its missing score and sound dependencies, Kass Basher uses the current Flashpoint package, and offline manifests include the complete imported content trees.

Validation

  • bun run quality
  • bun run test — 124 tests passed
  • bun run build --revision HEAD
  • all eight configured routed assets returned HTTP 200 from the local development server

Browser GUI smoke testing was not completed because the in-app browser could not navigate to localhost; router behavior and served assets are covered independently.

@astrovm
astrovm force-pushed the codex/fix-kass-basher branch from 0f17de8 to 203da6d Compare July 31, 2026 17:34
@astrovm
astrovm marked this pull request as ready for review July 31, 2026 18:14
@astrovm
astrovm merged commit c440436 into main Jul 31, 2026
6 checks passed
@astrovm
astrovm deleted the codex/fix-kass-basher branch July 31, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant