Skip to content

Add Cytus α (010063100B2C2000) and a touch_panel profile key - #2811

Open
parkmawani wants to merge 1 commit into
seedds:mainfrom
parkmawani:cytus-alpha
Open

parkmawani wants to merge 1 commit into
seedds:mainfrom
parkmawani:cytus-alpha

Conversation

@parkmawani

Copy link
Copy Markdown

What and why

Adds a profile for Cytus α (010063100B2C2000, update 1.0.6 / v393216): Unity 2018.2.18f1 IL2CPP with FMOD on NVN, SDK 6.4.2. Its sdk and subsdk0 are AI: THE SOMNIUM FILES' builds, so the provisional profile from scripts/build_ipa_from_nsp.py booted as it was, with no rewriter cut. Note: dm/games/010063100B2C2000/README.md.

It is a touch game that reads the touch screen only in handheld mode, so the profile starts handheld with the Tap layout (op_mode handheld, pad_layout touch). Handheld Normal draws 1280x720; perf_mode boost gives the 1920x1080 draw size, but the game then takes touches against that size, and with the hardware panel's 1280x720 coordinates every touch landed short toward the top left.

So this adds one profile key, touch_panel (default 1280x720, the hardware panel): the coordinate range hle_touch.c hands the game, for touch states and gesture points alike. DM_TOUCH_PANEL=<w>x<h> overrides it for a run. Cytus α sets 1920x1080. Documented in dm/games/README.md (keys and games table), dm/tools/docs_patches.py and docs/env_switches.tsv.

Checked

  • Tests: make -C dm/host/tests GAME=010015100B514000 run and GAME=010063100B2C2000 run, no failure (t_touch now pins the panel to 1280x720, so it passes for any profile). dm/tools/tests: 1715 tests, one failure, test_env_switches on DM_OBSOLETE (read by nvn_mtl.m, missing from docs/env_switches.tsv), which fails on 23790f8 without this change too.
  • Games run: Cytus α 1.0.6, boot, the two startup movies, title, song select and play with the mouse as the touch screen at 1920x1080 on the Mac; a whole song played with touches (full combo) on the iPhone. iPhone log over 3.5 minutes: 60 fps with no dropped frame through the song, footprint 0.25 → 0.83 GB, headroom to the memory limit ≥ 2.5 GB, thermal state 0, no [RED] line.
  • Devices and OS: MacBook Air (Apple silicon), macOS 27.0.1, Xcode 27.2; iPhone Duo (A20 Pro), iOS 27.1.
  • Not checked: docked play with buttons; regress.py (the host change only touches hle_touch.c's coordinate range, default unchanged).

Docs

  • The finding is in its game note
  • No game files, keys or data extracted from a game in the change or the attachments

🤖 Generated with Claude Code

https://claude.ai/code/session_016vxzNc18mNrULDVzWeJHo7

Cytus α 1.0.6 (v393216) is Unity 2018.2.18f1 IL2CPP with FMOD on NVN,
SDK 6.4.2. Its sdk and subsdk0 are the builds AI: THE SOMNIUM FILES
ships, so the provisional profile scripts/build_ipa_from_nsp.py wrote
booted as it was, with no rewriter cut and no red line.

The game reads the touch screen only in handheld mode: docked, a click
on the Mac and a touch on the iPhone reach GetTouchScreenState and are
ignored, as on a Switch in its dock. The profile starts handheld with
the Tap layout. Handheld Normal draws 1280x720 (WindowCrop 0,0
1280x720) and takes the panel's coordinates correctly. perf_mode boost
gives the docked 1920x1080 draw size, but the game then takes touches
against that size: with the hardware panel's 1280x720 coordinates every
touch landed short toward the top left.

The new profile key touch_panel (default 1280x720, the hardware panel)
sets the coordinate range hle_touch.c hands the game, for the touch
states and the gesture points alike; DM_TOUCH_PANEL=<w>x<h> overrides
it, read once. Cytus α sets 1920x1080 with perf_mode boost. t_touch
pins the panel to 1280x720, so it passes whatever profile the host
tests are built for.

Checked: on a MacBook Air (Apple silicon), the menus and play with the
mouse as the touch screen at 1920x1080, 60 fps, no [RED] line; on an
iPhone Duo (A20 Pro, iOS 27.1) a whole song played with touches, a full
combo at 60 fps, touch judgement in time with the music; make -C
dm/host/tests run for 010015100B514000 and 010063100B2C2000 (no
failure); dm/tools/tests (1715 tests): one failure, test_env_switches
on DM_OBSOLETE, which nvn_mtl.m reads and docs/env_switches.tsv lacks
on 23790f8 without this change too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016vxzNc18mNrULDVzWeJHo7
@github-actions github-actions Bot added host The Horizon host: SVCs, services, threads, memory (dm/host) tools Tools and scripts (dm/tools, scripts) docs Documentation game: 010063100B2C2000 A game profile new game Adds a game profile that main does not have yet labels Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation game: 010063100B2C2000 A game profile host The Horizon host: SVCs, services, threads, memory (dm/host) new game Adds a game profile that main does not have yet tools Tools and scripts (dm/tools, scripts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant