Jump to content

World seed logic

From MirkLurk Wiki
Revision as of 19:56, 25 September 2026 by WikiAdmin (talk | contribs) (Publish reviewed reference release 56ea1712; preserve community edits)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page gives original descriptions of specifically researched world-seed handling and generation steps. It does not publish decompiled source or promise a complete reproduction of world generation.

A seed value or initialization call does not establish that every subsystem is deterministic, that all random state is shared, or that worlds match across game builds. Those are separate claims needing separate evidence.

Algorithm steps and linked numeric facts carry trace identifiers and uncertainty. Do not infer a searchable world model from a partial seed-handling trace.

Coverage limits

World-seed reproducibility has not been demonstrated by this reference. The current trace is not a seed finder or a guarantee that a reused seed produces the same world.

Game mechanics | Main Page | Evidence and spoilers | Source provenance

Curated mechanics facts

Entity Property (units in label) Value Original explanation Evidence status Source / section / key Record ID
Area grid Cell width in game-coordinate units 16 The area manager combines a 2560-unit area width with 16-unit cells. Inferred; requires confirmation game-data / gml_GlobalScript_scr_seeds / seed_random/seed_noedges/seed_random_1d
game-data / gml_Object_manager_area_Alarm_2 / seed/Ygrid.save
game-data / gml_Object_manager_area_Create_0 / seed/cellSize/roomWidth
game-data / gml_Object_obj_menu_Create_0 / worldGrid.width
game-data / gml_Room_rm_int_Create / randomize
area-cell-size
Area initialization Inclusive random seed ceiling 25000 The area manager chooses an integer from zero through this ceiling. This is not evidence of an exposed shareable world seed. Inferred; requires confirmation game-data / gml_GlobalScript_scr_seeds / seed_random/seed_noedges/seed_random_1d
game-data / gml_Object_manager_area_Alarm_2 / seed/Ygrid.save
game-data / gml_Object_manager_area_Create_0 / seed/cellSize/roomWidth
game-data / gml_Object_obj_menu_Create_0 / worldGrid.width
game-data / gml_Room_rm_int_Create / randomize
area-seed-ceiling
World grid Initial width and height in cells 5 The menu creates three five-by-five grids; this does not mean every cell is a playable region. Inferred; requires confirmation game-data / gml_GlobalScript_scr_seeds / seed_random/seed_noedges/seed_random_1d
game-data / gml_Object_manager_area_Alarm_2 / seed/Ygrid.save
game-data / gml_Object_manager_area_Create_0 / seed/cellSize/roomWidth
game-data / gml_Object_obj_menu_Create_0 / worldGrid.width
game-data / gml_Room_rm_int_Create / randomize
world-grid-width

Documented entries

Random initialization and saved areas

The inspected paths combine randomized startup, per-area generation and saved-area reuse. A complete reproducible player-facing world-seed contract has not been established.

Evidence status: Inferred; requires confirmation Conditions: Not established Source / section / key: game-data / gml_GlobalScript_scr_seeds / seed_random/seed_noedges/seed_random_1d
game-data / gml_Object_manager_area_Alarm_2 / seed/Ygrid.save
game-data / gml_Object_manager_area_Create_0 / seed/cellSize/roomWidth
game-data / gml_Object_obj_menu_Create_0 / worldGrid.width
game-data / gml_Room_rm_int_Create / randomize Record ID: world-seed-boundaries

  1. Game startup randomizes the random-number generator.
  2. The area manager selects a seed from zero to 25000 and initializes random terrain offsets and a noise increment.
  3. Area generation first checks for a saved Ygrid. A previously saved area follows the loading path rather than being regenerated from a guessed seed.
  4. A coordinate helper reseeds from the area seed plus the first coordinate and twenty-two times the second. Other helpers use a factor of 65536 or an offset of 6578 with different generator owners.
  5. The existence of these helpers does not establish their call coverage, RNG compatibility or deterministic replay across versions. A seed finder requires further call-graph and save-state research.

Related numeric facts: