Skip to content

Releases

sfex2p-xbox 1.0.8 - two comments say what they mean

Choose a tag to compare

@jajdp jajdp released this 03 Nov 22:43

Documentation and comments only — the recipe and the tools behave exactly as before.

Some passages introduced a fact as "the same as in the other port" or "the sister port's",
naming no repository. There was nothing to go and look up, and the fact itself went unsaid. Each one
now states what it carried. Two tool comments: the variable the WindowsStore SDL2 expects, and why
R3 is free.

What is still cited is everything that is not ours: the upstream project, the third-party forks
this recipe builds on, and the files taken from them under their own license.

Checked

Names of other repositories of this catalogue, whole tree 0
The zip, entry by entry against the tag all 39 entries
The published zip against the local one identical byte for byte

(Español) Solo documentación y comentarios: la receta y las herramientas se comportan igual
que antes. Algunas frases daban un dato como «lo mismo que en el otro port» o «el del port
hermano»
, sin nombrar ningún repositorio: no había nada que ir a consultar y el dato se quedaba sin
decir. Ahora cada una dice lo que llevaba dentro. Dos comentarios de herramienta: la variable que
espera el SDL2 de WindowsStore y por qué R3 está libre.

Lo que sí se sigue citando es todo lo que no es nuestro: el proyecto original, los forks de
terceros sobre los que se construye la receta y los archivos tomados de ellos con su licencia.

Zip sfex2p-xbox-1.0.8.zip — 39 files, 107326 bytes
SHA-256 ff99289a620200c085e981646b9dff8df9c1695c7dd1ba1eff730d8ed4ac5505

sfex2p-xbox 1.0.7 — explained on its own terms

Choose a tag to compare

@jajdp jajdp released this 03 Nov 06:56

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.

  • The .gitignore note about parche_fondo_cadena.py says the fix is already in the plugin that
    mod publishes, without naming the repository.

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 sfex2p-xbox-1.0.7.zip — 39 files, 107164 bytes
SHA-256 0b8c69976b981c79982d67cd17c40abf3ff2accf6bf08b8238daf88f60ba966f

sfex2p-xbox 1.0.6

Choose a tag to compare

@jajdp jajdp released this 21 Oct 01:58

What changed in 1.0.6: 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.5.


Español

Lo que cambia en la 1.0.6: 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.5.

sfex2p-xbox 1.0.5 — the UWP port for Xbox Developer Mode

Choose a tag to compare

@jajdp jajdp released this 16 Oct 22:56

Changes since 1.0.4: one file, .gitattributes. The recipe is untouched, so if you already
have the port built there is nothing here you need to do.

Without that file, what a clone gives you depends on each machine's core.autocrlf — and src/
here holds two files that are copied byte for byte into the framework's tree, while the sixteen
patches compare anchors against files whose endings .gitattributes governs on the upstream side
too. Its body is the same one the other ten published repositories carry, so that they can be
compared; its top paragraph says what this one holds.


Street Fighter EX2 Plus on an Xbox Series in Developer Mode. The recipe and the tools that apply it: a WindowsStore CMake profile for a framework that has none, the WinRT entry point, and sixteen guarded patches that turn a PC build of the PSXRecomp recompilation into a UWP package you build and sign yourself.

It boots through the BIOS and the Capcom presentation, reaches the title screen, plays with a controller in 16:9 at 60 FPS, and comes back where you left it after the console suspends it.

Earlier: the console side, which was only in the project's own notes

1.0.4 was everything about the console that was written down there and had never made it into
this repository:

  • How the console has to be before you start — Developer Mode, powered on, on the same
    network, and with your profile signed in. That last one is the trap: with no user signed in,
    the package installs, shows up in the list, and launching it does nothing at all, which looks
    exactly like a build you got wrong.
  • The browser warning on the way into the Device Portal. The console issues its own
    certificate, so every browser objects to it. Section 8.2 gave the portal's URL and went straight
    to the Add screen, as if getting there were nothing; it now says why the browser protests,
    names the buttons in Edge, Chrome and Firefox, and says the portal will then ask for xbox /
    xbox.
  • That the console never asks for the certificate you signed with. The Add screen has no
    field for it, so hunting for one is time spent on a problem that does not exist. With the one
    command that exports the .cer out of the package, for the case where a portal ever did refuse
    a signature.
  • How to remove it, and that your saves go with the package. They live in its LocalState, so
    the section says where they are and to download them through the portal first. Updating needs no
    uninstall at all.

Earlier: what the 1.0.1 code review changed

A code review of this repository, in three passes: repository hygiene, a line-by-line read of all
the code, and a fresh-eyes pass that compiled and ran what it could. The tree the recipe produces
is unchanged
, verified by applying the profile with the old scripts and with the new ones to two
identical copies and diffing them byte for byte: 11 of 13 files identical, and the two differences
were comment changes made on purpose. Applying it twice still changes nothing.

Five bugs, each found by running something rather than reading it:

  • tools/apply_uwp.py crashed on a console whose code page is not UTF-8, which is the Windows
    default: the steps report in Spanish, and printing an accented character raised
    UnicodeEncodeError half way through applying the profile. This one would have hit anyone who
    cloned the repository and ran it in a freshly opened console.
  • The WinRT entry point joined the split disc without checking a single write. With a full drive
    or a missing part it renamed a truncated file into place and logged it as a success.
  • tools/configurar-uwp.ps1 did not propagate the exit code: when CMake failed, the script still
    ended in success.
  • tools/empaquetar-uwp.ps1 rewrote the versioned package/Package.appxmanifest when given
    -Version, swallowed the SDK tools' diagnostics with | Out-Null, and left its work folder —
    game executable inside — in %TEMP% for good.

