diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb index 0ee6b3c..3674576 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb and b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo index ce074e9..fd89f79 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo and b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm index b7ed477..5e6e20a 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm and b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp index d082ce0..98742eb 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_rominfolist.cpp @@ -46,6 +46,20 @@ static System::Xml::XmlElement^ CreateRomInfoListElement(System::Xml::XmlDocumen return tag; } +static System::Xml::XmlElement^ CreateSpecialRomInfoListElement(System::Xml::XmlDocument ^doc, + System::String ^label, System::String ^val, System::String ^type) +{ + System::Xml::XmlElement ^tag = doc->CreateElement("sp-info"); // “Á•ʂȒl + tag->SetAttribute( "num", ( s_NodeCount++ ).ToString() ); + MasterEditorTWL::appendXmlTag( doc, tag, "label", label ); + MasterEditorTWL::appendXmlTag( doc, tag, "value", val ); + if( type ) + { + MasterEditorTWL::appendXmlTag( doc, tag, "type", type ); + } + return tag; +} + static System::Xml::XmlElement^ CreateSDKVersionListElement(System::Xml::XmlDocument ^doc, System::String ^version, System::Boolean isStatic) { @@ -128,7 +142,7 @@ void Form1::makeRomInfoListXml(System::Xml::XmlDocument ^doc, System::Boolean wi tag->AppendChild( CreateRomInfoListElement(doc, this->labHeaderCRC->Text, this->tboxHeaderCRC->Text, nullptr) ); tag->AppendChild( CreateRomInfoListElement(doc, this->labRomCRC->Text, this->tboxWholeCRC->Text, nullptr) ); } - tag->AppendChild( CreateRomInfoListElement(doc, this->labCaptionEx->Text, this->tboxCaptionEx->Text, nullptr) ); + tag->AppendChild( CreateSpecialRomInfoListElement(doc, this->labCaptionEx->Text, this->tboxCaptionEx->Text, nullptr) ); section->AppendChild(tag); } root->AppendChild(section); @@ -184,8 +198,8 @@ void Form1::makeRomInfoListXml(System::Xml::XmlDocument ^doc, System::Boolean wi tag->AppendChild( CreateRomInfoListElement(doc, this->labPrivateSize->Text, this->tboxPrivateSizeFS->Text, nullptr) ); tag->AppendChild( CreateRomInfoListElement(doc, this->labSubBannerSize->Text, this->tboxSubBannerSizeFS->Text, nullptr) ); tag->AppendChild( CreateRomInfoListElement(doc, this->labTmdSize->Text, this->tboxTmdSizeFS->Text, nullptr) ); - tag->AppendChild( CreateRomInfoListElement(doc, this->labSumSize->Text + " " + this->labSumSize2->Text, - this->tboxSumSize->Text + " (" + this->tboxSumSizeMB->Text + ")", nullptr) ); + tag->AppendChild( CreateRomInfoListElement(doc, this->labSumSize->Text + " " + this->labSumSize2->Text, + this->tboxSumSize->Text + " (" + this->tboxSumSizeMB->Text->Replace( ',', '.' ) + ")", nullptr) ); } section->AppendChild(tag); } diff --git a/build/tools/MasterEditor/MasterEditorTWL/resource/errorlist.xsl b/build/tools/MasterEditor/MasterEditorTWL/resource/errorlist.xsl index 6a48bb9..43a27ba 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/resource/errorlist.xsl +++ b/build/tools/MasterEditor/MasterEditorTWL/resource/errorlist.xsl @@ -69,8 +69,8 @@ } th { font-size: 12px; - background-color: #D6D3CE; - color: black; + background-color: #000000; + color: #dddddd; padding-top: 2px; padding-bottom: 2px; } @@ -171,6 +171,7 @@