Repository navigation
Releases
melee-xbox 1.0.3 — explained on its own terms
Documentation and comments only — the recipe and the tools behave exactly as before, except
where this release says otherwise, and that was checked rather than assumed.
This repository used to explain itself by pointing at other repositories of this catalogue:
comments and docs introduced a decision, a trap or a default as "the same as in such-and-such
other port of ours". If you came here for this game, that asked you to go and read about a
different one first. It no longer does — each of those comparisons carried a fact that reads
better stated outright, and that is what is written now.
What is still cited is everything that is not ours: the upstream project this recipe patches,
the third-party forks it builds on, and any file taken from them under its own license. Those are
the only repositories a reader is sent to.
- What stays cited is Dusklight, which is TwilitRealm's and SternXD's, and is where the
SDL_HINT_JOYSTICK_WGItrick comes from.
Checked
| The zip, entry by entry against the tag | all entries |
| The published zip against the local one | identical byte for byte |
| References to other repositories of this catalogue | 0, across the whole tree |
(Español) Solo documentación y comentarios: la receta y las herramientas se comportan igual
que antes, salvo donde este release diga lo contrario. Este repositorio se explicaba señalando
otros repositorios nuestros, lo que obligaba a quien llegaba buscando este juego a ir a leer sobre
otro. Ya no: cada comparación llevaba dentro un dato que se lee mejor dicho en directo, y es lo
que está escrito ahora. Lo que sí se sigue citando es todo lo que no es nuestro: el proyecto
original, los forks de terceros y los archivos tomados de ellos con su licencia.
| Zip | melee-xbox-1.0.3.zip — 28 files, 58590 bytes |
|---|---|
| SHA-256 | fcf63e3c3a864ae13ab539b9b227f3262c5651139070da9d2a5c99345b8ed651 |
melee-xbox 1.0.2
What changed in 1.0.2: this repository now says which console it was tested on.
An Xbox Series X, in Developer Mode — both of the consoles this was built and measured on are
Series X, so that is the only hardware anything here covers. A Series S has never been tried, not
once: nothing in this repository has been measured on one, and none of its numbers are a promise about
that console. The wording used to say "Xbox Series", which reads as if it covered both, and it does not.
Nothing else changed. The recipe, the patches and the tools are the same as in 1.0.1.
Español
Lo que cambia en la 1.0.2: este repositorio ya dice en qué consola se probó.
En una Xbox Series X, en modo desarrollador: las dos consolas en las que se construyó y se midió
esto son Series X, así que es el único hardware al que se refiere lo que dice. En una Series S no se
ha probado nunca, ni una vez: nada de aquí se ha medido en una, y ninguna de sus cifras es una promesa
sobre esa consola. Antes decía «Xbox Series», que se lee como si cubriera las dos, y no las cubre.
No cambia nada más: la receta, los parches y las herramientas son los mismos de la 1.0.1.
melee-xbox 1.0.1 — the UWP port for Xbox Developer Mode
This is a recipe, not a game. There is no executable in here, no .msix and no disc — this zip
is the repository itself, which you apply to your own checkout of
999sian/melee-pc. See NOTICE.md.
1.0.1 fixes one thing, and it would have bitten anyone who cloned this: two path-substitution
tables carried this machine's paths as their keys, so on another machine they would never have
matched and the substitutions they exist for would have been skipped silently. They now derive from
MELEE_SRC. Nothing else changed.
The UWP port of Super Smash Bros. Melee for Xbox Series in Developer Mode. It boots, reads the
disc, creates the memory card, plays with a controller, and averages 59.86 FPS over a
four-minute four-CPU match.
What made this one hard: the compiler
The game's code describes the disc's data with scalar_storage_order("big-endian"), a GCC-only
extension — and every UWP port in this catalogue is built with clang and the MSVC ABI, because that
is what the "store" CRT and the App Container linker understand.
The way out was using both compilers at once: GCC for the game's C (1 048 objects), clang for
all the C++ and the UWP layer (555). Then one .lib per target — 226 — and a link with ld.lld at
a fixed base of 0x10000000, no ASLR, no high entropy, because the game keeps disc pointers in
32-bit slots and everything it references has to live below 4 GB.
What's in the zip
Everything the v1.0.1 tag contains — 28 files, about 117 KB uncompressed:
tools/construir_uwp.py— the translator that routes each command to GCC or clangpatches/aurora-uwp.patch— Aurora's six files (MIT)tools/gpu_uwp.py,system_info_uwp.py— two of those changes as guarded scriptssrc/uwp/— the WinRT entry point, the MinGW CRT shim and an empty updatertools/empaquetar_uwp.py,partir_disco.py,censo_compdb.pydocs/— how to build it and get it onto a console, in English and Spanish
melee-xbox-1.0.1.zip
SHA-256 704e909314c7b0447d2e3ee6b172286cb58542a3198cca17f0d0572a0bed7804
What you still need
Your own dump, a checkout of melee-pc building on your PC first, MSYS2 with GCC (not
optional here), llvm-mingw, Visual Studio 2022 with the C++ UWP component, the UWP bundles, and a
certificate. docs/INSTALL.md walks through all of it. PowerShell 7 is not
needed.
What it had to solve
| Symptom | Cause | |
|---|---|---|
| 1 | FATAL: SDL not built with haptic support |
That SDL has no haptics and the game asked for every subsystem at once |
| 2 | The disc gives 500 whole (1.06 GiB) and in 900 MiB parts; 250 MiB parts work | Portal uploads. The entry point joins them on first boot |
| 3 | "There is no Memory Card in Slot A" | UWP SDL3's SDL_CreateDirectory does not create intermediate folders |
| 4 | _beginthreadex not supported |
SDL3's headers compiled with MinGW pass it; UWP SDL3 rejects it |
| 5 | B closed the game | On an Xbox it is also "back" |
| 6 | No button responded | UWP SDL3 ships Windows.Gaming.Input off, and that is the only route controllers take on a console |
| 7 | Seven clang errors, duplicate WinMain, expf twice, zlib twice, 13 MinGW symbols, WINHTTP.dll |
The toll for mixing two compilers |
License
MIT, the license of Aurora (© 2022 Luke Street),
which is the third-party code this patches. melee-pc publishes no license, so no line of it is
here: its two changes are described instead.
Super Smash Bros. Melee is © Nintendo / HAL Laboratory. Not affiliated with them, with Microsoft,
or with the authors of the decompilation, the PC port or Aurora. Rights holders:
jajdpmail@gmail.com.