From f3c1cf938bc5c45174496589d80582e71c5ad8aa Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 23 Feb 2026 00:14:44 +0100 Subject: [PATCH 1/2] include `pngcmp` in build --- dist.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist.mak b/dist.mak index f348cf39d8464..0ced3194579d1 100644 --- a/dist.mak +++ b/dist.mak @@ -96,7 +96,7 @@ else SYMFILE := endif -BINARIES = $(MAINBIN) castool chdman floptool imgtool jedutil ldresample ldverify nltool nlwav romcmp unidasm +BINARIES = $(MAINBIN) castool chdman floptool imgtool jedutil ldresample ldverify nltool nlwav pngcmp romcmp unidasm SIMPLE_DIRS := ctrlr docs/legal docs/man docs/swlist hash ini/examples ini/presets LOCALISATIONS := $(wildcard language/*/*.mo) COPIED_FILES := COPYING uismall.bdf roms/dir.txt $(foreach DIR,$(SIMPLE_DIRS),$(wildcard $(DIR)/*)) language/LICENSE language/README.md $(LOCALISATIONS) From 8f98374fbe9da8093784a7b39d88435b791fa0fe Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 23 Feb 2026 00:23:32 +0100 Subject: [PATCH 2/2] added manpage for `pngcmp` [skip ci] --- docs/man/pngcmp.1 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/man/pngcmp.1 diff --git a/docs/man/pngcmp.1 b/docs/man/pngcmp.1 new file mode 100644 index 0000000000000..dcff8adac0980 --- /dev/null +++ b/docs/man/pngcmp.1 @@ -0,0 +1,36 @@ +.\" -*- nroff -*- +.\" +.\" pngcmp.1 +.\" +.\" Man page created from usage info. +.\" +.\" References +.\" http://www.mame.net/mamefaq.html +.\" +.TH PNGCMP 1 2026-02-23 0.289 "MAME PNG comparison tool" +.\" +.\" NAME chapter +.SH NAME +pngcmp \- MAME PNG comparison tool +.\" +.\" SYNOPSIS chapter +.SH SYNOPSIS +.B pngcmp +.RI [ png1 ] +.RI [ png2 ] +.RI [ out ] +.\" +.\" DESCRIPTION chapter +.SH DESCRIPTION +\fBpngcmp\fP is a tool developed to display the differences of two PNG images. +.PP +It generates an new images displaying the given PNGs side by side with an +additional image containg the differening pixels. +.\" +.\" EXAMPLES chapter +.SH EXAMPLES +.B romcmp img001.png img001a.png diff.png +.\" +.\" SEE ALSO chapter +.SH SEE ALSO +mame(6)