(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-27-24 11:46 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Lufia 2 Data New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Euclid



 





Since: 11-17-05
From: Australia
hmm...

Last post: 6283 days
Last view: 6277 days
Posted on 11-10-06 03:27 AM Link | Quote
Is found, and is compressed.

useful RAM addresses to know...
$11E8 X position in overworld.
$11EA Y position in overworld.

overworld data is located at 2680C9 and is compressed using lunar magic format 8, same format as gfx compression, weird eh? first 40 bytes is some sort of header, haven't figure out its use yet (execpt the first line says EGG EGG... mmm i'm hungry.), the next 8000 bytes are for the "world", haven't figured out what the leftover bytes are, they could well be unused.

The data at 2680C9 are data for each 32x32 tile, the whole map uses 80x80 tiles worth of 16x16 tiles, which means the world in pixels is about 128x16 pixels square.

32x32 Tile definitions:
starts at F3000, 5 bytes each, haven't figured out where it ends though, I'm guessing F7FFF which is at the end of the bank.
First 4 bytes refers to the tiles put into this order.
1 2
3 4
5th byte is for collusion detection (30 = water, 40 = mountain, 10 = walkable, there's more...)

I seemed to have went through a few pointers to find the overworld data, so I'm having an intelligent guess that the dungeons are stored the exact same way.

I've attached a picture of me messing around with the deep ocean tile. I guess I'll find the dungeon data sometime later.


Attachments

Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Lufia 2 Data |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.012 seconds; used 344.19 kB (max 407.65 kB)