640bf0abeb89887553b24d33fffdce64e6e0b600
The writer emits to a Sink instead of building an XmlNode tree: TEXT prints as tinyxml2's XMLPrinter would, HASH folds the same elements into the FNV hash, and TREE still builds nodes (for the FrameRestore backup). Unknown children are interleaved at their read positions as elements stream out; numbers skip escaping. Corpus (1,251 files, Release): save 0.73 s -> 0.50 s, extended save 0.12 s -> 0.06 s, hash 0.13 s -> 0.05 s. Saves, hashes and clipboard text are byte-identical to before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…
…
…
Anm2Ed
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
.anm2document 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
.anm2files 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
Languages
C++
90.9%
C
9.1%
