マスタエディタ:リージョンとレーティングに中韓を追加。バナー文字チェックまだ。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@268 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-04-30 11:59:48 +00:00
parent bb707eb174
commit e6865f9311
19 changed files with 14529 additions and 13425 deletions

View File

@ -155,7 +155,7 @@
<value>Remarks - Enter any other related information.</value>
</data>
<data name="labOFLC.Location" type="System.Drawing.Point, System.Drawing">
<value>71, 253</value>
<value>67, 247</value>
</data>
<data name="labOFLC.Size" type="System.Drawing.Size, System.Drawing">
<value>78, 12</value>
@ -164,7 +164,7 @@
<value>AGCB (OFLC)</value>
</data>
<data name="labPEGI_BBFC.Location" type="System.Drawing.Point, System.Drawing">
<value>11, 226</value>
<value>11, 220</value>
</data>
<data name="labPEGI_BBFC.Size" type="System.Drawing.Size, System.Drawing">
<value>138, 12</value>
@ -173,10 +173,10 @@
<value>PEGI (General) and BBFC</value>
</data>
<data name="labPEGI_PRT.Location" type="System.Drawing.Point, System.Drawing">
<value>67, 200</value>
<value>67, 194</value>
</data>
<data name="labPEGI.Location" type="System.Drawing.Point, System.Drawing">
<value>67, 174</value>
<value>67, 168</value>
</data>
<data name="labPEGI.Size" type="System.Drawing.Size, System.Drawing">
<value>81, 12</value>
@ -277,12 +277,6 @@
<data name="combCERO.Items4" xml:space="preserve">
<value>Z (Ages 18 and up)</value>
</data>
<data name="labParentalRating.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 12</value>
</data>
<data name="labParentalRating.Text" xml:space="preserve">
<value>Ratings</value>
</data>
<data name="labRegion.Text" xml:space="preserve">
<value>Market</value>
</data>
@ -304,6 +298,12 @@
<data name="combRegion.Items6" xml:space="preserve">
<value>USA, Europe, and Australia</value>
</data>
<data name="combRegion.Items7" xml:space="preserve">
<value>Korea only</value>
</data>
<data name="combRegion.Items8" xml:space="preserve">
<value>China only</value>
</data>
<data name="cboxIsInputPerson2.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 16</value>
</data>

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>
@ -343,12 +343,6 @@
<data name="combCERO.Items5" xml:space="preserve">
<value>審査中</value>
</data>
<data name="labParentalRating.Size" type="System.Drawing.Size, System.Drawing">
<value>58, 12</value>
</data>
<data name="labParentalRating.Text" xml:space="preserve">
<value>レーティング</value>
</data>
<data name="labRegion.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 12</value>
</data>
@ -382,15 +376,18 @@
<data name="combRegion.Items6" xml:space="preserve">
<value>北米,欧州および豪州</value>
</data>
<data name="combRegion.Items7" xml:space="preserve">
<value>韓国のみ</value>
</data>
<data name="combRegion.Items8" 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>
@ -427,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>
@ -466,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>
@ -493,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>
@ -508,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>
@ -589,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>
@ -610,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>
@ -628,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>
@ -667,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="labPhotoAccess.Size" type="System.Drawing.Size, System.Drawing">
<value>124, 12</value>
</data>
@ -691,6 +688,9 @@
<data name="cboxIsSD.Text" xml:space="preserve">
<value>SDカード</value>
</data>
<data name="gboxAccess.Text" xml:space="preserve">
<value>アクセスコントロール情報</value>
</data>
<data name="labIsGameCardOn2.Location" type="System.Drawing.Point, System.Drawing">
<value>296, 322</value>
</data>
@ -742,12 +742,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>
@ -769,11 +763,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>
@ -802,17 +796,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="stripMaster.Text" xml:space="preserve">
<value>マスター</value>
</data>
<data name="tboxGuideRomInfo.Text" xml:space="preserve">
<value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータ作成時の設定を見直してください。</value>
</data>
<data name="tabTWLInfo.Text" xml:space="preserve">
<value>TWL拡張情報</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>
@ -820,21 +814,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="tabNandSizeInfo.Text" xml:space="preserve">
<value>DSiウェア情報</value>
<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>
@ -895,11 +889,11 @@
<data name="labTmdSize.Text" xml:space="preserve">
<value>その他ファイルサイズ</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve">
<value>リージョンとレーティング(編集可)</value>
<data name="gboxNandSize.Text" xml:space="preserve">
<value>DSiウェアによる本体NANDメモリの使用量</value>
</data>
<data name="gboxOtherSpec.Text" xml:space="preserve">
<value>その他ROM仕様</value>
<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>
@ -913,23 +907,26 @@
<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="tabSubmitInfo.Text" xml:space="preserve">
<value>提出情報(要入力)</value>
<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>(100文字以内)</value>
@ -937,9 +934,6 @@
<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>(100文字以内)</value>
</data>
@ -949,21 +943,21 @@
<data name="labMultiForeign2.Text" xml:space="preserve">
<value>(複数ある場合のみ)</value>
</data>
<data name="tabCompanyInfo.Text" xml:space="preserve">
<value>会社情報(要入力)</value>
<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="tabErrorInfo.Text" xml:space="preserve">
<value>エラー情報</value>
<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="rErrorCurrent.Size" type="System.Drawing.Size, System.Drawing">
<value>114, 16</value>
</data>
@ -976,6 +970,9 @@
<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>
@ -1012,6 +1009,9 @@
<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

