[mythtv] MythGame screenshots

Jochen Kühner jochen.kuehner at gmx.de
Wed Aug 3 15:59:55 EDT 2005


yeah, i thout this as extra, not for include in mythgame.

i think this woul be best realized in perl or any other scripting lanuage.

i think the trickest par would be taking the screenshot.
because many emulators use sdl, i think this would get heavy.

i think we can use the cmd line and rom path from the database,
scan the pathes, start the emulator, wait a time (5 sec. or so (had to be 
tested))
and then, take a screenshot (wich program should we use)) and name the new 
screenshot
from the rom name. then kill emulator and go on with next...


----- Original Message ----- 
From: "Preston Crow" <pc-mythtv05a at crowcastle.net>
To: <mythtv-dev at mythtv.org>
Sent: Wednesday, August 03, 2005 8:18 PM
Subject: Re: [mythtv] MythGame screenshots


> On Wed, 2005-08-03 at 20:13 +0200, Jochen Kühner wrote:
>> If theres a option to take screenshots within a emulator, we shoul write 
>> a
>> script wich runs the emulator with every game, wait a time, take a
>> screenshot and kill the emu... and so on...
>>
>> possible?? must be!
>
> That's a good idea, but it would have to be customized for each
> emulator, and might require support in the emulator for each one.  It
> would be possible to do something like this running the emulators in a
> window, and using regular X tools to grab the image in that window.
>
> This is probably outside the scope of MythGame, but I would think it
> would make a nice addition to the contrib scripts.
>
>
>> ----- Original Message ----- 
>> From: "Preston Crow" <pc-mythtv05a at crowcastle.net>
>> To: <mythtv-dev at mythtv.org>
>> Sent: Wednesday, August 03, 2005 5:10 PM
>> Subject: Re: [mythtv] MythGame screenshots
>>
>>
>> > On Tue, 2005-08-02 at 23:13 -0300, Greg Estabrooks wrote:
>> >> > The code in RomInfo::FindImage() in rominfo.cpp aborts the lookup if
>> >> > there's no '.' in the filename.  Instead, it should append a '.' to 
>> >> > the
>> >>
>> >>  This is fixed now.
>> >
>> > Thanks!
>> >
>> >> > Also, it should be possible to use subdirectories under the 
>> >> > screenshots
>> >>
>> >>  I disagree here. I don't think it's worth the incurred overheard of
>> >> checking
>> >> the subdirectories as well as the base screenshot directory(which
>> >> is a behaviour I wont get rid of). Currently it checks for 12 possible
>> >> image
>> >> types, and if I allowed it to look in more than one location that 
>> >> would
>> >> be 12
>> >> checks in each directory.
>> >
>> > Good point.
>> >
>> > I actually like the way MythGame handles screenshots much better than
>> > how MythVideo does it.  On the other hand, I love how you can set a
>> > folder view in MythVideo to browse through the directory structure with
>> > appropriate icons for each video.
>> >
>> > Now if only my emulator would save screenshots with the right filenames
>> > and graphics format...  (I suppose I'll have to write a wrapper script
>> > to do that; should be easy enough.)
>> >
>> >
>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 



More information about the mythtv-dev mailing list