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

Pages: 1

HappyFunJay
MAME Fan
Reged: 02/19/13
Posts: 1
Loc: Los Angeles, California, USA
Send PM


Crystal Castles level maps
#387739 - 09/04/20 01:00 PM


Hello,

I'm seeking any technical info about Crystal Castles (1983/Atari). In particular, I'm interested in figuring out where in the ROMs the data for the level maps are stored.

I believe each level is basically stored as a square height map.

I thought I remember running across the ripped maps on a webpage somewhere once, but I can't find them for the life of me anymore.

Any info about the memory map for the ROMs or where to find the ripped level maps would be appreciated.

I already looked at the memory map for the arcade hardware in MAME, but it only indicates where the ROM modules are loaded in the address space--nothing about the ROM contents. I also found ripped sprites, but nothing for the levels. Screenshots of the levels are not what I'm looking for either.

Apologies if this is the wrong forum for this post. Please suggest a better forum if you know one.

Thank you.



Rotwang
Life is too short to be little...
Reged: 03/21/17
Posts: 109
Send PM


Re: Crystal Castles level maps new [Re: HappyFunJay]
#387798 - 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.


Pages: 1

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

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