マスタエディタ:GUIレイアウト変更。EULAフラグと通信アイコンフラグを設定できないようにした。NANDアプリのときにバックアップメモリの選択を自動的に「なし」にするようにした。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@66 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2008-12-09 05:37:26 +00:00
parent 634368dd30
commit 73f4d2d1a2
11 changed files with 461 additions and 537 deletions

View File

@ -403,7 +403,7 @@ private: System::Windows::Forms::Label^ labNormalRomOffset;
private: System::Windows::Forms::TextBox^ tboxNormalRomOffset; private: System::Windows::Forms::TextBox^ tboxNormalRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsSubBanner; private: System::Windows::Forms::CheckBox^ cboxIsSubBanner;
private: System::Windows::Forms::Label^ labKeyTableRomOffset; private: System::Windows::Forms::Label^ labKeyTableRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsWL;
private: System::Windows::Forms::TextBox^ tboxPrivateSize; private: System::Windows::Forms::TextBox^ tboxPrivateSize;
private: System::Windows::Forms::Label^ labPrivateSize; private: System::Windows::Forms::Label^ labPrivateSize;
private: System::Windows::Forms::TextBox^ tboxKeyTableRomOffset; private: System::Windows::Forms::TextBox^ tboxKeyTableRomOffset;
@ -484,8 +484,8 @@ private: System::Windows::Forms::GroupBox^ gboxExFlags;
private: System::Windows::Forms::GroupBox^ gboxEULA;
private: System::Windows::Forms::GroupBox^ gboxIcon;
private: System::Windows::Forms::GroupBox^ gboxParental; private: System::Windows::Forms::GroupBox^ gboxParental;
private: System::Windows::Forms::TextBox^ tboxGuideRomInfo; private: System::Windows::Forms::TextBox^ tboxGuideRomInfo;
private: System::Windows::Forms::TextBox^ tboxGuideTWLInfo; private: System::Windows::Forms::TextBox^ tboxGuideTWLInfo;
@ -563,12 +563,12 @@ private: System::Windows::Forms::TextBox^ tboxAppType;
private: System::Windows::Forms::TextBox^ tboxMedia; private: System::Windows::Forms::TextBox^ tboxMedia;
private: System::Windows::Forms::Label^ labProductNameLimit; private: System::Windows::Forms::Label^ labProductNameLimit;
private: System::Windows::Forms::Label^ labProductNameLimitForeign; private: System::Windows::Forms::Label^ labProductNameLimitForeign;
private: System::Windows::Forms::RadioButton^ rIsWiFiIcon;
private: System::Windows::Forms::RadioButton^ rIsWirelessIcon;
private: System::Windows::Forms::RadioButton^ rIsNoIcon;
@ -607,6 +607,17 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnBegin; private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnBegin;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnEnd; private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnEnd;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause; private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
private: System::Windows::Forms::GroupBox^ gboxLaunch;
private: System::Windows::Forms::Label^ labConnectIcon;
private: System::Windows::Forms::TextBox^ tboxConnectIcon;
private: System::Windows::Forms::Label^ labIsGameCardOn2;
@ -951,19 +962,19 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->labHex3 = (gcnew System::Windows::Forms::Label()); this->labHex3 = (gcnew System::Windows::Forms::Label());
this->tboxIsCodec = (gcnew System::Windows::Forms::TextBox()); this->tboxIsCodec = (gcnew System::Windows::Forms::TextBox());
this->labIsCodec = (gcnew System::Windows::Forms::Label()); this->labIsCodec = (gcnew System::Windows::Forms::Label());
this->tboxPrivateSize = (gcnew System::Windows::Forms::TextBox());
this->labPrivateSize = (gcnew System::Windows::Forms::Label());
this->labNormalRomOffset = (gcnew System::Windows::Forms::Label()); this->labNormalRomOffset = (gcnew System::Windows::Forms::Label());
this->tboxNormalRomOffset = (gcnew System::Windows::Forms::TextBox()); this->tboxNormalRomOffset = (gcnew System::Windows::Forms::TextBox());
this->labKeyTableRomOffset = (gcnew System::Windows::Forms::Label()); this->labKeyTableRomOffset = (gcnew System::Windows::Forms::Label());
this->tboxPrivateSize = (gcnew System::Windows::Forms::TextBox());
this->labPrivateSize = (gcnew System::Windows::Forms::Label());
this->tboxKeyTableRomOffset = (gcnew System::Windows::Forms::TextBox());
this->labPublicSize = (gcnew System::Windows::Forms::Label()); this->labPublicSize = (gcnew System::Windows::Forms::Label());
this->tboxPublicSize = (gcnew System::Windows::Forms::TextBox()); this->tboxPublicSize = (gcnew System::Windows::Forms::TextBox());
this->tboxKeyTableRomOffset = (gcnew System::Windows::Forms::TextBox());
this->cboxIsSubBanner = (gcnew System::Windows::Forms::CheckBox()); this->cboxIsSubBanner = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsWL = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsNormalJump = (gcnew System::Windows::Forms::CheckBox()); this->cboxIsNormalJump = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsTmpJump = (gcnew System::Windows::Forms::CheckBox()); this->cboxIsTmpJump = (gcnew System::Windows::Forms::CheckBox());
this->gboxAccess = (gcnew System::Windows::Forms::GroupBox()); this->gboxAccess = (gcnew System::Windows::Forms::GroupBox());
this->labIsGameCardOn2 = (gcnew System::Windows::Forms::Label());
this->labAccessOther = (gcnew System::Windows::Forms::Label()); this->labAccessOther = (gcnew System::Windows::Forms::Label());
this->tboxAccessOther = (gcnew System::Windows::Forms::TextBox()); this->tboxAccessOther = (gcnew System::Windows::Forms::TextBox());
this->tboxIsGameCardOn = (gcnew System::Windows::Forms::TextBox()); this->tboxIsGameCardOn = (gcnew System::Windows::Forms::TextBox());
@ -1007,6 +1018,9 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->colLibName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn()); this->colLibName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->tboxGuideRomInfo = (gcnew System::Windows::Forms::TextBox()); this->tboxGuideRomInfo = (gcnew System::Windows::Forms::TextBox());
this->tabTWLInfo = (gcnew System::Windows::Forms::TabPage()); this->tabTWLInfo = (gcnew System::Windows::Forms::TabPage());
this->gboxLaunch = (gcnew System::Windows::Forms::GroupBox());
this->labConnectIcon = (gcnew System::Windows::Forms::Label());
this->tboxConnectIcon = (gcnew System::Windows::Forms::TextBox());
this->tboxGuideTWLInfo = (gcnew System::Windows::Forms::TextBox()); this->tboxGuideTWLInfo = (gcnew System::Windows::Forms::TextBox());
this->gboxExFlags = (gcnew System::Windows::Forms::GroupBox()); this->gboxExFlags = (gcnew System::Windows::Forms::GroupBox());
this->tabRomEditInfo = (gcnew System::Windows::Forms::TabPage()); this->tabRomEditInfo = (gcnew System::Windows::Forms::TabPage());
@ -1016,11 +1030,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->butSetBack = (gcnew System::Windows::Forms::Button()); this->butSetBack = (gcnew System::Windows::Forms::Button());
this->tboxGuideRomEditInfo = (gcnew System::Windows::Forms::TextBox()); this->tboxGuideRomEditInfo = (gcnew System::Windows::Forms::TextBox());
this->gboxParental = (gcnew System::Windows::Forms::GroupBox()); this->gboxParental = (gcnew System::Windows::Forms::GroupBox());
this->gboxIcon = (gcnew System::Windows::Forms::GroupBox());
this->rIsNoIcon = (gcnew System::Windows::Forms::RadioButton());
this->rIsWiFiIcon = (gcnew System::Windows::Forms::RadioButton());
this->rIsWirelessIcon = (gcnew System::Windows::Forms::RadioButton());
this->gboxEULA = (gcnew System::Windows::Forms::GroupBox());
this->tabSubmitInfo = (gcnew System::Windows::Forms::TabPage()); this->tabSubmitInfo = (gcnew System::Windows::Forms::TabPage());
this->labProductNameLimit = (gcnew System::Windows::Forms::Label()); this->labProductNameLimit = (gcnew System::Windows::Forms::Label());
this->tboxGuideSubmitInfo = (gcnew System::Windows::Forms::TextBox()); this->tboxGuideSubmitInfo = (gcnew System::Windows::Forms::TextBox());
@ -1065,12 +1074,11 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->tabRomInfo->SuspendLayout(); this->tabRomInfo->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->BeginInit(); (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->BeginInit();
this->tabTWLInfo->SuspendLayout(); this->tabTWLInfo->SuspendLayout();
this->gboxLaunch->SuspendLayout();
this->gboxExFlags->SuspendLayout(); this->gboxExFlags->SuspendLayout();
this->tabRomEditInfo->SuspendLayout(); this->tabRomEditInfo->SuspendLayout();
this->gboxOtherSpec->SuspendLayout(); this->gboxOtherSpec->SuspendLayout();
this->gboxParental->SuspendLayout(); this->gboxParental->SuspendLayout();
this->gboxIcon->SuspendLayout();
this->gboxEULA->SuspendLayout();
this->tabSubmitInfo->SuspendLayout(); this->tabSubmitInfo->SuspendLayout();
this->gboxForeign->SuspendLayout(); this->gboxForeign->SuspendLayout();
this->tabCompanyInfo->SuspendLayout(); this->tabCompanyInfo->SuspendLayout();
@ -1950,14 +1958,14 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->gboxTWLExInfo->Controls->Add(this->labHex3); this->gboxTWLExInfo->Controls->Add(this->labHex3);
this->gboxTWLExInfo->Controls->Add(this->tboxIsCodec); this->gboxTWLExInfo->Controls->Add(this->tboxIsCodec);
this->gboxTWLExInfo->Controls->Add(this->labIsCodec); this->gboxTWLExInfo->Controls->Add(this->labIsCodec);
this->gboxTWLExInfo->Controls->Add(this->tboxPrivateSize);
this->gboxTWLExInfo->Controls->Add(this->labPrivateSize);
this->gboxTWLExInfo->Controls->Add(this->labNormalRomOffset); this->gboxTWLExInfo->Controls->Add(this->labNormalRomOffset);
this->gboxTWLExInfo->Controls->Add(this->tboxNormalRomOffset); this->gboxTWLExInfo->Controls->Add(this->tboxNormalRomOffset);
this->gboxTWLExInfo->Controls->Add(this->labKeyTableRomOffset); this->gboxTWLExInfo->Controls->Add(this->labKeyTableRomOffset);
this->gboxTWLExInfo->Controls->Add(this->tboxPrivateSize);
this->gboxTWLExInfo->Controls->Add(this->labPrivateSize);
this->gboxTWLExInfo->Controls->Add(this->tboxKeyTableRomOffset);
this->gboxTWLExInfo->Controls->Add(this->labPublicSize); this->gboxTWLExInfo->Controls->Add(this->labPublicSize);
this->gboxTWLExInfo->Controls->Add(this->tboxPublicSize); this->gboxTWLExInfo->Controls->Add(this->tboxPublicSize);
this->gboxTWLExInfo->Controls->Add(this->tboxKeyTableRomOffset);
resources->ApplyResources(this->gboxTWLExInfo, L"gboxTWLExInfo"); resources->ApplyResources(this->gboxTWLExInfo, L"gboxTWLExInfo");
this->gboxTWLExInfo->Name = L"gboxTWLExInfo"; this->gboxTWLExInfo->Name = L"gboxTWLExInfo";
this->gboxTWLExInfo->TabStop = false; this->gboxTWLExInfo->TabStop = false;
@ -1988,6 +1996,17 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
resources->ApplyResources(this->labIsCodec, L"labIsCodec"); resources->ApplyResources(this->labIsCodec, L"labIsCodec");
this->labIsCodec->Name = L"labIsCodec"; this->labIsCodec->Name = L"labIsCodec";
// //
// tboxPrivateSize
//
resources->ApplyResources(this->tboxPrivateSize, L"tboxPrivateSize");
this->tboxPrivateSize->Name = L"tboxPrivateSize";
this->tboxPrivateSize->ReadOnly = true;
//
// labPrivateSize
//
resources->ApplyResources(this->labPrivateSize, L"labPrivateSize");
this->labPrivateSize->Name = L"labPrivateSize";
//
// labNormalRomOffset // labNormalRomOffset
// //
resources->ApplyResources(this->labNormalRomOffset, L"labNormalRomOffset"); resources->ApplyResources(this->labNormalRomOffset, L"labNormalRomOffset");
@ -2004,23 +2023,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
resources->ApplyResources(this->labKeyTableRomOffset, L"labKeyTableRomOffset"); resources->ApplyResources(this->labKeyTableRomOffset, L"labKeyTableRomOffset");
this->labKeyTableRomOffset->Name = L"labKeyTableRomOffset"; this->labKeyTableRomOffset->Name = L"labKeyTableRomOffset";
// //
// tboxPrivateSize
//
resources->ApplyResources(this->tboxPrivateSize, L"tboxPrivateSize");
this->tboxPrivateSize->Name = L"tboxPrivateSize";
this->tboxPrivateSize->ReadOnly = true;
//
// labPrivateSize
//
resources->ApplyResources(this->labPrivateSize, L"labPrivateSize");
this->labPrivateSize->Name = L"labPrivateSize";
//
// tboxKeyTableRomOffset
//
resources->ApplyResources(this->tboxKeyTableRomOffset, L"tboxKeyTableRomOffset");
this->tboxKeyTableRomOffset->Name = L"tboxKeyTableRomOffset";
this->tboxKeyTableRomOffset->ReadOnly = true;
//
// labPublicSize // labPublicSize
// //
resources->ApplyResources(this->labPublicSize, L"labPublicSize"); resources->ApplyResources(this->labPublicSize, L"labPublicSize");
@ -2032,18 +2034,18 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->tboxPublicSize->Name = L"tboxPublicSize"; this->tboxPublicSize->Name = L"tboxPublicSize";
this->tboxPublicSize->ReadOnly = true; this->tboxPublicSize->ReadOnly = true;
// //
// tboxKeyTableRomOffset
//
resources->ApplyResources(this->tboxKeyTableRomOffset, L"tboxKeyTableRomOffset");
this->tboxKeyTableRomOffset->Name = L"tboxKeyTableRomOffset";
this->tboxKeyTableRomOffset->ReadOnly = true;
//
// cboxIsSubBanner // cboxIsSubBanner
// //
resources->ApplyResources(this->cboxIsSubBanner, L"cboxIsSubBanner"); resources->ApplyResources(this->cboxIsSubBanner, L"cboxIsSubBanner");
this->cboxIsSubBanner->Name = L"cboxIsSubBanner"; this->cboxIsSubBanner->Name = L"cboxIsSubBanner";
this->cboxIsSubBanner->UseVisualStyleBackColor = true; this->cboxIsSubBanner->UseVisualStyleBackColor = true;
// //
// cboxIsWL
//
resources->ApplyResources(this->cboxIsWL, L"cboxIsWL");
this->cboxIsWL->Name = L"cboxIsWL";
this->cboxIsWL->UseVisualStyleBackColor = true;
//
// cboxIsNormalJump // cboxIsNormalJump
// //
resources->ApplyResources(this->cboxIsNormalJump, L"cboxIsNormalJump"); resources->ApplyResources(this->cboxIsNormalJump, L"cboxIsNormalJump");
@ -2058,6 +2060,7 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
// //
// gboxAccess // gboxAccess
// //
this->gboxAccess->Controls->Add(this->labIsGameCardOn2);
this->gboxAccess->Controls->Add(this->labAccessOther); this->gboxAccess->Controls->Add(this->labAccessOther);
this->gboxAccess->Controls->Add(this->tboxAccessOther); this->gboxAccess->Controls->Add(this->tboxAccessOther);
this->gboxAccess->Controls->Add(this->tboxIsGameCardOn); this->gboxAccess->Controls->Add(this->tboxIsGameCardOn);
@ -2068,6 +2071,11 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->gboxAccess->Name = L"gboxAccess"; this->gboxAccess->Name = L"gboxAccess";
this->gboxAccess->TabStop = false; this->gboxAccess->TabStop = false;
// //
// labIsGameCardOn2
//
resources->ApplyResources(this->labIsGameCardOn2, L"labIsGameCardOn2");
this->labIsGameCardOn2->Name = L"labIsGameCardOn2";
//
// labAccessOther // labAccessOther
// //
resources->ApplyResources(this->labAccessOther, L"labAccessOther"); resources->ApplyResources(this->labAccessOther, L"labAccessOther");
@ -2365,6 +2373,7 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
// //
// tabTWLInfo // tabTWLInfo
// //
this->tabTWLInfo->Controls->Add(this->gboxLaunch);
this->tabTWLInfo->Controls->Add(this->tboxGuideTWLInfo); this->tabTWLInfo->Controls->Add(this->tboxGuideTWLInfo);
this->tabTWLInfo->Controls->Add(this->gboxExFlags); this->tabTWLInfo->Controls->Add(this->gboxExFlags);
this->tabTWLInfo->Controls->Add(this->gboxShared2Size); this->tabTWLInfo->Controls->Add(this->gboxShared2Size);
@ -2375,6 +2384,26 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->tabTWLInfo->Name = L"tabTWLInfo"; this->tabTWLInfo->Name = L"tabTWLInfo";
this->tabTWLInfo->UseVisualStyleBackColor = true; this->tabTWLInfo->UseVisualStyleBackColor = true;
// //
// gboxLaunch
//
this->gboxLaunch->Controls->Add(this->labConnectIcon);
this->gboxLaunch->Controls->Add(this->tboxConnectIcon);
this->gboxLaunch->Controls->Add(this->cboxIsEULA);
resources->ApplyResources(this->gboxLaunch, L"gboxLaunch");
this->gboxLaunch->Name = L"gboxLaunch";
this->gboxLaunch->TabStop = false;
//
// labConnectIcon
//
resources->ApplyResources(this->labConnectIcon, L"labConnectIcon");
this->labConnectIcon->Name = L"labConnectIcon";
//
// tboxConnectIcon
//
resources->ApplyResources(this->tboxConnectIcon, L"tboxConnectIcon");
this->tboxConnectIcon->Name = L"tboxConnectIcon";
this->tboxConnectIcon->ReadOnly = true;
//
// tboxGuideTWLInfo // tboxGuideTWLInfo
// //
this->tboxGuideTWLInfo->BackColor = System::Drawing::SystemColors::Info; this->tboxGuideTWLInfo->BackColor = System::Drawing::SystemColors::Info;
@ -2386,7 +2415,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
// //
this->gboxExFlags->Controls->Add(this->cboxIsNormalJump); this->gboxExFlags->Controls->Add(this->cboxIsNormalJump);
this->gboxExFlags->Controls->Add(this->cboxIsTmpJump); this->gboxExFlags->Controls->Add(this->cboxIsTmpJump);
this->gboxExFlags->Controls->Add(this->cboxIsWL);
this->gboxExFlags->Controls->Add(this->cboxIsSubBanner); this->gboxExFlags->Controls->Add(this->cboxIsSubBanner);
resources->ApplyResources(this->gboxExFlags, L"gboxExFlags"); resources->ApplyResources(this->gboxExFlags, L"gboxExFlags");
this->gboxExFlags->Name = L"gboxExFlags"; this->gboxExFlags->Name = L"gboxExFlags";
@ -2398,8 +2426,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->tabRomEditInfo->Controls->Add(this->butSetBack); this->tabRomEditInfo->Controls->Add(this->butSetBack);
this->tabRomEditInfo->Controls->Add(this->tboxGuideRomEditInfo); this->tabRomEditInfo->Controls->Add(this->tboxGuideRomEditInfo);
this->tabRomEditInfo->Controls->Add(this->gboxParental); this->tabRomEditInfo->Controls->Add(this->gboxParental);
this->tabRomEditInfo->Controls->Add(this->gboxIcon);
this->tabRomEditInfo->Controls->Add(this->gboxEULA);
resources->ApplyResources(this->tabRomEditInfo, L"tabRomEditInfo"); resources->ApplyResources(this->tabRomEditInfo, L"tabRomEditInfo");
this->tabRomEditInfo->Name = L"tabRomEditInfo"; this->tabRomEditInfo->Name = L"tabRomEditInfo";
this->tabRomEditInfo->UseVisualStyleBackColor = true; this->tabRomEditInfo->UseVisualStyleBackColor = true;
@ -2461,42 +2487,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->gboxParental->Name = L"gboxParental"; this->gboxParental->Name = L"gboxParental";
this->gboxParental->TabStop = false; this->gboxParental->TabStop = false;
// //
// gboxIcon
//
this->gboxIcon->Controls->Add(this->rIsNoIcon);
this->gboxIcon->Controls->Add(this->rIsWiFiIcon);
this->gboxIcon->Controls->Add(this->rIsWirelessIcon);
resources->ApplyResources(this->gboxIcon, L"gboxIcon");
this->gboxIcon->Name = L"gboxIcon";
this->gboxIcon->TabStop = false;
//
// rIsNoIcon
//
resources->ApplyResources(this->rIsNoIcon, L"rIsNoIcon");
this->rIsNoIcon->Checked = true;
this->rIsNoIcon->Name = L"rIsNoIcon";
this->rIsNoIcon->TabStop = true;
this->rIsNoIcon->UseVisualStyleBackColor = true;
//
// rIsWiFiIcon
//
resources->ApplyResources(this->rIsWiFiIcon, L"rIsWiFiIcon");
this->rIsWiFiIcon->Name = L"rIsWiFiIcon";
this->rIsWiFiIcon->UseVisualStyleBackColor = true;
//
// rIsWirelessIcon
//
resources->ApplyResources(this->rIsWirelessIcon, L"rIsWirelessIcon");
this->rIsWirelessIcon->Name = L"rIsWirelessIcon";
this->rIsWirelessIcon->UseVisualStyleBackColor = true;
//
// gboxEULA
//
this->gboxEULA->Controls->Add(this->cboxIsEULA);
resources->ApplyResources(this->gboxEULA, L"gboxEULA");
this->gboxEULA->Name = L"gboxEULA";
this->gboxEULA->TabStop = false;
//
// tabSubmitInfo // tabSubmitInfo
// //
this->tabSubmitInfo->Controls->Add(this->labProductNameLimit); this->tabSubmitInfo->Controls->Add(this->labProductNameLimit);
@ -2790,6 +2780,8 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->EndInit(); (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->EndInit();
this->tabTWLInfo->ResumeLayout(false); this->tabTWLInfo->ResumeLayout(false);
this->tabTWLInfo->PerformLayout(); this->tabTWLInfo->PerformLayout();
this->gboxLaunch->ResumeLayout(false);
this->gboxLaunch->PerformLayout();
this->gboxExFlags->ResumeLayout(false); this->gboxExFlags->ResumeLayout(false);
this->gboxExFlags->PerformLayout(); this->gboxExFlags->PerformLayout();
this->tabRomEditInfo->ResumeLayout(false); this->tabRomEditInfo->ResumeLayout(false);
@ -2798,10 +2790,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
this->gboxOtherSpec->PerformLayout(); this->gboxOtherSpec->PerformLayout();
this->gboxParental->ResumeLayout(false); this->gboxParental->ResumeLayout(false);
this->gboxParental->PerformLayout(); this->gboxParental->PerformLayout();
this->gboxIcon->ResumeLayout(false);
this->gboxIcon->PerformLayout();
this->gboxEULA->ResumeLayout(false);
this->gboxEULA->PerformLayout();
this->tabSubmitInfo->ResumeLayout(false); this->tabSubmitInfo->ResumeLayout(false);
this->tabSubmitInfo->PerformLayout(); this->tabSubmitInfo->PerformLayout();
this->gboxForeign->ResumeLayout(false); this->gboxForeign->ResumeLayout(false);
@ -2916,9 +2904,6 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
void readOnly( void ) void readOnly( void )
{ {
this->cboxIsEULA->Enabled = false; this->cboxIsEULA->Enabled = false;
this->rIsWirelessIcon->Enabled = false;
this->rIsWiFiIcon->Enabled = false;
this->rIsNoIcon->Enabled = false;
this->cboxIsUGC->Enabled = false; this->cboxIsUGC->Enabled = false;
this->cboxIsPhotoEx->Enabled = false; this->cboxIsPhotoEx->Enabled = false;
@ -2974,8 +2959,8 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
// SRLのROM情報をフォームに反映させる(ファイルが読み込まれていることが前提) // SRLのROM情報をフォームに反映させる(ファイルが読み込まれていることが前提)
void setSrlForms(void); void setSrlForms(void);
// SRLの特殊な設定をフォームにセットする(言語切り替えで表示を変えたいので独立させる) // ROM情報のうちテキストボックスを更新する(言語切り替えで表示を変えたいので独立させる)
void setSrlFormsCaptionEx(); void setSrlFormsTextBox();
// フォームの入力をチェックする // フォームの入力をチェックする
System::Boolean checkSrlForms(void); System::Boolean checkSrlForms(void);
@ -3623,25 +3608,14 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
return; return;
// 編集可能情報を読み込み時の設定に戻す // 編集可能情報を読み込み時の設定に戻す
this->cboxIsEULA->Checked = this->hSrl->IsEULA;
if( ( this->hSrl->IsWiFiIcon && this->hSrl->IsWirelessIcon) ||
(!this->hSrl->IsWiFiIcon && !this->hSrl->IsWirelessIcon) )
{
this->rIsNoIcon->Checked = true;
}
else if( this->hSrl->IsWiFiIcon && !this->hSrl->IsWirelessIcon )
{
this->rIsWiFiIcon->Checked = true;
}
else
{
this->rIsWirelessIcon->Checked = true;
}
this->setRegionForms(); this->setRegionForms();
this->setParentalForms(); this->setParentalForms();
this->loadOtherForms(); // SRLに登録されていないROM仕様のフォームも戻す this->loadOtherForms(); // SRLに登録されていないROM仕様のフォームも戻す
} }
}; // enf of ref class Form1 }; // enf of ref class Form1
} // end of namespace MasterEditorTWL } // end of namespace MasterEditorTWL

View File

@ -341,10 +341,10 @@
<value>リージョン</value> <value>リージョン</value>
</data> </data>
<data name="cboxIsEULA.Size" type="System.Drawing.Size, System.Drawing"> <data name="cboxIsEULA.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 16</value> <value>213, 16</value>
</data> </data>
<data name="cboxIsEULA.Text" xml:space="preserve"> <data name="cboxIsEULA.Text" xml:space="preserve">
<value>EULAへの同意を必要とする</value> <value>EULA(利用規約)への同意を必要とする</value>
</data> </data>
<data name="combRegion.Items" xml:space="preserve"> <data name="combRegion.Items" xml:space="preserve">
<value>日本のみ</value> <value>日本のみ</value>
@ -589,12 +589,6 @@
<data name="cboxIsSubBanner.Text" xml:space="preserve"> <data name="cboxIsSubBanner.Text" xml:space="preserve">
<value>サブバナーファイル有効</value> <value>サブバナーファイル有効</value>
</data> </data>
<data name="cboxIsWL.Size" type="System.Drawing.Size, System.Drawing">
<value>155, 16</value>
</data>
<data name="cboxIsWL.Text" xml:space="preserve">
<value>NTRホワイトリスト署名有効</value>
</data>
<data name="cboxIsNormalJump.Size" type="System.Drawing.Size, System.Drawing"> <data name="cboxIsNormalJump.Size" type="System.Drawing.Size, System.Drawing">
<value>121, 16</value> <value>121, 16</value>
</data> </data>
@ -607,6 +601,12 @@
<data name="cboxIsTmpJump.Text" xml:space="preserve"> <data name="cboxIsTmpJump.Text" xml:space="preserve">
<value>tmpジャンプ許可</value> <value>tmpジャンプ許可</value>
</data> </data>
<data name="labIsGameCardOn2.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 12</value>
</data>
<data name="labIsGameCardOn2.Text" xml:space="preserve">
<value>(NANDアプリからの)</value>
</data>
<data name="labAccessOther.Size" type="System.Drawing.Size, System.Drawing"> <data name="labAccessOther.Size" type="System.Drawing.Size, System.Drawing">
<value>36, 12</value> <value>36, 12</value>
</data> </data>
@ -614,10 +614,10 @@
<value>その他</value> <value>その他</value>
</data> </data>
<data name="labIsGameCardOn.Size" type="System.Drawing.Size, System.Drawing"> <data name="labIsGameCardOn.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 12</value> <value>99, 12</value>
</data> </data>
<data name="labIsGameCardOn.Text" xml:space="preserve"> <data name="labIsGameCardOn.Text" xml:space="preserve">
<value>ゲームカード電源</value> <value>ゲームカードアクセス</value>
</data> </data>
<data name="cboxIsNAND.Size" type="System.Drawing.Size, System.Drawing"> <data name="cboxIsNAND.Size" type="System.Drawing.Size, System.Drawing">
<value>121, 16</value> <value>121, 16</value>
@ -706,6 +706,12 @@
<data name="tabRomInfo.Text" xml:space="preserve"> <data name="tabRomInfo.Text" xml:space="preserve">
<value>ROM基本情報(確認用)</value> <value>ROM基本情報(確認用)</value>
</data> </data>
<data name="labConnectIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 12</value>
</data>
<data name="labConnectIcon.Text" xml:space="preserve">
<value>DSiメニュー上での通信アイコン表示</value>
</data>
<data name="tboxGuideTWLInfo.Text" xml:space="preserve"> <data name="tboxGuideTWLInfo.Text" xml:space="preserve">
<value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。</value> <value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。</value>
</data> </data>
@ -739,30 +745,6 @@
<data name="gboxParental.Text" xml:space="preserve"> <data name="gboxParental.Text" xml:space="preserve">
<value>リージョンとレーティング情報</value> <value>リージョンとレーティング情報</value>
</data> </data>
<data name="rIsNoIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>144, 16</value>
</data>
<data name="rIsNoIcon.Text" xml:space="preserve">
<value>通信アイコンを表示しない</value>
</data>
<data name="rIsWiFiIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>134, 16</value>
</data>
<data name="rIsWiFiIcon.Text" xml:space="preserve">
<value>Wi-Fi通信アイコン表示</value>
</data>
<data name="rIsWirelessIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>167, 16</value>
</data>
<data name="rIsWirelessIcon.Text" xml:space="preserve">
<value>DSワイヤレス通信アイコン表示</value>
</data>
<data name="gboxIcon.Text" xml:space="preserve">
<value>メニュー上での通信アイコン表示</value>
</data>
<data name="gboxEULA.Text" xml:space="preserve">
<value>EULA(利用規約)</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve"> <data name="tabRomEditInfo.Text" xml:space="preserve">
<value>ROM登録情報(編集可)</value> <value>ROM登録情報(編集可)</value>
</data> </data>

