The Eye
A deterministic, cross-platform Valheim API extraction tool, vibe coders love it!ποΈ WubarrksEye (The Eye)
"Stop guessing what the IL does. Stop decompiling 130,000 lines just to find out if
CanSenseTargetis virtual or static. The truth is in the assembly, and now it's in your hands."
Type dump_eye. Get the ground truth of Valheim β its code, its data and your live world β as JSON.
A deterministic, cross-platform extraction tool. It is, without exaggeration, a vibe coder's wet dream β but with this data at your fingertips you are not just a vibe coder any more. You are an AI-augmented game mod designer. Forget hand-grepping decompiled source for hours, forget Harmony patches bound to the wrong overload, forget finding out months later that your monster AI was inert because vanilla's Character.OnDamaged never fires for most creatures.
When a Valheim update shifts the API under everyone's feet, this is the tool that maps the new world, tells you exactly what changed against your old baseline, names which of your mods break, and feeds all of it straight to your AI pair programmer. It is not a dumper. It is an autopsy table for the game engine.
A dump β or just a boot log β now says which sector API the build has.
| Where | What it tells you |
|---|---|
Manifest.json βΊ Compatibility βΊ BuildShape |
a {Present, Shape} row for each sector member that moved on the way to 1.0: ZDOMan.FindSectorObjects (its arity and parameter types), the SimulationDistance struct, ZoneSystem.m_activeArea / m_activeDistantArea, ZNet.GetSyncedSimulationDistance(), ZoneSystem.SectorIndex, GetSectorIndex(Vector3), GetZone(Vector3), and both SectorToIndexs |
SectorApi |
one word for the build: pre-1.0, public test or 1.0 release |
| The startup log | a new [Eye.Compat] Build shape: ... line, so a log alone answers which build this is |
| More shape facts | ZDO.GetSectorIndex() records its return type; ZNetScene.InActiveArea / OutsideActiveArea record how many overloads are static |
πΉ Absent members are facts about the build, not blind readers β they never count towards the startup MISSING line Β· πΉ Huginn stays strict: the (int, int) β SimulationDistance change still surfaces as a real signature change, not a type-only ripple.
| If⦠| Then⦠| |
|---|---|---|
| π§ͺ | you want a clean baseline | dump on a profile with only BepInEx and The Eye. Manifest.json lists every loaded plugin, so a contaminated dump is at least visible on sight. |
| π¦ | a Valheim update is coming | copy the game folder first. Steam overwrites it on launch day and the old build is gone. |
| πΊοΈ | you dump from the main menu | you get the API and the call graph; everything else needs a loaded world. |
| β οΈ | you see ForceGlobalActiveArea |
leave it off. It forces the game to instantiate every object in the world for the whole session, and the dump does not need it. |
Every type, every value, every registry and every object in the world β keyed, sorted, diffable.
| File | Contains | Keyed on |
|---|---|---|
Manifest.json |
build identity, the md5 of every game DLL, plugins, world, options, per-file results | |
API_Dump.json |
every type in the game assemblies with its full member surface and IL fingerprints | FullName |
Values_Dump.json |
field contents for items, recipes, status effects, prefabs, vegetation, locations | _Source/_Key |
Registry_Dump.json |
enums, ZDOVars, commands, spawns, environments, raids, pieces, skills, localization | _Source/_Key |
CallGraph_Dump.json |
per-method IL edges, the CalledBy index, the RpcRegistration index |
Type.Signature |
Prefabs_Dump.json Β· ObjectDB_Dump.json Β· Scene_Dump.json |
component lists | Name |
ZDO_Dump.json |
every ZDO in the loaded world, with its keys and values | UID |
ModImpact_Dump.json |
which of your mods break on this build | plugin GUID / patch target |
Huginn_Report.md Β· Huginn_Summary.json Β· Huginn_Diff_Report.jsonl |
what changed against your baseline |
π Read the saga β what is in each file
Manifest.json β every dump knows what build it came from. Valheim stamps every DLL 0.0.0.0, so The Eye writes, before anything else, the game version string with build hash, the Steam buildid, the md5 and size of every DLL in Managed/, the BepInEx version and every loaded plugin, the world's name, seed, global keys and save details, and the options used.
The API dump. The full member surface per type: fields with modifiers and constant values, properties with accessor visibility, events, constructors, full method signatures with virtual / override / abstract, interfaces, attributes, nested types and enum values. Members are keyed by name, so a renamed overload is one line in the diff. Game assemblies only by default β the 20,000-type mscorlib noise is gone.
Registry_Dump.json β where a new biome shows up first. Enums with values, the ZDOVars hash table, console commands with cheat/server/admin flags, spawn tables, creature spawners, environments and biome weather, raids, piece tables with every piece and its costs, skill definitions, and the full localization table.
Values_Dump.json. Declarations tell you a field exists; this tells you what is in it. Flattened to dotted paths, cycle-safe, with per-entry budgets so it never explodes.
A ZDO dump that means something. Prefab hash resolved to a name, rotation, sector, persistence, revisions, creation time, and every key/value the ZDO carries, with hashes mapped back to names (health, owner, itemsβ¦). Every string literal in the game and plugin assemblies is hashed into the reverse map, _u / _i pair suffixes included, so most of the #hash keys in a modded dump have names.
AgentML_Complete_Dump.zip bundles everything as one minified JSONL plus the manifest, for machine ingestion.
Point it at an old dump, and it tells you exactly what the update changed.
| π¦ββ¬ A real diff | every record keyed on its identity: ADDED, REMOVED and CHANGED per file, with field-level old and new values |
| 𧬠IL fingerprints | a hash of every method's normalized IL, so code that changed under an unchanged signature shows as BodyChanged |
| π·οΈ Classified changes | Added, Removed, SignatureChanged, BodyChanged, TypeOnlyRipple, Renamed (same fingerprint, new name), ValueChanged |
π₯ A Breaking block |
types and members removed, signature changes, ripples, RPCs, ZDOVars and console commands removed, plugins broken |
π Huginn_Report.md |
the page a person reads first β breaking changes by type, body-only changes, additions, new items and prefabs, and the mod impact table |
| π§ Schema-aware | upgrading The Eye between two dumps no longer turns every record CHANGED; an older baseline stays useful |
π Read the saga β why body changes matter
A game update is mostly code that moved inside methods whose signatures did not β 392 of the changes in the 1.0 public test were exactly that β and it is what transpilers and behaviour-dependent patches trip over. The fingerprint normalizes the IL (opcodes, resolved operand names, relative branch targets, locals, exception handlers), so only a real change moves it.
TypeOnlyRipple collapses changes where only Vector2i/Vector2s or Int16/Int32 moved. Renamed needs both dumps to carry fingerprints, so it cannot fire against a baseline taken before they existed. A top-level field that exists in only one side's schema is excluded from the comparison and listed once per file as SchemaAdded / SchemaRemoved.
Pick the baseline with dump_eye baseline=<dir> or [Huginn] HuginnBaselineDir, and read Huginn_Summary.json's counts first.
The day-one breakage list β without loading a single mod.
| π Every reference, resolved | each plugin is read with Mono.Cecil and every reference into a game assembly is checked against the running build |
| π§Ύ Per plugin | the exact unresolved methods, fields and types, and the plugin methods that use them |
| π― Harmony targets | every [HarmonyPatch] target that is missing, or now ambiguous because a new overload appeared |
| π Bridged | whether a preloader patcher such as Valheim10Compatibility filled the gap in memory |
| πΊοΈ The live patch map | who patches which game method |
| π The bridge priority list | unresolved references ranked by how many plugins need them |
π Read the saga β scanning, and what it cannot see
It checks every plugin BepInEx loaded, plus any folder you point it at ([ModImpact] ScanPluginDirs or dump_eye scan=<dir>). Run it from a clean profile with scan= pointing at your mod manager profile's plugins folder, and you have the breakage list without loading any of them. On a server, client-only types are flagged as axis noise, not counted as broken.
What it cannot see: targets found by string name (AccessTools.Method(typeof(X), "Name")) or by TargetMethod() show as Unchecked β Harmony's own log at PatchAll is the backstop. And a field whose type changed cannot be bridged by any preloader, only by the mod itself; on 1.0 that is VisEquipment's item fields and the ZoneSystem / ZDOMan sector containers.
The questions reflection cannot answer, answered before you grep the decompile.
| Question | Where |
|---|---|
| Which type declares this member? | API_Dump.json β members are DeclaredOnly, so if m_targetCreature sits under MonsterAI it is not on BaseAI |
| What is the full overload set? | API_Dump.json, with complete parameter types |
Is it virtual, override or abstract? |
API_Dump.json, derived from GetBaseDefinition() |
Does this override call base? |
ChainsToBase β Humanoid.OnDamaged does not, so a patch on Character.OnDamaged never fires for most creatures; Player.OnDamaged does |
| Which overload does a call really reach? | Calls[].Op: call against callvirt β a base chain against re-dispatch, a static target against an instance one |
| Who calls this? | the CalledBy index |
| Which RPC names exist, and who registers them? | the RpcRegistration index β a renamed RPC is one diff line |
π Read the saga β one note on accessibility
Accessibility is the runtime assembly's. Projects compiling against a publicized assembly_valheim see private members here as directly callable. Every call and field-access edge comes from the method IL itself.
It keeps working when the game changes under it β and the game keeps running while it works.
| π‘οΈ Late-bound readers | every game member that moved is looked up by name at first use; a missing one costs one field in one record, never a whole extractor |
π§© A Compatibility section |
every game member The Eye relies on and whether this build has it β the BepInEx log says the same at startup |
| π Zero stall | coroutine-batched, scaled to your RAM, cancellable, streamed straight to disk β a full dump on a dedicated server takes about a minute |
| π§Ή Deterministic | UTF-8 without BOM, sorted records, invariant round-trip floats β two dumps of the same build on the same world are byte-identical, and that was verified |
First ten minutes: load a world β F5 β dump_eye β eye_status until it is done β open BepInEx/config/WubarrksEye_Dumps/<timestamp>/ β hand the files to your AI β write better mods, you vibe coder you.
| Key | Command | ||
|---|---|---|---|
| F8 | the panel, with Start Dump | dump_eye |
a full dump |
| F9 | toggle the HUD | eye_status |
dump progress and the last output folder |
| F5 | Valheim's console | dump_eye baseline=<dir> scan=<dir> |
diff against a baseline; scan another plugin folder |
nodiff noml nozdo noscene noloc noimpact |
skip the diff, the AgentML bundle, ZDOs, the scene, localization, mod impact |
π§ Take a baseline before a Valheim update
- Copy the game folder first. Steam overwrites it on launch day.
- Dump on a clean profile (BepInEx and The Eye only).
- Dump from the main menu, from inside a world, and from your dedicated server if you patch server code.
- After the update:
dump_eye baseline=<your old dump> scan=<your profile's BepInEx/plugins>, and readHuginn_Report.mdfirst. The mod impact table at the bottom is the list of mods to fix or bridge; theBreakingblock inHuginn_Summary.jsonis the count.
π₯οΈ Dump a dedicated server
A dedicated server has no console to type into. Set [Automation] AutoDumpOnWorldLoad = true and it dumps once the world is populated (after AutoDumpDelaySeconds); add AutoDumpQuit = true and it exits afterwards. A one-shot server baseline.
| Mod | |
|---|---|
| Valheim10Compatibility | Recognised: references it bridges in memory are reported as Bridged, by its bridge marker. |
| Any other plugin | Listed in the manifest, scanned for mod impact, and its Harmony patches shown in the live patch map. |
Configuration Manager (F1) in game, or BepInEx/config/wubarrk.theeye.cfg.
π₯οΈ Local to your game β nothing is synced
| Section | Setting | What it does |
|---|---|---|
| API | ApiAssemblyFilter |
assemblies covered by the API and enum dumps (assembly_*,gui_framework,Splatform; * for everything loaded) |
| API | ApiIlFingerprints |
the IL hashes behind BodyChanged (on) |
| ModImpact | ScanPluginDirs |
extra plugin folders to scan, separated by semicolons |
| Huginn | HuginnBaselineDir Β· HuginnMaxDeltasPerRecord Β· HuginnMarkdownReport |
a fixed baseline Β· the cap on deltas per CHANGED record (200) Β· write Huginn_Report.md (on) |
| ZDO | ZdoIncludeData |
every ZDO key and value (on) |
| ZDO | ForceGlobalActiveArea |
the old instantiate-everything patch β leave it off |
| Registry | DumpLocalization |
the full token β text table (on) |
| Automation | AutoDumpOnWorldLoad Β· AutoDumpDelaySeconds Β· AutoDumpQuit |
the headless one-shot dump (off Β· 20 Β· off) |
| Hardware | SystemMemoryProfile |
batch sizes per frame (Rig_16GB) |
Needs: BepInExPack Valheim 5.4.2360 Β· JsonDotNET 13.0.4 (Newtonsoft.Json) β install with a mod manager, or unzip into BepInEx/plugins.
- Plugin scanning uses Mono.Cecil β the copy BepInEx 5 already loads; none is shipped here.
Made by Wubarrk β ravenirongames.com. License: MIT. Copyright (c) 2026 Ross G. Full text in LICENSE.md.
