Skip to content

Releases

CAPIE 1.6.1

Choose a tag to compare

@SirCypkowskyy SirCypkowskyy released this 05 Nov 19:27

Hotfix for Hearts of Iron IV 1.19.4.2. Nothing else changed: the script API is still level 8, so
every mod that works with CAPIE 1.6.0 (and mods built for CAPIE 1.5) works without changes.

Changed

  • CAPIE now runs on HOI4 1.19.4.2 only (Steam, x64, hoi4.exe SHA-256 BCCC6290…7A8037). On
    1.19.4.1 it stays off and the game starts without it, as on any other unsupported build. Steam
    updates the game automatically, so update CAPIE to 1.6.1 (run the installer again).
  • Every address and byte signature was re-checked for the new build. Code and data moved by a
    few hundred bytes to a few kilobytes; no structure layout changed. The details are in
    docs/research/port-1.19.4.2.md.
  • CAPIE_BUILD answers 1.6.1; the build number sent as capie_ver is 10601.
  • The "CAPIE" switch mod in the ZIP (mod/capie, the local copy) is version 1.1.2: no CAPIE mark
    in the main menu any more, and no interface, graphics or localisation file. Its copy of the
    game's main menu file replaced the main menu of total conversions such as Kaiserreich.

Fixed

  • CAPIE no longer refuses to start after the 1.19.4.2 game update.
  • Updating no longer fails when an antivirus (Microsoft Defender reports
    Trojan:Win32/Posilod.CA!cl, a false positive) quarantines the optional proxy version.dll.
    The proxy is now a separate download, CAPIE-1.6.1-proxy-win64.zip, listed with its SHA-256 in
    the signed release-manifest.json. Only the Proxy method fetches it, so the default Launcher
    install and update never download, unpack or read version.dll. If an antivirus blocks a file
    the setup does need, it stops with a clear message: which file, that it is a false positive,
    its SHA-256 and release page, and how to restore or allow that one file in Windows Security >
    Protection history, instead of a raw Get-FileHash error.

Supported game build

Hearts of Iron IV 1.19.4.2 (Steam, x64),
hoi4.exe SHA-256 BCCC62909B6A1EC2C1D5A46EF18608E4D0C7CDC89AD341B7402A23C40F7A8037.
CAPIE 1.6.1, 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.

Antivirus

Some antivirus programs report the optional proxy version.dll
(a DLL the game loads by design) as a false positive.
The default Launcher install never downloads it:
it ships separately for -LoadMethod Proxy only.
If your antivirus quarantined a CAPIE file, compare its SHA-256 with
release-manifest.json and the checksums below, then restore or allow that one file
(Windows Security > Virus & threat protection > Protection history).
Please do not turn your antivirus off.

VirusTotal

Pending: results are added before the release is published.

Checksums

b37cb34c62a28d25db27c562208f510107310b1ea4eb23e0d9a85a38927b7404  CAPIE-1.6.1-win64.zip
e0644287fc07c9423102764a92066da7379c28fc643a9211738c70229526dbca  CAPIE-1.6.1-proxy-win64.zip
c5defaae8025bd0eae29c57a867ef5f74dc12534f42a292c41ebcd3d24b768fc  release-manifest.json
15bc7af9d03660d253b806c45a2b3c02b288281d2f05e3c685b949d0a8691ace  release-manifest.json.sig

Built locally by the maintainer from commit 0350d1f6cd662d75936f8cce43afedbcc6b81544 (CAPIE-1.6.1-win64.zip).

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

CAPIE 1.5.2

Choose a tag to compare

@SirCypkowskyy SirCypkowskyy released this 29 Oct 19:31

Hotfix for Hearts of Iron IV 1.19.4.1. The script API is unchanged (level 7), so mods built for
CAPIE 1.5.0 and 1.5.1 work without changes.

Changed

  • CAPIE now runs on HOI4 1.19.4.1 only (Steam, x64, hoi4.exe SHA-256 CF781ED1…10476F). On
    1.19.4.0 it stays off and the game starts without it, as on any other unsupported build.
  • Every address and byte signature was re-checked for the new build. Code and data moved by a
    few hundred bytes; no structure layout changed. The details are in
    docs/research/port-1.19.4.1.md.

Fixed

  • CAPIE no longer refuses to start after the 1.19.4.1 game update.

Supported game build

Hearts of Iron IV 1.19.4.1 (Steam, x64),
hoi4.exe SHA-256 CF781ED178CD801643B233B7E3FCD1C0EFD19BD01AECD24BF07A35F69F10476F.
CAPIE 1.5.2, script API level 7.
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

515fad771380b8b699bc140eca0efeb251ba588c852c877934a9cdad4ae892c7  CAPIE-1.5.2-win64.zip
d645454f1af1bf462e1023182ea06cb25926ccd8fd75347f1b39c75abb826943  release-manifest.json
f1ce4f26d00427178bc87435d3ab2c42aa8ab3056885078ebaebfcf75a25a8b5  release-manifest.json.sig

Built locally by the maintainer from commit 42fa7ac6a18899f765e59c6ef41297b1d8ec06fb (CAPIE-1.5.2-win64.zip).

CAPIE 1.5.1

Choose a tag to compare

@SirCypkowskyy SirCypkowskyy released this 28 Oct 19:03

