MapGrid.GridX.GridZ
These leaves define the ground of the map.
Fields
Section titled “Fields”FloorKeyHash
Section titled “FloorKeyHash”Per-cell terrain map of the player’s island, stored as a flat row-major UInt32 array of GridX × GridZ cells (9600 entries, 120 × 80). Each value is the murmur3_x86_32 hash of a type of floor.
Common floor keys
Section titled “Common floor keys”| Hash | FloorDefine row |
|---|---|
0xFF4AE68A | Grass |
0xD21B65B6 | Water |
0xB6D76A62 | Beach |
0xB53F5F3D | Seaside |
0xA27341ED | Clover |
0xCF83CF1F | Concrete |
0x318904D8 | Concrete_Road |
0x9999D173 | Soil |
The full vocabulary is enumerated by romfs/RSDB/FloorDefine.Product.[ver].rstbl.byml. Cells whose key is UGC (0x69FFF2F1) pair with a matching entry in the UgcIndex array, which holds the UGC slot index for that cell, non-UGC cells leave UgcIndex as -1.
| In-game |
|
|---|---|
| Accepted | any |
UgcIndex
Section titled “UgcIndex”Companion to FloorKeyHash: same shape (flat row-major Int32, 9600 entries for GridX × GridZ), one slot per island cell. Whenever a cell’s FloorKeyHash is UGC (0x69FFF2F1), UgcIndex holds the index of the Ugc/UgcMapFloor%03d.{canvas,ugctex}.zs slot to use. Every other cell have the value -1.
| In-game |
|
|---|---|
| Accepted | any signed |