WP-084: First Google TV release — the app on Google Play with Beneath a Steel Sky

Status: 📝 Drafted · ⏸ Blocked on WP-085 and Gate 0. Re-scoped 2026-11-26 (Jeff: “Pipeline first (a)”): this WP is now the Google Play release of the WP-085 app, with BASS bundled. No implementation starts until WP-085 is done and Revolution Software has confirmed the distribution, or Jeff has decided to proceed on the freeware license alone (§Gate 0). Phase: 5 (polish & distribution). Depends on: WP-085 (the app: library, import, test packages, updates); WP-079 ✅ (the fork’s TV build path proven: an APK built, sideloaded and played on the TCL 65Q77K, per the smart-TV guide); Gate 0. Unblocks: the Google Play publishing path a licensed TerraGlyph title will reuse: account, signing, App Bundle, the install-time asset pack, TV review and the GPL source release. Companion EC: EC-007. Pre-flight required: Yes. It changes the fork’s Android backend and build configuration (on top of WP-085’s changes), and it claims a release-readiness posture. Targets generation(s): none. No TerraGlyph engine code changes; the game runs on ScummVM’s Revolution sky engine. TerraGlyph is compiled in, as in WP-085. Estimated effort: about 2–3 working days of build and test, plus the 14-day Play closed test (wall-clock, if the developer account is personal).


Goal

Publish the WP-085 app on Google Play, free, with one complete, playable adventure bundled: Beneath a Steel Sky (BASS). The app installs from Google Play, shows BASS in its library ready to play, plays it end to end with a Bluetooth gamepad, saves and restores, returns cleanly to the TV home screen, and carries every license notice and a corresponding-source release. Done means someone can find the app on their Google TV, install it and play the game without a computer.

Background

Gate 0 — distribution terms (blocking)

Nothing in §Execution starts until one of these is recorded in DECISIONS:

Outreach draft (Jeff’s to send, from his own account; nothing is sent by this WP):

Subject: Beneath a Steel Sky freeware in a free Google TV app

Hello,

I run Barefoot Betters, a small studio that builds on ScummVM. We’d like to publish a free Google TV / Android TV app that includes the unmodified freeware CD version of Beneath a Steel Sky, so people can play it on their television with a game controller, without copying files from a computer.

The app would be free, carry your readme and copyright notices unchanged, credit Revolution Software prominently, and say plainly that it is not an official Revolution release. It runs on our ScummVM build, whose full source we publish under the GPL.

The freeware license allows free distribution, but we’d rather ask than assume. Are you happy for us to do this? If you’d like any wording, link or credit changed, or would rather we didn’t, we’ll follow your lead.

Thank you for making the game freely available all these years.

Scope

