Repository navigation
Game KOF XIII Climax
Pablo Souza edited this page Nov 16, 2026
·
2 revisions
| Board | Type X2 (2012, SNK Playmore) |
games/ id |
kof13cl |
| Status | Playable on macOS, the Android app and RetroArch on Android |
| Executable |
game.exe (data in media.kof, keys in TypeXmulti/) |
Same panel as KOF XII.
-
Flags across calls. The MSVC CRT's x87 maths helpers, such as
sin, return results in EFLAGS that the caller tests. The recompiler keeps flags in C locals, sosin()returned garbage. That broke the burn texture and made stage elements flash.Lifter::analyze_flag_exportsnow carries flags out of those helpers. -
16:9 inside 4:3. Climax composes a 1280×720 scene into a 640×480
backbuffer. The backbuffer renders at 2× (
X2_BB_SCALE) and both front ends crop the 16:9 band, so the screen gets a true 1280×720 picture. -
Natives. zlib
inflate_fast, plus an unoptimised byte-fill loop that dominated loading on Android. - Link-time optimisation. The game was built unoptimised: its hot paths call one-line getters, and each call was a spill and reload of every register. ThinLTO inlines them across the generated files. On the Galaxy Tab A11, heavy stages went from 16.5-18 ms a frame (about 50 fps) to 11-13 ms, so every stage tested holds 60.
-
Archive tool.
tools/kofarclists and extractsmedia.kof, decrypting TXAC entries with the key inTypeXmulti/txac.
None open.
Status
Games
Guides
Development