diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb index 4ff7685..d59cd06 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 0dbb163..fd63dca 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/AssemblyInfo.cpp b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/AssemblyInfo.cpp index 12c8087..497d1f7 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/AssemblyInfo.cpp +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/AssemblyInfo.cpp @@ -31,7 +31,7 @@ using namespace System::Security::Permissions; // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly:AssemblyVersionAttribute("1.6.*")]; +[assembly:AssemblyVersionAttribute("1.7.*")]; [assembly:ComVisible(false)]; diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm index 586e49d..7b8073a 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/Form1.h b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h index e1d178f..e1551cc 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form1.h @@ -3431,7 +3431,7 @@ private: System::Windows::Forms::TextBox^ tboxWarningChinaRating; { System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly(); System::Version ^ver = ass->GetName()->Version; - return ( ver->Major.ToString() + "." + ver->Minor.ToString() + "a" ); + return ( ver->Major.ToString() + "." + ver->Minor.ToString() ); } // SRLに登録されないROM仕様のフォーム入力を diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_srl.cpp b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_srl.cpp index a738a03..595622c 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_srl.cpp +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_srl.cpp @@ -259,6 +259,11 @@ void Form1::setSrlForms(void) System::Int32 last = this->gridLibrary->Rows->Count - 2; this->gridLibrary->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red; } + if( lic->Publisher->Equals( "NINTENDO" ) && lic->Name->StartsWith( "DEBUG DWC" ) ) + { + System::Int32 last = this->gridLibrary->Rows->Count - 2; + this->gridLibrary->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red; + } } } this->gridLibrary->CurrentCell = nullptr; diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/srl_mrc.cpp b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/srl_mrc.cpp index 335b8b3..bb7ab04 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/srl_mrc.cpp +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/srl_mrc.cpp @@ -238,6 +238,15 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp ) this->hErrorList->Add( this->makeMrcError("RomStartAddress") ); } + // ダイジェスト範囲よりもファイルサイズが小さいときエラー + fseek( fp, 0, SEEK_END ); + u32 fileend = ftell(fp); + if( (fileend < (this->pRomHeader->s.twl_digest_area_rom_offset + this->pRomHeader->s.twl_digest_area_size)) || + (fileend < (this->pRomHeader->s.twl_digest_area_rom_offset + this->pRomHeader->s.twl_digest_area_size)) ) + { + this->hErrorList->Add( this->makeMrcError("DigestArea") ); + } + // NANDアプリがHYBRIDとなるのはクローンブートのときのみ if( this->IsMediaNand ) { diff --git a/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_e.xml b/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_e.xml index d8ba3c9..6d563c1 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_e.xml and b/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_e.xml differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_j.xml b/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_j.xml index e633078..be04f5e 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_j.xml +++ b/build/tools/MasterEditor/MasterEditorTWL/resource/mrc_msg_j.xml @@ -3,13 +3,76 @@ - + 繧ケ繧ソ繝シ繝医い繝峨Ξ繧ケ ROM縺ョ繧ケ繧ソ繝シ繝医い繝峨Ξ繧ケ縺ッ縲0x02004000莉・髯阪〒縺ェ縺代l縺ー縺ェ繧翫∪縺帙s縲 282bFalseTrue + + DWC繝ゥ繧、繝悶Λ繝ェ + 髢狗匱逕ィ繧オ繝シ繝舌↓繧「繧ッ繧サ繧ケ縺吶k髢「謨ー縺御スソ逕ィ縺輔l縺ヲ縺縺セ縺吶 + 282bFalseTrue + + + + 繝繧、繧ク繧ァ繧ケ繝 + 繝輔ぃ繧、繝ォ繧オ繧、繧コ縺後ム繧、繧ク繧ァ繧ケ繝医ョ蟇セ雎。遽蝗イ繧医j繧ょー上&縺上↑縺」縺ヲ縺縺セ縺吶3OM譛ォ蟆セ縺ョ繝代ョ繧」繝ウ繧ー繧СOM縺ョ荳驛ィ縺悟炎髯、縺輔l縺ヲ縺繧句庄閭ス諤ァ縺後≠繧翫∪縺吶 + 1e01efFalseTrue + + + + + 繝ャ繝シ繝繧」繝ウ繧ー(荳ュ蝗ス迚亥ッセ蠢) + 荳ュ蝗ス縺ォ縺ッ繝ャ繝シ繝繧」繝ウ繧ー蟇ゥ譟サ蝗」菴薙′蟄伜惠縺励∪縺帙s縺ョ縺ァ縲∽クュ蝗ス蜷代¢繧ス繝輔ヨ縺ォ蟇セ縺励※縺ッ縲∝推蟇ゥ譟サ蝗」菴薙ョ繝ャ繝シ繝繧」繝ウ繧ー蛟、繧定ィュ螳壹☆繧句ソ隕√ッ縺ゅj縺セ縺帙s縲(閾ェ蜍慕噪縺ォ繝槭せ繧ソ繝シ繧ィ繝繧」繧ソ縺悟、繧偵そ繝繝医@縺セ縺吶ョ縺ァ縲∵悽隴ヲ蜻翫r辟。隕悶@縺ヲ縺縺溘□縺縺ヲ縺九∪縺縺セ縺帙s縲) + 2f02ffTrueTrue + + + + + DS Station蟇セ蠢 + DS Station逕ィROM縺ァ縺ッtmp繧ク繝」繝ウ繝励ッ險ア蜿ッ縺輔l縺ヲ縺縺セ縺帙s縲 + 1d1dFalseTrue + + + + DS Station蟇セ蠢 + DS Station逕ィROM縺ョ繝輔ぃ繧、繝ォ繧オ繧、繧コ縺ッ768Mbit莉・荳九〒縺ェ縺代l縺ー縺ェ繧翫∪縺帙s縲 + 00FalseTrue + + + + DS Station蟇セ蠢 + 蠎鈴ュ隧ヲ驕雁床逕ィ繝ゥ繧、繝悶Λ繝ェ縺御スソ逕ィ縺輔l縺ヲ縺縺セ縺帙s縲 + 00FalseTrue + + + + + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ逕ィ縺ョROM縺ァ縺ッ縲》mp繧ク繝」繝ウ繝励r險ア蜿ッ縺吶k蠢隕√′縺ゅj縺セ縺吶3SF繝輔ぃ繧、繝ォ縺ョPermitLandingTmpJump繝励Ο繝代ユ繧」繧定ィュ螳壹@縺ヲ縺上□縺輔>縲 + 1d1dFalseTrue + + + + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ逕ィ繧「繝励Μ繧辿YBRID迚医→縺励※菴懈舌☆繧九%縺ィ縺ッ險ア蜿ッ縺輔l縺ヲ縺縺セ縺帙s縲 + 1212FalseTrue + + + + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 + 縺薙ョ繧ス繝輔ヨ縺ッLIMITED迚医〒縺吶ョ縺ァ縲¨intendoZone縺ョ縺ソ縺ァ驟堺ソ。蜿ッ閭ス縺ァ縺吶ゅ∩繧薙↑縺ョ繝九Φ繝繝ウ繝峨シ繝√Ε繝ウ繝阪Ν繧ДS繝繧ヲ繝ウ繝ュ繝シ繝峨励Ξ繧、縺ョ縺励¥縺ソ繧剃スソ逕ィ縺励※驟堺ソ。縺吶k縺薙→縺ッ縺ァ縺阪∪縺帙s縲 + 1212FalseTrue + + + + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 + 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ逕ィ縺ョROM繧オ繧、繧コ縺ッ2.5MByte莉・荳九〒縺ェ縺代l縺ー縺ェ繧翫∪縺帙s縲 + 00FalseTrue + + @@ -76,49 +139,6 @@ 荳ュ蝗ス迚医ョ繝舌リ繝シ譁蟄励→縺励※荳肴ュ」縺ェ譁蟄励そ繝繝医′菴ソ逕ィ縺輔l縺ヲ縺縺セ縺吶 00FalseTrue - - 繝ャ繝シ繝繧」繝ウ繧ー(荳ュ蝗ス迚亥ッセ蠢) - 莉募髄蝨ー縺御クュ蝗ス縺ァ縺ゅk蝣エ蜷医√☆縺ケ縺ヲ縺ョ蝗」菴薙ョ繝ャ繝シ繝繧」繝ウ繧ー繧偵悟ィ蟷エ鮨「縲阪↓險ュ螳壹☆繧句ソ隕√′縺ゅj縺セ縺吶(繝槭せ繧ソ繝シROM繧剃ス懈舌☆繧矩圀縺ォ縲√槭せ繧ソ繝シ繧ィ繝繧」繧ソ縺ォ繧医▲縺ヲ閾ェ蜍慕噪縺ォ險ュ螳壹&繧後∪縺吶ョ縺ァ縲ヽOM繧貞阪ン繝ォ繝峨☆繧句ソ隕√ッ縺ゅj縺セ縺帙s縲) - 2f02ffTrueTrue - - - - - 蠎鈴ュ隧ヲ驕顔沿蟇セ蠢 - 蠎鈴ュ隧ヲ驕顔沿縺ァ縺ッtmp繧ク繝」繝ウ繝励ッ險ア蜿ッ縺輔l縺ヲ縺縺セ縺帙s縲 - 1d1dFalseTrue - - - - 蠎鈴ュ隧ヲ驕顔沿蟇セ蠢 - 蠎鈴ュ隧ヲ驕顔沿縺ョROM繧オ繧、繧コ縺ッ768Mbit莉・荳九〒縺ェ縺代l縺ー縺ェ繧翫∪縺帙s縲 - 00FalseTrue - - - - 蠎鈴ュ隧ヲ驕顔沿蟇セ蠢 - 蠎鈴ュ隧ヲ驕顔沿繝ゥ繧、繝悶Λ繝ェ縺御スソ逕ィ縺輔l縺ヲ縺縺セ縺帙s縲 - 00FalseTrue - - - - - 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 - 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ逕ィ縺ョROM縺ァ縺ッ縲》mp繧ク繝」繝ウ繝励r險ア蜿ッ縺吶k蠢隕√′縺ゅj縺セ縺吶3SF繝輔ぃ繧、繝ォ縺ョPermitLandingTmpJump繝励Ο繝代ユ繧」繧定ィュ螳壹@縺ヲ縺上□縺輔>縲 - 1d1dFalseTrue - - - - 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 - 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ逕ィ繧「繝励Μ繧辿YBRID迚医→縺励※菴懈舌☆繧九%縺ィ縺ッ險ア蜿ッ縺輔l縺ヲ縺縺セ縺帙s縲 - 1212FalseTrue - - - - 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ蟇セ蠢 - 繝繧ヲ繝ウ繝ュ繝シ繝峨し繝シ繝薙せ逕ィ縺ョROM繧オ繧、繧コ縺ッ2.5MByte莉・荳九〒縺ェ縺代l縺ー縺ェ繧翫∪縺帙s縲 - 00FalseTrue -