Anonymous

Changes

From Final Fantasy Inside

FF8/Main wm2

33 bytes added, 05:25, 23 May 2019
m
9 revisions imported
By MaKiPL
<br />
 
== Info ==
==Info==
'''wm2field.tbl''' is file that handles the world map to field warping.
==Structure==
File is 1728 bytes. Where every entry is 24 bytes. Though 1728/24 = 72 entries
One entry:
 {| border="1" cellspacing="1" cellpaddingclass="3" align="center" style="border: 1px solid black; border-collapse: collapse;wikitable"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | SizeOf! style="background:rgb(204,204,204)" | Name! style="background:rgb(204,204,204)" | Description
|-
| 0
| int16short| UNKNOWN_1FieldX| Doesn't seem to do anythingOperates FieldX
|-
| 2
| int16short| UNKNOWN_2FieldY| Doesn't seem to do anythingOperates FieldY
|-
| 4
| uint_16?ushort (yes)| Field_WalkMeshID ?Field_Z| Changing operates where party startsOperates FieldZ
|-
| 6
| uint_16ushort
| FieldID
| ID of field
| 8
| 16 bytes
| UNKNOWN_NULL?UNKNOWN| AlwaysZERO?Unknown
|}
<br /> == Field location == Old wiki page about wm2field stated, that X Y Z coordinates are based on 12 bits. No, they aren't, Imade a mistake. They are normal WORDs with sign-extension for X and Y and Z is normal WORD copying and no cmp(0x7FFF), so it'm s unsigned. The axis are indeed X Y Z, not sure about Field_WalkMeshID X- ZY as everywhere else in FF8. Byte after fieldID is some sort of pointer, currently unknown what is it's a bit more complicated probablypurpouse== Useful notes ==
==Useful notes==
First entry is Balamb Garden
Second entry is Balamb City