@ -237,6 +237,7 @@ void Form1::setDeliverableProperties(void)
this->hDeliv->hPEGI_PRT = this->setDeliverableRatingOgnProperties( this->combPEGI_PRT );
this->hDeliv->hPEGI_BBFC = this->setDeliverableRatingOgnProperties( this->combPEGI_BBFC );
this->hDeliv->hOFLC = this->setDeliverableRatingOgnProperties( this->combOFLC );
this->hDeliv->hGRB = this->setDeliverableRatingOgnProperties( this->combGRB );
// SRLには登録されないROM仕様
this->hDeliv->IsUGC = this->cboxIsUGC->Checked;

View File

@ -147,6 +147,7 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->tboxWholeCRC, L"tboxWholeCRC");
resources->ApplyResources(this->labCaption, L"labCaption");
resources->ApplyResources(this->tboxCaption, L"tboxCaption");
resources->ApplyResources(this->labGRB, L"labGRB");
resources->ApplyResources(this->labOFLC, L"labOFLC");
resources->ApplyResources(this->labPEGI_BBFC, L"labPEGI_BBFC");
resources->ApplyResources(this->labPEGI_PRT, L"labPEGI_PRT");
@ -155,6 +156,11 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->labESRB, L"labESRB");
resources->ApplyResources(this->labCERO, L"labCERO");
int indexGRB = this->combGRB->SelectedIndex;
this->combGRB->Items->Clear();
this->combGRB->Items->AddRange(gcnew cli::array< System::Object^ >(5) {resources->GetString(L"combGRB.Items"), resources->GetString(L"combGRB.Items1"),
resources->GetString(L"combGRB.Items2"), resources->GetString(L"combGRB.Items3"), resources->GetString(L"combGRB.Items4")});
resources->ApplyResources(this->combOFLC, L"combOFLC");
int indexOFLC = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
@ -203,16 +209,16 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->GetString(L"combCERO.Items2"), resources->GetString(L"combCERO.Items3"), resources->GetString(L"combCERO.Items4"),
resources->GetString(L"combCERO.Items5")});
resources->ApplyResources(this->labParentalRating, L"labParentalRating");
resources->ApplyResources(this->labRegion, L"labRegion");
resources->ApplyResources(this->cboxIsEULA, L"cboxIsEULA");
resources->ApplyResources(this->combRegion, L"combRegion");
int indexRegion = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combRegion.Items"), resources->GetString(L"combRegion.Items1"),
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(9) {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")});
resources->GetString(L"combRegion.Items5"), resources->GetString(L"combRegion.Items6"), resources->GetString(L"combRegion.Items7"),
resources->GetString(L"combRegion.Items8")});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( langname->Equals( "ja" ) )
{
@ -233,6 +239,7 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
this->combPEGI_PRT->SelectedIndex = indexPEGI_PRT;
this->combPEGI_BBFC->SelectedIndex = indexPEGI_BBFC;
this->combOFLC->SelectedIndex = indexOFLC;
this->combGRB->SelectedIndex = indexGRB;
//resources->ApplyResources(this->combDLCategory, L"combDLCategory");
//index = this->combDLCategory->SelectedIndex;
@ -473,6 +480,7 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
this->unnecessaryRating( this->combPEGI_PRT );
this->unnecessaryRating( this->combPEGI_BBFC );
this->unnecessaryRating( this->combOFLC );
this->unnecessaryRating( this->combGRB );
}
// フォームのEnableやVisibleを切り替え

View File

