マスタエディタ:リージョンに「北米+豪州」、「北米+欧州+豪州」を追加。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@164 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-02-19 01:31:20 +00:00
parent b2386ea646
commit 029b3d0df9
10 changed files with 7494 additions and 8306 deletions

View File

@ -117,9 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="gboxSrl.Text" xml:space="preserve">
<value>ROMデータ情報</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labPlatform.Size" type="System.Drawing.Size, System.Drawing">
<value>73, 12</value>
@ -172,6 +169,9 @@
<data name="labRemasterVer.Text" xml:space="preserve">
<value>リマスターバージョン</value>
</data>
<data name="gboxSrl.Text" xml:space="preserve">
<value>ROMデータ情報</value>
</data>
<data name="labBackup.Location" type="System.Drawing.Point, System.Drawing">
<value>20, 20</value>
</data>
@ -376,15 +376,18 @@
<data name="combRegion.Items4" xml:space="preserve">
<value>欧州および豪州</value>
</data>
<data name="combRegion.Items5" xml:space="preserve">
<value>北米および豪州</value>
</data>
<data name="combRegion.Items6" xml:space="preserve">
<value>北米,欧州および豪州</value>
</data>
<data name="cboxIsInputPerson2.Size" type="System.Drawing.Size, System.Drawing">
<value>150, 16</value>
</data>
<data name="cboxIsInputPerson2.Text" xml:space="preserve">
<value>担当者2を入力する(任意)</value>
</data>
<data name="gboxPerson2.Text" xml:space="preserve">
<value>担当者2</value>
</data>
<data name="labArbit4.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 12</value>
</data>
@ -421,8 +424,8 @@
<data name="labCompany2.Text" xml:space="preserve">
<value>貴社名</value>
</data>
<data name="gboxPerson1.Text" xml:space="preserve">
<value>担当者1</value>
<data name="gboxPerson2.Text" xml:space="preserve">
<value>担当者2</value>
</data>
<data name="labArbit2.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 12</value>
@ -460,8 +463,8 @@
<data name="labCompany1.Text" xml:space="preserve">
<value>貴社名</value>
</data>
<data name="gboxUsage.Text" xml:space="preserve">
<value>目的</value>
<data name="gboxPerson1.Text" xml:space="preserve">
<value>担当者1</value>
</data>
<data name="rUsageOther.Size" type="System.Drawing.Size, System.Drawing">
<value>54, 16</value>
@ -487,8 +490,8 @@
<data name="rUsageSale.Text" xml:space="preserve">
<value>一般販売用</value>
</data>
<data name="gboxSubmitWay.Text" xml:space="preserve">
<value>提出方法</value>
<data name="gboxUsage.Text" xml:space="preserve">
<value>目的</value>
</data>
<data name="rSubmitHand.Size" type="System.Drawing.Size, System.Drawing">
<value>56, 16</value>
@ -502,6 +505,9 @@
<data name="rSubmitPost.Text" xml:space="preserve">
<value>郵送</value>
</data>
<data name="gboxSubmitWay.Text" xml:space="preserve">
<value>提出方法</value>
</data>
<data name="labSubmiteDate.Location" type="System.Drawing.Point, System.Drawing">
<value>31, 143</value>
</data>
@ -583,15 +589,15 @@
<data name="labProductCodeForeign.Text" xml:space="preserve">
<value>製品コード</value>
</data>
<data name="gboxShared2Size.Text" xml:space="preserve">
<value>Shared2ファイルサイズ</value>
</data>
<data name="cboxIsShared2.Size" type="System.Drawing.Size, System.Drawing">
<value>123, 16</value>
</data>
<data name="cboxIsShared2.Text" xml:space="preserve">
<value>Shared2ファイル使用</value>
</data>
<data name="gboxShared2Size.Text" xml:space="preserve">
<value>Shared2ファイルサイズ</value>
</data>
<data name="labLib.Size" type="System.Drawing.Size, System.Drawing">
<value>70, 12</value>
</data>
@ -604,9 +610,6 @@
<data name="labSDK.Text" xml:space="preserve">
<value>SDKバージョン</value>
</data>
<data name="gboxTWLExInfo.Text" xml:space="preserve">
<value>TWL拡張情報</value>
</data>
<data name="labIsCodec.Size" type="System.Drawing.Size, System.Drawing">
<value>72, 12</value>
</data>
@ -622,6 +625,9 @@
<data name="labKeyTableRomOffset.Text" xml:space="preserve">
<value>TWL専用領域ROMオフセット</value>
</data>
<data name="gboxTWLExInfo.Text" xml:space="preserve">
<value>TWL拡張情報</value>
</data>
<data name="labNormalRomOffset.Location" type="System.Drawing.Point, System.Drawing">
<value>266, 147</value>
</data>
@ -661,9 +667,6 @@
<data name="cboxIsTmpJump.Text" xml:space="preserve">
<value>tmpジャンプ許可</value>
</data>
<data name="gboxAccess.Text" xml:space="preserve">
<value>アクセスコントロール情報</value>
</data>
<data name="labIsGameCardOn2.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 12</value>
</data>
@ -691,6 +694,9 @@
<data name="cboxIsSD.Text" xml:space="preserve">
<value>SDカード</value>
</data>
<data name="gboxAccess.Text" xml:space="preserve">
<value>アクセスコントロール情報</value>
</data>
<data name="labAppType.Location" type="System.Drawing.Point, System.Drawing">
<value>40, 79</value>
</data>
@ -724,12 +730,6 @@
<data name="gboxProd.Text" xml:space="preserve">
<value>ROM提出情報</value>
</data>
<data name="stripFile.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 20</value>
</data>
<data name="stripFile.Text" xml:space="preserve">
<value>ファイル</value>
</data>
<data name="stripItemOpenRom.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 22</value>
</data>
@ -751,11 +751,11 @@
<data name="stripItemLoadTemp.Text" xml:space="preserve">
<value>一時保存した提出情報を開く</value>
</data>
<data name="stripMaster.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
<data name="stripFile.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 20</value>
</data>
<data name="stripMaster.Text" xml:space="preserve">
<value>マスター</value>
<data name="stripFile.Text" xml:space="preserve">
<value>ファイル</value>
</data>
<data name="stripItemSheet.Size" type="System.Drawing.Size, System.Drawing">
<value>280, 22</value>
@ -784,74 +784,17 @@
<data name="stripItemMiddlewareHtml.Text" xml:space="preserve">
<value>ミドルウェアリストのみを作成する(HTML形式)</value>
</data>
<data name="tabRomInfo.Text" xml:space="preserve">
<value>ROM基本情報</value>
<data name="stripMaster.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
</data>
<data name="tabTWLInfo.Text" xml:space="preserve">
<value>TWL拡張情報</value>
</data>
<data name="tabNandSizeInfo.Text" xml:space="preserve">
<value>DSiウェア情報</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve">
<value>リージョンとレーティング(要入力)</value>
</data>
<data name="tabSubmitInfo.Text" xml:space="preserve">
<value>提出情報(要入力)</value>
</data>
<data name="tabCompanyInfo.Text" xml:space="preserve">
<value>会社情報(要入力)</value>
</data>
<data name="tboxGuideErrorInfo.Text" xml:space="preserve">
<value>このタブには読み込んだROMデータの問題点と本プログラムでの入力ミスが列挙されます。&lt;newline&gt;赤文字の項目は、本プログラムで修正不可です。ROMデータ作成時の設定をご確認ください。&lt;newline&gt;青文字の項目は、ROMデータの問題点のうち、本プログラムで修正できるものです。&lt;newline&gt;黒文字の項目は、提出情報と会社情報の入力ミスおよび入力漏れです。</value>
</data>
<data name="gboxErrorTiming.Text" xml:space="preserve">
<value>いつの情報を表示するか</value>
</data>
<data name="labWarn.Size" type="System.Drawing.Size, System.Drawing">
<value>339, 12</value>
</data>
<data name="labWarn.Text" xml:space="preserve">
<value>警告(修正は必須ではありませんが情報に誤りがないかご確認ください。)</value>
</data>
<data name="labError.Size" type="System.Drawing.Size, System.Drawing">
<value>137, 12</value>
</data>
<data name="labError.Text" xml:space="preserve">
<value>エラー(必ず修正してください)</value>
</data>
<data name="colWarnName.HeaderText" xml:space="preserve">
<value>項目名</value>
</data>
<data name="colWarnBegin.HeaderText" xml:space="preserve">
<value>開始</value>
</data>
<data name="colWarnEnd.HeaderText" xml:space="preserve">
<value>終了</value>
</data>
<data name="colWarnCause.HeaderText" xml:space="preserve">
<value>要因</value>
</data>
<data name="colErrorName.HeaderText" xml:space="preserve">
<value>項目名</value>
</data>
<data name="colErrorBegin.HeaderText" xml:space="preserve">
<value>開始</value>
</data>
<data name="colErrorEnd.HeaderText" xml:space="preserve">
<value>終了</value>
</data>
<data name="colErrorCause.HeaderText" xml:space="preserve">
<value>要因</value>
</data>
<data name="tabErrorInfo.Text" xml:space="preserve">
<value>エラー情報</value>
<data name="stripMaster.Text" xml:space="preserve">
<value>マスター</value>
</data>
<data name="tboxGuideRomInfo.Text" xml:space="preserve">
<value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータ作成時の設定を見直してください。</value>
</data>
<data name="gboxLaunch.Text" xml:space="preserve">
<value>DSiメニュー上での起動制限</value>
<data name="tabRomInfo.Text" xml:space="preserve">
<value>ROM基本情報</value>
</data>
<data name="labConnectIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 12</value>
@ -859,18 +802,21 @@
<data name="labConnectIcon.Text" xml:space="preserve">
<value>DSiメニュー上での通信アイコン表示</value>
</data>
<data name="gboxLaunch.Text" xml:space="preserve">
<value>DSiメニュー上での起動制限</value>
</data>
<data name="tboxGuideTWLInfo.Text" xml:space="preserve">
<value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータ作成時の設定を見直してください。</value>
</data>
<data name="gboxExFlags.Text" xml:space="preserve">
<value>TWL拡張諸フラグ</value>
</data>
<data name="tabTWLInfo.Text" xml:space="preserve">
<value>TWL拡張情報</value>
</data>
<data name="tboxGuideNandSizeInfo.Text" xml:space="preserve">
<value>このタブの情報はDSiウェア(NANDアプリ)による本体NANDメモリ領域の使用量を確認する場合に必要です。&lt;newline&gt;アプリがゲームカード向けの場合にはNANDメモリ使用量の確認は必要ありません。</value>
</data>
<data name="gboxNandSize.Text" xml:space="preserve">
<value>DSiウェアによる本体NANDメモリの使用量</value>
</data>
<data name="labNandSize.Location" type="System.Drawing.Point, System.Drawing">
<value>154, 23</value>
</data>
@ -931,8 +877,11 @@
<data name="labTmdSize.Text" xml:space="preserve">
<value>その他ファイルサイズ</value>
</data>
<data name="gboxOtherSpec.Text" xml:space="preserve">
<value>その他ROM仕様</value>
<data name="gboxNandSize.Text" xml:space="preserve">
<value>DSiウェアによる本体NANDメモリの使用量</value>
</data>
<data name="tabNandSizeInfo.Text" xml:space="preserve">
<value>DSiウェア情報</value>
</data>
<data name="cboxIsUGC.Size" type="System.Drawing.Size, System.Drawing">
<value>210, 16</value>
@ -946,30 +895,33 @@
<data name="cboxIsPhotoEx.Text" xml:space="preserve">
<value>写真交換対応</value>
</data>
<data name="gboxOtherSpec.Text" xml:space="preserve">
<value>その他ROM仕様</value>
</data>
<data name="butSetBack.Text" xml:space="preserve">
<value>読み込み時の設定に戻す</value>
</data>
<data name="tboxGuideRomEditInfo.Text" xml:space="preserve">
<value>このタブの各項目への入力は提出確認書およびマスターROMの作成のために必要です。&lt;newline&gt;これらの情報はマスターROMの作成時にROM内登録データとして登録されます(「その他ROM仕様」を除く)。</value>
</data>
<data name="gboxParental.Text" xml:space="preserve">
<value>リージョンとレーティング情報</value>
</data>
<data name="cboxIsUnnecessaryRating.Size" type="System.Drawing.Size, System.Drawing">
<value>235, 16</value>
</data>
<data name="cboxIsUnnecessaryRating.Text" xml:space="preserve">
<value>レーティング表示不要 (ツール類のみ選択可)</value>
</data>
<data name="gboxParental.Text" xml:space="preserve">
<value>リージョンとレーティング情報</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve">
<value>リージョンとレーティング(要入力)</value>
</data>
<data name="labProductNameLimit.Text" xml:space="preserve">
<value>(30文字以内)</value>
</data>
<data name="tboxGuideSubmitInfo.Text" xml:space="preserve">
<value>このタブの情報は提出確認書の作成に必要です。入力してください。</value>
</data>
<data name="gboxForeign.Text" xml:space="preserve">
<value>海外版</value>
</data>
<data name="labProductNameLimitForeign.Text" xml:space="preserve">
<value>(30文字以内)</value>
</data>
@ -979,9 +931,21 @@
<data name="labMultiForeign2.Text" xml:space="preserve">
<value>(複数ある場合のみ)</value>
</data>
<data name="gboxForeign.Text" xml:space="preserve">
<value>海外版</value>
</data>
<data name="tabSubmitInfo.Text" xml:space="preserve">
<value>提出情報(要入力)</value>
</data>
<data name="tboxGuideCompanyInfo.Text" xml:space="preserve">
<value>このタブの情報は提出確認書の作成に必要です。入力してください。</value>
</data>
<data name="tabCompanyInfo.Text" xml:space="preserve">
<value>会社情報(要入力)</value>
</data>
<data name="tboxGuideErrorInfo.Text" xml:space="preserve">
<value>このタブには読み込んだROMデータの問題点と本プログラムでの入力ミスが列挙されます。&lt;newline&gt;赤文字の項目は、本プログラムで修正不可です。ROMデータ作成時の設定をご確認ください。&lt;newline&gt;青文字の項目は、ROMデータの問題点のうち、本プログラムで修正できるものです。&lt;newline&gt;黒文字の項目は、提出情報と会社情報の入力ミスおよび入力漏れです。</value>
</data>
<data name="rErrorCurrent.Size" type="System.Drawing.Size, System.Drawing">
<value>114, 16</value>
</data>
@ -994,6 +958,48 @@
<data name="rErrorReading.Text" xml:space="preserve">
<value>ROMデータ読み込み時</value>
</data>
<data name="gboxErrorTiming.Text" xml:space="preserve">
<value>いつの情報を表示するか</value>
</data>
<data name="labWarn.Size" type="System.Drawing.Size, System.Drawing">
<value>339, 12</value>
</data>
<data name="labWarn.Text" xml:space="preserve">
<value>警告(修正は必須ではありませんが情報に誤りがないかご確認ください。)</value>
</data>
<data name="labError.Size" type="System.Drawing.Size, System.Drawing">
<value>137, 12</value>
</data>
<data name="labError.Text" xml:space="preserve">
<value>エラー(必ず修正してください)</value>
</data>
<data name="colWarnName.HeaderText" xml:space="preserve">
<value>項目名</value>
</data>
<data name="colWarnBegin.HeaderText" xml:space="preserve">
<value>開始</value>
</data>
<data name="colWarnEnd.HeaderText" xml:space="preserve">
<value>終了</value>
</data>
<data name="colWarnCause.HeaderText" xml:space="preserve">
<value>要因</value>
</data>
<data name="colErrorName.HeaderText" xml:space="preserve">
<value>項目名</value>
</data>
<data name="colErrorBegin.HeaderText" xml:space="preserve">
<value>開始</value>
</data>
<data name="colErrorEnd.HeaderText" xml:space="preserve">
<value>終了</value>
</data>
<data name="colErrorCause.HeaderText" xml:space="preserve">
<value>要因</value>
</data>
<data name="tabErrorInfo.Text" xml:space="preserve">
<value>エラー情報</value>
</data>
<data name="labFile.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 12</value>
</data>

