Article 3264 of comp.sys.amiga: Path: mcdsun!noao!hao!hplabs!sri-unix!husc6!seismo!mcvax!inria!rouaix From: rouaix@inria.UUCP (Francois Rouaix) Newsgroups: comp.sys.amiga Subject: Snapshot-screen dump utility Message-ID: <434@inria.UUCP> Date: 4 Apr 87 17:34:30 GMT Organization: INRIA, Rocquencourt. France Lines: 62 SNAPSHOT This is a small utility for dumping screens on files. I am sure there is already a thousand of other versions, but this one is somewhat special. It uses an interrupt (just like POPCLI -Real thanks to John Toebes). When you press Ctrl-Esc, SNAPSHOT will try to find any BitMaps in memory. If you read carefully the RKM and all the include files, you will notice that bitmaps may be found from ViewPorts only. So there are two options: -g : search memory from GfxBase -i : search memory from IntuitionBase. I can't say at the moment if there is any difference, so I keep the two options. SNAPSHOT saves the pictures in IFF format, using the Fish16 library. It saves the colours too. (yes there is a bug in PutPict which wants a ColorTable instead of a ColorMap). It should be okay with dual playfields, but i never tested. Afterwards, you may edit the picture with DPaint or your favorite paint program. SNAPSHOT may be used with many games , assuming the game disk is a system disk that is approximately standard. Examples: Borrowed Time, MindShadow, Defender of the Crown (yes !), ChessMaster2000 Not working (yet) with The Pawn that apparently short-circuits all system functions. Some Notes: - the name of the picture file is generated from the ViewPort address - SNAPSHOT saves the picture(s) in the directory where you runned it. You may use vd0: if you have it (and paid for it of course...), or any disk. IMPORTANT NOTE: after a (re)boot, the current directory in the Initial Cli is df0: which is different from sys: . As a consequence, if you run SNAPSHOT, insert your game disk, run the game, df0: will then be the game disk which is not what you want. - you cannot stop or kill SNAPSHOT And last but not least: Despite all my efforts, I couldn't get SNAPSHOT working with expansion memory. Any help for this will be great. So you may of course use HIDE (this looks like self-advertisement..) before you run SNAPSHOT and then return to normal when SNAPSHOT is running. Let's try now: run snapshot -g and Ctrl-Esc when you are ready. Final Note: considering a screen enhanced with morerows, the resulting picture may be considered as INTERLACE by seeilbm. Please send any comments/bugs/suggestions/flames to ...{seismo..}!mcvax!inria!rouaix SNAPSHOT may be freely distributed as long as the Copyright message is not modified. It may not be sell or used in another product without my written permission. I disclaim all responsability in illegal uses of this program or any damage resulting from silly or inconsiderated or even normal use of this program.