Repository navigation
TriUnit Recomp v0.15.0
A fix for Mortal Kombat closing in the middle of a session, the game in the monitor's own pixels under Windows display scaling, and a way to fill screens that are not 16:9.
What's new
- Mortal Kombat no longer closes on a read of the protection chip (#15). The game reads the joystick through a field of the fighter's process, and in some moments that field does not hold a port address. In the reported session it pointed into the address range of the board's protection chip, and the game read 32 bits there. The chip was modelled for 16-bit reads only, so the session stopped ("untranslated-frontier" at
ffce9400, exit code 3). The chip now answers a read of any size as the board does: one value of its sequence for every 16-bit bus cycle of the read. - The game draws in the monitor's own pixels. Under Windows display scaling (a 4K screen at 150%, for example) the game drew a smaller picture that Windows stretched, unless the Phosphor preset or an integer scale was on. Every preset now uses the monitor's real resolution.
- Widescreen on a screen that is not 16:9. A television driven at 4096×2160 instead of 3840×2160 showed a black strip on each side. The picture keeps its shape by default; Settings > Display > Screen: Wide stretched stretches it over the whole screen, and Settings > Launcher > Launcher fullscreen: Stretched does the same for the app. Both are off by default and change nothing on a 16:9 screen. Choosing 3840×2160 in Windows is still the better fix for such a television.
- The session log says which screen it ran on. It records the surface, the monitor, the display mode, the DPI and where the picture was drawn, which is what a report about borders or scaling needs.
Known issues
- The fix for #15 was checked against the pinned MAME sources and by the game's qualified replays, not by replaying the reported session: its log has no input record. The same read through a field that is not a port address can still land on the CMOS, the palette, the DMA registers or the sound board, where a 32-bit read is not modelled yet and stops the session the same way. If Mortal Kombat closes again, please attach the files of 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.
- In a window, the game opens at 800×508 real pixels, so it looks smaller under display scaling. The window can be resized.
- 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 the three games (the window they share) and Mortal Kombat's hardware model. 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.15.0-Windows-x64.zip: the app, the setup and the tools (the source tree withtriunit.exeandrecomplauncher.jsonat 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
- MinGW-w64 g++: install MSYS2 and run
pacman -S mingw-w64-x86_64-gccin its terminal (validated: 16.1.0 atC:/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)
How to use
- Install it from RecompLauncher, or download the zip and extract it.
- Without RecompLauncher: double-click
TriUnit Setup.cmd(ortriunit.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). - 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.15.0-Windows-x64.zipSHA-256:05b033c3ed4981663152a99a02a9f17bbeb53df31f6a821c6e2a9398aa7ba346triunit.exeSHA-256:f1316983f3bc340f544c12b173230963a82041a25a4743aef3092c5bee425fbe
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.