Skip to content

brawl-xbox 1.0.0 - the recipe

Choose a tag to compare

@jajdp jajdp released this 03 Nov 15:23
· 2 commits to main since this release

This download is a recipe, not something you install on a console. The zip is this
repository: the documentation, the patcher and the tooling. There is no disc, no game data, no
recompiled code, no executable and no .msix in it, and there never will be.

The recipe takes what WiiCompiled produces from
your own Super Smash Bros. Brawl disc — a native executable, not an emulator — to an Xbox
Series X in Developer Mode
, as a UWP package you build and sign yourself. You bring your own
disc, Visual Studio 2022 with the C++ UWP component, WiiCompiled's llvm-mingw and
worleydl/uwp-dep on branch dawn-dev.

What is in it

  • tools/parchar_uwp.py — 53 patches over 20 files: 46 in WiiCompiled's runtime (GPL-3.0)
    and 7 in Aurora (MIT). This is the port. Done against
    BrawlRecompiled 0.5.3.
  • src/uwp_main.cpp and src/compat/unistd.h — the UWP entry point, and a three-line bridge so
    zlib compiles against the MSVC ABI.
  • tools/compilar.ps1 — compile, link, package and sign, each step repeatable on its own.
  • tools/desplegar.ps1, xbox-portal.ps1, subir_disco.ps1, auditar_disco.ps1 — the console
    side: install, push the extracted disc to LocalState in batches, and check afterwards that
    it all arrived
    . That check exists because an upload once stopped part-way and said nothing:
    223 of 314 music files were missing and the game played on in silence.
  • tools/semilla.ps1 + src/semilla.cpp — the seed package trick, for when the first
    install of a package family will not fit in the 5 GB of D:\DevelopmentFiles.
  • tools/semilla_pipelines.py — build a shader seed from your own play sessions. ⚠ The one
    WiiCompiled ships is NSMBW's: it shares 1 pipeline out of 393 with this game.
  • docs/ — how it works, the eight traps and how to install it, in English and Spanish.

Verified before publishing

  • The repository carries no disc image, no game data, no executable and no .msix, and
    package/Assets/ is empty on purpose. Every project whose code is touched is listed in
    NOTICE.md with its patch count and its license; not one line of BrawlRecompiled itself is
    reproduced
    , because the outer project declares no license.
  • The .ps1 files parse with the PowerShell 5.1 that ships with Windows, not only with 7.
  • This zip is built from the tag, with a fixed date, so rebuilding it anywhere gives the same
    bytes: SHA-256 6ade3d3e3d784206a49ff4b482392a51a157b58168487bec92d555ac4c0e3cc2.

Tested on

An Xbox Series X in Developer Mode: it boots, draws, plays its music, reads the controller
and runs the videos at 60 FPS, with its saves in the package's LocalState. A Series S has
never been tried — not once
, and none of the numbers here are a promise about that console.

License

GPL-3.0, the same as WiiCompiled, which is what the 46 runtime patches modify. The other 7
patch Aurora (MIT), which is compatible with it.


Español

Esta descarga es una receta, no algo que se instale en una consola. El zip es este
repositorio: la documentación, el parcheador y las herramientas. Dentro no hay disco, ni datos
del juego, ni código recompilado, ni ejecutable, ni .msix, y nunca lo habrá.

La receta lleva lo que WiiCompiled produce a
partir de tu propio disco de Super Smash Bros. Brawl —un ejecutable nativo, no un emulador— a
una Xbox Series X en modo Desarrollador, como paquete UWP que compilas y firmas tú. Tú traes
el disco, Visual Studio 2022 con el componente C++ UWP, el llvm-mingw de WiiCompiled y
worleydl/uwp-dep en la rama dawn-dev.

Qué trae

  • tools/parchar_uwp.py — 53 parches sobre 20 archivos: 46 en el runtime de WiiCompiled
    (GPL-3.0) y 7 en Aurora (MIT). Ese es el port. Hecho
    contra BrawlRecompiled 0.5.3.
  • src/uwp_main.cpp y src/compat/unistd.h — el punto de entrada UWP, y un puente de tres
    líneas para que zlib compile contra la ABI de MSVC.
  • tools/compilar.ps1 — compilar, enlazar, empaquetar y firmar, cada paso repetible por su
    cuenta.
  • tools/desplegar.ps1, xbox-portal.ps1, subir_disco.ps1, auditar_disco.ps1 — el lado de
    la consola: instalar, subir el disco extraído a LocalState por lotes y comprobar después
    que llegó todo
    . Esa comprobación existe porque una subida se cortó a medias sin decir nada:
    faltaban 223 de 314 archivos de música y el juego siguió, en silencio.
  • tools/semilla.ps1 + src/semilla.cpp — el truco del paquete semilla, para cuando la
    primera instalación de una familia de paquetes no cabe en los 5 GB de D:\DevelopmentFiles.
  • tools/semilla_pipelines.py — armar una semilla de shaders con tus propias partidas. ⚠ La que
    trae WiiCompiled es la de NSMBW: comparte 1 pipeline de 393 con este juego.
  • docs/ — cómo funciona, las ocho trampas y cómo instalarlo, en inglés y en español.

Verificado antes de publicar

  • El repositorio no lleva imagen de disco, ni datos del juego, ni ejecutable, ni .msix, y
    package/Assets/ está vacío a propósito. Cada proyecto cuyo código se toca está en
    NOTICE.md con su número de parches y su licencia; de BrawlRecompiled no se reproduce ni una
    línea
    , porque el proyecto externo no declara licencia.
  • Los .ps1 se parsean con la PowerShell 5.1 que viene con Windows, no solo con la 7.
  • Este zip está armado desde el tag, con fecha fija, así que rearmarlo en cualquier sitio da
    los mismos bytes: SHA-256 6ade3d3e3d784206a49ff4b482392a51a157b58168487bec92d555ac4c0e3cc2.

Probado en

Una Xbox Series X en modo Desarrollador: arranca, dibuja, suena su música, lee el mando y
reproduce los vídeos a 60 FPS, con las partidas guardadas en el LocalState del paquete. En
una Series S no se ha probado nunca
, y ninguna cifra de aquí es una promesa sobre esa consola.

Licencia

GPL-3.0, la misma que WiiCompiled, que es lo que modifican los 46 parches del runtime. Los
otros 7 parchean Aurora (MIT), que es compatible con ella.