mgba_dump_oam
Extract and display all 40 sprite data from Game Boy, GBC, or GBA games, including positions, tiles, flags, and palettes, for game analysis and testing.
Instructions
Dump OAM (Object Attribute Memory) sprite data - shows all 40 sprites with position, tile, flags, and palette
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rom_path": "<rom_path>"
},
"name": "mgba_dump_oam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rom_path | Yes | Path to the ROM file | |
| savestate_path | No | Optional savestate to load | |
| frames | No | Frames to run before dumping (default: 60) |