Missing header notes, wire up RC Version

This commit is contained in:
Matt Nadareski
2020-08-20 16:49:21 -07:00
parent f498890417
commit e139b0f8f2
6 changed files with 92 additions and 13 deletions

View File

@@ -203,6 +203,15 @@ namespace SabreTools.Library.DatFiles
[JsonProperty("build")]
public string Build { get; set; }
// TODO: Implement the following header values:
// - romcenter.plugin
// - romcenter.rommode (merged|split|unmerged) "split"
// - romcenter.biosmode (merged|split|unmerged) "split"
// - romcenter.samplemode (merged|unmerged) "merged"
// - romcenter.lockrommode (yes|no) "no"
// - romcenter.lockbiosmode (yes|no) "no"
// - romcenter.locksamplemode (yes|no) "no"
#endregion
#region Missfile Fields
@@ -248,6 +257,14 @@ namespace SabreTools.Library.DatFiles
[JsonProperty("canopen")]
public List<string> CanOpen { get; set; }
// TODO: Implement the following header values:
// - newdat.datversionurl (currently reads and writes to Header.Url, not strictly correct)
// - newdat.daturl (currently writes to Header.Url, not strictly correct)
// - newdat.daturl[fileName] (currently writes to Header.FileName, not strictly correct)
// - newdat.imurl (currently writes to Header.Url, not strictly correct)
// - search[...].to.find[operation, value (Int32?)]
// - search[...].to[value, default (true|false), auto (true, false)]
/// <summary>
/// Rom title
/// </summary>
@@ -256,6 +273,16 @@ namespace SabreTools.Library.DatFiles
#endregion
#region RomCenter
/// <summary>
/// RomCenter DAT format version
/// </summary>
[JsonProperty("rcversion")]
public string RomCenterVersion { get; set; }
#endregion
#region Write pre-processing
/// <summary>