View File

@ -174,8 +174,9 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->combRegion, L"combRegion");
index = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5) {resources->GetString(L"combRegion.Items"), resources->GetString(L"combRegion.Items1"),
resources->GetString(L"combRegion.Items2"), resources->GetString(L"combRegion.Items3"), resources->GetString(L"combRegion.Items4")});
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combRegion.Items"), resources->GetString(L"combRegion.Items1"),
resources->GetString(L"combRegion.Items2"), resources->GetString(L"combRegion.Items3"), resources->GetString(L"combRegion.Items4"),
resources->GetString(L"combRegion.Items5"), resources->GetString(L"combRegion.Items6")});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( langname->Equals( "ja" ) )
{

View File

@ -55,8 +55,19 @@ void Form1::setRegionSrlPropaties(void)
this->hSrl->IsRegionAustralia = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
this->hSrl->IsRegionAmerica = true;
this->hSrl->IsRegionAustralia = true;
break;
case 6:
this->hSrl->IsRegionAmerica = true;
this->hSrl->IsRegionEurope = true;
this->hSrl->IsRegionAustralia = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 7:
this->hSrl->IsRegionJapan = true;
this->hSrl->IsRegionAmerica = true;
this->hSrl->IsRegionEurope = true;
@ -86,6 +97,10 @@ void Form1::setRegionForms(void)
index = 3;
else if( !isJapan && !isAmerica && isEurope && isAustralia )
index = 4;
else if( !isJapan && isAmerica && !isEurope && isAustralia )
index = 5;
else if( !isJapan && isAmerica && isEurope && isAustralia )
index = 6;
else
index = -1; // 不正
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
@ -157,7 +172,7 @@ void Form1::maskRatingForms(void)
break;
case 1:
// •Ä<EFBFBD>
// 北米
this->disableRating( this->combCERO, this->labCERO, nullptr );
this->enableRating( this->combESRB, this->labESRB, nullptr );
this->disableRating( this->combUSK, this->labUSK, nullptr );
@ -200,6 +215,28 @@ void Form1::maskRatingForms(void)
this->enableRating( this->combOFLC, this->labOFLC, nullptr );
break;
case 5:
// 北米と豪州
this->disableRating( this->combCERO, this->labCERO, nullptr );
this->enableRating( this->combESRB, this->labESRB, nullptr );
this->disableRating( this->combUSK, this->labUSK, nullptr );
this->disableRating( this->combPEGI, this->labPEGI, nullptr );
this->disableRating( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->disableRating( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->enableRating( this->combOFLC, this->labOFLC, nullptr );
break;
case 6:
// 北米と欧州と豪州
this->disableRating( this->combCERO, this->labCERO, nullptr );
this->enableRating( this->combESRB, this->labESRB, nullptr );
this->enableRating( this->combUSK, this->labUSK, nullptr );
this->enableRating( this->combPEGI, this->labPEGI, nullptr );
this->enableRating( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->enableRating( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->enableRating( this->combOFLC, this->labOFLC, nullptr );
break;
// 全リージョンのときは何もdisableにしない
default:
break;

View File

@ -343,13 +343,25 @@ System::Boolean Form1::checkSrlForms(void)
bEurope = true;
bAustralia = true;
break;
case 5:
bAmerica = true;
bAustralia = true;
break;
case 6:
bAmerica = true;
bEurope = true;
bAustralia = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
case 7:
bJapan = true;
bAmerica = true;
bEurope = true;
bAustralia = true;
this->hWarnList->Add( gcnew RCMrcError(
"リージョン", 0x1b0, 0x1b3, "全リージョンが設定されています。仕向地別に設定する必要がないかご確認ください。",
"Region", "All Region is set. Please check necessity for setting each region individually.", true, true ) );
break;
#endif
default:

View File

@ -291,6 +291,20 @@ System::Collections::Generic::List<int>^ MasterEditorTWL::getOgnListInRegion( u3
list->Add( OS_TWL_PCTL_OGN_OFLC );
break;
case (METWL_MASK_REGION_AMERICA|METWL_MASK_REGION_AUSTRALIA):
list->Add( OS_TWL_PCTL_OGN_ESRB );
list->Add( OS_TWL_PCTL_OGN_OFLC );
break;
case (METWL_MASK_REGION_AMERICA|METWL_MASK_REGION_EUROPE|METWL_MASK_REGION_AUSTRALIA):
list->Add( OS_TWL_PCTL_OGN_ESRB );
list->Add( OS_TWL_PCTL_OGN_USK );
list->Add( OS_TWL_PCTL_OGN_PEGI_GEN );
list->Add( OS_TWL_PCTL_OGN_PEGI_PRT );
list->Add( OS_TWL_PCTL_OGN_PEGI_BBFC );
list->Add( OS_TWL_PCTL_OGN_OFLC );
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case METWL_MASK_REGION_ALL: