Skip to content

game: Tetris Effect: Connected profile, RedpointEOS null guard, and Multiplayer input fix - #3342

Open
LowRezBandit wants to merge 2 commits into
seedds:mainfrom
LowRezBandit:game/tetris-effect-connected-pr
Open

LowRezBandit wants to merge 2 commits into
seedds:mainfrom
LowRezBandit:game/tetris-effect-connected-pr

Conversation

@LowRezBandit

Copy link
Copy Markdown
Contributor

Adds the 2.0.2.2 (v1310720) profile, shader tables, game note, and patches.py for Tetris Effect: Connected (0100DE501433A000).

Changes:

  • eos_null_guard (main+0xb64b8c): branches to main+0xb64c3c when IOnlineSubsystem::Get("RedpointEOS") returns null (because EOSSDK-Switch-Shipping.nro is refused offline), fixing the sig=11 crash on boot at main+0xb64bec.
  • ATPOnlineManagerEOS::IsEOSLoggedIn() (main+0xb64e18): returns 1 (mov w0, patch_nso: recognize the whole offset-table jump family, not just x18 #1; ret) on build 8838095f4f659f63cb45a00e62dfb887 so the Multiplayer screen does not lock out controller input.
  • Added dm/games/0100DE501433A000/README.md, dm/games/README.md row, and regenerated docs/agents/game-patches.md.

Testing:

  • Verified on Apple M4 Mac: boots past logo, single player is playable, Multiplayer dialogs can be dismissed and backed out to Main Menu with B.
  • test_patches.py + test_docs.py: 34/34 OK.

Replaces #2988.

Add the 2.0.2.2 (v1310720) profile, shader tables, game note and patches.py for Tetris Effect: Connected (0100DE501433A000).

The host refuses nro/EOSSDK-Switch-Shipping.nro so the game plays offline, leaving EOS_Platform_Create as a stub returning 0 and OnlineSubsystemRedpointEOS unregistered. Without a guard, the Actor BeginPlay at main+0xb64b18 dereferences IOnlineSubsystem::Get("RedpointEOS") at main+0xb64bec without checking for null (sig=11 addr=0).

Work around this in patches.py (eos_null_guard) by branching to the epilogue at main+0xb64c3c when x0 == 0 at main+0xb64b8c. Verified on an Apple M4 Mac: the game boots past the spinning logo and single player is playable. Selecting Multiplayer reaches the multiplayer main screen, where user input does nothing and the user must quit. dm/tools/tests/test_docs.py and test_patches.py (33 tests) pass.
Have ATPOnlineManagerEOS::IsEOSLoggedIn() (main+0xb64e18) return 1 on build 8838095f4f659f63cb45a00e62dfb887.

The Multiplayer screen Blueprint/UMG polls IsEOSLoggedIn() every frame (main+0xc90004 -> main+0xb64e18) and blocks controller input while it returns 0 (because EOSSDK-Switch-Shipping.nro is refused and RedpointEOS is unregistered). Returning 1 unblocks the Multiplayer screen, allowing the Cross-Platform Play and Welcome Guardian dialogs to be dismissed and backing out to the Main Menu with B.

Verified on an Apple M4 Mac; dm/tools/tests/test_docs.py and test_patches.py (33 tests) pass.
@github-actions github-actions Bot added rewriter The NSO rewriter and per-build patches docs Documentation game: 0100DE501433A000 A game new game Adds a game profile that main does not have yet labels Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation game: 0100DE501433A000 A game new game Adds a game profile that main does not have yet rewriter The NSO rewriter and per-build patches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants