Byte-compares the port against the original, frame by frame.

Windows only. Needs DxWnd, Python and cargo

    python verify.py --dxwnd-dir C:\path\to\DxWnd

What it does:

- Copies the original game dir to 'original/Pendulumania 1.3' and patches
  the exe: the in-built screenshot function is modified to fire every frame
  and the random seed is fixed. Sound, music and the FPS counter are turned
  off in its PMainia.ini.
- Runs the patched original with DxWnd. Try not to touch the game window
  while it captures. It will run through the intro, menu and demonstration
  mode.
- Builds pm-frames, the port's offscreen renderer, and runs it from
  'original', against the same files.
- Saves the screenshots to 'screenshots/original' and 'screenshots/port'.
- Byte-compares every frame and reports how many are identical.

Flags
-----
--dxwnd-dir DIR
    DxWnd folder.
--original-dir DIR
    Original Pendulumania folder. The default is the 'Pendulumania 1.3'
    folder in ../dist.
--frames N
    Number of frames to capture and compare. The default is 3000.
--build-d3drm-stub
    Rebuilds D3DRM.DLL. Needs rustc with the i686-pc-windows-msvc
    target.
