Jump to content

FE8 - maximum map dimensions


fxd
 Share

Recommended Posts

There's no hard-and-fast rule for "maximum size", because the game holds the maps in memory by having a list of row pointers and then the full map, so each tile the map is tall takes an additional 4 bytes of memory in addition to the 2*x*y size that the map has to take by virtue of each tile being stored as a short (2-byte pair).

A formula for finding the maximum size (as according to the reserved amount of memory) we can write it out as such:

Quote

2y + xy must no more than evidently 1634,


[[might be higher]]
x must be no more than 126 the minimap breaks [nonfatally] if x > 60
y must be no more than 91

the minimap connects the top and bottom of the maps if y > 62
the minimap also lets you scroll over-down but this doesn't cause errors

24x by 62y breaks [1612]
24x by 60y doesn't [1560]

But as these notes should inform you themselves, this does not precisely define the actual behaviors for reasons that I was/am too lazy to discover because nobody wants to play on the edge case shaped maps (gigantic-in-one-dimension rectangles).

(You can see some examples of how these "breaks" occur here: http://feuniverse.us/t/amusing-romhacking-glitches-thread/899/560 )

Edited by Eliwan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...