View File

@ -39,13 +39,6 @@ void Form1::changeJapanese(void)
this->changeMaxLength( this->tboxPerson1, 15 ); this->changeMaxLength( this->tboxPerson1, 15 );
this->changeLanguage( "ja" ); this->changeLanguage( "ja" );
// 特殊な設定用のテキストボックスの表記を変更
this->setSrlFormsCaptionEx();
// 複数行表示の改行を挿入
this->tboxGuideRomEditInfo->Text = this->tboxGuideRomEditInfo->Text->Replace( "<newline>", "\r\n" );
this->tboxGuideErrorInfo->Text = this->tboxGuideErrorInfo->Text->Replace( "<newline>", "\r\n" );
} }
// 英語版への切り替え // 英語版への切り替え
@ -56,11 +49,6 @@ void Form1::changeEnglish(void)
this->changeMaxLength( this->tboxPerson1, 30 ); this->changeMaxLength( this->tboxPerson1, 30 );
this->changeLanguage( "en" ); this->changeLanguage( "en" );
this->setSrlFormsCaptionEx();
this->tboxGuideRomEditInfo->Text = this->tboxGuideRomEditInfo->Text->Replace( "<newline>", "\r\n" );
this->tboxGuideErrorInfo->Text = this->tboxGuideErrorInfo->Text->Replace( "<newline>", "\r\n" );
} }
// 言語リソース切り替え // 言語リソース切り替え
@ -298,7 +286,6 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->labPublicSize, L"labPublicSize"); resources->ApplyResources(this->labPublicSize, L"labPublicSize");
resources->ApplyResources(this->tboxPublicSize, L"tboxPublicSize"); resources->ApplyResources(this->tboxPublicSize, L"tboxPublicSize");
resources->ApplyResources(this->cboxIsSubBanner, L"cboxIsSubBanner"); resources->ApplyResources(this->cboxIsSubBanner, L"cboxIsSubBanner");
resources->ApplyResources(this->cboxIsWL, L"cboxIsWL");
resources->ApplyResources(this->cboxIsNormalJump, L"cboxIsNormalJump"); resources->ApplyResources(this->cboxIsNormalJump, L"cboxIsNormalJump");
resources->ApplyResources(this->cboxIsTmpJump, L"cboxIsTmpJump"); resources->ApplyResources(this->cboxIsTmpJump, L"cboxIsTmpJump");
resources->ApplyResources(this->gboxAccess, L"gboxAccess"); resources->ApplyResources(this->gboxAccess, L"gboxAccess");
@ -306,6 +293,7 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->tboxAccessOther, L"tboxAccessOther"); resources->ApplyResources(this->tboxAccessOther, L"tboxAccessOther");
resources->ApplyResources(this->tboxIsGameCardOn, L"tboxIsGameCardOn"); resources->ApplyResources(this->tboxIsGameCardOn, L"tboxIsGameCardOn");
resources->ApplyResources(this->labIsGameCardOn, L"labIsGameCardOn"); resources->ApplyResources(this->labIsGameCardOn, L"labIsGameCardOn");
resources->ApplyResources(this->labIsGameCardOn2, L"labIsGameCardOn2");
resources->ApplyResources(this->cboxIsNAND, L"cboxIsNAND"); resources->ApplyResources(this->cboxIsNAND, L"cboxIsNAND");
resources->ApplyResources(this->cboxIsSD, L"cboxIsSD"); resources->ApplyResources(this->cboxIsSD, L"cboxIsSD");
resources->ApplyResources(this->gboxTitleID, L"gboxTitleID"); resources->ApplyResources(this->gboxTitleID, L"gboxTitleID");
@ -345,6 +333,8 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->colLibName, L"colLibName"); resources->ApplyResources(this->colLibName, L"colLibName");
resources->ApplyResources(this->tboxGuideRomInfo, L"tboxGuideRomInfo"); resources->ApplyResources(this->tboxGuideRomInfo, L"tboxGuideRomInfo");
resources->ApplyResources(this->tabTWLInfo, L"tabTWLInfo"); resources->ApplyResources(this->tabTWLInfo, L"tabTWLInfo");
resources->ApplyResources(this->gboxLaunch, L"gboxLaunch");
resources->ApplyResources(this->labConnectIcon, L"labConnectIcon");
resources->ApplyResources(this->tboxGuideTWLInfo, L"tboxGuideTWLInfo"); resources->ApplyResources(this->tboxGuideTWLInfo, L"tboxGuideTWLInfo");
resources->ApplyResources(this->gboxExFlags, L"gboxExFlags"); resources->ApplyResources(this->gboxExFlags, L"gboxExFlags");
resources->ApplyResources(this->tabRomEditInfo, L"tabRomEditInfo"); resources->ApplyResources(this->tabRomEditInfo, L"tabRomEditInfo");
@ -354,11 +344,6 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->butSetBack, L"butSetBack"); resources->ApplyResources(this->butSetBack, L"butSetBack");
resources->ApplyResources(this->tboxGuideRomEditInfo, L"tboxGuideRomEditInfo"); resources->ApplyResources(this->tboxGuideRomEditInfo, L"tboxGuideRomEditInfo");
resources->ApplyResources(this->gboxParental, L"gboxParental"); resources->ApplyResources(this->gboxParental, L"gboxParental");
resources->ApplyResources(this->gboxIcon, L"gboxIcon");
resources->ApplyResources(this->rIsNoIcon, L"rIsNoIcon");
resources->ApplyResources(this->rIsWiFiIcon, L"rIsWiFiIcon");
resources->ApplyResources(this->rIsWirelessIcon, L"rIsWirelessIcon");
resources->ApplyResources(this->gboxEULA, L"gboxEULA");
resources->ApplyResources(this->tabSubmitInfo, L"tabSubmitInfo"); resources->ApplyResources(this->tabSubmitInfo, L"tabSubmitInfo");
resources->ApplyResources(this->labProductNameLimit, L"labProductNameLimit"); resources->ApplyResources(this->labProductNameLimit, L"labProductNameLimit");
resources->ApplyResources(this->tboxGuideSubmitInfo, L"tboxGuideSubmitInfo"); resources->ApplyResources(this->tboxGuideSubmitInfo, L"tboxGuideSubmitInfo");
@ -387,6 +372,16 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->colWarnEnd, L"colWarnEnd"); resources->ApplyResources(this->colWarnEnd, L"colWarnEnd");
resources->ApplyResources(this->colWarnCause, L"colWarnCause"); resources->ApplyResources(this->colWarnCause, L"colWarnCause");
resources->ApplyResources(this, L"$this"); resources->ApplyResources(this, L"$this");
// テキストボックスの表記を変更
if( !System::String::IsNullOrEmpty( this->tboxFile->Text ) )
{
this->setSrlFormsTextBox();
}
// 複数行表示の改行を挿入
this->tboxGuideRomEditInfo->Text = this->tboxGuideRomEditInfo->Text->Replace( "<newline>", "\r\n" );
this->tboxGuideErrorInfo->Text = this->tboxGuideErrorInfo->Text->Replace( "<newline>", "\r\n" );
} }
// end of file // end of file

