pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: games/enigma broken



On Sun, 22 Sep 2019, John D. Baker wrote:

> On Sun, 22 Sep 2019, John D. Baker wrote:
> 
> > Perhaps there is a newer distfile which doesn't have corrupt graphic
> > elements?

Playing with 'pngfix', I was able to repair the corrupt PNG files and
the game runs properly now with no error indications.

Perhaps this can be done to the mirrored distfiles, or worked into
the post-extract process?

The affected files are:

enigma-1.01/data/gfx/ic-easymode.png
enigma-1.01/data/gfx/ic-feather.png
enigma-1.01/data/gfx/ic-normalmode.png
enigma-1.01/data/gfx32/fl-ice-heating.png
enigma-1.01/data/gfx32/fl-swamp-heating.png
enigma-1.01/data/gfx32/fl-water-heating.png
enigma-1.01/data/gfx32/it-burnable_oil.png
enigma-1.01/data/gfx32/st-dynamite.png
enigma-1.01/data/gfx32/st-firebreak.png
enigma-1.01/data/gfx32/st-flhay.png
enigma-1.01/data/gfx32/st-flrock.png
enigma-1.01/data/gfx32/st-lightpassenger-break-h.png
enigma-1.01/data/gfx32/st-lightpassenger-break-hv.png
enigma-1.01/data/gfx32/st-lightpassenger-break-v.png
enigma-1.01/data/gfx32/st-lightpassenger.png
enigma-1.01/data/gfx32/st-whitebombs.png
enigma-1.01/data/gfx32/thief-captured-template.png
enigma-1.01/data/gfx32/thief-template.png
enigma-1.01/data/gfx40/fl-ice-heating.png
enigma-1.01/data/gfx40/fl-swamp-heating.png
enigma-1.01/data/gfx40/fl-water-heating.png
enigma-1.01/data/gfx40/it-burnable_oil.png
enigma-1.01/data/gfx40/sh-actorimpulse.png
enigma-1.01/data/gfx40/sh-doorh.png
enigma-1.01/data/gfx40/sh-doorv.png
enigma-1.01/data/gfx40/sh-pull.png
enigma-1.01/data/gfx40/st-bigbluesand.png
enigma-1.01/data/gfx40/st-dynamite.png
enigma-1.01/data/gfx40/st-firebreak.png
enigma-1.01/data/gfx40/st-flhay.png
enigma-1.01/data/gfx40/st-flrock.png
enigma-1.01/data/gfx40/st-lightpassenger-break-h.png
enigma-1.01/data/gfx40/st-lightpassenger-break-hv.png
enigma-1.01/data/gfx40/st-lightpassenger-break-v.png
enigma-1.01/data/gfx40/st-lightpassenger.png
enigma-1.01/data/gfx40/st-redrock.png
enigma-1.01/data/gfx40/st-whitebombs.png
enigma-1.01/data/gfx40/thief-captured-template.png
enigma-1.01/data/gfx40/thief-template.png
enigma-1.01/data/gfx48/fl-ice-heating.png
enigma-1.01/data/gfx48/fl-swamp-heating.png
enigma-1.01/data/gfx48/fl-water-heating.png
enigma-1.01/data/gfx48/it-burnable_oil.png
enigma-1.01/data/gfx48/sh-actorimpulse.png
enigma-1.01/data/gfx48/sh-doorh.png
enigma-1.01/data/gfx48/sh-doorv.png
enigma-1.01/data/gfx48/sh-pull.png
enigma-1.01/data/gfx48/st-camouflage.png
enigma-1.01/data/gfx48/st-dynamite.png
enigma-1.01/data/gfx48/st-firebreak.png
enigma-1.01/data/gfx48/st-flhay.png
enigma-1.01/data/gfx48/st-flrock.png
enigma-1.01/data/gfx48/st-lightpassenger-break-h.png
enigma-1.01/data/gfx48/st-lightpassenger-break-hv.png
enigma-1.01/data/gfx48/st-lightpassenger-break-v.png
enigma-1.01/data/gfx48/st-lightpassenger.png
enigma-1.01/data/gfx48/st-redrock.png
enigma-1.01/data/gfx48/st-whitebombs.png
enigma-1.01/data/gfx48/thief-captured-template.png
enigma-1.01/data/gfx48/thief-template.png

I used the following in each "gfx*" subdirectory to fix the images:

  $ pngfix *.png | awk '$2 != "OK" {print $NF}' | sh -c 'while read f ; do echo pngfix --out=$f.fix $f ; done' | sh -v
  $ for f in *.fix ; do nf=${f%.*} ; echo mv $nf $nf.orig ; echo mv $f $nf ; done | sh -v


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index