Repository navigation
Add Cytus α (010063100B2C2000) and a touch_panel profile key - #2811
Open
parkmawani wants to merge 1 commit into
Open
parkmawani wants to merge 1 commit into
parkmawani wants to merge 1 commit into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. Itssdkandsubsdk0are AI: THE SOMNIUM FILES' builds, so the provisional profile fromscripts/build_ipa_from_nsp.pybooted 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 boostgives 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(default1280x720, the hardware panel): the coordinate rangehle_touch.chands the game, for touch states and gesture points alike.DM_TOUCH_PANEL=<w>x<h>overrides it for a run. Cytus α sets1920x1080. Documented indm/games/README.md(keys and games table),dm/tools/docs_patches.pyanddocs/env_switches.tsv.Checked
make -C dm/host/tests GAME=010015100B514000 runandGAME=010063100B2C2000 run, no failure (t_touchnow pins the panel to 1280x720, so it passes for any profile).dm/tools/tests: 1715 tests, one failure,test_env_switchesonDM_OBSOLETE(read bynvn_mtl.m, missing fromdocs/env_switches.tsv), which fails on 23790f8 without this change too.[RED]line.regress.py(the host change only toucheshle_touch.c's coordinate range, default unchanged).Docs
🤖 Generated with Claude Code
https://claude.ai/code/session_016vxzNc18mNrULDVzWeJHo7