View File

@ -27,11 +27,6 @@ void Form1::setSrlProperties(void)
{ {
// ROMヘッダの[0,0x160)の領域はRead Onlyで変更しない // ROMヘッダの[0,0x160)の領域はRead Onlyで変更しない
// TWL拡張領域のいくつかの情報をROMヘッダに反映させる
this->hSrl->IsEULA = this->cboxIsEULA->Checked;
this->hSrl->IsWiFiIcon = this->rIsWiFiIcon->Checked;
this->hSrl->IsWirelessIcon = this->rIsWirelessIcon->Checked;
// リージョン // リージョン
this->setRegionSrlPropaties(); this->setRegionSrlPropaties();
@ -79,7 +74,6 @@ void Form1::setSrlForms(void)
this->cboxIsNormalJump->Checked = this->hSrl->IsNormalJump; this->cboxIsNormalJump->Checked = this->hSrl->IsNormalJump;
this->cboxIsTmpJump->Checked = this->hSrl->IsTmpJump; this->cboxIsTmpJump->Checked = this->hSrl->IsTmpJump;
this->cboxIsSubBanner->Checked = this->hSrl->IsSubBanner; this->cboxIsSubBanner->Checked = this->hSrl->IsSubBanner;
this->cboxIsWL->Checked = this->hSrl->IsWL;
if( this->hSrl->IsCodecTWL == true ) if( this->hSrl->IsCodecTWL == true )
{ {
this->tboxIsCodec->Text = gcnew System::String( "TWL" ); this->tboxIsCodec->Text = gcnew System::String( "TWL" );
@ -174,8 +168,11 @@ void Form1::setSrlForms(void)
} }
this->tboxAccessOther->Text = acc; this->tboxAccessOther->Text = acc;
// 起動制限
this->cboxIsEULA->Checked = this->hSrl->IsEULA;
// 特殊な設定をテキストボックスに反映 // 特殊な設定をテキストボックスに反映
this->setSrlFormsCaptionEx(); this->setSrlFormsTextBox();
// SDKバージョンとライブラリ // SDKバージョンとライブラリ
this->tboxSDK->Clear(); this->tboxSDK->Clear();
@ -204,31 +201,54 @@ void Form1::setSrlForms(void)
} }
// 編集可能情報 // 編集可能情報
this->cboxIsEULA->Checked = this->hSrl->IsEULA; this->setRegionForms();
if( ( this->hSrl->IsWiFiIcon && this->hSrl->IsWirelessIcon) || this->setParentalForms(); // ペアレンタルコントロール関連
(!this->hSrl->IsWiFiIcon && !this->hSrl->IsWirelessIcon) )
// ROMヘッダには関係ないが
// NANDアプリのときにバックアップメモリを自動的に「なし」にしておく
if( this->hSrl->IsMediaNand )
{ {
this->rIsNoIcon->Checked = true; this->combBackup->SelectedIndex = this->combBackup->Items->Count - 2;
} this->combBackup->Enabled = false;
else if( this->hSrl->IsWiFiIcon && !this->hSrl->IsWirelessIcon )
{
this->rIsWiFiIcon->Checked = true;
} }
else else
{ {
this->rIsWirelessIcon->Checked = true; this->combBackup->Enabled = true;
} }
this->setRegionForms();
this->setParentalForms(); // ペアレンタルコントロール関連
} // setSrlForms() } // setSrlForms()
// SRLの特殊な設定をフォームにセットする(言語切り替えで表示を変えたいので独立させる) // SRLの特殊な設定をフォームにセットする(言語切り替えで表示を変えたいので独立させる)
void Form1::setSrlFormsCaptionEx() void Form1::setSrlFormsTextBox()
{ {
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) ) if( !this->hSrl->IsWiFiIcon && !this->hSrl->IsWirelessIcon )
{ {
return; if( this->isJapanese() )
this->tboxConnectIcon->Text = "アイコンを表示しない";
else
this->tboxConnectIcon->Text = "No Icon";
} }
else if( this->hSrl->IsWiFiIcon && !this->hSrl->IsWirelessIcon )
{
if( this->isJapanese() )
this->tboxConnectIcon->Text = "Wi-Fiコネクションアイコン";
else
this->tboxConnectIcon->Text = "Wi-Fi Connection Icon";
}
else if( !this->hSrl->IsWiFiIcon && this->hSrl->IsWirelessIcon )
{
if( this->isJapanese() )
this->tboxConnectIcon->Text = "ワイヤレス通信アイコン";
else
this->tboxConnectIcon->Text = "Wireless Icon";
}
else
{
if( this->isJapanese() )
this->tboxConnectIcon->Text = "不正な設定";
else
this->tboxConnectIcon->Text = "Illegal Setting";
}
System::String ^appother = gcnew System::String(""); System::String ^appother = gcnew System::String("");
if( !this->hSrl->IsLaunch ) if( !this->hSrl->IsLaunch )
{ {
@ -261,7 +281,7 @@ void Form1::setSrlFormsCaptionEx()
else else
this->tboxCaptionEx->Text += gcnew System::String( "SDFC Register Accessible.\r\n" ); this->tboxCaptionEx->Text += gcnew System::String( "SDFC Register Accessible.\r\n" );
} }
} // setSrlFormsCaptionEx() } // setSrlFormsTextBox()
// フォームの入力をチェックする // フォームの入力をチェックする
System::Boolean Form1::checkSrlForms(void) System::Boolean Form1::checkSrlForms(void)

View File

@ -84,14 +84,6 @@ System::Void Form1::saveTmp( System::String ^filename )
MasterEditorTWL::appendXmlTag( doc, form, "Mail2", this->tboxMail2->Text ); MasterEditorTWL::appendXmlTag( doc, form, "Mail2", this->tboxMail2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "NTSC2", this->tboxNTSC2->Text ); MasterEditorTWL::appendXmlTag( doc, form, "NTSC2", this->tboxNTSC2->Text );
if( this->rIsWirelessIcon->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "DisplayIcon", "Wireless" );
else if( this->rIsWiFiIcon->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "DisplayIcon", "WiFi" );
else
MasterEditorTWL::appendXmlTag( doc, form, "DisplayIcon", "None" );
MasterEditorTWL::appendXmlTag( doc, form, "IsEULA", (this->cboxIsEULA->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "Region", this->combRegion->SelectedIndex.ToString() ); MasterEditorTWL::appendXmlTag( doc, form, "Region", this->combRegion->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingCERO", this->combCERO->SelectedIndex.ToString() ); MasterEditorTWL::appendXmlTag( doc, form, "RatingCERO", this->combCERO->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingESRB", this->combESRB->SelectedIndex.ToString() ); MasterEditorTWL::appendXmlTag( doc, form, "RatingESRB", this->combESRB->SelectedIndex.ToString() );
@ -159,9 +151,10 @@ void Form1::loadTmp( System::String ^filename )
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode1", this->tboxProductCode1 ); this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode1", this->tboxProductCode1 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2", this->tboxProductCode2 ); this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2", this->tboxProductCode2 );
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitVersion", this->numSubmitVersion ); this->parseTmp( root, "/MasterEditorTWL/Form/SubmitVersion", this->numSubmitVersion );
this->parseTmp( root, "/MasterEditorTWL/Form/Backup", this->combBackup );
this->parseTmp( root, "/MasterEditorTWL/Form/ReleaseDate", this->dateRelease ); this->parseTmp( root, "/MasterEditorTWL/Form/ReleaseDate", this->dateRelease );
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitDate", this->dateSubmit ); this->parseTmp( root, "/MasterEditorTWL/Form/SubmitDate", this->dateSubmit );
this->parseTmp( root, "/MasterEditorTWL/Form/Backup", this->combBackup );
this->combBackup->Enabled = true;
this->tboxBackupOther->Enabled = false; this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Clear(); this->tboxBackupOther->Clear();
@ -234,11 +227,6 @@ void Form1::loadTmp( System::String ^filename )
this->parseTmp( root, "/MasterEditorTWL/Form/Mail2", this->tboxMail2 ); this->parseTmp( root, "/MasterEditorTWL/Form/Mail2", this->tboxMail2 );
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC2", this->tboxNTSC2 ); this->parseTmp( root, "/MasterEditorTWL/Form/NTSC2", this->tboxNTSC2 );
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rIsWirelessIcon, this->rIsWiFiIcon, this->rIsNoIcon};
strs = gcnew cli::array<System::String^>{"Wireless","WiFi","None"};
this->parseTmp( root, "/MasterEditorTWL/Form/DisplayIcon", rbuts, strs );
this->parseTmp( root, "/MasterEditorTWL/Form/IsEULA", this->cboxIsEULA );
this->parseTmp( root, "/MasterEditorTWL/Form/Region", this->combRegion ); this->parseTmp( root, "/MasterEditorTWL/Form/Region", this->combRegion );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingCERO", this->combCERO ); this->parseTmp( root, "/MasterEditorTWL/Form/RatingCERO", this->combCERO );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingESRB", this->combESRB ); this->parseTmp( root, "/MasterEditorTWL/Form/RatingESRB", this->combESRB );