And the readability work, which is what the review was for:

  • The patching mechanism lives in one place. The same skeleton was copied across seventeen
    scripts, with four diverging copies of the same helper. It is tools/parchear.py now, and each
    script carries only its anchors, its replacement text and three lines.
  • The OpenGL replacement is a real file. Its 200 lines of C lived inside a Python string, where
    nothing could compile or lint them; it is src/gpu_gl_renderer_stub.c, and it compiles on its own
    without a warning.
  • The five diagnostics are gone. They were scaffolding, documented nowhere, and the
    from-scratch test that validated the sixteen profile patches never ran them — so three of the five
    could not work: two anchored on code that no longer exists in a patched tree, two emitted C that
    does not compile.
  • One language per place: everything the patches write into the game's tree is in English now,
    like the rest of the runtime. The scripts' own comments stay in Spanish.
  • LICENSE carries the canonical PolyForm Noncommercial 1.0.0 text, which is what NOTICE.md
    relies on; and NOTICE.md's count of quoted lines is now exactly the whole repository.

⚠ If you have a tree already patched with 1.0.0, start from a clean clone of the game project:
three idempotence markers changed language, so the scripts will not recognise their own earlier
work. They stop rather than patch anything twice.

This ships no game, and cannot

No game code, no disc image, no BIOS, no built executable, no .msix and no artwork — not even the eleven package tiles, which you supply yourself (docs/ASSETS.md). Everything here is applied to your own checkout of the game project, on your machine. You need your own dump of the NTSC-U disc (SLUS-01105), a retail SCPH-1001 BIOS, and that project already building and running on your PC.

How it goes

python tools/apply_uwp.py <game project>                 # the profile: 16 guarded patches
powershell -ExecutionPolicy Bypass -File tools/configurar-uwp.ps1 -Raiz … -Compilar
powershell -ExecutionPolicy Bypass -File tools/empaquetar-uwp.ps1 -Certificado …

Then install through the Device Portal and upload your disc and BIOS to the app's LocalState. Step by step, including the console side and the 150 MiB disc parts the portal forces on you: docs/INSTALL.md · en español.

Why each patch exists, with what the log said in each case: docs/HOW-IT-WORKS.md.

What it had to solve

Six separate causes behind a single Failed to launch the application; mods validated before the disc is resolved; no controller, because without a launcher player 1 defaults to a keyboard a console does not have; 51–55 FPS in 16:9, because the software rasteriser drew every primitive twice; a game that restarted after Home, because Developer Mode terminates a suspended app; and memory cards that had never saved anything, because memcard_dir is relative and resolved against the read-only install folder.

Verified before publishing

The whole recipe was run against a clean clone of the game project and compared with the tree that actually runs on the console: main.cpp, gpu_sw_renderer.c, host_osd.c, savestate.c, savestate.h, gpu_gl_renderer_stub.c, psx_fiber.c and mod_plugins.h come out identical, line for line; runtime.cmake equivalent. That run also exposed five things that had drifted between the working tree and the scripts — including a profile missing /APPCONTAINER, without which the package installs and the console will not launch it. All five are fixed here; the changelog lists them.

sfex2p-xbox-1.0.5.zip
SHA-256  b9053a69227544a1b76b9368c8f0efb4fd69a34eb4e0d2d4b7c1ff4c143fd4b4

The archive is this repository without the screenshot. Cloning works just the same.

The mods are separate

Mods are not part of this port: the packer takes any of them with -Mod, pointing it at the
mod's own package. This port was tested with two — a real 16:9 and the menus in Spanish — each
built and distributed on its own.


Español

Antes: qué cambió la revisión de código de la 1.0.1

Una revisión de código de este repositorio en tres pasadas. El árbol que produce la receta es el
mismo
, comprobado aplicando el perfil con los scripts anteriores y con los nuevos sobre dos copias
idénticas y comparándolas byte a byte. Se corrigieron cinco defectos, todos encontrados ejecutando
y no leyendo: apply_uwp.py se rompía en una consola que no es UTF-8 —la de Windows por defecto— a
mitad del parcheo; la entrada WinRT unía el disco partido sin comprobar ni una escritura;
configurar-uwp.ps1 no propagaba el código de salida; y empaquetar-uwp.ps1 reescribía un archivo
versionado, se tragaba los errores del SDK y dejaba el ejecutable del juego en %TEMP%.

Y la parte de legibilidad, que era el motivo: la mecánica de parcheo está en un solo módulo en vez
de copiada diecisiete veces, el sustituto de OpenGL es un archivo que compila por su cuenta, los
cinco diagnósticos salen de lo publicado —tres no podían funcionar— y todo lo que los parches
escriben dentro del árbol del juego va en inglés, como el resto del runtime.

⚠ Si tienes un árbol ya parcheado con la 1.0.0, parte de un clon limpio del proyecto del juego:
tres marcas de idempotencia cambiaron de idioma, así que los scripts no reconocen su propio trabajo
anterior. Se detienen en vez de parchear dos veces.

Street Fighter EX2 Plus en una Xbox Series en modo desarrollador. La receta y las herramientas que la aplican: un perfil de CMake para WindowsStore en un framewo...

Read more