<!-- Canonical page: https://reversedwithai.com/p/catz-dogz-and-oddballz-b1e6bea5 -->
Canonical page: https://reversedwithai.com/p/catz-dogz-and-oddballz-b1e6bea5

# Reimplemented Catz, Dogz, and Oddballz engines in C++17 as catzng

> A modern C++ engine that brings PF Magic's virtual pets back to life

catzng is a C++17 reimplementation of the 1990s PF Magic virtual pet engine. It parses original game data files to render creatures using the original ball-and-stick technique and spring-based physics.

## Key facts

- Target: Catz, Dogz, and Oddballz
- Category: Games and mods
- Platform: Windows, Linux, macOS
- Models: Claude
- Tools: cmake, pcrecomp, SDL2
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: sp00nznet
- Added: 2026-11-29
- Updated: 2026-11-29
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

catzng is a from-scratch C++17 reimplementation of the engine used in PF Magic's virtual pet games from 1995 and 1996. The engine reads original game data files to render creatures using a ball-and-stick technique, where spheres are connected by lines and animated via spring-based physics. The project supports parsing LNZ breed files, BHD/BDT animation data, and NE resource containers. Rendering is handled via Win32 GDI or SDL2. The author reports that the project is currently pursuing static recompilation of the original 16-bit Windows NE binaries using the pcrecomp toolbox to extract original algorithms for physics, rendering, and AI. Analysis of CATZDLL.DLL, which contains 1,431 functions and 233,762 instructions, confirms the feasibility of lifting the code to C. The project is documented at [catzng](https://raw.githubusercontent.com/sp00nznet/catzng/HEAD/README.md). Development has been co-authored with Claude Opus 4.5 and 4.6.

## Human work and limitations

The project is actively transitioning from a manual reimplementation to a static recompilation approach for the original binaries.

## AI use in the original source

- "Rather than guessing at engine behavior through observation, static recompilation gives us **ground truth** — the exact original algorithms for physics, rendering, palette construction,…" ([source](https://raw.githubusercontent.com/sp00nznet/catzng/HEAD/README.md))
- "Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>" ([source](https://github.com/sp00nznet/catzng/commits.atom))

Excerpts checked against the source on 2026-11-27.

## Sources

- [Repository](https://github.com/sp00nznet/catzng)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: sp00nznet (2026). Reimplemented Catz, Dogz, and Oddballz engines in C++17 as catzng. Reversed with AI. https://reversedwithai.com/p/catz-dogz-and-oddballz-b1e6bea5
