normalize CustomOption titles to UWT standard underscore instead of Windows-specific ampersand
This commit is contained in:
parent
ea95db466c
commit
2cf265e898
@ -41,11 +41,11 @@ namespace UniversalEditor.Accessors
|
||||
_ar = base.MakeReferenceInternal();
|
||||
_ar.Title = "Local file";
|
||||
|
||||
_ar.ImportOptions.Add(new CustomOptionFile(nameof(FileName), "_File name:"));
|
||||
_ar.ImportOptions.Add(new CustomOptionFile(nameof(FileName), "_File name"));
|
||||
_ar.ImportOptions.Add(new CustomOptionBoolean(nameof(ForceOverwrite), "Force over_write if file exists", false, false, false));
|
||||
_ar.ImportOptions.Add(new CustomOptionBoolean(nameof(AllowWrite), "Open file for writing", false, false, false));
|
||||
|
||||
CustomOptionFile cofExportFileName = new CustomOptionFile(nameof(FileName), "_File name:");
|
||||
CustomOptionFile cofExportFileName = new CustomOptionFile(nameof(FileName), "_File name");
|
||||
cofExportFileName.DialogMode = CustomOptionFileDialogMode.Save;
|
||||
_ar.ExportOptions.Add(cofExportFileName);
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ namespace UniversalEditor.DataFormats.FileSystem.ZIP
|
||||
DataFormatReference dfr = base.MakeReferenceInternal();
|
||||
dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
dfr.ContentTypes.Add("application/zip");
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(Comment), "_Comment: ", String.Empty, Int16.MaxValue));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(Comment), "_Comment", String.Empty, Int16.MaxValue));
|
||||
return dfr;
|
||||
}
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ namespace UniversalEditor.DataFormats.PropertyList.UniversalPropertyList
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(PropertyListObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(FormatVersion), "Format version:", true, new CustomOptionFieldChoice("1.0", 1.0f)));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(FormatVersion), "Format _version", true, new CustomOptionFieldChoice("1.0", 1.0f)));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -42,9 +42,9 @@ namespace UniversalEditor.DataFormats.FileSystem.Apple.HFS
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(VolumeName), "Volume &name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeBackupSequenceNumber), "&Backup sequence number", 0, Int16.MinValue, Int16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeWriteCount), "Volume &write count"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(VolumeName), "Volume _name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeBackupSequenceNumber), "_Backup sequence number", 0, Int16.MinValue, Int16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeWriteCount), "Volume _write count"));
|
||||
_dfr.Sources.Add("https://developer.apple.com/legacy/library/documentation/mac/Files/Files-102.html");
|
||||
_dfr.Sources.Add("http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/fs/hfs/hfs.h");
|
||||
_dfr.Sources.Add("www.fenestrated.net/~macman/mirrors/Apple Technotes (As of 2002)/tn/tn1150.html");
|
||||
|
||||
@ -39,14 +39,14 @@ namespace UniversalEditor.DataFormats.FileSystem.Box
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(NumberSize), "Number size:", true,
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(NumberSize), "_Number size", true,
|
||||
new CustomOptionFieldChoice("8-bit, 1 byte per number", 1),
|
||||
new CustomOptionFieldChoice("16-bit, 2 bytes per number", 2),
|
||||
new CustomOptionFieldChoice("24-bit, 3 bytes per number", 3),
|
||||
new CustomOptionFieldChoice("32-bit, 4 bytes per number", 4, true),
|
||||
new CustomOptionFieldChoice("64-bit, 8 bytes per number", 8)));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(AllocationSize), "Allocation size: ", 512));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Comment), "Comment: "));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(AllocationSize), "_Allocation size", 512));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Comment), "_Comment"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ namespace UniversalEditor.DataFormats.FileSystem.CPIO
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.Sources.Add("http://people.freebsd.org/~kientzle/libarchive/man/cpio.5.txt");
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Encoding), "&Encoding: ", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Encoding), "_Encoding: ", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice("Binary (little-endian)", CPIOEncoding.BinaryLittleEndian, true),
|
||||
new CustomOptionFieldChoice("Binary (big-endian)", CPIOEncoding.BinaryBigEndian),
|
||||
|
||||
@ -40,8 +40,8 @@ namespace UniversalEditor.DataFormats.FileSystem.DeepSilver.SecretFiles
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(EncryptionDomain), "Encryption &domain:", 0xbebe2, Int32.MaxValue, Int32.MinValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(EncryptionSeed), "Encryption &seed:", 0, Int32.MaxValue, Int32.MinValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(EncryptionDomain), "Encryption _domain", 0xbebe2, Int32.MaxValue, Int32.MinValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(EncryptionSeed), "Encryption _seed", 0, Int32.MaxValue, Int32.MinValue));
|
||||
_dfr.Sources.Add("http://wiki.xentax.com/index.php?title=Secret_Files:_Tunguska_%28Demo%29_SPR");
|
||||
}
|
||||
return _dfr;
|
||||
|
||||
@ -61,17 +61,17 @@ namespace UniversalEditor.DataFormats.FileSystem.FAT
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(OEMName), "OEM &name:", "MSDOS5.0", 8));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(OEMName), "OEM _name", "MSDOS5.0", 8));
|
||||
|
||||
#region Bios Parameter Block
|
||||
{
|
||||
CustomOptionGroup grp = new CustomOptionGroup(nameof(BiosParameterBlock), "BIOS parameter block");
|
||||
grp.Options.Add(new CustomOptionNumber("BytesPerSector", "&Bytes per sector:", 512, 0, short.MaxValue));
|
||||
grp.Options.Add(new CustomOptionNumber("SectorsPerCluster", "&Sectors per cluster:", 1, 1, 128));
|
||||
grp.Options.Add(new CustomOptionNumber("ReservedSectorCount", "&Reserved sectors:", 32, 0, short.MaxValue));
|
||||
grp.Options.Add(new CustomOptionNumber("FileAllocationTableCount", "Number of &file allocation tables:", 2, 0, byte.MaxValue));
|
||||
grp.Options.Add(new CustomOptionNumber("MaximumRootDirectoryEntryCount", "Maximum number of &root directory entries:", 0, 0, short.MaxValue));
|
||||
grp.Options.Add(new CustomOptionChoice("MediaDescriptor", "Media &descriptor:", true,
|
||||
grp.Options.Add(new CustomOptionNumber("BytesPerSector", "_Bytes per sector", 512, 0, short.MaxValue));
|
||||
grp.Options.Add(new CustomOptionNumber("SectorsPerCluster", "_Sectors per cluster", 1, 1, 128));
|
||||
grp.Options.Add(new CustomOptionNumber("ReservedSectorCount", "_Reserved sectors", 32, 0, short.MaxValue));
|
||||
grp.Options.Add(new CustomOptionNumber("FileAllocationTableCount", "Number of _file allocation tables", 2, 0, byte.MaxValue));
|
||||
grp.Options.Add(new CustomOptionNumber("MaximumRootDirectoryEntryCount", "Maximum number of _root directory entries", 0, 0, short.MaxValue));
|
||||
grp.Options.Add(new CustomOptionChoice("MediaDescriptor", "Media _descriptor", true,
|
||||
new CustomOptionFieldChoice("Unknown", FATMediaDescriptor.Unknown),
|
||||
new CustomOptionFieldChoice("3.5\" double-sided, 80 tracks per side, 18 or 36 sectors per track (1.44MB or 2.88MB)", FATMediaDescriptor.MediaDescriptor0),
|
||||
new CustomOptionFieldChoice("5.25\" double-sided, 80 tracks per side, 15 sectors per track (1.2MB)", FATMediaDescriptor.MediaDescriptor0),
|
||||
@ -86,29 +86,29 @@ namespace UniversalEditor.DataFormats.FileSystem.FAT
|
||||
new CustomOptionFieldChoice("5.25\" double-sided, 40 tracks per side, 8 sectors per track (320K)", FATMediaDescriptor.MediaDescriptor8)
|
||||
));
|
||||
|
||||
grp.Options.Add(new CustomOptionNumber("SectorsPerFAT16", "Sectors per allocation table:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("SectorsPerTrack", "Sectors per track:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("NumberOfHeads", "Number of heads:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("HiddenSectorCount", "Number of &hidden sectors:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("TotalSectors", "Number of &total sectors:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("SectorsPerFAT16", "Sectors per allocation table", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("SectorsPerTrack", "Sectors per track", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("NumberOfHeads", "Number of heads", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("HiddenSectorCount", "Number of _hidden sectors", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("TotalSectors", "Number of _total sectors", 0));
|
||||
_dfr.ExportOptions.Add(grp);
|
||||
}
|
||||
#endregion
|
||||
#region Extended BIOS parameter block
|
||||
{
|
||||
CustomOptionGroup grp = new CustomOptionGroup(nameof(ExtendedBiosParameterBlock), "Extended BIOS parameter block");
|
||||
grp.Options.Add(new CustomOptionNumber("PhysicalDriveNumber", "Physical drive &number:", 0));
|
||||
grp.Options.Add(new CustomOptionMultipleChoice("CheckDiskFlags", "CHKDSK &flags:", new CustomOptionFieldChoice("Dirty", FATCheckDiskFlags.Dirty), new CustomOptionFieldChoice("Error", FATCheckDiskFlags.Error)));
|
||||
grp.Options.Add(new CustomOptionNumber("NumberOfHeads", "Number of heads:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("HiddenSectorCount", "Number of &hidden sectors:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("TotalSectors", "Number of &total sectors:", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("PhysicalDriveNumber", "Physical drive _number", 0));
|
||||
grp.Options.Add(new CustomOptionMultipleChoice("CheckDiskFlags", "CHKDSK _flags", new CustomOptionFieldChoice("Dirty", FATCheckDiskFlags.Dirty), new CustomOptionFieldChoice("Error", FATCheckDiskFlags.Error)));
|
||||
grp.Options.Add(new CustomOptionNumber("NumberOfHeads", "Number of heads", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("HiddenSectorCount", "Number of _hidden sectors", 0));
|
||||
grp.Options.Add(new CustomOptionNumber("TotalSectors", "Number of _total sectors", 0));
|
||||
#region Extended Boot Signature
|
||||
{
|
||||
CustomOptionGroup grp1 = new CustomOptionGroup("ExtendedBootSignature", "Extended Boot Signature");
|
||||
grp1.Options.Add(new CustomOptionBoolean("Enabled", "Include extended boot signature", true));
|
||||
grp1.Options.Add(new CustomOptionNumber("VolumeSerialNumber", "Volume &serial number:", 0));
|
||||
grp1.Options.Add(new CustomOptionText("PartitionVolumeLabel", "Partition &volume label:", String.Empty));
|
||||
grp1.Options.Add(new CustomOptionText("FileSystemType", "File system &type:", String.Empty));
|
||||
grp1.Options.Add(new CustomOptionBoolean("Enabled", "_Include extended boot signature", true));
|
||||
grp1.Options.Add(new CustomOptionNumber("VolumeSerialNumber", "Volume _serial number", 0));
|
||||
grp1.Options.Add(new CustomOptionText("PartitionVolumeLabel", "Partition _volume label", String.Empty));
|
||||
grp1.Options.Add(new CustomOptionText("FileSystemType", "File system _type", String.Empty));
|
||||
grp.Options.Add(grp1);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -36,12 +36,12 @@ namespace UniversalEditor.DataFormats.FileSystem.GremlinInteractive.ActuaSoccer.
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(FormatVersion), "Format &version:", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(FormatVersion), "Format _version", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice("Type 1 (includes file names)", MADFormatVersion.Type1, true),
|
||||
new CustomOptionFieldChoice("Type 2 (does not include file names)", MADFormatVersion.Type2)
|
||||
}));
|
||||
_dfr.ImportOptions.Add(new CustomOptionChoice(nameof(FormatVersion), "Format &version:", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ImportOptions.Add(new CustomOptionChoice(nameof(FormatVersion), "Format _version", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice("Type 1 (includes file names)", MADFormatVersion.Type1, true),
|
||||
new CustomOptionFieldChoice("Type 2 (does not include file names)", MADFormatVersion.Type2)
|
||||
|
||||
@ -40,17 +40,17 @@ namespace UniversalEditor.DataFormats.FileSystem.ISO
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ContentTypes.Add("application/x-iso9660-image");
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(SystemName), "System _name:", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(VolumeName), "_Volume name:", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeSetSize), "Number of volumes in this set:", 1, 0, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeSequenceNumber), "Index of this volume in set:", 0, 0, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(VolumeSet), "Volume _set:", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Publisher), "_Publisher:", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(DataPreparer), "_Data preparer:", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Application), "_Application:", "Universal Editor", 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CopyrightFile), "_Copyright file:", String.Empty, 38));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(AbstractFile), "Abs_tract file:", String.Empty, 36));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(BibliographicFile), "_Bibliographic file:", String.Empty, 37));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(SystemName), "System _name", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(VolumeName), "_Volume name", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeSetSize), "Nu_mber of volumes in this set", 1, 0, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VolumeSequenceNumber), "_Index of this volume in set", 0, 0, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(VolumeSet), "Volume _set", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Publisher), "_Publisher", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(DataPreparer), "_Data preparer", String.Empty, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Application), "_Application", "Universal Editor", 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CopyrightFile), "_Copyright file", String.Empty, 38));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(AbstractFile), "Abs_tract file", String.Empty, 36));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(BibliographicFile), "_Bibliographic file", String.Empty, 37));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -37,8 +37,8 @@ namespace UniversalEditor.DataFormats.FileSystem.Moero.DownhillNight
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ImportOptions.Add(new CustomOptionNumber(nameof(EncryptionKey), "Encryption _key:", 0xC5, 0, 255));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(EncryptionKey), "Encryption _key:", 0xC5, 0, 255));
|
||||
_dfr.ImportOptions.Add(new CustomOptionNumber(nameof(EncryptionKey), "Encryption _key", 0xC5, 0, 255));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(EncryptionKey), "Encryption _key", 0xC5, 0, 255));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -38,8 +38,8 @@ namespace UniversalEditor.DataFormats.FileSystem.Nero
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(ImageName), "Image &name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(ImageName2), "Image name (&Joliet):"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(ImageName), "Image _name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(ImageName2), "Image name (_Joliet)"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -38,9 +38,9 @@ namespace UniversalEditor.DataFormats.FileSystem.Nvidia.NPK
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ImportOptions.Add(new CustomOptionText(nameof(EncryptionKey), "Encryption _key: ", "bogomojo"));
|
||||
_dfr.ImportOptions.Add(new CustomOptionText(nameof(EncryptionKey), "Encryption _key", "bogomojo"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionBoolean(nameof(Encrypted), "_Encrypt the data with the specified key"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(EncryptionKey), "Encryption _key: ", "bogomojo"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(EncryptionKey), "Encryption _key", "bogomojo"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ namespace UniversalEditor.DataFormats.FileSystem.PKG
|
||||
{
|
||||
if (_dfr == null) _dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameName), "Game _name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameName), "Game _name"));
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ namespace UniversalEditor.DataFormats.FileSystem.TapeArchive
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionBoolean(nameof(IsUnixStandardTAR), "Create a UNIX standard tape archive (ustar)", true));
|
||||
_dfr.ExportOptions.Add(new CustomOptionBoolean(nameof(IsUnixStandardTAR), "Create a _UNIX standard tape archive (ustar)", true));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ namespace UniversalEditor.DataFormats.FileSystem.Ultra3D
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText("Description", "Description:", "RichRayl@CUC"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Description), "_Description", "RichRayl@CUC"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -17,8 +17,8 @@ namespace UniversalEditor.DataFormats.Lighting.Fixture.QLC
|
||||
{
|
||||
_dfr = new DataFormatReference(this.GetType());
|
||||
_dfr.Capabilities.Add(typeof(FixtureObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CreatorApplication), "&Software:", "Q Light Controller Plus"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Author), "&Author:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CreatorApplication), "_Software", "Q Light Controller Plus"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Author), "_Author"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -19,14 +19,14 @@ namespace UniversalEditor.DataFormats.FileSystem.Microsoft.Cabinet
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.Sources.Add("http://msdn.microsoft.com/en-us/library/bb267310.aspx#struct_spec");
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(CabinetReservedAreaSize), "Per-&cabinet reserved area size:", 0, 0, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(FolderReservedAreaSize), "Per-&folder reserved area size:", 0, 0, Byte.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(DatablockReservedAreaSize), "Per-&datablock reserved area size:", 0, 0, Byte.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(CabinetReservedAreaSize), "Per-_cabinet reserved area size", 0, 0, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(FolderReservedAreaSize), "Per-_folder reserved area size", 0, 0, Byte.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(DatablockReservedAreaSize), "Per-_datablock reserved area size", 0, 0, Byte.MaxValue));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(NextCabinetName), "&Next cabinet file name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(NextDiskName), "Ne&xt cabinet disk name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(PreviousCabinetName), "&Previous cabinet file name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(PreviousDiskName), "Pre&vious cabinet disk name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(NextCabinetName), "_Next cabinet file name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(NextDiskName), "Ne_xt cabinet disk name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(PreviousCabinetName), "_Previous cabinet file name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(PreviousDiskName), "Pre_vious cabinet disk name"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -41,9 +41,9 @@ namespace UniversalEditor.DataFormats.FileSystem.Microsoft.CompoundDocument
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(SectorSize), "_Sector size (in bytes):", 512, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(ShortSectorSize), "S_hort sector size (in bytes):", 64));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(MinimumStandardStreamSize), "_Minimum standard stream size (in bytes):", 4096, 4096));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(SectorSize), "_Sector size (in bytes)", 512, 128));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(ShortSectorSize), "S_hort sector size (in bytes)", 64));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(MinimumStandardStreamSize), "_Minimum standard stream size (in bytes)", 4096, 4096));
|
||||
_dfr.Sources.Add("http://www.openoffice.org/sc/compdocfileformat.pdf");
|
||||
}
|
||||
return _dfr;
|
||||
|
||||
@ -36,7 +36,7 @@ namespace UniversalEditor.Plugins.Monolith.DataFormats.FileSystem.Monolith.REZ
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Description), "&Description:", String.Empty, 127));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Description), "_Description", String.Empty, 127));
|
||||
_dfr.Sources.Add("http://wiki.xentax.com/index.php?title=Monolith_REZ");
|
||||
// _dfr.Filters.Add("Monolith Productions REZ archive", new string[] { "*.rez" });
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ namespace UniversalEditor.DataFormats.Multimedia.Audio.Synthesized.SPC
|
||||
DataFormatReference dfr = base.MakeReferenceInternal();
|
||||
dfr.Capabilities.Add(typeof(SynthesizedAudioObjectModel), DataFormatCapabilities.All);
|
||||
|
||||
dfr.ExportOptions.Add(new CustomOptionChoice("Generator", "&Generator:", true,
|
||||
dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Generator), "_Generator", true,
|
||||
new CustomOptionFieldChoice("Unknown", SPC700Emulator.Unknown, true),
|
||||
new CustomOptionFieldChoice("ZSNES", SPC700Emulator.ZSNES),
|
||||
new CustomOptionFieldChoice("Snes9x", SPC700Emulator.Snes9x)
|
||||
|
||||
@ -39,8 +39,8 @@ namespace UniversalEditor.DataFormats.Multimedia.AudioCollection.Synthesized.SPC
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(SynthesizedAudioCollectionObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ImportOptions.Add(new CustomOptionBoolean(nameof(UseID666TagInformationIfAvailable), "Use &ID666 tag information if available"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionBoolean(nameof(UseID666TagInformationIfAvailable), "Include &ID666 tag information in output file"));
|
||||
_dfr.ImportOptions.Add(new CustomOptionBoolean(nameof(UseID666TagInformationIfAvailable), "Use _ID666 tag information if available"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionBoolean(nameof(UseID666TagInformationIfAvailable), "Include _ID666 tag information in output file"));
|
||||
_dfr.Sources.Add("http://blog.kevtris.org/blogfiles/spc2_file_specification_v1.txt");
|
||||
}
|
||||
return _dfr;
|
||||
|
||||
@ -40,7 +40,7 @@ namespace UniversalEditor.DataFormats.Multimedia.Palette.Adobe
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(PaletteObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.Sources.Add("http://www.nomodes.com/aco.html");
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(Version), "&Version:", 1, 1, ushort.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(Version), "_Version", 1, 1, ushort.MaxValue));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -43,12 +43,12 @@ namespace UniversalEditor.DataFormats.Multimedia.Picture.GIM
|
||||
_dfr.Capabilities.Add(typeof(PictureObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.Sources.Add("http://pspdum.my.land.to/psp/gim.html");
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Endianness), "&Endianness:", true,
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Endianness), "_Endianness", true,
|
||||
new CustomOptionFieldChoice("Big-Endian", IO.Endianness.BigEndian),
|
||||
new CustomOptionFieldChoice("Little-Endian", IO.Endianness.LittleEndian, true)
|
||||
));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(ImageFormat), "&Image format:", true,
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(ImageFormat), "_Image format", true,
|
||||
new CustomOptionFieldChoice("Indexed (4-bit)", GIMImageFormat.Index4),
|
||||
new CustomOptionFieldChoice("Indexed (8-bit)", GIMImageFormat.Index8),
|
||||
new CustomOptionFieldChoice("Indexed (16-bit)", GIMImageFormat.Index16),
|
||||
@ -58,20 +58,20 @@ namespace UniversalEditor.DataFormats.Multimedia.Picture.GIM
|
||||
new CustomOptionFieldChoice("Bitmap (R5-G6-B5-A0)", GIMImageFormat.RGBA5650),
|
||||
new CustomOptionFieldChoice("Bitmap (R8-G8-B8-A8)", GIMImageFormat.RGBA8888, true)
|
||||
));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(PaletteFormat), "&Palette format:", true,
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(PaletteFormat), "_Palette format", true,
|
||||
new CustomOptionFieldChoice("Bitmap (R4-G4-B4-A4)", GIMPaletteFormat.RGBA4444),
|
||||
new CustomOptionFieldChoice("Bitmap (R5-G5-B5-A1)", GIMPaletteFormat.RGBA5551),
|
||||
new CustomOptionFieldChoice("Bitmap (R5-G6-B5-A0)", GIMPaletteFormat.RGBA5650),
|
||||
new CustomOptionFieldChoice("Bitmap (R8-G8-B8-A8)", GIMPaletteFormat.RGBA8888, true)
|
||||
));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(PixelOrder), "Pixel &order:", true,
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(PixelOrder), "Pixel _order", true,
|
||||
new CustomOptionFieldChoice("Normal", GIMPixelOrder.Normal, true),
|
||||
new CustomOptionFieldChoice("Faster", GIMPixelOrder.Faster)
|
||||
));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(OriginalFileName), "Original &filename:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CreationUserName), "Creation &user:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CreationApplication), "&Application name:", "Universal Editor"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(OriginalFileName), "Original _filename"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CreationUserName), "Creation _user"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(CreationApplication), "_Application name", "Universal Editor"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -49,8 +49,8 @@ namespace UniversalEditor.DataFormats.Multimedia.Subtitle.SubStationAlpha
|
||||
{
|
||||
_dfr = new DataFormatReference(GetType());
|
||||
_dfr.Capabilities.Add(typeof(SubtitleObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Title), "_Title:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionFile(nameof(VideoFileName), "_Video file name:", String.Empty, "*.asf;*.avi;*.avs;*.d2v;*.m2ts;*.m4v;*.mkv;*.mov;*.mp4;*.mpeg;*.mpg;*.ogm;*.webm;*.wmv;*.ts;*.y4m;*.yuv"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Title), "_Title"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionFile(nameof(VideoFileName), "_Video file name", String.Empty, "*.asf;*.avi;*.avs;*.d2v;*.m2ts;*.m4v;*.mkv;*.mov;*.mp4;*.mpeg;*.mpg;*.ogm;*.webm;*.wmv;*.ts;*.y4m;*.yuv"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -39,10 +39,10 @@ namespace UniversalEditor.DataFormats.Multimedia3D.Model.PolygonMovieMaker
|
||||
{
|
||||
DataFormatReference dfr = base.MakeReferenceInternal();
|
||||
dfr.Capabilities.Add(typeof(ModelObjectModel), DataFormatCapabilities.All);
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelTitleJapanese), "&Japanese model title:"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelTitleEnglish), "&English model title:"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelCommentJapanese), "Ja&panese model comment:"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelCommentEnglish), "En&glish model comment:"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelTitleJapanese), "_Japanese model title"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelTitleEnglish), "_English model title"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelCommentJapanese), "Ja_panese model comment"));
|
||||
dfr.ExportOptions.Add(new CustomOptionText(nameof(ModelCommentEnglish), "En_glish model comment"));
|
||||
return dfr;
|
||||
}
|
||||
|
||||
|
||||
@ -39,8 +39,8 @@ namespace UniversalEditor.DataFormats.Executable.Nintendo.SNES
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(ExecutableObjectModel), DataFormatCapabilities.All);
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameName), "Game &name:", String.Empty, 21));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(CartridgeType), "Cartridge &type:", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameName), "Game _name", String.Empty, 21));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(CartridgeType), "Cartridge _type", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice(SMCCartridgeTypes.ROMOnly, true),
|
||||
new CustomOptionFieldChoice(SMCCartridgeTypes.ROMAndRAM),
|
||||
@ -72,10 +72,10 @@ namespace UniversalEditor.DataFormats.Executable.Nintendo.SNES
|
||||
new CustomOptionFieldChoice(SMCMemorySizes.M4),
|
||||
};
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(ROMSize), "RO&M size:", true, _smcMemorySizes));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(RAMSize), "R&AM size:", true, _smcMemorySizes));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(ROMSize), "RO_M size", true, _smcMemorySizes));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(RAMSize), "R_AM size", true, _smcMemorySizes));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Region), "&Region:", false, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Region), "_Region", false, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice(SMCRegions.Japan),
|
||||
new CustomOptionFieldChoice(SMCRegions.NorthAmerica),
|
||||
@ -93,7 +93,7 @@ namespace UniversalEditor.DataFormats.Executable.Nintendo.SNES
|
||||
new CustomOptionFieldChoice(SMCRegions.SouthKorea)
|
||||
}));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Licensee), "&Licensee:", false, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(Licensee), "_Licensee", false, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice(SMCLicensees.None, true),
|
||||
new CustomOptionFieldChoice(SMCLicensees.Nintendo0x01),
|
||||
@ -278,7 +278,7 @@ namespace UniversalEditor.DataFormats.Executable.Nintendo.SNES
|
||||
new CustomOptionFieldChoice(SMCLicensees.Psygnosis),
|
||||
new CustomOptionFieldChoice(SMCLicensees.Davidson),
|
||||
}));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VersionNumber), "&Version number:", 0, Byte.MinValue, Byte.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(VersionNumber), "_Version number", 0, Byte.MinValue, Byte.MaxValue));
|
||||
|
||||
_dfr.Sources.Add("http://romhack.wikia.com/wiki/SNES_ROM_layout");
|
||||
_dfr.Sources.Add("http://romhack.wikia.com/wiki/SNES_header");
|
||||
|
||||
@ -40,7 +40,7 @@ namespace UniversalEditor.DataFormats.FileSystem.Nintendo.Optical
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(FormatCode), "&Format code:", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(FormatCode), "_Format code", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscFormatCodes.Revolution),
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscFormatCodes.Wii, true),
|
||||
@ -53,8 +53,8 @@ namespace UniversalEditor.DataFormats.FileSystem.Nintendo.Optical
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscFormatCodes.WiiBackup),
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscFormatCodes.WiiFitChanInstaller)
|
||||
}));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameCode), "&Game code:", String.Empty, 2));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(RegionCode), "&Region code:", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameCode), "_Game code", String.Empty, 2));
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(RegionCode), "_Region code", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscRegionCodes.German),
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscRegionCodes.UnitedStates, true),
|
||||
@ -69,13 +69,13 @@ namespace UniversalEditor.DataFormats.FileSystem.Nintendo.Optical
|
||||
new CustomOptionFieldChoice(NintendoOpticalDiscRegionCodes.Australia),
|
||||
}));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(SystemType), "&System type:", true, new CustomOptionFieldChoice[]
|
||||
_dfr.ExportOptions.Add(new CustomOptionChoice(nameof(SystemType), "_System type", true, new CustomOptionFieldChoice[]
|
||||
{
|
||||
new CustomOptionFieldChoice("GameCube", NintendoOpticalDiscSystemType.GameCube),
|
||||
new CustomOptionFieldChoice("Wii", NintendoOpticalDiscSystemType.Wii, true)
|
||||
}));
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameTitle), "Game &title:", String.Empty, 64));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(GameTitle), "Game _title", String.Empty, 64));
|
||||
|
||||
_dfr.Sources.Add("http://wiibrew.org/wiki/Wii_Disc");
|
||||
_dfr.Sources.Add("http://www.emutalk.net/threads/21512-GCM-file-extension!/page3");
|
||||
|
||||
@ -38,8 +38,8 @@ namespace UniversalEditor.DataFormats.UnrealEngine.Package
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(UnrealPackageObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(PackageName), "Package &name:"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(PackageVersion), "Package &version:", 0, UInt16.MinValue, UInt16.MaxValue));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(PackageName), "Package _name"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(PackageVersion), "Package _version", 0, UInt16.MinValue, UInt16.MaxValue));
|
||||
_dfr.Sources.Add("http://wiki.beyondunreal.com/Legacy:Package_File_Format");
|
||||
}
|
||||
return _dfr;
|
||||
|
||||
@ -37,9 +37,9 @@ namespace UniversalEditor.DataFormats.FileSystem.Valve.GCF
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(FileSystemObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.ExportOptions.Add(new CustomOptionVersion(nameof(FormatVersion), "Format &version: "));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(CacheID), "&Cache ID: "));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(LastVersionPlayed), "&Last version played: "));
|
||||
_dfr.ExportOptions.Add(new CustomOptionVersion(nameof(FormatVersion), "Format _version"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(CacheID), "_Cache ID"));
|
||||
_dfr.ExportOptions.Add(new CustomOptionNumber(nameof(LastVersionPlayed), "_Last version played"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ namespace UniversalEditor.DataFormats.Text.HTML
|
||||
_dfr.Capabilities.Add(typeof(PlainTextObjectModel), DataFormatCapabilities.All);
|
||||
_dfr.Capabilities.Add(typeof(FormattedTextObjectModel), DataFormatCapabilities.All);
|
||||
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Title), "&Title: "));
|
||||
_dfr.ExportOptions.Add(new CustomOptionText(nameof(Title), "_Title"));
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user