View File

@ -1420,14 +1420,24 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
} }
} }
if( this->IsWL )
{
this->hErrorList->Add( gcnew RCMrcError(
"TWL拡張諸フラグ", 0x1bf, 0x1bf,
"本来、立つはずのないフラグが立てられています。ビルド時の設定をご確認ください。",
"TWL Extended Flag",
"Unavailable flag is set. Please check building option.",
false, true ) );
}
if( this->IsWiFiIcon && this->IsWirelessIcon ) if( this->IsWiFiIcon && this->IsWirelessIcon )
{ {
this->hErrorList->Add( gcnew RCMrcError( this->hErrorList->Add( gcnew RCMrcError(
"アイコン表示フラグ", 0x1bf, 0x1bf, "アイコン表示フラグ", 0x1bf, 0x1bf,
"ワイヤレス通信アイコンとWi-Fi通信アイコンは同時に表示できません。設定を無視して読み込みます。", "ワイヤレス通信アイコンとWi-Fi通信アイコンは同時に表示できません。",
"Icon Displaying", "Icon Displaying Flag",
"Icon displayed on menu is either Wireless Icon or Wi-Fi Icon. This setting was ignored in reading.", "Icon displayed on menu is either Wireless Icon or Wi-Fi Connection Icon.",
true, true ) ); // 修正可能 false, true ) );
} }
if( !this->IsMediaNand ) // カードアプリのときのみ if( !this->IsMediaNand ) // カードアプリのときのみ

View File

@ -298,12 +298,12 @@ namespace MasterEditorTWL
property System::Boolean IsOldDevEncrypt; // 旧開発用暗号フラグが立っている property System::Boolean IsOldDevEncrypt; // 旧開発用暗号フラグが立っている
property System::Boolean IsSCFGAccess; // SCFGレジスタをロックしている property System::Boolean IsSCFGAccess; // SCFGレジスタをロックしている
// TWL拡張フラグ 一部編集可能 // TWL拡張フラグ Read Only
property System::Boolean IsCodecTWL; property System::Boolean IsCodecTWL;
property System::Boolean IsEULA; // 編集可能 property System::Boolean IsEULA;
property System::Boolean IsSubBanner; property System::Boolean IsSubBanner;
property System::Boolean IsWiFiIcon; // 編集可能 property System::Boolean IsWiFiIcon;
property System::Boolean IsWirelessIcon; // 編集可能 property System::Boolean IsWirelessIcon;
property System::Boolean IsWL; property System::Boolean IsWL;
// TWLアクセスコントロール Read Only // TWLアクセスコントロール Read Only