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

Rotwang
Life is too short to be little...
Reged: 03/21/17
Posts: 108
Send PM
Re: Crystal Castles level maps
09/09/20 03:24 AM


Unfortunately "memory map" in MAME's source generally doesn't offer insights as to where specific program data is located in a ROM. Level data is a pretty abstract concept that is handled differently by just about every game and sadly there is no magic bullet solution to finding it. If someone hasn't already gone through the trouble to map out where in the ROM you can find the data you're after, you'll have to do it yourself. This sort of thing generally requires use of MAME's debug mode.

If I were to take a stab at this, I would start by setting watchpoints to known addresses in VRAM where the level background tiles are drawn, and then work backwards to see where that data is coming from. Of course this would only reveal where the tile IDs are coming from, and not necessarily things like collision data, enemy placements, etc, (unless you're lucky) but it would be a starting point. You're on your own with learning enough 6502 assembly to be dangerous, though.







Entire thread
Subject Posted by Posted on
* Crystal Castles level maps HappyFunJay 09/04/20 01:00 PM
. * Re: Crystal Castles level maps Rotwang  09/09/20 03:24 AM

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