In scope

  1. Release build of the WP-085 app on a fork branch wp-084-google-tv-first-release: --enable-release --disable-cloud, both armeabi-v7a and arm64-v8a in one App Bundle, 16 KB-aligned. No cloud saves in the Play build (decided 2026-11-30).
  2. App identity: WP-085’s (per D1), with the Play-specific pieces added here: release version code, “Powered by ScummVM” in the about text and listing, no “ScummVM” product name.
  3. Bundled game: the ScummVM freeware download bass-cd-1.2.zip (66.2 MiB, SHA-256 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593), unmodified, with its readme, under GAMES_BUNDLE_DIRECTORY.
  4. BASS ready on first open: on the first run after install, the bundled game is added (updateStartSettings) and is selected in the library, so one button press starts it. (Re-scoped 2026-11-26: replaces the earlier direct-launch item.)
  5. The library stays. The app is WP-085’s multi-game app: library, import and updates are kept, not hidden; whether its advanced mode ships in the Play build is WP-085’s D4. (Re-scoped 2026-11-26: replaces the earlier single-game posture.)
  6. Controller-first TV input: declare the app as requiring a gamepad (android.hardware.gamepad required="true", TV-GP) and verify that every function, including ScummVM’s control panel and save/load dialogs, works from standard gamepad keys (TV-DK), and that Back reaches the TV home screen (TV-DB).
  7. Licenses screen: GPLv3 text, ScummVM’s COPYING, COPYRIGHT and AUTHORS, LICENSES/* as applicable, Oboe’s Apache-2.0, the BASS readme verbatim, and the source URL.
  8. Corresponding-source release: a signed tag on the fork for the exact commit built, a source archive, BUILDING.md (NDK 23.2.8568313, SDK platform 37, the exact configure line and make target), and checksums, published at a permanent URL linked from the Play description and the app.
  9. Device verification on the TCL 65Q77K (Google TV) per EC-007: install from the bundle, first-run add and launch, full playthrough with a Bluetooth gamepad, save → quit → relaunch → restore, Back behaviour.
  10. Google Play preparation: the app record, Play App Signing (our own upload key; D4 covers supplying our own app signing key), the store listing (description with license and source notices, 1280×720 banner, TV screenshots), privacy policy URL, data safety, content rating questionnaire, target audience, ads / health / financial declarations, the Android TV form-factor opt-in, and a closed test track.
  11. Production release submission — only on Jeff’s explicit go after exit criteria 1–10 are met.

Out of scope

Decisions for Jeff

# Decision Recommendation
D0 Gate 0: send the outreach, or proceed on the license alone ✅ Send it, decided 2026-12-01 (DECISIONS). Sent to Revolution 2026-12-01; Gate 0 stays open until they reply
D1 App name, package id, icon and banner (tracked privately; not in this public WP) ✅ Answered upstream; tracked privately. The package id is WP-085 D1 (2026-11-26); the name is WP-104 D1 (2026-11-28); the icon and banner are WP-104’s, injected at build time (scope 2)
D2 Compile TerraGlyph in, dormant? Settled by the re-scope: WP-085’s app compiles it in —
D3 Personal or organization Play developer account ✅ Organization, Barefoot Betters (D-U-N-S), decided 2026-11-30 (DECISIONS). The account waits until the corrected D&B record (company name) has reached Google
D4 Let Google generate the app signing key, or supply our own ✅ Supply our own, decided 2026-11-30 (DECISIONS). Uploaded to Play encrypted (PEPK) when the app is created; backups in §Play signing keys
D5 Target audience / rating stance ✅ 13+, outside Play’s Families program, decided 2026-12-01 (DECISIONS). The App Store rates BASS 13+

Dependencies

Execution

  1. Pre-flight against this WP (pre-flight-WP-084-<date>.md).
  2. Fetch and verify the game: download bass-cd-1.2.zip from downloads.scummvm.org, check the SHA-256 above, unpack to a staging folder outside both repos, and confirm sky.dsk / sky.dnr match a v0.0372 CD detection entry and the readme is present. Never commit game data.
  3. First-open behaviour: after the first-run add, BASS is selected in the library (smallest change that works; logged device check).
  4. Manifest for Play: gamepad required, release version code; the rest of the app identity comes from WP-085.
  5. Build: configure for both ABIs, make androidfatbundlerelease GAMES_BUNDLE_DIRECTORY=<staging> (or the equivalent sequence from build-release.sh); confirm 16 KB alignment of the arm64 libraries.
  6. Licenses screen and source release (scope 7–8).
  7. Device run per EC-007; every claim backed by a log or a screenshot captured in the run.
  8. Play preparation (scope 10); closed test.
  9. Result written here; production submission only on Jeff’s go.

Exit criteria

  1. Gate 0 recorded in DECISIONS (Revolution’s confirmation, or Jeff’s decision to proceed on the license).
  2. D1–D5 answered.
  3. The AAB builds from the tagged fork commit, contains armeabi-v7a and arm64-v8a, and the arm64 libraries are 16 KB-aligned (checked, output recorded).
  4. The bundled game is byte-identical to bass-cd-1.2.zip (SHA-256 recorded) and its readme ships unchanged.
  5. On the TCL, a fresh install from the bundle opens the library with BASS added and selected; one button press starts it (logged).
  6. A full playthrough reaches the end credits using only a Bluetooth gamepad (log plus screenshots from the run).
  7. Save from the control panel → quit → relaunch → restore resumes the saved position (logged).
  8. Back reaches the TV home screen from the library (TV-DB); quitting the game returns to the library.
  9. The licenses screen shows every text in scope 7 and the source URL.
  10. The corresponding-source release is published at a permanent URL and BUILDING.md reproduces the AAB’s native libraries from the tag.
  11. Play: listing, declarations and Android TV opt-in complete; closed test running (and, for a personal account, 12 testers × 14 days met).
  12. Production release submitted on Jeff’s explicit go, and the TV review outcome recorded.

Deliverables

Play signing keys

Two keys, both generated by Jeff on 2026-11-30 on the build PC with keytool from JDK 27. Neither keystore is in any repo.

Upload key

Signs every AAB we upload. The working copy stays on the build PC.

   
Keystore PKCS12, alias upload
Key RSA 4096, SHA384withRSA
Subject CN=Barefoot Betters, O=Barefoot Betters, L=North Las Vegas, ST=Nevada, C=US
Valid 2026-11-30 to 2054-04-17
SHA-1 D4:F2:73:30:F4:62:E6:11:C2:9D:B5:85:F2:7F:41:D0:21:3A:8C:50
SHA-256 61:50:00:95:B9:CD:7C:07:EC:3A:1B:D3:0A:8A:69:05:C0:AC:FF:4D:D6:C4:AE:4F:5B:E8:0A:A3:63:AB:16:09

If the upload key is lost or exposed, Play support can register a new one; the app signing key doesn’t change.

App signing key

The key users’ devices see (D4: we supply our own). It can never change once the app is published. It’s used only for the one-time encrypted upload to Play (PEPK) and for signing copies distributed outside Google Play.

   
Keystore PKCS12, alias app-signing
Key RSA 4096, SHA384withRSA
Subject CN=Barefoot Betters, O=Barefoot Betters, L=North Las Vegas, ST=Nevada, C=US
Valid 2026-11-30 to 2054-04-17
SHA-1 20:37:B0:80:6F:4E:D2:92:3E:E9:A8:0F:BC:95:AB:31:1C:ED:92:E2
SHA-256 58:9C:B9:C6:49:BA:80:42:74:6E:4F:55:BA:D0:98:B9:0F:5E:9A:30:21:8E:17:6C:10:B1:44:65:60:0F:17:D0

When the app is created, Play Console’s App signing page must show this SHA-256 as the app signing certificate.

Notes