Page 1 of 1

Developping gfx sets saving

Posted: Mon Feb 24, 2025 9:14 pm
by Deedolith
Hello,

I am implementing the possibility to save gfx sets to PNG.
Based on hitchhikr and SteveMoody's work for previous version of Mame (0.128), you'll find a the original discussion here:
https://eab.abime.net/showthread.php?t=41610

So far, I am able to save the currently displayed gfx set using the snapshot hotkey, I created a new class (gfx_writer) for this purpose.
The source code is available on my github (wich I cloned from mame's repository):
https://github.com/Deedolith/mame-gfxsave

I would like to write the resulting PNG file using transparency data, but I am unsure where and how to retrieve them.

Can you give me some pointers / hints about wheer to look at ?


Thanks in advance.