Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Scott Cartier Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Screenshots Date: Wed, 30 Dec 1998 16:47:10 -0800 Organization: SCEA News Server Lines: 28 Message-ID: <368AC98E.7916B31B@vmlabs.com> References: <76e7mo$qsh11@chuka.playstation.co.uk> NNTP-Posting-Host: vmlabs32.vmlabs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Rad, I've done it two ways. I started out by just StoreImageing the display portion of VRAM to main memory. Then when you quit your program you can use SIOCONS to download that chunk of memory to your PC. I stopped doing this because it requires a rather large memory footprint just for the screenshot (600k for a single hi-res image). Then I found the "scrnshot" thing from one of the official Yaroze web sites (might have been the SCEI even). It transfers a screenshot by doing a sort of "uuencode" on the VRAM, and then simply printfing it out (since the resulting stream contains printable characters). You capture this output with a SIOCONS log file (F5) and then run another utility to "uudecode" it on your PC. The cool thing is you can do this while your program is running - no need to exit first (as was necessary with the first method). The bad thing is that my SIOCONS likes to drop characters at random. I had to build some redundancy into the routines so it prints each line multiple times, and hope at least one of them will be complete. Scott > What methods are there for capturing screenshots of your yaroze > programs? > > Can it only be done from within? (your programs that is!)