MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

ikk
MAME Fan
Reged: 11/15/06
Posts: 2
Send PM
Dumping images on every frame
11/15/06 05:42 PM


Hi.

I have a question about mame source code from mame.net.

Im trying to save graphic elements mame is drawing every frame.
So far I've modifed the source to call my function on every frame.
I have modified draw_video_contents()
function in "src\windows\window.c" to call my function from .dll,
im doing this by passing window handle to it, so im able to save each frame to
.bmp file using window HDC.
Now i'm looking for something more complicated.

How to distinguish images that are drawn in current frame?
For example, character sprites or background images.
Can it be done with 'render_primitive_list' member of 'win_window_info'
structure and how ?

Thanks in advance







Entire thread
Subject Posted by Posted on
* Dumping images on every frame ikk 11/15/06 05:42 PM
. * Re: Dumping images on every frame R. Belmont  12/09/06 06:57 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 3 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3175