Skip to content

TriUnit Recomp v0.17.0

Choose a tag to compare

@macielrecomp macielrecomp released this 30 Nov 13:42
· 21 commits to main since this release

Mortal Kombat II no longer closes on The Portal, and the Play page shows the 8x fighter poses being drawn.

What's new

  • Mortal Kombat II no longer closes on The Portal. In a session on The Portal the game's own code read a word at an address with no device behind it (a field of another process used as a pointer). On the board that read answers FFFF, the value of the pull-ups the arcade's memory map declares for every unmapped address, and the game goes on. The recompilation answered it only in one part of the map and stopped elsewhere. Every address with no read handler now answers FFFF. The session was replayed against the pinned Original: up to 80,000 cycles before that read and 2 million cycles past it, CPU, every memory, picture and audio are the same. Reads of devices that are mapped but not modelled still stop the game, as before.
  • The 8x fighter poses show their progress on the Play page. While new poses are drawn at 8x, a panel above the cabinets shows the game being drawn, poses done of the total, percent, a progress bar, the time left, and that PLAY pauses the drawing until the game closes. It then shows when it is paused by a running game, when the poses are ready, or when the drawing stopped (with where its log is). Nothing changes for players who do not use the 8x fighters option.

Known issues

  • A Mortal Kombat Test Your Might screen with thin horizontal stripes on its right side was reported (1 player, Remastered, widescreen). It has not been reproduced yet: a save state taken on that screen, or a look at the same screen in the Original edition, would help.
  • The 8x panel counts the poses pending when the drawing starts (when the app opens or a game closes), so after a game the count starts again from that point.
  • Mortal Kombat can still close if its joystick field lands on the DMA registers or the sound board with a read size their models do not take. If it does, please attach the session's folder in logs/temporaria-8.
  • With the Phosphor preset the widescreen picture is not stretched: it keeps its whole-line raster and its border.
  • Wide stretched has no limit: on an ultrawide screen it distorts the picture as much as the screen is wider than 16:9.
  • Controller and keyboard in Mortal Kombat II Remastered under Linux/Proton (#11) is still open: it needs the session log.
  • Mortal Kombat 3 Remastered cannot play your own music yet (its board does not separate music from effects).

Updating

This release changes Mortal Kombat II's core. The app shows games built by an older release as Update on the Build page; build them again. RecompLauncher runs the setup again on its own. Your CMOS profiles (settings and high scores) and save states are kept.

If RecompLauncher shows an older version, update TriUnit Recomp there first: an older copy stays on its previous release.

What's included

  • TriUnit-Recomp-v0.17.0-Windows-x64.zip: the app, the setup and the tools (the source tree with triunit.exe and recomplauncher.json at the top).
  • triunit.exe: the app alone, for an existing checkout of this tag. It contains no game code.

No game files are included: no ROMs, no generated code, no game executables. No network weights and no Python packages are included either.

Requirements

  • Windows 10 or 11, 64-bit, with a DirectX 12 GPU
  • MinGW-w64 g++: install MSYS2 and run pacman -S mingw-w64-x86_64-gcc in its terminal (validated: 16.1.0 at C:/msys64/mingw64/bin/g++.exe; another version or location is shown as not validated)
  • Python 3.12 or later on PATH (validated: 3.13.2); the optional 8x fighters step needs 3.12 or 3.13

How to use

  1. Install it from RecompLauncher, or download the zip and extract it.
  2. Without RecompLauncher: double-click TriUnit Setup.cmd (or triunit.exe), confirm on the Legal page that you own the original board / ROM files, choose your ROM folders on ROM Setup and press Verify, then Build each game (Update for games built by an older release).
  3. Play. For widescreen, choose the Remastered edition and set Settings > Display > Screen: Widescreen.

See the README for the list of supported games, filters, VRR, HDR, the Remastered edition and the command-line setup.

Verify the download

  • TriUnit-Recomp-v0.17.0-Windows-x64.zip SHA-256: 149442b60b91086c890a6aa24ba85d4030930576008eb92700f5cf9cce8d2ee4
  • triunit.exe SHA-256: a77f523b48f37847276c355e9426a7ced98cffb27f8aa076943b27979e099138

Legal

Independent project, not affiliated with or endorsed by the owners of the games. You need your own legally obtained ROM files. See DISCLAIMER.md.