@ -32,6 +32,8 @@ void Form1::setRegionSrlPropaties(void)
this->hSrl->IsRegionAmerica = false;
this->hSrl->IsRegionEurope = false;
this->hSrl->IsRegionAustralia = false;
this->hSrl->IsRegionKorea = false;
this->hSrl->IsRegionChina = false;
switch( this->combRegion->SelectedIndex )
{
case 0:
@ -66,12 +68,22 @@ 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 7:
this->hSrl->IsRegionKorea = true;
break;
case 8:
this->hSrl->IsRegionChina = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 9:
this->hSrl->IsRegionJapan = true;
this->hSrl->IsRegionAmerica = true;
this->hSrl->IsRegionEurope = true;
this->hSrl->IsRegionAustralia = true;
this->hSrl->IsRegionKorea = true;
this->hSrl->IsRegionChina = true;
break;
#endif //defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
default:
@ -86,25 +98,31 @@ void Form1::setRegionForms(void)
System::Boolean isAmerica = this->hSrl->IsRegionAmerica;
System::Boolean isEurope = this->hSrl->IsRegionEurope;
System::Boolean isAustralia = this->hSrl->IsRegionAustralia;
System::Boolean isKorea = this->hSrl->IsRegionKorea;
System::Boolean isChina = this->hSrl->IsRegionChina;
System::Int32 index;
if( isJapan && !isAmerica && !isEurope && !isAustralia )
index = 0;
else if( !isJapan && isAmerica && !isEurope && !isAustralia )
else if( !isJapan && isAmerica && !isEurope && !isAustralia && !isKorea && !isChina )
index = 1;
else if( !isJapan && !isAmerica && isEurope && !isAustralia )
else if( !isJapan && !isAmerica && isEurope && !isAustralia && !isKorea && !isChina )
index = 2;
else if( !isJapan && !isAmerica && !isEurope && isAustralia )
else if( !isJapan && !isAmerica && !isEurope && isAustralia && !isKorea && !isChina )
index = 3;
else if( !isJapan && !isAmerica && isEurope && isAustralia )
else if( !isJapan && !isAmerica && isEurope && isAustralia && !isKorea && !isChina )
index = 4;
else if( !isJapan && isAmerica && !isEurope && isAustralia )
else if( !isJapan && isAmerica && !isEurope && isAustralia && !isKorea && !isChina )
index = 5;
else if( !isJapan && isAmerica && isEurope && isAustralia )
else if( !isJapan && isAmerica && isEurope && isAustralia && !isKorea && !isChina )
index = 6;
else if( !isJapan && !isAmerica && !isEurope && !isAustralia && isKorea && !isChina )
index = 7;
else if( !isJapan && !isAmerica && !isEurope && !isAustralia && !isKorea && isChina )
index = 8;
else
index = -1; // 不正
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( isJapan && isAmerica && isEurope && isAustralia )
if( isJapan && isAmerica && isEurope && isAustralia %% isKorea && isChina )
index = 7;
#endif
this->combRegion->SelectedIndex = index;
@ -126,6 +144,7 @@ void Form1::setRatingSrlProperties(void)
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_PRT ] = this->combPEGI_PRT->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_BBFC ] = this->combPEGI_BBFC->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_AGCB ] = this->combOFLC->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_GRB] = this->combGRB->SelectedIndex;
// レーティング表示不要かどうかを設定
this->hSrl->IsUnnecessaryRating = this->cboxIsUnnecessaryRating->Checked;
@ -146,6 +165,7 @@ void Form1::setRatingForms(void)
this->combPEGI_PRT->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_PRT ];
this->combPEGI_BBFC->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_BBFC ];
this->combOFLC->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_AGCB ];
this->combGRB->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_GRB ];
} //setRatingForms()
// リージョン情報からペアレンタルコントロールの編集可能団体をマスクする
@ -158,6 +178,7 @@ void Form1::maskRatingForms(void)
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 );
this->enableRating( this->combGRB, this->labGRB, nullptr );
switch( this->combRegion->SelectedIndex )
{
case 0:
@ -169,6 +190,7 @@ void Form1::maskRatingForms(void)
this->disableRating( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->disableRating( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->disableRating( this->combOFLC, this->labOFLC, nullptr );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 1:
@ -180,6 +202,7 @@ void Form1::maskRatingForms(void)
this->disableRating( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->disableRating( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->disableRating( this->combOFLC, this->labOFLC, nullptr );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 2:
@ -191,6 +214,7 @@ void Form1::maskRatingForms(void)
this->enableRating( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->enableRating( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->disableRating( this->combOFLC, this->labOFLC, nullptr );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 3:
@ -202,6 +226,7 @@ void Form1::maskRatingForms(void)
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 );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 4:
@ -213,6 +238,7 @@ void Form1::maskRatingForms(void)
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 );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 5:
@ -224,6 +250,7 @@ void Form1::maskRatingForms(void)
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 );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 6:
@ -235,6 +262,31 @@ void Form1::maskRatingForms(void)
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 );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
case 7:
// ŠØ<C5A0>
this->disableRating( this->combCERO, this->labCERO, nullptr );
this->disableRating( 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->disableRating( this->combOFLC, this->labOFLC, nullptr );
this->enableRating( this->combGRB, this->labGRB, nullptr );
break;
case 8:
// <E28099>
this->disableRating( this->combCERO, this->labCERO, nullptr );
this->disableRating( 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->disableRating( this->combOFLC, this->labOFLC, nullptr );
this->disableRating( this->combGRB, this->labGRB, nullptr );
break;
// 全リージョンのときは何もdisableにしない
@ -255,6 +307,7 @@ void Form1::changeUnnecessaryRatingForms( System::Boolean bInitial )
this->unnecessaryRating( this->combPEGI_PRT );
this->unnecessaryRating( this->combPEGI_BBFC );
this->unnecessaryRating( this->combOFLC );
this->unnecessaryRating( this->combGRB );
}
else
{
@ -265,6 +318,7 @@ void Form1::changeUnnecessaryRatingForms( System::Boolean bInitial )
this->necessaryRating( this->combPEGI_PRT, bInitial );
this->necessaryRating( this->combPEGI_BBFC, bInitial );
this->necessaryRating( this->combOFLC, bInitial );
this->necessaryRating( this->combGRB, bInitial );
}
}
@ -342,7 +396,7 @@ void Form1::unnecessaryRating( System::Windows::Forms::ComboBox ^comb )
}
else
{
msg = gcnew System::String( "Unnecessary Rating(All ages)" );
msg = gcnew System::String( "Rating Not Required (All ages)" );
}
comb->Text = msg;
comb->Enabled = false; // 編集不可能にする

View File

@ -335,6 +335,7 @@ System::Boolean Form1::checkSrlForms(void)
System::Boolean bAmerica = false;
System::Boolean bEurope = false;
System::Boolean bAustralia = false;
System::Boolean bKorea = false;
switch( this->combRegion->SelectedIndex )
{
case 0:
@ -362,13 +363,19 @@ System::Boolean Form1::checkSrlForms(void)
bEurope = true;
bAustralia = true;
break;
case 7:
bKorea = true;
break;
case 8:
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 7:
case 9:
bJapan = true;
bAmerica = true;
bEurope = true;
bAustralia = true;
bKorea = true;
this->hWarnList->Add( gcnew RCMrcError(
"リージョン", 0x1b0, 0x1b3, "全リージョンが設定されています。仕向地別に設定する必要がないかご確認ください。",
"Region", "All Region is set. Please check necessity for setting each region individually.", true, true ) );
@ -392,6 +399,7 @@ System::Boolean Form1::checkSrlForms(void)
this->checkRatingForms( bEurope, this->combPEGI_PRT, this->labPEGI_PRT->Text );
this->checkRatingForms( bEurope, this->combPEGI_BBFC, this->labPEGI_BBFC->Text );
this->checkRatingForms( bAustralia, this->combOFLC, this->labOFLC->Text );
this->checkRatingForms( bKorea, this->combGRB, this->labGRB->Text );
}
// ひととおりエラー登録をした後で

View File

@ -112,6 +112,7 @@ System::Void Form1::saveTmp( System::String ^filename )
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI_PRT", this->combPEGI_PRT->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI_BBFC", this->combPEGI_BBFC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingOFLC", this->combOFLC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingGRB", this->combGRB->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "IsUGC", (this->cboxIsUGC->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "IsPhotoEx", (this->cboxIsPhotoEx->Checked)?"Y":"N" );
@ -287,6 +288,7 @@ void Form1::loadTmp( System::String ^filename )
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI_PRT", this->combPEGI_PRT );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI_BBFC", this->combPEGI_BBFC );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingOFLC", this->combOFLC );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingGRB", this->combGRB );
this->parseTmp( root, "/MasterEditorTWL/Form/IsUGC", this->cboxIsUGC );
this->parseTmp( root, "/MasterEditorTWL/Form/IsPhotoEx", this->cboxIsPhotoEx );

