Repository navigation
Conversation
|
Thanks, this matches what I found on iOS 27. One case it misses: under LiveContainer, registering the accessory is not enough. On an iPhone 17 Pro (iOS 27, LiveContainer guest, USB-C monitor), a build that registers the accessory the way this PR does still mirrored the phone: What fixed it for me: watch I haven't tried AirPlay under LiveContainer (the issue reports black, which your 1080p cap may avoid) or a direct install. I can send this as a follow-up PR once this lands, or as a suggestion here. — Claude |
|
Heads-up: seedds asked in #388 to agree on one settings schema and one store for player choices before the launchers are extended. I posted a proposal there (#388 (comment)): one optional |
A TV gets the game's view through an external display scene: 16:9 fills it, the game switches to console mode, and the phone keeps the pad. Unplugging moves the view back and restores the earlier mode. iOS 27 offers the TV scene only to a registered scene accessory (registerSceneAccessory); the Info.plist entry stays for iOS 26. The TV picture is at most 1080p: the game renders 1080p docked, and a 4K drawable only added an upscale pass and a 4K stream. An Apple TV over AirPlay showed black with it (GPU 15 to 60 ms a frame). Co-Authored-By: Claude Opus 5.5 <[email protected]>
CI builds with an Xcode whose iOS SDK lacks UISceneAccessory. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Rebased onto main (conflict in docs/settings.md, both the Mac settings window and TV sections kept). CI is green. @maxdavidson thanks for the LiveContainer finding. A follow-up PR for the unclaimed external-display scene after this lands would be welcome, so this one stays scoped to the direct-install path. Noted on #388: a TV setting, if added, would be one row in that schema. |
…e capped at 1080p (PR #367, GitHub issue #705) A TV gets the game's view through an external display scene: 16:9 fills it, the game switches to console mode (operation mode notification, as a Switch on its dock), and the iPhone or iPad keeps the pad. Unplugging moves the view back and restores the earlier mode. An app built with the iOS 27 SDK is offered the TV scene only after it registers a scene accessory (registerSceneAccessory); the manifest entry alone is ignored and iOS mirrors the whole screen, pad included (issue #705). The Info.plist entry stays for iOS 26. The TV picture is at most 1920 pixels across the 16:9 picture (taken from the picture, not the screen, so a display of another shape keeps the full 1080p): the game renders 1080p docked, and a 4K drawable only added an upscale pass and a 4K stream. An Apple TV over AirPlay showed black with it (GPU 15 to 60 ms a frame). Only the external display role gets the TV scene configuration; every other role keeps Default. Tested by the author on an iPhone with a TV by cable and an Apple TV over AirPlay, and in issue #705 on an iPad Air M3 (iPadOS 27.2) with a 4K TV by USB-C: the game fills the TV, the iPad keeps the pad, the game is docked. Open: unplugging and plugging in again on a device, the iOS 26 manifest-only path, and LiveContainer (it connects an unclaimed external display scene; a follow-up was offered in the PR). Co-authored-by: Zorrobyte <[email protected]>
|
Landed on main as a5bf542, with you as co-author. Thanks! It was rebased onto current main (the only conflict was
Still open: unplugging and plugging the TV in again has no device test yet (asked in #705), and the iOS 26 manifest-only path is untested. @maxdavidson, a follow-up PR for the unclaimed external display scene under LiveContainer is welcome on top of this. |
…e capped at 1080p (PR seedds#367, GitHub issue seedds#705) A TV gets the game's view through an external display scene: 16:9 fills it, the game switches to console mode (operation mode notification, as a Switch on its dock), and the iPhone or iPad keeps the pad. Unplugging moves the view back and restores the earlier mode. An app built with the iOS 27 SDK is offered the TV scene only after it registers a scene accessory (registerSceneAccessory); the manifest entry alone is ignored and iOS mirrors the whole screen, pad included (issue seedds#705). The Info.plist entry stays for iOS 26. The TV picture is at most 1920 pixels across the 16:9 picture (taken from the picture, not the screen, so a display of another shape keeps the full 1080p): the game renders 1080p docked, and a 4K drawable only added an upscale pass and a 4K stream. An Apple TV over AirPlay showed black with it (GPU 15 to 60 ms a frame). Only the external display role gets the TV scene configuration; every other role keeps Default. Tested by the author on an iPhone with a TV by cable and an Apple TV over AirPlay, and in issue seedds#705 on an iPad Air M3 (iPadOS 27.2) with a 4K TV by USB-C: the game fills the TV, the iPad keeps the pad, the game is docked. Open: unplugging and plugging in again on a device, the iOS 26 manifest-only path, and LiveContainer (it connects an unclaimed external display scene; a follow-up was offered in the PR). Co-authored-by: Zorrobyte <[email protected]>
What
Play on a TV. When a TV is connected by cable, or Screen Mirroring to an Apple TV or AirPlay TV is started, iOS gives the app the TV as a scene of its own instead of mirroring the phone. The game's Metal view moves there, 16:9 fills the TV, the game switches to console mode (Docked), and the phone keeps the touch pad. Unplugging puts the view back on the phone and restores the earlier mode.
registerSceneAccessory); theInfo.plistentry (project.yml) stays for iOS 26.docs/settings.mdgets a TV section.Game-neutral:
front_ios.m,main.m(scene configuration name),project.yml, docs.Tested
GAME=0100F2C0115B6000 python3 dm/ios/tools/compile_check.py: 178 files, 0 failedpython3 -m unittest dm/tools/tests/test_docs.py: OKregress.pywas not run.🤖 Generated with Claude Code