Support for Hearts of Iron IV 1.19.4.0 ("Operation Postern" update). The script API is unchanged
(level 7), so mods built for CAPIE 1.5.0 work without changes.

Changed

  • CAPIE now runs on HOI4 1.19.4.0 only (Steam, x64, hoi4.exe SHA-256 B6650C85…D888). On
    1.19.3.0 it stays off and the game starts without it, as on any other unsupported build.
  • Every address, byte signature and structure offset was re-derived for the new build. The game
    changed the layout of edit boxes, the politics view, scripted windows, the focus manager and
    the multiplayer session, and now finds GUI widgets by name in per-type tables. CAPIE follows
    all of it; the details are in docs/research/port-1.19.4.0.md.

Fixed

  • CAPIE no longer refuses to start after the 1.19.4.0 game update.
  • The launcher always starts the game. If Steam's command names a program the launcher does not
    know (in the game folder), the program needs administrator rights, or the launcher hits an
    internal error before the start, the game now starts unchanged without CAPIE and a notice says
    why. Only a missing program is still refused.
  • Steam can update hoi4.exe while the launcher waits for the game; with CAPIE off the launcher
    holds no file open at all.
  • Launcher notices now appear on top of the Paradox Launcher and the game. The "unsupported game
    version" notice says that CAPIE needs an update and where to get it. The outcome of the last
    run is written to %LOCALAPPDATA%\RenameAnything\last-status.txt.
  • Crash-loop breaker: if a start ended while CAPIE was loading (launcher or proxy), the next start
    runs without CAPIE once, says so, and the start after it tries again.
  • The proxy version.dll pins the same CAPIE DLLs as the launcher (one list,
    deploy/bundle-inputs.json); before, it could pin an older build and refuse the shipped DLLs.

Supported game build

Hearts of Iron IV 1.19.4.0 (Steam, x64),
hoi4.exe SHA-256 B6650C85002374218E60598BD04AAA26CBAD996FEDCE77126FCF92FC6BD6D888.
CAPIE 1.5.1, script API level 7.
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

d3888b5af618ee960ae7e1d25a6d11e3c8a2a347368be1e0aa29f0e8f875a8c3  CAPIE-1.5.1-win64.zip
e59adceb86744641468f2b26860d128dc7fca3bc82fdcb7b9c0c17d076b9230b  release-manifest.json
a43d523d610816f5ecce3c0dc42be88e191443e43b9866c0e05297b829e2aaea  release-manifest.json.sig

Built locally by the maintainer from commit 4dba74cc507a05f968975031d5959a508aa8f3a8 (CAPIE-1.5.1-win64.zip).

CAPIE 1.5.0 (beta)

Choose a tag to compare

@SirCypkowskyy SirCypkowskyy released this 15 Oct 16:10

First public release of CAPIE (Cyprian's API Extender), a native library that extends what
Hearts of Iron IV mods can do. Rename Anything is the first mod built on it.

Added

  • Custom country names and adjectives as a separate name layer (script API level 4).
  • Faction names through the faction name layer (API level 5).
  • Country flags: a native flag layer that shows any flag from the game's catalogue for a
    country, with a reset (API level 6).
  • Leader portraits: a native portrait layer that shows a chosen portrait for a country's
    ruling leader, separate from the game's own data and with a reset (API level 7).
  • Text fields with a native editor for script GUIs (the CAPIE grammar editors), with an
    on-screen keyboard fallback when CAPIE is not loaded.
  • CAPIE_* status keys so mods can show whether CAPIE is loaded and which version.
  • The CAPIE launcher for the Steam launch options or a shortcut. It loads CAPIE only when the
    "CAPIE" switch mod is enabled in the playset, and starts the game without CAPIE on an
    unsupported game build.
  • The opt-in proxy loader (version.dll) as an alternative to the launcher.
  • The installer (install.ps1): install, update from signed releases, roll back, disable and
    uninstall.

Supported game build

Hearts of Iron IV 1.19.3.0 (Steam, x64),
hoi4.exe SHA-256 7DC947BE34970DA1E1C787BCDDBE7F62B610FF258AEBF8F06AA8B348F3A031D5.
CAPIE 1.5.0, script API level 7.
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

About these results. Every detection comes from machine-learning or file-reputation engines (CrowdStrike Falcon ML, Cynet, APEX, McAfee ti! for new, rare files) and from Bkav. No engine reports a known malware signature, and Microsoft Defender, Kaspersky, ESET, Bitdefender and Avast report nothing. The files are new, not code-signed yet, and CAPIE loads a DLL into the game process, which is what these models look for. The source is open in this repository, CAPIE makes no network connections, and the installer verifies a signed manifest and every file's SHA-256. False-positive reports have been or will be sent to the vendors; code signing is planned.

Checksums

e949dafe4a1c588f764f6a5d0a9e8dcc9f0edb5a7d6f158327ee6d78fb20d6c2  CAPIE-1.5.0-win64.zip
0579d809d497238b5bcfecefec68f329ef588cba16bd422c703616dc4356fda0  release-manifest.json
3713f7e6197ad0163685f4492f463bed2d93a3dcf30841a9856da4e0aa9bef98  release-manifest.json.sig

Built locally by the maintainer from commit 97e09a31723a61e3603238e407c8347ebc35a2a6 (CAPIE-1.5.0-win64.zip).