Rename project: Sindri -> Gram
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# Sindri
|
||||
# Gram
|
||||
|
||||
Asset packer.
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
./sindri --help
|
||||
./sindri --input <path> --output <path>
|
||||
./gram --help
|
||||
./gram --input <path> --output <path>
|
||||
```
|
||||
|
||||
## Compiling
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user