From 0219d56dc20946653588ec5b91d371805c023336 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 25 Aug 2026 21:27:51 +0200 Subject: [PATCH] Rename project: Sindri -> Gram --- README.md | 6 +++--- build.sh | 2 +- doc/design.md | 2 +- src/chunks/chunks.odin | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c17a11b..2587b78 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# Sindri +# Gram Asset packer. ## Usage ```sh -./sindri --help -./sindri --input --output +./gram --help +./gram --input --output ``` ## Compiling diff --git a/build.sh b/build.sh index 31ca658..6da3dc9 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -e -PROJECT="sindri" +PROJECT="gram" VERSION="dev-$(date -u '+%Y-%m-%d')-$(git rev-parse --short HEAD)" mkdir -p build diff --git a/doc/design.md b/doc/design.md index ac17329..ddd422e 100644 --- a/doc/design.md +++ b/doc/design.md @@ -20,7 +20,7 @@ with the first chunk holding the metadata for the structure and assets. Magic string to detect if the read file is what we expect it is. Represented in 4 bytes. -Value is `0x514D21`, the closest approximation of "Sindri". +Value is `0x4772616D`, the value of "Gram" in hex. ### Version diff --git a/src/chunks/chunks.odin b/src/chunks/chunks.odin index 2a5ccd1..3910da2 100644 --- a/src/chunks/chunks.odin +++ b/src/chunks/chunks.odin @@ -5,7 +5,7 @@ import "core:fmt" import "core:io" import "core:os" -MAGIC_STRING :: 0x514D21 // SINDRI +MAGIC_STRING :: 0x4772616D // GRAM VERSION :: 1 COMPRESSION :: 0 SIZE_PER_CHUNK :: 2 * (1 << 30) // 2GiB