Repository navigation
Port playbook, Let's Go Pikachu and Z-A on Mac, Mac controls and fullscreen - #36
Closed
futurist-raghav wants to merge 1 commit into
Closed
futurist-raghav wants to merge 1 commit into
futurist-raghav wants to merge 1 commit into
Conversation
… of rea , nxnative, and tested it by build native versions of Let's Go Pickachu, and Pokemon Legends Z-A Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FNwEjzmT8FUHmeU8KcsjGp
seedds
added a commit
that referenced
this pull request
Oct 21, 2026
…e game's stack, clock snapshot arithmetic answered by the host (from PR #36) - movie::Buffer::Data() is Base() + Offset() and Capacity() the whole buffer (STEINS;GATE RE:BOOT's subsdk0), so a PCM or picture output whose read offset the client had advanced was written past its end, over the guest heap. GetOutputBuffer resets the range first. Native-texture mode is left as it is: there Data() is the texture object the client points it at. An end-of-stream packet as long as the whole input buffer carries no data, as one with time -1 already did. - Creating the output AudioUnit takes about 24 KB of stack (measured on the Mac), more than some game threads have left, and OpenAudioOut runs on the game's thread: it now runs on a host thread, once per AudioOut. Not HLE_FORCE_BIG, which would hide the call site the open hooks log. - CalculateSpanBetween and CalculateStandardUserSystemClockDifferenceByUser go through the time service session, which the host never opens: AbortImpl in the SDKs of STEINS;GATE RE:BOOT and Tears of the Kingdom, which imports both. The host computes what the service does: the span from the steady time points (the network times when the sources differ, else an error), and the user clock difference from the user clock offsets (0 when their sources differ or both have automatic correction on). CalculateSpanBetween is not in the PR. - Snapshots carry the user clock context of GetSystemClockContext, which stays the same until the host clock is set; worked out per snapshot, it moved by a second at random, which the user difference would report as a clock change. - t_time: 14 checks on host snapshots and edited copies; it fails without the two hooks. Mac: Monster Hunter Rise headless for 75 s with real (muted) audio: OpenAudioOut from the game's thread, AAC and H.264 movies through GetOutputBuffer, 60 fps, no movie red lines. No profile with a matching shader cache on this drive calls the two time functions. Co-authored-by: Raghav Agarwal <[email protected]>
Owner
|
Thanks. Part of this is now on main as e61b142, and you're credited as co-author: |
4 tasks done
2 tasks done
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 port playbook (
port-playbook/), a Pokémon Let's Go, Pikachu! profile, Z-A host fixes, and Mac front-end controls (arrow keys, fullscreen, mouse as touch). Both games are listed in the README as tested on a Mac (.app) only.Notes for review:
main. Indm/host/front_mac.mI kept this branch'skey_maskkey map over thekey_bitone, so Space is now A and the shake key is gone.c1_full.tsvanddmsh_chain.hare taken frommain. The shader chain was not regenerated after the changes todmsh_chain.pyandhle_nvn.c, so the chain procedure in AGENTS.md still needs a run.rar/(the RAR/UnRAR binaries and their licence files) is included, so check that redistributing it is acceptable.keys/is left out and gitignored.🤖 Generated with Claude Code
https://claude.ai/code/session_01FNwEjzmT8FUHmeU8KcsjGp