Repository navigation
game: Tetris Effect: Connected profile, RedpointEOS null guard, and Multiplayer input fix - #3342
Open
LowRezBandit wants to merge 2 commits into
Open
LowRezBandit wants to merge 2 commits into
LowRezBandit wants to merge 2 commits into
Conversation
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.
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.
Adds the 2.0.2.2 (v1310720) profile, shader tables, game note, and patches.py for Tetris Effect: Connected (0100DE501433A000).
Changes:
Testing:
Replaces #2988.