Skip to content

TriUnit Recomp v0.13.0

Choose a tag to compare

@macielrecomp macielrecomp released this 28 Nov 18:32
· 48 commits to main since this release

The three Remastered editions do less work per frame, and the widescreen scenery reaches the screen's edges everywhere.

What's new

  • Less work per frame (Remastered edition, all three games). The arcade shows a frame every 18.3 ms and the game's thread has to finish each one in that time. With widescreen on, that work now takes about 20 to 35% less time than in v0.12.0 (measured without a window; Mortal Kombat II gains the most), which leaves more room before a frame is late or the sound stutters:
    • the sound DSP's idle wait is skipped exactly in Mortal Kombat II and Mortal Kombat 3: its clocks and counts come out as if every instruction had run;
    • in Mortal Kombat, an interrupt leaves the generated code by a plain return instead of a C++ exception, hundreds of times a frame;
    • colours come from tables, the sound resampler keeps its weights, and the page clear and the wide frame are handled in runs instead of pixel by pixel.
    • Each change was accepted only with the same frames and the same sound samples as before.
  • Widescreen 16:9: scenery to the edges (Remastered edition):
    • a far layer narrower than the wide picture (a sky, a wall) has each of its lines continued to the screen's edge in the line's own colours, under whatever passes in front of it. This removes the stretched streaks and black patches beside the sky of Mortal Kombat II's red-sky arena, the black blocks in the corners of its portal arena and the incomplete red sky of Mortal Kombat 3's rooftop;
    • Mortal Kombat and Mortal Kombat II: each far plane scrolls at an even pace from one wall of the arena to the other, so rows of a crowd no longer slide against each other (the monks of the Courtyard);
    • Mortal Kombat: the clouds over the pit go around in the sides too, without popping up or vanishing there;
    • Mortal Kombat II: at an arena's end the floor, its blood stains and the fighters' shadows stay under the fighters; the dragons of the red-sky arena cross the whole wide picture instead of stopping inside it and vanishing; the continue and game over screens are centred;
    • Mortal Kombat 3: the subway's rails go on to the screen's edge instead of ending at the old 4:3 columns;
    • when the game ends a scene before its picture is complete (the end of a demonstration shot in Mortal Kombat II), the sides go with it: no leftover art beside the next picture.
  • Tests: the widescreen acceptance has new replays (a lost match with the continue and game over screens, a walk from wall to wall of the red-sky arena, five wins and the bonus stage, the attract's demo fights) and lists the frames whose sides flash alone.
  • README: a section about the work per frame and the new widescreen rules.

Known issues

  • The gain in work per frame was measured without a window. If a game still stutters, please open an issue saying the game, the edition and the moment; the session log has the time each frame took.
  • Mortal Kombat 3 Remastered cannot play your own music yet (its board does not separate music from effects).
  • Mortal Kombat: on the continue screen in widescreen, an object that is only in a side (a torch at the Palace Gates, the throne in the Throne Room) can stay brighter than the dimmed scene.
  • Mortal Kombat II in widescreen still shows the arcade's short gap at the old 4:3 edge while it scrolls fast, and its menus keep a thin black line where a picture ends short of the edge.
  • Mortal Kombat 3: on the select screen in widescreen, the soft side can change its tone for one frame when a fighter's picture touches the edge.

Updating

This release changes the game executables. 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) are kept. Save states of Mortal Kombat and Mortal Kombat II made with v0.12.0 or earlier do not load in this release (the widescreen state is part of them and it changed); make new ones. Mortal Kombat 3's still load.

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.13.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.

Requirements

  • Windows 10 or 11, 64-bit, with a DirectX 12 GPU
  • MSYS2 MinGW-w64 g++ at C:/msys64/mingw64/bin/g++.exe (validated: 16.1.0; 16.2.0 builds every game and is shown as not validated)
  • Python 3.12 or later on PATH (validated: 3.13.2)

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.13.0-Windows-x64.zip SHA-256: 167fdd6af924a8cfc898b8890b8aea117230b7b151d42e2477817ba30507b538
  • triunit.exe SHA-256: 562c2a9f3636c5e9eaf3fec000280b09820b62ad384f4574652ad12d308c4e71

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.