# compare

by Marc Rousseau

NOTE: This page is designed to use CSS styles - you may want to upgrade your browser.

## Background

When I first started working on adding REJECT support into ZenNode, I needed some way to compare one REJECT map to another. It's easy to fire up DOOM and tell if you have a problem with the BSP tree, but errors in the REJECT map are much more subtle. I needed a way to compare a good REJECT map (like a PERFECT REJECT from RMB) to the one built by ZenNode.

## Description

compare is a simple utility to compare two REJECT maps and display any differences between them. The command line syntax is similar to that of ZenNode except that two .wad files must be specified. After loading each .wad file, the list of levels in each file si compared and for each matching level, the REJECT maps are compared and the results displayed.

NOTE: The REJECT map itself may not always use all the bits in the last byte of the structure. When making the comparison, compare will ignore any unused bits. What does this mean? Nothing, just though you might like to know.

NOTE: The compare utility is called zn-compare in this package of Zennode, to avoid conflicting with the compare from the ImageMagick package.