Who did what
“Rather than guessing at engine behavior through observation, static recompilation gives us **ground truth** — the exact original algorithms for physics, rendering, palette construction,…”
“Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>”
The project is actively transitioning from a manual reimplementation to a static recompilation approach for the original binaries.
What was done
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.
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. Development has been co-authored with Claude Opus 4.5 and 4.6.
Discussion
Sources
Sources reviewed · Added
An AI model drafted this entry from the sources above. An automated check matched its claims against them on 30 Nov 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

