schema = 1
load_after = ["io.github.yozoratempest.eu4-unicode-patch"]
[plugin]
id = "io.github.yozoratempest.eu4-menu-patch"
name = "EU4 Menu Patch"
version = "0.1.4-experimental"
authors = ["YozoraTempest"]
license = "MIT"
description = "Return to the main menu and reload the same save (experimental)."
[target]
platform = "windows-x86_64"
game = "eu4"
game_versions = "=1.37.5"
[entry]
kind = "legacy"
path = "plugins/eu4_menu_patch.dll"
phase = "deferred"
[lifecycle]
restart_required = true
[status]
export = "EU4MenuPatchStatus"
mode = "poll"
timeout_ms = 30000
pending = [0]
values = [
{ value = 1, state = "active" },
{ value = -1, state = "refused", reason = "host identity check failed" },
{ value = -2, state = "refused", reason = "incompatible game image or exception" },
{ value = -3, state = "refused", reason = "target memory already modified by another patch" },
{ value = -4, state = "failed", reason = "hook preparation or VirtualProtect failed" },
]