Repository navigation
Conversation
…aft Dungeons, and Minecraft Dungeons 2
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.
Summary
This PR adds standalone macOS Apple Silicon ports under
games/for four Nintendo Switchtitles, targeting high-framerate playability (up to 120 FPS on D3 / ITT / MCD, and ~100 FPS
on MCD2) with zero game assets included:
games/d3— Diablo III: Eternal Collection (2.7.6/v1441792)01001B300B9BE000(Update01001B300B9BE800)rumble offloaded to a background queue, LAN multiplayer support, per-user save isolation,
and optional iOS packaging scripts under
games/d3/iOS/.games/itt— It Takes Two (1.0.4/v262144)010092A0172E4000(Update010092A0172E4800)optimizations, and per-user state isolation.
games/mcd— Minecraft Dungeons (1.17.0.0/v1769472)01006C100EC08000(Update01006C100EC08800)(
big_shared), and VPX/movie playback fixes.games/mcd2— Minecraft Dungeons 2 (1.1.3.0/v131072)0100A7C01B792000(Update0100A7C01B792800)~100 FPS, and VPX/movie playback fixes.
Upstream Integration & Architecture Notes
cd games/<name> && make prepare runtime app(no changes to rootbuild_app.py).Shared upstream components adopted:
shared/third_party/d2r_gfx/gfx/nvn/{hud_panel.inc,fps_overlay.h,fps_overlay.c,compute_shar ed.h}shared/runtime/movie_pace.hmng_active.h(mng_active_start)totk_shader_rt.minvokingbuild/shader-service/totk_xlatetools/depsresolution instead of hardcoded/opt/homebrewpathsd3,itt,mcd,mcd2intests/test_hud_panel_shared.py(UNIFIED) andtests/test_active_players.py(STARTS).games/{d3,itt,mcd,mcd2}/prebuilt/macos-arm64/totk_xlateSHA-256 digests andtranslator_code.code_sha256entries intools/translator_changes.json.Build & Test Verification
Checked on commit
7f9b5f5e(rebased ontomain9c2554bc) on Apple Silicon macOS:python -m unittest -v ...): 34/34 PASSED across all8 relevant suites:
test_active_players,test_compute_shared_memory,test_contrib_inbox_only,test_hud_panel_shared,test_movie_pacing,test_no_homebrew,test_shader_service_native_only,test_translator_changesmake check-c): PASS22 GFX_OBJECTS+launcher+frontend.m, plusmovie_host.cwith-Wall -Wextra -Werroronmcd/mcd2)python3 -m py_compileongames/{d3,itt,mcd,mcd2}): PASSshasum -a 256againsttotk_xlate.sha256): OK forall 4 ports
.githooks/pre-commit): PASS (verified no game binaries, keys,RomFS/ExeFS, or save files included)
Platform Testing & Honest Scope
7f9b5f5e: Runtime C/ObjC compilation, C checks, and all 8upstream CI invariant suites listed above.
localbranch prior to final upstream adaptation on7f9b5f5e): Played and tuned on Mac with user-dumped NSPs — Diablo III (2.7.6, up to120 FPS), It Takes Two (
1.0.4, up to 120 FPS), Minecraft Dungeons (1.17.0.0, up to 120FPS), Minecraft Dungeons 2 (
1.1.3.0, up to ~100 FPS). End-to-endmake apppackagingand live gameplay have not yet been re-run specifically after the final
shared/HUD/movie/deps adaptation in
7f9b5f5e.games/d3/ios/):d3port withtools/deps/hud_panel.incAPI updates applied).unittest discover -s testswas not re-run after thefinal edit; an earlier pre-adaptation run hit an environment error in
test_oot_hmma_calls.pydue to missing local Xcode iOSMetalToolchain.Legal & Checklist
included (verified by
.githooks/pre-commit).make prepare.<type>: <description>format.