Skip to content

Switch dependencies 1 (Dawn + libuam, prebuilt)

Choose a tag to compare

@schuler-ph schuler-ph released this 22 Nov 20:24
· 34 commits to main since this release

Prebuilt Switch graphics dependencies for building NSMBW for Nintendo Switch: Dawn (WebGPU, with the deko3d backend) and libuam (GLSL → DKSH shader compiler), as static libraries for devkitA64. No game code, no game data.

build.sh downloads this archive by default and checks it against the SHA-256 pinned in projects/nsmbw/tools/build-switch.sh, which saves building them yourself (about 10 minutes and 5 GB of disk). ./build.sh --build-deps builds them instead.

File What
nsmbw-switch-deps.tar.xz the libraries, Dawn's headers, license texts, applied patches, MANIFEST and SHA256SUMS
nsmbw-switch-deps-source.tar.xz corresponding source: Dawn 13abc3bc with its submodules, libuam f8c9eef, the WiiCompiled-Switch patcher scripts b851db9, build-switch-deps.sh and the patches
*.sha256 checksums

SHA-256 of the archive: 483308448983b70a6277d86e042c56b54c4f9032f680bbf548a4a938975ef244

Reproducible: build-switch-deps.sh --pack gives the same bytes from these pins with the packages of the devkitpro/devkita64:20260219 Docker image, checked with two independent builds (WSL and Docker). A .nro built with this archive has the same loaded sections as one built with self-built libraries.

Licenses: Dawn and Tint BSD-3-Clause, Abseil Apache-2.0, libuam zlib (with MIT parts from Mesa), the Dawn Switch patch (from DriftDroid) and the WiiCompiled-Switch scripts GPL-3.0, this project's patches GPL-3.0. The archive as a whole is distributed under the GPLv3, with its source attached here. Details: THIRD-PARTY-NOTICES.md.