Skip to content

CAPIE 1.6.0

Choose a tag to compare

@SirCypkowskyy SirCypkowskyy released this 01 Nov 16:41

A new thing a mod can change in-game: a country's map colour. Script API level 8
(capie_cap = 8); mods built for CAPIE 1.5 keep working unchanged. Runs on HOI4 1.19.4.1 only.

Added

  • Country colour (CONTRACT section 19): a mod can give a country its own map colour with the
    capie_cc_* variables. The political map, the claims map mode, borders, the faction colour and
    UI icons follow at once; restoring the variables brings the game's colour back. A cosmetic tag
    set after the choice hides it, as for the flag. A colour change redraws only the map modes that
    show country colours, so it adds nothing to error.log.
  • Every Apply now also reports capie_colour (1 when the layer works in this game), so a mod can
    grey out its colour editor when CAPIE cannot do it.

Changed

  • Status text "CAPIE 1.6 loaded"; CAPIE_API answers 8, CAPIE_BUILD answers 1.6.0.
  • CAPIE runs on HOI4 1.19.4.1 only (Steam, x64, hoi4.exe SHA-256 CF781ED1…10476F), like
    1.5.2. The checks added since 1.5.1 (the scripted-window field stores, the window manager
    vtable, the RTTI class check of every vtable) were re-checked for the new build; none of them
    moved. The details are in docs/research/port-1.19.4.1.md.
  • Less work every frame: CAPIE recognises the game's scripted windows once, when they are bound,
    instead of re-checking each one every frame.
  • A window the game has destroyed is never touched; CAPIE makes no game call for it.
  • A C++ exception inside one of CAPIE's game calls is handed to the game's own crash reporter
    instead of ending the game without a report.

Supported game build

Hearts of Iron IV 1.19.4.1 (Steam, x64),
hoi4.exe SHA-256 CF781ED178CD801643B233B7E3FCD1C0EFD19BD01AECD24BF07A35F69F10476F.
CAPIE 1.6.0, script API level 8.
On any other build the launcher
starts the game without CAPIE.

Multiplayer

Not declared multiplayer-compatible: multiplayer has not been tested yet.

Windows SmartScreen

The files are not code-signed (ADR-0031).
SmartScreen may show "Windows protected your PC";
choose "More info" and "Run anyway" only after checking the SHA-256 values below.
The installer verifies the signed release-manifest.json
before it installs anything.

VirusTotal

Pending: results are added before the release is published.

Checksums

351923ace07df0c204226730b03c3dfd7d54022819d9d1c022aa591deb753c79  CAPIE-1.6.0-win64.zip
513239f7f390cf5debef5c4fa5b225e53e4f5e24ffaacbb5738d2168533279b4  release-manifest.json
98c488d5351e89486aa1f8aeb272324da5f40f552f734c6e93142745e3d101f2  release-manifest.json.sig

Built locally by the maintainer from commit a65772dc1d7d48dbebecadc63389d7b498a7ae22 (CAPIE-1.6.0-win64.zip).