ReviewOS

stacks/the-settlers-iii-remake

[S3-006] Classify original map object ids the reference remake does not name

#105
Open chris opened this 8 days ago ·
8 days ago

Problem

The original map decoder (scripts/lib/s3-map.ts) keeps every object id, but the reference remake classifies only ids 1 to 8 (decoration), 68 to 80 and 84 (trees) and 115 to 127 (stones). The Amazons demo maps use many other ids heavily. Map/SINGLE/demo.map (format version 11) has hundreds of objects with ids 35 to 60, and Map/MULTI/Demo.map (format version 10) uses ids 9 to 67 across thousands of tiles. worldFromOriginal() counts them as unclassified and leaves those tiles empty, so these worlds lack scenery and possibly trees or stones.

Acceptance criteria

  • Identify what each unclassified id represents (tree species, stone sizes, decorations, ruins, animals) from original observation or decoded original graphics, per map format version.
  • Record each mapping with its evidence class and the format versions it applies to.
  • Extend worldFromOriginal() and its tests so classified objects become the right engine objects and unclassified ones stay reported.

Context

Counts are in docs/content/map-decode-receipt.json. Follow-up from S3-006 and S3-026 (7b1cc36).

Sign in to comment on this issue.