extract genesis sprite maps?

For anything related to VDP (plane, color, sprite, tiles)

Moderators: BigEvilCorporation, Mask of Destiny

Post Reply
baroughter
Newbie
Posts: 1
Joined: Sun Sep 07, 2008 1:42 am

extract genesis sprite maps?

Post by baroughter » Sun Sep 07, 2008 1:44 am

Sorry, this is an absolute newbie question. I have been messing around with Gens Kmod to look at sprites and to dump tiles.

There does not seem to be a good way to simple dump all of the sprites. I would like to dump all of Toejam's walk animations in Toejam and Earl. I would also like to understand how Sprites are stored. Are they stored on a map like the background tiles, or is each sprite stored separately? I am basically trying to replicate whatever method is used in my own simple Flash game.

Thanks for any help.

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Sun Sep 07, 2008 6:29 am

SMD can display sprites of few predefined sizes, from 8x8 (1 tile) to 32x32 (4x4 tiles), with step of 8 pixels. Video controller construct sprites from one or few subsequent tiles, going through sprite list. Each sprite in the sprite list has X,Y position, size and other attributes (palette, etc), and number of first tile of this sprite in VRAM. Sprite list isn't static, it usually generated by game code every frame. Sprites larger than 32x32 can be displayed only as few hardware sprites. Only game code knows, how those combined sprites stored in memory, and uses that information to generate sprite list. Way of storing such information isn't defined by hardware and can be arbitrary, different for each game.

TmEE co.(TM)
Very interested
Posts: 2370
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sun Sep 07, 2008 1:42 pm

If the game uses DMA (directly from ROM) to update tiles that are used for the sprites (like in Sonic 3), you can track down the addresses and extract GFX data from the ROM... you may still have to fit tiles together to form a sprite as it look in the game.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Post Reply