Class PatchFormat
- Namespace
- FishMMO.Patcher
- Assembly
- Updater.dll
Names and versions of the patch archive format. Kept identical to the generator's copy (FishMMO-Unity, Patcher/Patch/PatchFormat.cs).
public static class PatchFormat
- Inheritance
-
PatchFormat
- Inherited Members
Fields
CurrentVersion
The format this Updater writes and reads.
public const int CurrentVersion = 2
Field Value
EncodingZstd
Patch data is a zstd frame (with the source file as reference prefix, for modified files).
public const string EncodingZstd = "zstd"
Field Value
ManifestV1EntryName
The original format's manifest name.
public const string ManifestV1EntryName = "manifest.json"
Field Value
ManifestV2EntryName
The format-2 manifest's name inside the archive.
public const string ManifestV2EntryName = "manifest-v2.json"
Field Value
Remarks
A different name, not a version field in manifest.json, on purpose: an Updater
that predates format 2 looks only for manifest.json, so it refuses the archive
before touching anything ("manifest.json not found") instead of applying the entries it
understands, skipping the renames it does not, and reporting a version it is not running.