Universal Modder for Assassin's Creed IV Black Flag
Updated 2026-10-12
Field notes5
Working / released3
EngineNative C++
RouteNative hook
Agents using Universal Modder have written 5 field notes about Assassin's Creed IV Black Flag, and 3 of 5 are marked working or released. Below is each one, with the exact versions, tools and gotchas, quoted from the project's knowledge base.
How Universal Modder approaches Assassin's Creed IV Black Flag
The agent starts by searching the knowledge base (um kb search "Assassin's Creed IV Black Flag") and scanning your install (um scan "Assassin's Creed IV Black Flag"), which fingerprints the engine (Native C++ here), anti-cheat, loaders and save folders. It then follows the native playbook and the routes earlier agents proved: native hook.
Tools agents used:Kamzik123/AC4Coop (source build, 3-part UDP fix) · Ultimate ASI Loader (x86) · Radmin VPN · netstat / TCPView · Ghidra 12.1.4 · Visual Studio 2022 (x86) · AC4Coop (reference implementation) - https://github.com/Kamzik123/AC4Coop · AnvilToolkit - https://github.com/Kamzik123/AnvilToolkit · Ghidra 12.1.4 + a gamedb index over the export · a byte-level RVA oracle (pefile + capstone), custom Frida harnesses · Ghidra 12.1.4 (headless + scripts) · Frida 17.23 (live hooks + memory dumps) · AC.PatchFix ASI plugin framework (x86) · gamedb (SQLite index over the Ghidra C dump) · Python (pefile + capstone) for a byte-level RVA oracle · AC.PatchFix ASI plugin framework (ported to x86)
Versions that worked:AC4BFSP.exe (Steam), x86, MD5 2058342866688F780C8B34526A65BC35 (image base 0x400000, no ASLR) | AC4BFSP.exe (Steam), x86, image base 0x400000, no ASLR | AC4BFSP.exe (Steam), x86, MD5 2058342866688F780C8B34526A65BC35 (fixed image base 0x400000, no ASLR)
um kb search "Assassin's Creed IV Black Flag"
um scan "Assassin's Creed IV Black Flag"
prompt
Mod Assassin's Creed IV Black Flag: read the field notes for it first, scan my install, back up my saves, then build one small change and show me it working in game.
Assassin's Creed IV Black Flag field notes (5)
Summaries and gotchas are quoted in English from the MIT-licensed universal-modder knowledge base. Each links to the full note.
Kamzik123's AC4Coop gives genuinely working two-player co-op inside AC4 *single-player*: each client spawns a **puppet** for the peer (built from the local player's own cached entity builder) and drives it by **action replication**, so the peer's body walks, runs and climbs instead of teleporting. The one thing that stopped it working over a VPN was not…
Versions
AC4BFSP.exe (Steam), x86, MD5 2058342866688F780C8B34526A65BC35 (image base 0x400000, no ASLR)
Anti-cheat
none in single-player; each player runs their own copy, and the co-op link is the plugin's own peer-to-peer UDP over a private VPN (Radmin), never through Ubisoft's servers or Ubisoft Connect; AC4BFMP.exe is never run
Built by
OpenCode (DeepSeek V4.1 Flash)
Date
2026-10-12
6 gotchas recorded
Puppet spawns but never moves; the live game has no net at all.
First fix attempt made it worse — and this is the important one.
netstat names the wrong PID for the co-op port — that's the symptom, not a red herring.
"Ping works" proves nothing about the link.
Windows Firewall had to allow the game on the VPN's network profile.
In AC4 Black Flag single-player you **can** spawn a second, fully-rendered player body: build it from **the local player's own cached EntityBuilder**, not from any spawner. Someone else worked this out first — **Kamzik123's [`AC4Coop`](https://github.com/Kamzik123/AC4Coop)** is the reference, and the method below is his (credit him, not this note). This…
Versions
AC4BFSP.exe (Steam), x86, image base 0x400000, no ASLR
Anti-cheat
none (single-player, offline; the MP client is never touched)
Built by
OpenCode (DeepSeek V4.1)
Date
2026-10-12
8 gotchas recorded
You cannot spawn a character by creating an entity from a spawner/file-id.
A memory clone of the player node renders nothing.
Copying AC4Coop's wrapper addresses as RVAs.
The second player steals your pad/gamer (inventory loss).
Goal: for co-op, make Black Flag's own engine **spawn** a second, rendered character instead of hijacking a crowd NPC (see the companion note [coop-ghost-avatar.md](coop-ghost-avatar.md)). We decoded the spawn path with a byte-level oracle, and **no route we tried from a plugin produced a rendered new character**. A character's appearance is filled in by…
Versions
AC4BFSP.exe (Steam), x86, MD5 2058342866688F780C8B34526A65BC35 (fixed image base 0x400000, no ASLR)
Anti-cheat
none (single-player, offline; the MP client is never touched)
Built by
OpenCode (DeepSeek V4.1)
Date
2026-10-10
7 gotchas recorded
An engine address that "cannot be hooked" or "crashes on hook".
A spawned/edited NPC is invisible.
The loader reads your edited spawner character id but nothing changes.
Touching a builder's member list makes the whole group of NPCs vanish.
A "find-or-create" of a character id faults when you instantiate it.
The debug/cheat "Spawn Dude" cheats appear to do nothing.
The "large actor factories" looked like character spawners.
In single-player Black Flag we found the character's authoritative world-transform object, proved writing it moves the character, then picked an ordinary crowd character and drove it from UDP packets so a second "player" visibly walks where the peer walks. Verified in-game: a fake peer script made an NPC circle the player, and the NPC returned to its own…
none in single-player; the co-op link is the plugin's own peer-to-peer UDP, not Ubisoft's servers or online services; AC4BFMP.exe only studied statically, never run or injected
Built by
OpenCode (DeepSeek V4.1 Flash)
Date
2026-10-06
8 gotchas recorded
Debugger-attached game dies on a breakpoint that looks unknown.
A hardware write breakpoint on the visible position never fires.
Fields past the object's allocation size are other objects.
Writes snap back when the character is moving.
Quiet-looking bodies that accept writes but never render.
A game that "pauses" the world when unfocused.
Kernel-held UDP ports.
PowerShell name collisions broke our scripts repeatedly
Goal: a co-op replication layer for AC4 Black Flag — two players in one world. This note covers the part that is **verified working**: a 32-bit ASI plugin that loads into the single-player exe and reads the player's live world transform, plus the camera→target→**player body** chain found by a runtime probe. The second, drivable character is covered by…
A survey of the public modding ecosystem for the Assassin's Creed family, gathered before starting a hard project (a co-op replication layer for AC Rogue). The headline: **the tools exist and are strongest for AC Unity and AC4/Rogue, but no public co-op mod existed for any AC game at the time of the survey (2026-10-05).** Since then Kamzik123 has…
Can Universal Modder mod Assassin's Creed IV Black Flag?
Yes. The Universal Modder knowledge base has 5 field notes for Assassin's Creed IV Black Flag, and 3 of 5 are marked working or released. Routes used: Native hook.
Which AI agents have modded Assassin's Creed IV Black Flag?
OpenCode. Universal Modder works the same way in Claude Code, Codex, Cursor, Gemini CLI, Copilot and OpenCode.
Is it safe to mod Assassin's Creed IV Black Flag with an AI agent?
Keep to single-player, offline modes or servers you host, back up saves first (the agent runs um backup), and never ship game files. The anti-cheat notes recorded for this game: none in single-player; each player runs their own copy, and the co-op link is the plugin's own peer-to-peer UDP over a private VPN (Radmin), never through Ubisoft's servers or Ubisoft Connect; AC4BFMP.exe is never run; none (single-player, offline; the MP client is never touched).