View File

@ -514,6 +514,10 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
{
node->FirstChild->Value = this->hOFLC;
}
if( node->FirstChild->Value->Equals( "TagRatingGRB" ) )
{
node->FirstChild->Value = this->hGRB;
}
if( node->FirstChild->Value->Equals( "TagIsUnnecessaryRating" ) )
{
if( hSrl->IsUnnecessaryRating )

View File

@ -97,6 +97,7 @@ namespace MasterEditorTWL
property System::String ^hPEGI_PRT;
property System::String ^hPEGI_BBFC;
property System::String ^hOFLC;
property System::String ^hGRB;
property System::String ^hAppTypeOther; // 特記事項
// SRLには登録されないROM仕様

View File

@ -362,6 +362,8 @@ bool RCSrl::setRegionInfo( u32 region )
this->IsRegionAmerica = ((region & METWL_MASK_REGION_AMERICA) != 0)?true:false;
this->IsRegionEurope = ((region & METWL_MASK_REGION_EUROPE) != 0)?true:false;
this->IsRegionAustralia = ((region & METWL_MASK_REGION_AUSTRALIA) != 0)?true:false;
this->IsRegionKorea = ((region & METWL_MASK_REGION_KOREA) != 0)?true:false;
this->IsRegionChina = ((region & METWL_MASK_REGION_CHINA) != 0)?true:false;
// リージョンに含まれる団体がなかったらリージョンは不正
if( MasterEditorTWL::getOgnListInRegion( region ) == nullptr )
@ -504,9 +506,12 @@ ECSrlResult RCSrl::setRomHeader(void)
if( this->IsRegionAmerica == true ) { map |= METWL_MASK_REGION_AMERICA; }
if( this->IsRegionEurope == true ) { map |= METWL_MASK_REGION_EUROPE; }
if( this->IsRegionAustralia == true ){ map |= METWL_MASK_REGION_AUSTRALIA; }
if( this->IsRegionKorea == true ){ map |= METWL_MASK_REGION_KOREA; }
if( this->IsRegionChina == true ){ map |= METWL_MASK_REGION_CHINA; }
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( (this->IsRegionJapan == true ) && (this->IsRegionAmerica == true)
&& (this->IsRegionEurope == true ) && (this->IsRegionAustralia == true)
&& (this->IsRegionKorea == true) && (this->IsRegionChina == true)
)
{
map |= METWL_MASK_REGION_ALL; // オールリージョンを許す
@ -547,6 +552,10 @@ void RCSrl::setRatingRomHeader( u32 region )
// リージョンに含まれる団体のみを設定
System::Collections::Generic::List<int> ^ognlist = MasterEditorTWL::getOgnListInRegion( region );
if( !ognlist )
{
return; // 中国のときリストは空になる
}
for each( int ogn in ognlist )
{
u8 rating = 0;

View File

@ -102,6 +102,8 @@ namespace MasterEditorTWL
property System::Boolean IsRegionAmerica;
property System::Boolean IsRegionEurope;
property System::Boolean IsRegionAustralia;
property System::Boolean IsRegionKorea;
property System::Boolean IsRegionChina;
// SDKバージョンと使用ライブラリのリスト
property System::Collections::Generic::List<RCSDKVersion^> ^hSDKList;

View File

@ -209,6 +209,10 @@ cli::array<System::Byte>^ MasterEditorTWL::getOgnRatingAges( int ogn )
{
ages = gcnew cli::array<System::Byte>{0,7,14,15};
}
else if( ogn == OS_TWL_PCTL_OGN_GRB )
{
ages = gcnew cli::array<System::Byte>{0,12,15,18};
}
return ages;
}
@ -249,6 +253,10 @@ System::String^ MasterEditorTWL::getOgnName( int ogn )
{
name = gcnew System::String("OFLC");
}
else if( ogn == OS_TWL_PCTL_OGN_GRB )
{
name = gcnew System::String("GRB");
}
return name;
}
@ -305,6 +313,10 @@ System::Collections::Generic::List<int>^ MasterEditorTWL::getOgnListInRegion( u3
list->Add( OS_TWL_PCTL_OGN_AGCB );
break;
case METWL_MASK_REGION_KOREA:
list->Add( OS_TWL_PCTL_OGN_GRB );
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case METWL_MASK_REGION_ALL:
@ -315,6 +327,7 @@ System::Collections::Generic::List<int>^ MasterEditorTWL::getOgnListInRegion( u3
list->Add( OS_TWL_PCTL_OGN_PEGI_PRT );
list->Add( OS_TWL_PCTL_OGN_PEGI_BBFC );
list->Add( OS_TWL_PCTL_OGN_AGCB );
list->Add( OS_TWL_PCTL_OGN_GRB );
break;
#endif //#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)