MAME script to visualize sprites/fix layer

city41

Beast Buster
10 Year Member
Joined
Dec 27, 2010
Posts
2,119
This is kinda fun to play with, It will visualize the sprites and the fix layer as the game is playing:

1705810432039.png

The long lines are sprites:
- grey: not in use
- red: in use, how long the red line shows how tall the sprite is. The giant chunks of red are the background
- green: in use and recently changed. If you look closely there's a bunch of short green lines, which are the players and such

The fix layer is the rectangle down at the very bottom.

The script is here:

To use, you need to launch MAME on the command line: "mame -autoboot_script vram.lua bstars2"

You might want to set more flags, I usually do: "mame -w -nofilter -nomouse -autoboot_script vram.lua bstars2"

The script doesn't totally work correctly with samurai shodown 2 and I have no idea why
 
Top