Files
seedds 0293739df4 game: Guacamelee! 2 1.0.4 reaches its opening on Mac
Register the Switch update and the 425 shaders read by the DrinkBox container parser. Record the depth mode selected by the guest so the pipeline prebuild uses the same vertex entry as live rendering.

Verify the Mac opening, stereo PCM, both DLC licenses and the bundled pipeline archive. Build and integrity-check the unsigned IPA. Movement, combat, co-op, DLC gameplay and an iPhone run remain open.
2026-11-24 02:31:25 +08:00
..
Diablo II: Resurrected (0100726014352000, update 1.0.34.0 = v2228224, SDK 11.4.3, Blizzard's D2R engine, NVN) plays on the Mac, and the shader split reads Blizzard's CASC storage, so its 6,931 shaders are found: the game keeps its files in data/*.data archives listed only by text manifests (build_key.txt names the current build's config key, build_manifest.psv lists each file's archive, offset in the encoded key's last five bytes, stored and decoded length and encoding: zlib, stored or BLTE), and its shaders are SHADSHAD containers there (data/hd/shaders/*.bin, one stage per file, permutations as BTCD chunks under PRM[), each record {u32 5, control length, code length + 0xc, code length, u32 4} + code area + control section; main holds 10 more records of that form, which its code points at by their start, so raw_shaders found no code area for them. New dm/gfx/tools/casc.py reads the manifest with the current config key and decodes a file by its encoding, checking its decoded length; shader_split.py reads every current file by archive in ranges (casc_jobs, casc_shaders) and scans it like a loose file, scan_blob reads a SHADSHAD chunk tree (shad_shaders, every record's lengths checked against its chunk), raw_shaders takes the code area before a control section when a record header there gives exactly that section and main points at the record (a relocation or adrp + add); '#SHAD@' keys are single-stage programs. The game allows offline play only within 30 days of a Battle.net login (main+0x1978ac reads the saved "User Last Online" and sets the offline-allowed flag), so with an offline host the title looped on "Failed to authenticate"; no nifm or account answer passes it, it is the game's own policy. A rewriter cut sets the flag (CUTS for 1.0.34.0, and the same cut as a MATCH_CUTS rule on the 316-byte function for other builds: binding game); the base game v0 has no such check (it only writes the time after a login) and needs none. The check was first described in d2r-mobile's notes on a community offline fix; the cut is this repository's own, no bytes taken. New profile dm/games/0100726014352000 (the survey's memory guesses held; present_interval display: the game asks for interval 2, and the same 3 s walk ends at the same place at 30 and 60 fps), its note, smoke.tsv and games-table row; new reference entries (Blizzard's CASC storage and SHAD containers; "Failed to authenticate" at the title). Checked: test_split_casc (new: shaders in z, n and BLTE files, another config key and a key naming another archive refused, a record whose lengths do not add up named, BLTE lengths, main's records through a relocation and an adrp + add, one nothing points at named), all test_split_*, test_game_profile, test_fuzz_corpus, test_profile_guess, test_docs, test_patches, test_nso_match, test_nro_pack; lint_python.py: the two new findings are dmsh_entry.py's, not touched here. A copy of 1.0.34.0's main with another build ID rewrites byte for byte as the registered build, both cuts [function match]. The NSP script on the NSPs: 6,931 shaders (2,344 vertex, 4,559 pixel, 26 compute, 1 hull, 1 domain) from 132,413 files in 12 s, all 38 programs dumped up to the title among them, Mac shaders 6,931/6,931. On the Mac about ten minutes from a fresh save: the logo movie, the title, the calibration screens, the Act I cinematic, the main menu, Offline, hero class selection, naming, the Rogue Encampment as a Barbarian (walking, the automap, the camp's gate), 60 fps (CPU 65 % of one core, GPU 6 to 7 ms), sound, no red line, 2.79 GB physical footprint. Not run: the iPhone, a fight, the base game v0, regress.py (the readers run only on files and records of these forms). Open: about six long frames a minute in the camp (80 to 105 ms of the game's own CPU work)
2026-11-12 08:32:17 +08:00

Subsystem references

How the host meets each part of a Switch game, and every failure met so far, one entry per mechanism: symptom, cause, fix (file and function), the games it was found on (linked to their notes in dm/games/<id>/README.md). Start from the symptom index when you have a log line or a visible result; the workflows that lead here are in docs/agents.

File Covers
packing.md NSP script, compressed inputs and build artifacts
rewriter.md The NSO rewriter patch_nso.py: jump tables, exclusive windows, patch area reach, cuts and observation gates (and cheats carried across builds with the same matcher), functions without unwind entries, stack and system registers, relocations
memory.md Guest layout, heap and application pool, virtual address memory and the alias region (the SDK's node area), engine allocators, mapping SVCs, running out of memory
threads.md Thread creation and cores, address arbitration, yields and spin waits, events
services.md SDK calls and system services: sm connections, names that changed between SDKs, file system and saves, add-on content, input, keyboard and applets, display and operation mode, accounts and network, settings and fonts, C library and time, modules
movies.md The SDK's movie library: decoder lifecycle, output slots, native-texture output, demuxers and codecs, game movie players
audio.md The audio renderer and its command lists by SDK, AudioOut and devices, codecs, timing
frame-rate.md The host's frame step, engine frame limiters, present intervals and display rates, CPU cost
nvn-objects.md NVN object sizes, memory pools, command memory, queues and syncs, CPU-written textures, NVN entry points
rendering.md The replay on Metal: textures, passes and clears, blend / depth / stencil, vertex input, uniforms and ordering, conditional rendering; the Vulkan and OpenGL layers
shaders.md Shader containers by engine, control sections and code, translation, bindings and handles, shaders compiled at run time, pipelines and caches
cheats.md How cheats work on a Switch with Atmosphère (dmnt, the file, the VM, its behaviour on failure) and where this host differs
game-state.md Saves, scripted state, and game behaviour that looks like a host bug but is not

A new general finding goes into the file and section it belongs to, in the same form, with a line in the symptom index; a fact about one game goes into that game's note.