mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
namespace SabreTools.DatFiles.Formats
|
|
{
|
|
/// <summary>
|
|
/// Represents an openMSX softawre list XML DAT
|
|
/// </summary>
|
|
internal partial class OpenMSX : DatFile
|
|
{
|
|
/// <summary>
|
|
/// DTD for original openMSX DATs
|
|
/// </summary>
|
|
private const string OpenMSXDTD = @"<!ELEMENT softwaredb (person*)>
|
|
<!ELEMENT software (title, genmsxid?, system, company,year,country,dump)>
|
|
<!ELEMENT title (#PCDATA)>
|
|
<!ELEMENT genmsxid (#PCDATA)>
|
|
<!ELEMENT system (#PCDATA)>
|
|
<!ELEMENT company (#PCDATA)>
|
|
<!ELEMENT year (#PCDATA)>
|
|
<!ELEMENT country (#PCDATA)>
|
|
<!ELEMENT dump (#PCDATA)>
|
|
";
|
|
|
|
private const string OpenMSXCredits = @"<!-- Credits -->
|
|
<![CDATA[
|
|
The softwaredb.xml file contains information about rom mapper types
|
|
|
|
- Copyright 2003 Nicolas Beyaert (Initial Database)
|
|
- Copyright 2004-2013 BlueMSX Team
|
|
- Copyright 2005-2023 openMSX Team
|
|
- Generation MSXIDs by www.generation-msx.nl
|
|
|
|
- Thanks go out to:
|
|
- - Generation MSX/Sylvester for the incredible source of information
|
|
- p_gimeno and diedel for their help adding and valdiating ROM additions
|
|
- GDX for additional ROM info and validations and corrections
|
|
|
|
|
|
]]>";
|
|
|
|
/// <summary>
|
|
/// Constructor designed for casting a base DatFile
|
|
/// </summary>
|
|
/// <param name="datFile">Parent DatFile to copy from</param>
|
|
public OpenMSX(DatFile? datFile)
|
|
: base(datFile)
|
|
{
|
|
}
|
|
}
|
|
}
|