Rename project: Sindri -> Gram

This commit is contained in:
Riyyi
2026-08-25 21:27:51 +02:00
parent ddaa3846f2
commit 0219d56dc2
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
# Sindri # Gram
Asset packer. Asset packer.
## Usage ## Usage
```sh ```sh
./sindri --help ./gram --help
./sindri --input <path> --output <path> ./gram --input <path> --output <path>
``` ```
## Compiling ## Compiling
+1 -1
View File
@@ -2,7 +2,7 @@
set -e set -e
PROJECT="sindri" PROJECT="gram"
VERSION="dev-$(date -u '+%Y-%m-%d')-$(git rev-parse --short HEAD)" VERSION="dev-$(date -u '+%Y-%m-%d')-$(git rev-parse --short HEAD)"
mkdir -p build mkdir -p build
+1 -1
View File
@@ -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. Magic string to detect if the read file is what we expect it is.
Represented in 4 bytes. Represented in 4 bytes.
Value is `0x514D21`, the closest approximation of "Sindri". Value is `0x4772616D`, the value of "Gram" in hex.
### Version ### Version
+1 -1
View File
@@ -5,7 +5,7 @@ import "core:fmt"
import "core:io" import "core:io"
import "core:os" import "core:os"
MAGIC_STRING :: 0x514D21 // SINDRI MAGIC_STRING :: 0x4772616D // GRAM
VERSION :: 1 VERSION :: 1
COMPRESSION :: 0 COMPRESSION :: 0
SIZE_PER_CHUNK :: 2 * (1 << 30) // 2GiB SIZE_PER_CHUNK :: 2 * (1 << 30) // 2GiB