grifdata 1.3.2
dotnet add package grifdata --version 1.3.2
NuGet\Install-Package grifdata -Version 1.3.2
<PackageReference Include="grifdata" Version="1.3.2" />
paket add grifdata --version 1.3.2
#r "nuget: grifdata, 1.3.2"
// Install grifdata as a Cake Addin #addin nuget:?package=grifdata&version=1.3.2 // Install grifdata as a Cake Tool #tool nuget:?package=grifdata&version=1.3.2
GRIFData - Loading and saving GRIF game data files
This is a simple class library to handle the loading and saving of game data files for GRIF (Game Runner for Interactive Fiction).
The format of a GRIF game data file is a JSON object with keys and values that are strings. The keys cannot be blank, null, or only whitespace and values cannot be null. Both must be quoted and any internal quotes or other special characters must be escaped. Non-ASCII chars must be in the format "\u####" for the hexadecimal character code.
The DAGS scripts and all script commands/functions start with @
. Anything else is a string value.
The keys in the output file are sorted both alphabetically and numerically. If a key uses "." to separarate sections and has numeric sections, like room.23.description
, it would be sorted in this case alphabetically for the first and third sections but numerically for the second. A section with the generic value of *
is always placed first, with ?
and #
following before other values.
GRIFData uses DAGS (Data Access Game Scripts) for formatting the game scripts and GROD (Game Resource Overlay Dictionary) for holding in-memory text resources. See the DAGS and GROD GitHub sites for information on those.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 1.3.2 - Added more error handling when loading