Repository navigation
game: Kirby and the Forgotten Land Switch 2 Edition plays on the Mac - #2549
Open
FifteenPen wants to merge 1 commit into
Open
FifteenPen wants to merge 1 commit into
FifteenPen wants to merge 1 commit into
Conversation
A profile for the Nintendo Switch 2 Edition's program 1 (04004D300C5AE001) of Kirby and the Forgotten Land, update v65536 (1.1.0), SDK 19.3.7 built for the Switch 2, NVN2: its memory layout (a 5 GB block with a 4.375 GB alias region, the 9 GB pool), its modules, the shader split's tables (93,348 shaders, 5 of them not translated: one form of Ampere instruction 0x80d) and depth_mode zero, as the NSP script's survey and address-region check found them; a prewarm seed list recorded in play (9,202 shaders, 1,712 render and 16 compute pipelines); the game note and its row in the games table. It needs PR seedds#1639 to pack and run a raw dump's program 1, and PR seedds#2548 for nn::pl::GetBuiltInFontDataSet at boot. On a MacBook Pro M4 Pro (macOS 27.2.1), a build of seedds#1639's branch with those played about 9.5 minutes from boot at 60 fps (frame time p50 16.66, p95 16.85 ms) without a crash. The note lists what is open.
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
A profile for Kirby and the Forgotten Land – Nintendo Switch 2 Edition + Star-Crossed World: program 1 (
04004D300C5AE001) of the application01004D300C5AE000, update v65536 (1.1.0), SDK 19.3.7 built for the Switch 2 (Ounce), NVN2. The Switch 1 game keeps its own profile: the Edition has another executable and other shaders.What it adds (
dm/games/04004D300C5AE001/):game.tsv:mainnever sets a heap.depth_mode zero: the game callsnvnDeviceSetDepthModewith near = 0 at boot.These are as the NSP script's survey and address-region check found them.
The shader split's tables: 93,348 shaders. 93,343 translate on the current chain. 5 do not: they use one form of Ampere instruction 0x80d that the translator only knows as the guard band cull.
A prewarm seed list (
pso_manifest.tsv) recorded in play: 9,202 shaders, 1,712 render pipelines and 16 compute pipelines. Every shader key is in the shader map.The game note and its row in the games table.
Depends on:
nn::pl::GetBuiltInFontDataSettakeover, which the game calls at boot.The README's Switch 2 list is left alone until the game can be packed from main.
Checked
make -C dm/host game_profile GAME=04004D300C5AE001: the header generates.dm/tools/tests/test_docs.pytest_game_profile.pytest_architecture.py,test_issue_areas.pytest_nro_graphics.py,test_nso_match.pytest_nsp_aarch64.py,test_nsp_alias.py,test_nsp_incremental.pytest_profile_guess.py04004D300C5AE001, v65536). About 9.5 minutes of play from boot (34,200 frames) at 60 fps, with no crash or abort.nn::pl::RequestLoadNxFontis taken over once. Main's takeover and the branch's both registered it, and the loader aborts on a duplicate.RomFS.img.Open (in the note):
[RED] texture type mismatchlines, where a 2D array is bound to a 2D slot.[RED] more than 16 font engineslines.Docs
python3 dm/tools/docs_symptoms.pywas run (symptoms.mdunchanged)