Skip to content

Fix harvest map data fetch & option saves#438

Merged
arviceblot merged 1 commit into
arviceblot:masterfrom
raggi:harvestmapdata
May 17, 2026
Merged

Fix harvest map data fetch & option saves#438
arviceblot merged 1 commit into
arviceblot:masterfrom
raggi:harvestmapdata

Conversation

@raggi
Copy link
Copy Markdown
Contributor

@raggi raggi commented May 10, 2026

HarvestMapData contains binary data that needs to be written as such, the downloader was trying to transform the data into UTF-8 and inserting UTF-8 replacement characters.

The checkbox options were not always persisting on toggle, they now persist immediately.

@raggi raggi force-pushed the harvestmapdata branch from d732fd0 to ae44df1 Compare May 17, 2026 04:16
HarvestMapData contains binary data that needs to be written as such,
the downloader was trying to transform the data into UTF-8 and inserting
UTF-8 replacement characters.

Update the file writes so that they're atomic (so the game never reads a
partially written file). Fetches now also stream to the tempfile rather
than slurping to memory.

The checkbox options were not always persisting on toggle, they now
persist immediately.
@raggi raggi force-pushed the harvestmapdata branch from ae44df1 to 8c41ba6 Compare May 17, 2026 04:48
@arviceblot arviceblot merged commit 2dfffea into arviceblot:master May 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants