Rename project: Sindri -> Gram
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user