From 1468adcb73d695d6d2f8c2fb4e017f735ec44d68 Mon Sep 17 00:00:00 2001
From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com>
Date: Fri, 4 Dec 2026 00:05:09 +0100
Subject: [PATCH] Keep texture receipt bytes stable across platforms
---
tools/compile-realistic-stone-family.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/compile-realistic-stone-family.py b/tools/compile-realistic-stone-family.py
index be861e5c..4402abeb 100644
--- a/tools/compile-realistic-stone-family.py
+++ b/tools/compile-realistic-stone-family.py
@@ -210,7 +210,7 @@ def write_tiles(source, output, complete=False):
raise ValueError(f"Unmatched tile edges: {key}")
entries[key] = {"sha256": sha(path.read_bytes()), "inputs": [p.name for p in dependencies]}
receipt = {"size": SIZE, "inputs": inputs, "entries": entries}
- (output / "stone-family.json").write_text(json.dumps(receipt, indent=2) + "\n", encoding="utf-8")
+ (output / "stone-family.json").write_text(json.dumps(receipt, indent=2) + "\n", encoding="utf-8", newline="\n")
charts = "".join(
f'