shweetandClaude Opus 5.5 e50d76c784 Stage 7b: model/xml.cpp reads and writes tinyxml2 directly; Element tree removed
- Reading goes from tinyxml2 straight into the typed model, including legacy
  layouts (flat GroupId groups, *AnimationGroups with Index, FrameRestore
  backups, baked frames, SoundId, Overlay) and load-time id/region repair.
- Writing builds an XmlNode tree from the typed model for a set of flags:
  id renumbering, region sync, group-root and interpolation baking happen on
  typed data; groups are nested or extracted the way the old pipeline did.
- Unknown XML is kept verbatim (XmlNode) instead of being re-emitted through
  the Element writer.
- model_hash is an FNV hash of the editor-format node tree (what a save would
  write); the per-fixture hash goldens are gone.
- Deletes src/anm2 (Element, normalize, groups, hash, xml) and the unused
  util/xml attribute helpers and ElementType/ItemType table columns.
- All goldens, invariants and the local corpus are byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 17:20:45 -04:00
2026-03-29 20:13:24 -04:00
2026-10-03 14:34:31 -04:00
2025-12-28 16:32:08 -05:00
2025-11-09 10:35:21 -05:00
2026-03-29 20:13:24 -04:00
2026-08-06 11:47:20 -04:00
2026-05-21 21:00:57 -04:00
2025-12-01 21:13:58 -05:00
2026-10-03 14:22:12 -04:00
…

Anm2Ed

Preview

Anm2Ed is a modern editor for The Binding of Isaac: Rebirth's XML-based .anm2 animation format. It is built as an extended, more comfortable replacement for the original proprietary animation editor, with a dockable Dear ImGui interface and tools aimed at both quick edits and larger animation workflows.

Clarification

This application was developed with the assistance of a large language model.

Features

  • Full .anm2 document editing for spritesheets, layers, nulls, events, sounds, animations, frames, and triggers.
  • Dockable Dear ImGui interface with draggable windows, persistent layout, drag and drop, context menus, and keyboard-focused workflows.
  • Timeline editing with multi-selection, cut/copy/paste, duplicate, merge, insert/delete, frame baking, frame dragging, and editable animation length/FPS/loop settings.
  • Animation, layer, and null groups for organizing work, including collapsible trees, group roots, visibility toggles, and save-time baking for game compatibility.
  • Frame property editing for crop, size, position, pivot, scale, shear, rotation, tint, color offset, regions, shaders, visibility, interpolation, and flips, with single-frame and batch modes.
  • Spritesheet tools for adding, replacing, reloading, packing, saving, editing, and generating reusable regions.
  • Overlay spritesheets that can be placed on top of base spritesheets for editing and previewing alternate texture work.
  • Custom spritesheet shaders with vertex/fragment file paths, reload/compile feedback, enable/disable behavior, and configurable uniform bindings.
  • Animation preview with grid, axes, pivots, root transform display, transparency, borders, zoom controls, onionskinning, and isolated render modes.
  • Sound and trigger support, including playback through animation timelines and rendered output.
  • Wizards and batch tools for generating animations from grids, generating regions, scanning frames, changing frame properties across selections, baking frames, merging animations, merging spritesheets, and rendering animations.
  • Render output to video, GIF-compatible workflows, spritesheets, or PNG sequences through FFmpeg.
  • Merge external .anm2 files into the current document with merge, append, and replace behaviors.
  • Robust undo/redo snapshots, autosave support, overwrite warnings, and persistent settings.
  • Rebindable shortcuts for common editing, timeline, tool, and navigation actions.
  • Localized UI with support for English, Spanish (Latin America), Russian, Chinese, and Korean.

Supported Languages

  • English
  • Español (Latinoamérica) (Spanish (Latin America))
  • Pусский (Russian)
  • 中文 (Chinese)
  • 한국어 (Korean)

If you want to help localize for your language, feel free to get in touch to contribute.

Rendering Animations

FFmpeg is required for video/GIF-style export. Download it from ffmpeg.org, then point Anm2Ed to the ffmpeg executable in the render window.

Build

After cloning and entering the repository directory, initialize the submodules:

git submodule update --init --recursive

Windows

Visual Studio is recommended.

Linux

mkdir build
cd build
cmake ..
make
S
Description
No description provided
Readme GPL-3.0
63 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 90.9%
C 9.1%