Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ZDoom Offset EditorNew to Visual Studio Code? Get it now.
ZDoom Offset Editor

ZDoom Offset Editor

Trillster

|
2 installs
| (0) | Free
Custom PNG offset editor for ZDoom grAb chunks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ZDoom Offset Editor

ZDoom Offset Editor is a VS Code extension that opens PNG files in a custom editor for viewing and editing the grAb chunk used by ZDoom-family tools.

Reference: ZDoom Wiki: grAb

Usage

  1. Open a .png file with Open With...
  2. Choose Offset Editor
  3. Drag the sprite or edit the numeric X/Y controls
  4. Save the file to write the updated offsets back into the PNG

The backing selector provides two view modes:

  • Sprite for standard sprite-style offset editing

Example sprite showcase

  • HUD for screen-space weapon/HUD alignment against a 320x200 reference plane

Example HUD showcase

Automatic Offset Modes

The editor includes SLADE-style auto offset presets:

  • Monster
  • Monster (GL-friendly)
  • Projectile
  • Hud/Weapon
  • Hud/Weapon (Doom)
  • Hud/Weapon (Heretic)
  • Hud/Weapon (Hexen)

These presets are intended to make common sprite setup faster, especially when the origin should sit outside the visible image for HUD weapon graphics.

Bulk Editing

You can also update multiple PNG files at once from the Explorer:

  1. Select one or more .png files
  2. Right-click and choose Modify Offsets
  3. Choose either: Set Offsets to apply exact X/Y values to every file Adjust Offsets Relatively to add X/Y deltas to each file's current offsets Apply Auto Offsets to calculate offsets for each file from a preset
  4. Enter the X and Y values when prompted, or choose an automatic offset preset

AI Disclosure

This project was created using Codex as an experiment. It turned out a lot more competent than I was expecting, so I figured I'd publish it for anyone else who might get use out of it.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft