TwlIPL/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.h
nishikawa_takeshi 7378080060 マスタエディタ:保存時のエラーチェックのバグ修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2445 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-09-08 12:55:44 +00:00

6271 lines
257 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
namespace MasterEditorTWL {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Form1 の概要
///
/// 警告: このクラスの名前を変更する場合、このクラスが依存するすべての .resx ファイルに関連付けられた
/// マネージ リソース コンパイラ ツールに対して 'Resource File Name' プロパティを
/// 変更する必要があります。この変更を行わないと、
/// デザイナと、このフォームに関連付けられたローカライズ済みリソースとが、
/// 正しく相互に利用できなくなります。
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
// 独自追加フィールド
private:
// SRL情報(ROMヘッダを含む)
RCSrl ^hSrl;
// マスタ書類
RCDeliverable ^hDeliv;
// 書類出力モード(ーマルXML or XML Spread Sheet)
System::Boolean ^hIsSpreadSheet;
// 入力エラー情報
System::Collections::Generic::List<RCMrcError ^> ^hErrorList;
System::Collections::Generic::List<RCMrcError ^> ^hWarnList;
// VC自動追加フィールド
private: System::Windows::Forms::GroupBox^ gboxCRC;
private: System::Windows::Forms::TextBox^ tboxWholeCRC;
private: System::Windows::Forms::Label^ labTitleName;
private: System::Windows::Forms::Label^ labGameCode;
private: System::Windows::Forms::TextBox^ tboxGameCode;
private: System::Windows::Forms::Label^ labMakerCode;
private: System::Windows::Forms::TextBox^ tboxMakerCode;
private: System::Windows::Forms::Label^ labRomType;
private: System::Windows::Forms::ComboBox^ combBackup;
private: System::Windows::Forms::Label^ labRomSize;
private: System::Windows::Forms::TextBox^ tboxRomLatency;
private: System::Windows::Forms::Label^ labBackup;
private: System::Windows::Forms::Label^ labPlatform;
private: System::Windows::Forms::Label^ labRomCRC;
private: System::Windows::Forms::Label^ labHeaderCRC;
private: System::Windows::Forms::TextBox^ tboxHeaderCRC;
private: System::Windows::Forms::TextBox^ tboxBackupOther;
private: System::Windows::Forms::Label^ labCaption;
private: System::Windows::Forms::TextBox^ tboxCaption;
private: System::Windows::Forms::TextBox^ tboxRomSize;
private: System::Windows::Forms::Label^ labPEGIBBFC2;
private: System::Windows::Forms::Label^ labOFLC;
private: System::Windows::Forms::Label^ labPEGIBBFC;
private: System::Windows::Forms::Label^ labPEGIPRT;
private: System::Windows::Forms::Label^ labPEGI;
private: System::Windows::Forms::Label^ labUSK;
private: System::Windows::Forms::Label^ labESRB;
private: System::Windows::Forms::Label^ labCERO;
private: System::Windows::Forms::CheckBox^ cboxAlwaysOFLC;
private: System::Windows::Forms::CheckBox^ cboxAlwaysPEGIBBFC;
private: System::Windows::Forms::CheckBox^ cboxAlwaysPEGIPRT;
private: System::Windows::Forms::CheckBox^ cboxAlwaysPEGI;
private: System::Windows::Forms::CheckBox^ cboxAlwaysUSK;
private: System::Windows::Forms::CheckBox^ cboxAlwaysESRB;
private: System::Windows::Forms::CheckBox^ cboxAlwaysCERO;
private: System::Windows::Forms::ComboBox^ combOFLC;
private: System::Windows::Forms::ComboBox^ combPEGIBBFC;
private: System::Windows::Forms::ComboBox^ combPEGIPRT;
private: System::Windows::Forms::ComboBox^ combPEGI;
private: System::Windows::Forms::ComboBox^ combUSK;
private: System::Windows::Forms::ComboBox^ combESRB;
private: System::Windows::Forms::ComboBox^ combCERO;
private: System::Windows::Forms::CheckBox^ cboxOFLC;
private: System::Windows::Forms::CheckBox^ cboxPEGIBBFC;
private: System::Windows::Forms::CheckBox^ cboxPEGIPRT;
private: System::Windows::Forms::CheckBox^ cboxPEGI;
private: System::Windows::Forms::CheckBox^ cboxUSK;
private: System::Windows::Forms::CheckBox^ cboxESRB;
private: System::Windows::Forms::CheckBox^ cboxCERO;
private: System::Windows::Forms::Label^ labParentalForceEnable;
private: System::Windows::Forms::Label^ labParentalRating;
private: System::Windows::Forms::Label^ labParentalEnable;
private: System::Windows::Forms::CheckBox^ cboxIsEULA;
private: System::Windows::Forms::CheckBox^ cboxIsWiFiIcon;
private: System::Windows::Forms::Label^ labEULA;
private: System::Windows::Forms::CheckBox^ cboxIsWirelessIcon;
private: System::Windows::Forms::NumericUpDown^ numEULA;
private: System::Windows::Forms::CheckBox^ cboxIsInputPerson2;
private: System::Windows::Forms::GroupBox^ gboxPerson2;
private: System::Windows::Forms::Label^ labNTSC2Sur;
private: System::Windows::Forms::TextBox^ tboxNTSC2;
private: System::Windows::Forms::Label^ labNTSC2Pre;
private: System::Windows::Forms::TextBox^ tboxFax2;
private: System::Windows::Forms::TextBox^ tboxMail2;
private: System::Windows::Forms::TextBox^ tboxTel2;
private: System::Windows::Forms::TextBox^ tboxFurigana2;
private: System::Windows::Forms::TextBox^ tboxPerson2;
private: System::Windows::Forms::TextBox^ tboxDepart2;
private: System::Windows::Forms::Label^ labDepart2;
private: System::Windows::Forms::TextBox^ tboxCompany2;
private: System::Windows::Forms::Label^ labMail2;
private: System::Windows::Forms::Label^ labFax2;
private: System::Windows::Forms::Label^ labTel2;
private: System::Windows::Forms::Label^ labFurigana2;
private: System::Windows::Forms::Label^ labPerson2;
private: System::Windows::Forms::Label^ labCompany2;
private: System::Windows::Forms::GroupBox^ gboxPerson1;
private: System::Windows::Forms::Label^ labNTSC1Sur;
private: System::Windows::Forms::Label^ labNTSC1Pre;
private: System::Windows::Forms::TextBox^ tboxNTSC1;
private: System::Windows::Forms::TextBox^ tboxFax1;
private: System::Windows::Forms::TextBox^ tboxMail1;
private: System::Windows::Forms::TextBox^ tboxTel1;
private: System::Windows::Forms::TextBox^ tboxFurigana1;
private: System::Windows::Forms::TextBox^ tboxPerson1;
private: System::Windows::Forms::TextBox^ tboxDepart1;
private: System::Windows::Forms::Label^ labDepart1;
private: System::Windows::Forms::TextBox^ tboxCompany1;
private: System::Windows::Forms::Label^ labMail1;
private: System::Windows::Forms::Label^ labFax1;
private: System::Windows::Forms::Label^ labTel1;
private: System::Windows::Forms::Label^ labFurigana1;
private: System::Windows::Forms::Label^ labPerson1;
private: System::Windows::Forms::Label^ labCompany1;
private: System::Windows::Forms::TextBox^ tboxRemasterVer;
private: System::Windows::Forms::TextBox^ tboxProductCode2;
private: System::Windows::Forms::TextBox^ tboxProductCode1;
private: System::Windows::Forms::TextBox^ tboxProductName;
private: System::Windows::Forms::Label^ labProductCode2;
private: System::Windows::Forms::Label^ labProductCode1;
private: System::Windows::Forms::DateTimePicker^ dateSubmit;
private: System::Windows::Forms::DateTimePicker^ dateRelease;
private: System::Windows::Forms::CheckBox^ cboxRemasterVerE;
private: System::Windows::Forms::Label^ labCapSubmitVer;
private: System::Windows::Forms::NumericUpDown^ numSubmitVersion;
private: System::Windows::Forms::Label^ labSubmitVer;
private: System::Windows::Forms::Label^ labRemasterVer;
private: System::Windows::Forms::GroupBox^ gboxUsage;
private: System::Windows::Forms::TextBox^ tboxUsageOther;
private: System::Windows::Forms::RadioButton^ rUsageOther;
private: System::Windows::Forms::RadioButton^ rUsageDst;
private: System::Windows::Forms::RadioButton^ rUsageSample;
private: System::Windows::Forms::RadioButton^ rUsageSale;
private: System::Windows::Forms::GroupBox^ gboxSubmitWay;
private: System::Windows::Forms::RadioButton^ rSubmitHand;
private: System::Windows::Forms::RadioButton^ rSubmitPost;
private: System::Windows::Forms::Label^ labSubmiteDate;
private: System::Windows::Forms::Label^ labReleaseDate;
private: System::Windows::Forms::Label^ labProductCode;
private: System::Windows::Forms::Label^ labProductName;
private: System::Windows::Forms::ComboBox^ combRegion;
private: System::Windows::Forms::Label^ labRegion;
private: System::Windows::Forms::Label^ labProductCode2Foreign;
private: System::Windows::Forms::CheckBox^ cboxReleaseForeign;
private: System::Windows::Forms::Label^ labProductNameForeign;
private: System::Windows::Forms::TextBox^ tboxProductNameForeign;
private: System::Windows::Forms::Label^ labProductCode1Foreign;
private: System::Windows::Forms::TextBox^ tboxProductCode1Foreign;
private: System::Windows::Forms::Label^ labProductCodeForeign;
private: System::Windows::Forms::TextBox^ tboxProductCode2Foreign1;
private: System::Windows::Forms::GroupBox^ gboxShared2Size;
private: System::Windows::Forms::Label^ labShared2Size5;
private: System::Windows::Forms::Label^ labShared2Size4;
private: System::Windows::Forms::Label^ labShared2Size3;
private: System::Windows::Forms::Label^ labShared2Size2;
private: System::Windows::Forms::Label^ labShared2Size1;
private: System::Windows::Forms::Label^ labShared2Size0;
private: System::Windows::Forms::TextBox^ tboxShared2Size5;
private: System::Windows::Forms::TextBox^ tboxShared2Size4;
private: System::Windows::Forms::TextBox^ tboxShared2Size3;
private: System::Windows::Forms::TextBox^ tboxShared2Size2;
private: System::Windows::Forms::TextBox^ tboxShared2Size1;
private: System::Windows::Forms::TextBox^ tboxShared2Size0;
private: System::Windows::Forms::CheckBox^ cboxIsShared2;
private: System::Windows::Forms::Label^ labLib;
private: System::Windows::Forms::TextBox^ tboxSDK;
private: System::Windows::Forms::Label^ labSDK;
private: System::Windows::Forms::GroupBox^ gboxTWLExInfo;
private: System::Windows::Forms::Label^ labByte1;
private: System::Windows::Forms::Label^ labHex4;
private: System::Windows::Forms::Label^ labHex3;
private: System::Windows::Forms::TextBox^ tboxIsCodec;
private: System::Windows::Forms::Label^ labIsCodec;
private: System::Windows::Forms::Label^ labNormalRomOffset;
private: System::Windows::Forms::TextBox^ tboxNormalRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsSubBanner;
private: System::Windows::Forms::Label^ labKeyTableRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsWL;
private: System::Windows::Forms::TextBox^ tboxPrivateSize;
private: System::Windows::Forms::Label^ labPrivateSize;
private: System::Windows::Forms::TextBox^ tboxKeyTableRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsNormalJump;
private: System::Windows::Forms::CheckBox^ cboxIsTmpJump;
private: System::Windows::Forms::Label^ labPublicSize;
private: System::Windows::Forms::TextBox^ tboxPublicSize;
private: System::Windows::Forms::GroupBox^ gboxAccess;
private: System::Windows::Forms::Label^ labAccessOther;
private: System::Windows::Forms::TextBox^ tboxAccessOther;
private: System::Windows::Forms::TextBox^ tboxIsGameCardOn;
private: System::Windows::Forms::Label^ labIsGameCardOn;
private: System::Windows::Forms::CheckBox^ cboxIsNAND;
private: System::Windows::Forms::CheckBox^ cboxIsSD;
private: System::Windows::Forms::GroupBox^ gboxTitleID;
private: System::Windows::Forms::Label^ labHex2;
private: System::Windows::Forms::Label^ labHex1;
private: System::Windows::Forms::TextBox^ tboxTitleIDLo;
private: System::Windows::Forms::Label^ labTitleIDLo;
private: System::Windows::Forms::Label^ labTitleIDHi;
private: System::Windows::Forms::TextBox^ tboxTitleIDHi;
private: System::Windows::Forms::TextBox^ tboxAppTypeOther;
private: System::Windows::Forms::Label^ labAppTypeOther;
private: System::Windows::Forms::Label^ labCaptionEx;
private: System::Windows::Forms::TextBox^ tboxCaptionEx;
private: System::Windows::Forms::TextBox^ tboxProductCode2Foreign3;
private: System::Windows::Forms::TextBox^ tboxProductCode2Foreign2;
private: System::Windows::Forms::Label^ labMultiForeign1;
private: System::Windows::Forms::GroupBox^ gboxProd;
private: System::Windows::Forms::MenuStrip^ menuStripAbove;
private: System::Windows::Forms::ToolStripMenuItem^ stripFile;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemOpenRom;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemSaveTemp;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemLoadTemp;
private: System::Windows::Forms::ToolStripMenuItem^ stripMaster;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemMasterRom;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemSheet;
private: System::Windows::Forms::ToolStripMenuItem^ stripLang;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemEnglish;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemJapanese;
private: System::Windows::Forms::TabControl^ tabMain;
private: System::Windows::Forms::TabPage^ tabRomInfo;
private: System::Windows::Forms::TabPage^ tabTWLInfo;
private: System::Windows::Forms::TabPage^ tabRomEditInfo;
private: System::Windows::Forms::TabPage^ tabSubmitInfo;
private: System::Windows::Forms::TabPage^ tabCompanyInfo;
private: System::Windows::Forms::GroupBox^ gboxForeign;
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::TextBox^ tboxGuideRomInfo;
private: System::Windows::Forms::TextBox^ tboxGuideTWLInfo;
private: System::Windows::Forms::TextBox^ tboxGuideRomEditInfo;
private: System::Windows::Forms::TextBox^ tboxGuideSubmitInfo;
private: System::Windows::Forms::TextBox^ tboxGuideCompanyInfo;
private: System::Windows::Forms::Label^ labFile;
public: System::Windows::Forms::DataGridView^ gridError;
private: System::Windows::Forms::TabPage^ tabErrorInfo;
public:
private:
public:
public: System::Windows::Forms::DataGridView^ gridWarn;
private: System::Windows::Forms::TextBox^ tboxGuideErrorInfo;
public:
private:
public:
private: System::Windows::Forms::GroupBox^ gboxErrorTiming;
private: System::Windows::Forms::Label^ labWarn;
private: System::Windows::Forms::Label^ labError;
private: System::Windows::Forms::RadioButton^ rErrorCurrent;
private: System::Windows::Forms::RadioButton^ rErrorReading;
private: System::Windows::Forms::Label^ labMultiForeign2;
private: System::Windows::Forms::DataGridView^ gridLibrary;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colLibPublisher;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colLibName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnBegin;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnEnd;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorBegin;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorEnd;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorCause;
private: System::Windows::Forms::Label^ labAssemblyVersion;
private: System::Windows::Forms::Label^ labArbit4;
private: System::Windows::Forms::Label^ labArbit3;
private: System::Windows::Forms::Label^ labArbit2;
private: System::Windows::Forms::Label^ labArbit1;
private: System::Windows::Forms::Button^ butSetBack;
private: System::Windows::Forms::Label^ labAppType;
private: System::Windows::Forms::Label^ labMedia;
private: System::Windows::Forms::TextBox^ tboxAppType;
private: System::Windows::Forms::TextBox^ tboxMedia;
private: System::Windows::Forms::TextBox^ tboxPlatform;
public:
Form1(void)
{
InitializeComponent();
//
//TODO: ここにコンストラクタ コードを追加します
//
this->hSrl = gcnew (RCSrl);
this->hDeliv = gcnew (RCDeliverable);
this->hErrorList = gcnew System::Collections::Generic::List<RCMrcError^>();
this->hErrorList->Clear();
this->hWarnList = gcnew System::Collections::Generic::List<RCMrcError^>();
this->hWarnList->Clear();
// バージョン情報を表示
//this->labAssemblyVersion->Text = System::Windows::Forms::Application::ProductVersion;
System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly();
this->labAssemblyVersion->Text = "ver." + ass->GetName()->Version->ToString();
// デフォルト値
this->hIsSpreadSheet = gcnew System::Boolean( true );
this->dateRelease->Value = System::DateTime::Now;
this->dateSubmit->Value = System::DateTime::Now;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
this->combRegion->Items->Add( gcnew System::String( L"全リージョン" ) );
#endif
// アプリ種別をつける
#ifdef METWL_VER_APPTYPE_SYSTEM
this->Text += " [FOR SYSTEM APPLICATION]";
#endif
#ifdef METWL_VER_APPTYPE_SECURE
this->Text += " [FOR SECURE APPLICATION]";
#endif
#ifdef METWL_VER_APPTYPE_LAUNCHER
this->Text += " [FOR LAUNCHER APPLICATION]";
#endif
// 複数行表示したいが初期値で設定できないのでここで設定
this->tboxGuideErrorInfo->Text = "このタブには読み込んだROMデータの問題と本プログラムでの入力ミスが列挙されます。";
this->tboxGuideErrorInfo->Text += "\r\n赤文字の項目は、本プログラムで修正不可です。ROMデータ作成時の設定をご確認ください。";
this->tboxGuideErrorInfo->Text += "\r\n青文字の項目は、本プログラムで修正できますが、修正がマスターROMに反映されます。";
this->tboxGuideErrorInfo->Text += "\r\n黒文字の項目は、提出確認書にのみ反映され、マスターROMには反映されません。";
this->loadInit(); // 設定ファイルの読み込み
}
protected:
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::TextBox^ tboxFile;
protected:
private: System::Windows::Forms::GroupBox^ gboxSrl;
private: System::Windows::Forms::TextBox^ tboxTitleName;
private:
/// <summary>
/// 必要なデザイナ変数です。
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
void InitializeComponent(void)
{
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle4 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->tboxFile = (gcnew System::Windows::Forms::TextBox());
this->gboxSrl = (gcnew System::Windows::Forms::GroupBox());
this->tboxRemasterVer = (gcnew System::Windows::Forms::TextBox());
this->tboxRomSize = (gcnew System::Windows::Forms::TextBox());
this->tboxPlatform = (gcnew System::Windows::Forms::TextBox());
this->labPlatform = (gcnew System::Windows::Forms::Label());
this->tboxRomLatency = (gcnew System::Windows::Forms::TextBox());
this->labRomSize = (gcnew System::Windows::Forms::Label());
this->labRomType = (gcnew System::Windows::Forms::Label());
this->tboxMakerCode = (gcnew System::Windows::Forms::TextBox());
this->cboxRemasterVerE = (gcnew System::Windows::Forms::CheckBox());
this->labMakerCode = (gcnew System::Windows::Forms::Label());
this->labGameCode = (gcnew System::Windows::Forms::Label());
this->tboxGameCode = (gcnew System::Windows::Forms::TextBox());
this->labTitleName = (gcnew System::Windows::Forms::Label());
this->labRemasterVer = (gcnew System::Windows::Forms::Label());
this->tboxTitleName = (gcnew System::Windows::Forms::TextBox());
this->labBackup = (gcnew System::Windows::Forms::Label());
this->combBackup = (gcnew System::Windows::Forms::ComboBox());
this->tboxBackupOther = (gcnew System::Windows::Forms::TextBox());
this->gboxCRC = (gcnew System::Windows::Forms::GroupBox());
this->labRomCRC = (gcnew System::Windows::Forms::Label());
this->labHeaderCRC = (gcnew System::Windows::Forms::Label());
this->tboxHeaderCRC = (gcnew System::Windows::Forms::TextBox());
this->tboxWholeCRC = (gcnew System::Windows::Forms::TextBox());
this->labCaption = (gcnew System::Windows::Forms::Label());
this->tboxCaption = (gcnew System::Windows::Forms::TextBox());
this->labPEGIBBFC2 = (gcnew System::Windows::Forms::Label());
this->labOFLC = (gcnew System::Windows::Forms::Label());
this->labPEGIBBFC = (gcnew System::Windows::Forms::Label());
this->labPEGIPRT = (gcnew System::Windows::Forms::Label());
this->labPEGI = (gcnew System::Windows::Forms::Label());
this->labUSK = (gcnew System::Windows::Forms::Label());
this->labESRB = (gcnew System::Windows::Forms::Label());
this->labCERO = (gcnew System::Windows::Forms::Label());
this->cboxAlwaysOFLC = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysPEGIBBFC = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysPEGIPRT = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysPEGI = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysUSK = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysESRB = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysCERO = (gcnew System::Windows::Forms::CheckBox());
this->combOFLC = (gcnew System::Windows::Forms::ComboBox());
this->combPEGIBBFC = (gcnew System::Windows::Forms::ComboBox());
this->combPEGIPRT = (gcnew System::Windows::Forms::ComboBox());
this->combPEGI = (gcnew System::Windows::Forms::ComboBox());
this->combUSK = (gcnew System::Windows::Forms::ComboBox());
this->combESRB = (gcnew System::Windows::Forms::ComboBox());
this->combCERO = (gcnew System::Windows::Forms::ComboBox());
this->cboxOFLC = (gcnew System::Windows::Forms::CheckBox());
this->cboxPEGIBBFC = (gcnew System::Windows::Forms::CheckBox());
this->cboxPEGIPRT = (gcnew System::Windows::Forms::CheckBox());
this->cboxPEGI = (gcnew System::Windows::Forms::CheckBox());
this->cboxUSK = (gcnew System::Windows::Forms::CheckBox());
this->cboxESRB = (gcnew System::Windows::Forms::CheckBox());
this->cboxCERO = (gcnew System::Windows::Forms::CheckBox());
this->labParentalForceEnable = (gcnew System::Windows::Forms::Label());
this->labParentalRating = (gcnew System::Windows::Forms::Label());
this->labParentalEnable = (gcnew System::Windows::Forms::Label());
this->labRegion = (gcnew System::Windows::Forms::Label());
this->cboxIsEULA = (gcnew System::Windows::Forms::CheckBox());
this->combRegion = (gcnew System::Windows::Forms::ComboBox());
this->cboxIsWiFiIcon = (gcnew System::Windows::Forms::CheckBox());
this->labEULA = (gcnew System::Windows::Forms::Label());
this->cboxIsWirelessIcon = (gcnew System::Windows::Forms::CheckBox());
this->numEULA = (gcnew System::Windows::Forms::NumericUpDown());
this->cboxIsInputPerson2 = (gcnew System::Windows::Forms::CheckBox());
this->gboxPerson2 = (gcnew System::Windows::Forms::GroupBox());
this->labArbit4 = (gcnew System::Windows::Forms::Label());
this->labArbit3 = (gcnew System::Windows::Forms::Label());
this->labNTSC2Sur = (gcnew System::Windows::Forms::Label());
this->tboxNTSC2 = (gcnew System::Windows::Forms::TextBox());
this->labFax2 = (gcnew System::Windows::Forms::Label());
this->labNTSC2Pre = (gcnew System::Windows::Forms::Label());
this->tboxFax2 = (gcnew System::Windows::Forms::TextBox());
this->tboxMail2 = (gcnew System::Windows::Forms::TextBox());
this->tboxTel2 = (gcnew System::Windows::Forms::TextBox());
this->tboxFurigana2 = (gcnew System::Windows::Forms::TextBox());
this->tboxPerson2 = (gcnew System::Windows::Forms::TextBox());
this->tboxDepart2 = (gcnew System::Windows::Forms::TextBox());
this->labDepart2 = (gcnew System::Windows::Forms::Label());
this->tboxCompany2 = (gcnew System::Windows::Forms::TextBox());
this->labMail2 = (gcnew System::Windows::Forms::Label());
this->labTel2 = (gcnew System::Windows::Forms::Label());
this->labFurigana2 = (gcnew System::Windows::Forms::Label());
this->labPerson2 = (gcnew System::Windows::Forms::Label());
this->labCompany2 = (gcnew System::Windows::Forms::Label());
this->gboxPerson1 = (gcnew System::Windows::Forms::GroupBox());
this->labArbit2 = (gcnew System::Windows::Forms::Label());
this->labArbit1 = (gcnew System::Windows::Forms::Label());
this->labNTSC1Sur = (gcnew System::Windows::Forms::Label());
this->labFax1 = (gcnew System::Windows::Forms::Label());
this->labNTSC1Pre = (gcnew System::Windows::Forms::Label());
this->tboxNTSC1 = (gcnew System::Windows::Forms::TextBox());
this->tboxFax1 = (gcnew System::Windows::Forms::TextBox());
this->tboxMail1 = (gcnew System::Windows::Forms::TextBox());
this->tboxTel1 = (gcnew System::Windows::Forms::TextBox());
this->tboxFurigana1 = (gcnew System::Windows::Forms::TextBox());
this->tboxPerson1 = (gcnew System::Windows::Forms::TextBox());
this->tboxDepart1 = (gcnew System::Windows::Forms::TextBox());
this->labDepart1 = (gcnew System::Windows::Forms::Label());
this->tboxCompany1 = (gcnew System::Windows::Forms::TextBox());
this->labMail1 = (gcnew System::Windows::Forms::Label());
this->labTel1 = (gcnew System::Windows::Forms::Label());
this->labFurigana1 = (gcnew System::Windows::Forms::Label());
this->labPerson1 = (gcnew System::Windows::Forms::Label());
this->labCompany1 = (gcnew System::Windows::Forms::Label());
this->tboxProductCode2 = (gcnew System::Windows::Forms::TextBox());
this->tboxProductCode1 = (gcnew System::Windows::Forms::TextBox());
this->tboxProductName = (gcnew System::Windows::Forms::TextBox());
this->labProductCode2 = (gcnew System::Windows::Forms::Label());
this->labProductCode1 = (gcnew System::Windows::Forms::Label());
this->dateSubmit = (gcnew System::Windows::Forms::DateTimePicker());
this->dateRelease = (gcnew System::Windows::Forms::DateTimePicker());
this->gboxUsage = (gcnew System::Windows::Forms::GroupBox());
this->tboxUsageOther = (gcnew System::Windows::Forms::TextBox());
this->rUsageOther = (gcnew System::Windows::Forms::RadioButton());
this->rUsageDst = (gcnew System::Windows::Forms::RadioButton());
this->rUsageSample = (gcnew System::Windows::Forms::RadioButton());
this->rUsageSale = (gcnew System::Windows::Forms::RadioButton());
this->gboxSubmitWay = (gcnew System::Windows::Forms::GroupBox());
this->rSubmitHand = (gcnew System::Windows::Forms::RadioButton());
this->rSubmitPost = (gcnew System::Windows::Forms::RadioButton());
this->labSubmiteDate = (gcnew System::Windows::Forms::Label());
this->labReleaseDate = (gcnew System::Windows::Forms::Label());
this->labProductCode = (gcnew System::Windows::Forms::Label());
this->labProductName = (gcnew System::Windows::Forms::Label());
this->labCapSubmitVer = (gcnew System::Windows::Forms::Label());
this->numSubmitVersion = (gcnew System::Windows::Forms::NumericUpDown());
this->labSubmitVer = (gcnew System::Windows::Forms::Label());
this->labMultiForeign1 = (gcnew System::Windows::Forms::Label());
this->tboxProductCode2Foreign3 = (gcnew System::Windows::Forms::TextBox());
this->tboxProductCode2Foreign2 = (gcnew System::Windows::Forms::TextBox());
this->labProductCode2Foreign = (gcnew System::Windows::Forms::Label());
this->cboxReleaseForeign = (gcnew System::Windows::Forms::CheckBox());
this->labProductNameForeign = (gcnew System::Windows::Forms::Label());
this->tboxProductNameForeign = (gcnew System::Windows::Forms::TextBox());
this->labProductCode1Foreign = (gcnew System::Windows::Forms::Label());
this->tboxProductCode1Foreign = (gcnew System::Windows::Forms::TextBox());
this->labProductCodeForeign = (gcnew System::Windows::Forms::Label());
this->tboxProductCode2Foreign1 = (gcnew System::Windows::Forms::TextBox());
this->gboxShared2Size = (gcnew System::Windows::Forms::GroupBox());
this->labShared2Size5 = (gcnew System::Windows::Forms::Label());
this->labShared2Size4 = (gcnew System::Windows::Forms::Label());
this->labShared2Size3 = (gcnew System::Windows::Forms::Label());
this->labShared2Size2 = (gcnew System::Windows::Forms::Label());
this->labShared2Size1 = (gcnew System::Windows::Forms::Label());
this->labShared2Size0 = (gcnew System::Windows::Forms::Label());
this->tboxShared2Size5 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size4 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size3 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size2 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size1 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size0 = (gcnew System::Windows::Forms::TextBox());
this->cboxIsShared2 = (gcnew System::Windows::Forms::CheckBox());
this->labLib = (gcnew System::Windows::Forms::Label());
this->tboxSDK = (gcnew System::Windows::Forms::TextBox());
this->labSDK = (gcnew System::Windows::Forms::Label());
this->gboxTWLExInfo = (gcnew System::Windows::Forms::GroupBox());
this->labByte1 = (gcnew System::Windows::Forms::Label());
this->labHex4 = (gcnew System::Windows::Forms::Label());
this->labHex3 = (gcnew System::Windows::Forms::Label());
this->tboxIsCodec = (gcnew System::Windows::Forms::TextBox());
this->labIsCodec = (gcnew System::Windows::Forms::Label());
this->labNormalRomOffset = (gcnew System::Windows::Forms::Label());
this->tboxNormalRomOffset = (gcnew System::Windows::Forms::TextBox());
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->tboxPublicSize = (gcnew System::Windows::Forms::TextBox());
this->cboxIsSubBanner = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsWL = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsNormalJump = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsTmpJump = (gcnew System::Windows::Forms::CheckBox());
this->gboxAccess = (gcnew System::Windows::Forms::GroupBox());
this->labAccessOther = (gcnew System::Windows::Forms::Label());
this->tboxAccessOther = (gcnew System::Windows::Forms::TextBox());
this->tboxIsGameCardOn = (gcnew System::Windows::Forms::TextBox());
this->labIsGameCardOn = (gcnew System::Windows::Forms::Label());
this->cboxIsNAND = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsSD = (gcnew System::Windows::Forms::CheckBox());
this->gboxTitleID = (gcnew System::Windows::Forms::GroupBox());
this->labAppType = (gcnew System::Windows::Forms::Label());
this->labMedia = (gcnew System::Windows::Forms::Label());
this->tboxAppType = (gcnew System::Windows::Forms::TextBox());
this->tboxMedia = (gcnew System::Windows::Forms::TextBox());
this->labHex2 = (gcnew System::Windows::Forms::Label());
this->labHex1 = (gcnew System::Windows::Forms::Label());
this->tboxTitleIDLo = (gcnew System::Windows::Forms::TextBox());
this->labTitleIDLo = (gcnew System::Windows::Forms::Label());
this->labTitleIDHi = (gcnew System::Windows::Forms::Label());
this->tboxTitleIDHi = (gcnew System::Windows::Forms::TextBox());
this->tboxAppTypeOther = (gcnew System::Windows::Forms::TextBox());
this->labAppTypeOther = (gcnew System::Windows::Forms::Label());
this->labCaptionEx = (gcnew System::Windows::Forms::Label());
this->tboxCaptionEx = (gcnew System::Windows::Forms::TextBox());
this->gboxProd = (gcnew System::Windows::Forms::GroupBox());
this->menuStripAbove = (gcnew System::Windows::Forms::MenuStrip());
this->stripFile = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemOpenRom = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemSaveTemp = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemLoadTemp = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripMaster = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemSheet = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemMasterRom = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripLang = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemEnglish = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemJapanese = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->tabMain = (gcnew System::Windows::Forms::TabControl());
this->tabRomInfo = (gcnew System::Windows::Forms::TabPage());
this->gridLibrary = (gcnew System::Windows::Forms::DataGridView());
this->colLibPublisher = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colLibName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->tboxGuideRomInfo = (gcnew System::Windows::Forms::TextBox());
this->tabTWLInfo = (gcnew System::Windows::Forms::TabPage());
this->tboxGuideTWLInfo = (gcnew System::Windows::Forms::TextBox());
this->gboxExFlags = (gcnew System::Windows::Forms::GroupBox());
this->tabRomEditInfo = (gcnew System::Windows::Forms::TabPage());
this->butSetBack = (gcnew System::Windows::Forms::Button());
this->tboxGuideRomEditInfo = (gcnew System::Windows::Forms::TextBox());
this->gboxParental = (gcnew System::Windows::Forms::GroupBox());
this->gboxIcon = (gcnew System::Windows::Forms::GroupBox());
this->gboxEULA = (gcnew System::Windows::Forms::GroupBox());
this->tabSubmitInfo = (gcnew System::Windows::Forms::TabPage());
this->tboxGuideSubmitInfo = (gcnew System::Windows::Forms::TextBox());
this->gboxForeign = (gcnew System::Windows::Forms::GroupBox());
this->labMultiForeign2 = (gcnew System::Windows::Forms::Label());
this->tabCompanyInfo = (gcnew System::Windows::Forms::TabPage());
this->tboxGuideCompanyInfo = (gcnew System::Windows::Forms::TextBox());
this->tabErrorInfo = (gcnew System::Windows::Forms::TabPage());
this->tboxGuideErrorInfo = (gcnew System::Windows::Forms::TextBox());
this->gboxErrorTiming = (gcnew System::Windows::Forms::GroupBox());
this->rErrorCurrent = (gcnew System::Windows::Forms::RadioButton());
this->rErrorReading = (gcnew System::Windows::Forms::RadioButton());
this->labWarn = (gcnew System::Windows::Forms::Label());
this->labError = (gcnew System::Windows::Forms::Label());
this->gridWarn = (gcnew System::Windows::Forms::DataGridView());
this->colWarnName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colWarnBegin = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colWarnEnd = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colWarnCause = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->gridError = (gcnew System::Windows::Forms::DataGridView());
this->colErrorName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colErrorBegin = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colErrorEnd = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colErrorCause = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->labFile = (gcnew System::Windows::Forms::Label());
this->labAssemblyVersion = (gcnew System::Windows::Forms::Label());
this->gboxSrl->SuspendLayout();
this->gboxCRC->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numEULA))->BeginInit();
this->gboxPerson2->SuspendLayout();
this->gboxPerson1->SuspendLayout();
this->gboxUsage->SuspendLayout();
this->gboxSubmitWay->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numSubmitVersion))->BeginInit();
this->gboxShared2Size->SuspendLayout();
this->gboxTWLExInfo->SuspendLayout();
this->gboxAccess->SuspendLayout();
this->gboxTitleID->SuspendLayout();
this->gboxProd->SuspendLayout();
this->menuStripAbove->SuspendLayout();
this->tabMain->SuspendLayout();
this->tabRomInfo->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->BeginInit();
this->tabTWLInfo->SuspendLayout();
this->gboxExFlags->SuspendLayout();
this->tabRomEditInfo->SuspendLayout();
this->gboxParental->SuspendLayout();
this->gboxIcon->SuspendLayout();
this->gboxEULA->SuspendLayout();
this->tabSubmitInfo->SuspendLayout();
this->gboxForeign->SuspendLayout();
this->tabCompanyInfo->SuspendLayout();
this->tabErrorInfo->SuspendLayout();
this->gboxErrorTiming->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridWarn))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridError))->BeginInit();
this->SuspendLayout();
//
// tboxFile
//
this->tboxFile->AllowDrop = true;
this->tboxFile->Location = System::Drawing::Point(120, 50);
this->tboxFile->Name = L"tboxFile";
this->tboxFile->ReadOnly = true;
this->tboxFile->Size = System::Drawing::Size(607, 19);
this->tboxFile->TabIndex = 0;
this->tboxFile->DragDrop += gcnew System::Windows::Forms::DragEventHandler(this, &Form1::tboxFile_DragDrop);
this->tboxFile->DragEnter += gcnew System::Windows::Forms::DragEventHandler(this, &Form1::tboxFile_DragEnter);
//
// gboxSrl
//
this->gboxSrl->Controls->Add(this->tboxRemasterVer);
this->gboxSrl->Controls->Add(this->tboxRomSize);
this->gboxSrl->Controls->Add(this->tboxPlatform);
this->gboxSrl->Controls->Add(this->labPlatform);
this->gboxSrl->Controls->Add(this->tboxRomLatency);
this->gboxSrl->Controls->Add(this->labRomSize);
this->gboxSrl->Controls->Add(this->labRomType);
this->gboxSrl->Controls->Add(this->tboxMakerCode);
this->gboxSrl->Controls->Add(this->cboxRemasterVerE);
this->gboxSrl->Controls->Add(this->labMakerCode);
this->gboxSrl->Controls->Add(this->labGameCode);
this->gboxSrl->Controls->Add(this->tboxGameCode);
this->gboxSrl->Controls->Add(this->labTitleName);
this->gboxSrl->Controls->Add(this->labRemasterVer);
this->gboxSrl->Controls->Add(this->tboxTitleName);
this->gboxSrl->Location = System::Drawing::Point(26, 52);
this->gboxSrl->Name = L"gboxSrl";
this->gboxSrl->Size = System::Drawing::Size(285, 227);
this->gboxSrl->TabIndex = 3;
this->gboxSrl->TabStop = false;
this->gboxSrl->Text = L"ROMデータ情報";
//
// tboxRemasterVer
//
this->tboxRemasterVer->Location = System::Drawing::Point(109, 190);
this->tboxRemasterVer->Name = L"tboxRemasterVer";
this->tboxRemasterVer->ReadOnly = true;
this->tboxRemasterVer->Size = System::Drawing::Size(42, 19);
this->tboxRemasterVer->TabIndex = 7;
//
// tboxRomSize
//
this->tboxRomSize->Location = System::Drawing::Point(109, 162);
this->tboxRomSize->Name = L"tboxRomSize";
this->tboxRomSize->ReadOnly = true;
this->tboxRomSize->Size = System::Drawing::Size(100, 19);
this->tboxRomSize->TabIndex = 15;
//
// tboxPlatform
//
this->tboxPlatform->Location = System::Drawing::Point(109, 106);
this->tboxPlatform->Name = L"tboxPlatform";
this->tboxPlatform->ReadOnly = true;
this->tboxPlatform->Size = System::Drawing::Size(100, 19);
this->tboxPlatform->TabIndex = 14;
//
// labPlatform
//
this->labPlatform->AutoSize = true;
this->labPlatform->Location = System::Drawing::Point(22, 109);
this->labPlatform->Name = L"labPlatform";
this->labPlatform->Size = System::Drawing::Size(73, 12);
this->labPlatform->TabIndex = 13;
this->labPlatform->Text = L"プラットフォーム";
//
// tboxRomLatency
//
this->tboxRomLatency->Location = System::Drawing::Point(109, 134);
this->tboxRomLatency->Name = L"tboxRomLatency";
this->tboxRomLatency->ReadOnly = true;
this->tboxRomLatency->Size = System::Drawing::Size(100, 19);
this->tboxRomLatency->TabIndex = 11;
//
// labRomSize
//
this->labRomSize->AutoSize = true;
this->labRomSize->Location = System::Drawing::Point(22, 165);
this->labRomSize->Name = L"labRomSize";
this->labRomSize->Size = System::Drawing::Size(54, 12);
this->labRomSize->TabIndex = 9;
this->labRomSize->Text = L"ROM容量";
//
// labRomType
//
this->labRomType->AutoSize = true;
this->labRomType->Location = System::Drawing::Point(22, 137);
this->labRomType->Name = L"labRomType";
this->labRomType->Size = System::Drawing::Size(80, 12);
this->labRomType->TabIndex = 7;
this->labRomType->Text = L"ROMタイプ設定";
//
// tboxMakerCode
//
this->tboxMakerCode->Location = System::Drawing::Point(109, 78);
this->tboxMakerCode->MaxLength = 2;
this->tboxMakerCode->Name = L"tboxMakerCode";
this->tboxMakerCode->ReadOnly = true;
this->tboxMakerCode->Size = System::Drawing::Size(100, 19);
this->tboxMakerCode->TabIndex = 2;
//
// cboxRemasterVerE
//
this->cboxRemasterVerE->AutoSize = true;
this->cboxRemasterVerE->Enabled = false;
this->cboxRemasterVerE->Location = System::Drawing::Point(157, 192);
this->cboxRemasterVerE->Name = L"cboxRemasterVerE";
this->cboxRemasterVerE->Size = System::Drawing::Size(75, 16);
this->cboxRemasterVerE->TabIndex = 8;
this->cboxRemasterVerE->Text = L"E(事前版)";
this->cboxRemasterVerE->UseVisualStyleBackColor = true;
this->cboxRemasterVerE->CheckedChanged += gcnew System::EventHandler(this, &Form1::cboxRemasterVerE_CheckedChanged);
//
// labMakerCode
//
this->labMakerCode->AutoSize = true;
this->labMakerCode->Location = System::Drawing::Point(22, 81);
this->labMakerCode->Name = L"labMakerCode";
this->labMakerCode->Size = System::Drawing::Size(59, 12);
this->labMakerCode->TabIndex = 4;
this->labMakerCode->Text = L"メーカコード";
//
// labGameCode
//
this->labGameCode->AutoSize = true;
this->labGameCode->Location = System::Drawing::Point(22, 53);
this->labGameCode->Name = L"labGameCode";
this->labGameCode->Size = System::Drawing::Size(78, 12);
this->labGameCode->TabIndex = 3;
this->labGameCode->Text = L"イニシャルコード";
//
// tboxGameCode
//
this->tboxGameCode->Location = System::Drawing::Point(109, 50);
this->tboxGameCode->MaxLength = 4;
this->tboxGameCode->Name = L"tboxGameCode";
this->tboxGameCode->ReadOnly = true;
this->tboxGameCode->Size = System::Drawing::Size(100, 19);
this->tboxGameCode->TabIndex = 1;
//
// labTitleName
//
this->labTitleName->AutoSize = true;
this->labTitleName->Location = System::Drawing::Point(22, 24);
this->labTitleName->Name = L"labTitleName";
this->labTitleName->Size = System::Drawing::Size(65, 12);
this->labTitleName->TabIndex = 1;
this->labTitleName->Text = L"ソフトタイトル";
//
// labRemasterVer
//
this->labRemasterVer->AutoSize = true;
this->labRemasterVer->Location = System::Drawing::Point(13, 193);
this->labRemasterVer->Name = L"labRemasterVer";
this->labRemasterVer->Size = System::Drawing::Size(93, 12);
this->labRemasterVer->TabIndex = 22;
this->labRemasterVer->Text = L"リマスターバージョン";
//
// tboxTitleName
//
this->tboxTitleName->ImeMode = System::Windows::Forms::ImeMode::NoControl;
this->tboxTitleName->Location = System::Drawing::Point(109, 21);
this->tboxTitleName->MaxLength = 12;
this->tboxTitleName->Name = L"tboxTitleName";
this->tboxTitleName->ReadOnly = true;
this->tboxTitleName->Size = System::Drawing::Size(100, 19);
this->tboxTitleName->TabIndex = 0;
//
// labBackup
//
this->labBackup->AutoSize = true;
this->labBackup->Location = System::Drawing::Point(6, 21);
this->labBackup->Name = L"labBackup";
this->labBackup->Size = System::Drawing::Size(79, 12);
this->labBackup->TabIndex = 12;
this->labBackup->Text = L"バックアップメモリ";
//
// combBackup
//
this->combBackup->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combBackup->FormattingEnabled = true;
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"4Kbit EEPROM", L"64Kbit EEPROM", L"512Kbit EEPROM",
L"256Kbit FRAM", L"2Mbit FLASH", L"4Mbit FLASH", L"8Mbit FLASH", L"なし", L"その他"});
this->combBackup->Location = System::Drawing::Point(105, 17);
this->combBackup->MaxDropDownItems = 9;
this->combBackup->Name = L"combBackup";
this->combBackup->Size = System::Drawing::Size(113, 20);
this->combBackup->TabIndex = 5;
this->combBackup->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::combBackup_SelectedIndexChanged);
//
// tboxBackupOther
//
this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Location = System::Drawing::Point(224, 17);
this->tboxBackupOther->Name = L"tboxBackupOther";
this->tboxBackupOther->Size = System::Drawing::Size(120, 19);
this->tboxBackupOther->TabIndex = 6;
//
// gboxCRC
//
this->gboxCRC->Controls->Add(this->labRomCRC);
this->gboxCRC->Controls->Add(this->labHeaderCRC);
this->gboxCRC->Controls->Add(this->tboxHeaderCRC);
this->gboxCRC->Controls->Add(this->tboxWholeCRC);
this->gboxCRC->Location = System::Drawing::Point(26, 285);
this->gboxCRC->Name = L"gboxCRC";
this->gboxCRC->Size = System::Drawing::Size(285, 49);
this->gboxCRC->TabIndex = 5;
this->gboxCRC->TabStop = false;
this->gboxCRC->Text = L"CRC";
//
// labRomCRC
//
this->labRomCRC->AutoSize = true;
this->labRomCRC->Location = System::Drawing::Point(146, 20);
this->labRomCRC->Name = L"labRomCRC";
this->labRomCRC->Size = System::Drawing::Size(63, 12);
this->labRomCRC->TabIndex = 3;
this->labRomCRC->Text = L"全体のCRC";
//
// labHeaderCRC
//
this->labHeaderCRC->AutoSize = true;
this->labHeaderCRC->Location = System::Drawing::Point(6, 20);
this->labHeaderCRC->Name = L"labHeaderCRC";
this->labHeaderCRC->Size = System::Drawing::Size(55, 12);
this->labHeaderCRC->TabIndex = 2;
this->labHeaderCRC->Text = L"ヘッダCRC";
//
// tboxHeaderCRC
//
this->tboxHeaderCRC->Location = System::Drawing::Point(78, 17);
this->tboxHeaderCRC->Name = L"tboxHeaderCRC";
this->tboxHeaderCRC->ReadOnly = true;
this->tboxHeaderCRC->Size = System::Drawing::Size(55, 19);
this->tboxHeaderCRC->TabIndex = 1;
//
// tboxWholeCRC
//
this->tboxWholeCRC->Location = System::Drawing::Point(215, 17);
this->tboxWholeCRC->Name = L"tboxWholeCRC";
this->tboxWholeCRC->ReadOnly = true;
this->tboxWholeCRC->Size = System::Drawing::Size(55, 19);
this->tboxWholeCRC->TabIndex = 0;
//
// labCaption
//
this->labCaption->AutoSize = true;
this->labCaption->Location = System::Drawing::Point(379, 245);
this->labCaption->Name = L"labCaption";
this->labCaption->Size = System::Drawing::Size(241, 12);
this->labCaption->TabIndex = 8;
this->labCaption->Text = L"備考欄 - その他連絡事項があればご記入ください";
//
// tboxCaption
//
this->tboxCaption->Location = System::Drawing::Point(378, 263);
this->tboxCaption->Multiline = true;
this->tboxCaption->Name = L"tboxCaption";
this->tboxCaption->Size = System::Drawing::Size(345, 74);
this->tboxCaption->TabIndex = 8;
//
// labPEGIBBFC2
//
this->labPEGIBBFC2->AutoSize = true;
this->labPEGIBBFC2->Location = System::Drawing::Point(12, 216);
this->labPEGIBBFC2->Name = L"labPEGIBBFC2";
this->labPEGIBBFC2->Size = System::Drawing::Size(46, 12);
this->labPEGIBBFC2->TabIndex = 35;
this->labPEGIBBFC2->Text = L"+ BBFC";
//
// labOFLC
//
this->labOFLC->AutoSize = true;
this->labOFLC->Location = System::Drawing::Point(48, 234);
this->labOFLC->Name = L"labOFLC";
this->labOFLC->Size = System::Drawing::Size(34, 12);
this->labOFLC->TabIndex = 33;
this->labOFLC->Text = L"OFLC";
//
// labPEGIBBFC
//
this->labPEGIBBFC->AutoSize = true;
this->labPEGIBBFC->Location = System::Drawing::Point(12, 204);
this->labPEGIBBFC->Name = L"labPEGIBBFC";
this->labPEGIBBFC->Size = System::Drawing::Size(77, 12);
this->labPEGIBBFC->TabIndex = 32;
this->labPEGIBBFC->Text = L"PEGI(General)";
//
// labPEGIPRT
//
this->labPEGIPRT->AutoSize = true;
this->labPEGIPRT->Location = System::Drawing::Point(12, 182);
this->labPEGIPRT->Name = L"labPEGIPRT";
this->labPEGIPRT->Size = System::Drawing::Size(76, 12);
this->labPEGIPRT->TabIndex = 31;
this->labPEGIPRT->Text = L"PEGI Portugal";
//
// labPEGI
//
this->labPEGI->AutoSize = true;
this->labPEGI->Location = System::Drawing::Point(12, 156);
this->labPEGI->Name = L"labPEGI";
this->labPEGI->Size = System::Drawing::Size(77, 12);
this->labPEGI->TabIndex = 30;
this->labPEGI->Text = L"PEGI(General)";
//
// labUSK
//
this->labUSK->AutoSize = true;
this->labUSK->Location = System::Drawing::Point(48, 130);
this->labUSK->Name = L"labUSK";
this->labUSK->Size = System::Drawing::Size(27, 12);
this->labUSK->TabIndex = 29;
this->labUSK->Text = L"USK";
//
// labESRB
//
this->labESRB->AutoSize = true;
this->labESRB->Location = System::Drawing::Point(48, 104);
this->labESRB->Name = L"labESRB";
this->labESRB->Size = System::Drawing::Size(35, 12);
this->labESRB->TabIndex = 28;
this->labESRB->Text = L"ESRB";
//
// labCERO
//
this->labCERO->AutoSize = true;
this->labCERO->Location = System::Drawing::Point(48, 78);
this->labCERO->Name = L"labCERO";
this->labCERO->Size = System::Drawing::Size(36, 12);
this->labCERO->TabIndex = 27;
this->labCERO->Text = L"CERO";
//
// cboxAlwaysOFLC
//
this->cboxAlwaysOFLC->AutoSize = true;
this->cboxAlwaysOFLC->Location = System::Drawing::Point(373, 234);
this->cboxAlwaysOFLC->Name = L"cboxAlwaysOFLC";
this->cboxAlwaysOFLC->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysOFLC->TabIndex = 20;
this->cboxAlwaysOFLC->UseVisualStyleBackColor = true;
//
// cboxAlwaysPEGIBBFC
//
this->cboxAlwaysPEGIBBFC->AutoSize = true;
this->cboxAlwaysPEGIBBFC->Location = System::Drawing::Point(373, 208);
this->cboxAlwaysPEGIBBFC->Name = L"cboxAlwaysPEGIBBFC";
this->cboxAlwaysPEGIBBFC->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysPEGIBBFC->TabIndex = 17;
this->cboxAlwaysPEGIBBFC->UseVisualStyleBackColor = true;
//
// cboxAlwaysPEGIPRT
//
this->cboxAlwaysPEGIPRT->AutoSize = true;
this->cboxAlwaysPEGIPRT->Location = System::Drawing::Point(373, 182);
this->cboxAlwaysPEGIPRT->Name = L"cboxAlwaysPEGIPRT";
this->cboxAlwaysPEGIPRT->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysPEGIPRT->TabIndex = 14;
this->cboxAlwaysPEGIPRT->UseVisualStyleBackColor = true;
//
// cboxAlwaysPEGI
//
this->cboxAlwaysPEGI->AutoSize = true;
this->cboxAlwaysPEGI->Location = System::Drawing::Point(373, 156);
this->cboxAlwaysPEGI->Name = L"cboxAlwaysPEGI";
this->cboxAlwaysPEGI->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysPEGI->TabIndex = 11;
this->cboxAlwaysPEGI->UseVisualStyleBackColor = true;
//
// cboxAlwaysUSK
//
this->cboxAlwaysUSK->AutoSize = true;
this->cboxAlwaysUSK->Location = System::Drawing::Point(373, 130);
this->cboxAlwaysUSK->Name = L"cboxAlwaysUSK";
this->cboxAlwaysUSK->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysUSK->TabIndex = 8;
this->cboxAlwaysUSK->UseVisualStyleBackColor = true;
//
// cboxAlwaysESRB
//
this->cboxAlwaysESRB->AutoSize = true;
this->cboxAlwaysESRB->Location = System::Drawing::Point(373, 104);
this->cboxAlwaysESRB->Name = L"cboxAlwaysESRB";
this->cboxAlwaysESRB->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysESRB->TabIndex = 5;
this->cboxAlwaysESRB->UseVisualStyleBackColor = true;
//
// cboxAlwaysCERO
//
this->cboxAlwaysCERO->AutoSize = true;
this->cboxAlwaysCERO->Location = System::Drawing::Point(373, 78);
this->cboxAlwaysCERO->Name = L"cboxAlwaysCERO";
this->cboxAlwaysCERO->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysCERO->TabIndex = 2;
this->cboxAlwaysCERO->UseVisualStyleBackColor = true;
//
// combOFLC
//
this->combOFLC->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combOFLC->FormattingEnabled = true;
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"G", L"PG", L"M", L"MA15+", L"未審査"});
this->combOFLC->Location = System::Drawing::Point(95, 231);
this->combOFLC->Name = L"combOFLC";
this->combOFLC->Size = System::Drawing::Size(164, 20);
this->combOFLC->TabIndex = 18;
//
// combPEGIBBFC
//
this->combPEGIBBFC->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combPEGIBBFC->FormattingEnabled = true;
this->combPEGIBBFC->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"3歳以上", L"4歳以上推奨", L"7歳以上", L"8歳以上推奨", L"12歳以上",
L"15歳以上", L"16歳以上", L"18歳以上", L"未審査"});
this->combPEGIBBFC->Location = System::Drawing::Point(95, 205);
this->combPEGIBBFC->Name = L"combPEGIBBFC";
this->combPEGIBBFC->Size = System::Drawing::Size(164, 20);
this->combPEGIBBFC->TabIndex = 15;
//
// combPEGIPRT
//
this->combPEGIPRT->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combPEGIPRT->FormattingEnabled = true;
this->combPEGIPRT->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"4歳以上", L"6歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGIPRT->Location = System::Drawing::Point(95, 179);
this->combPEGIPRT->Name = L"combPEGIPRT";
this->combPEGIPRT->Size = System::Drawing::Size(164, 20);
this->combPEGIPRT->TabIndex = 12;
//
// combPEGI
//
this->combPEGI->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combPEGI->FormattingEnabled = true;
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"3歳以上", L"7歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGI->Location = System::Drawing::Point(95, 153);
this->combPEGI->Name = L"combPEGI";
this->combPEGI->Size = System::Drawing::Size(164, 20);
this->combPEGI->TabIndex = 9;
//
// combUSK
//
this->combUSK->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combUSK->FormattingEnabled = true;
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"年齢制限なし", L"6歳以上", L"12歳以上", L"16歳以上", L"青少年には不適切",
L"未審査"});
this->combUSK->Location = System::Drawing::Point(95, 127);
this->combUSK->Name = L"combUSK";
this->combUSK->Size = System::Drawing::Size(164, 20);
this->combUSK->TabIndex = 6;
//
// combESRB
//
this->combESRB->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combESRB->FormattingEnabled = true;
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"EC (3歳以上)", L"E (6歳以上)", L"E10+ (10歳以上)", L"T (13歳以上)",
L"M (17歳以上)", L"未審査"});
this->combESRB->Location = System::Drawing::Point(95, 101);
this->combESRB->Name = L"combESRB";
this->combESRB->Size = System::Drawing::Size(164, 20);
this->combESRB->TabIndex = 3;
//
// combCERO
//
this->combCERO->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combCERO->FormattingEnabled = true;
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"A (全年齢)", L"B (12歳以上)", L"C (15歳以上)", L"D (17歳以上)",
L"Z (18歳以上)", L"未審査"});
this->combCERO->Location = System::Drawing::Point(95, 75);
this->combCERO->Name = L"combCERO";
this->combCERO->Size = System::Drawing::Size(164, 20);
this->combCERO->TabIndex = 0;
//
// cboxOFLC
//
this->cboxOFLC->AutoSize = true;
this->cboxOFLC->Location = System::Drawing::Point(296, 234);
this->cboxOFLC->Name = L"cboxOFLC";
this->cboxOFLC->Size = System::Drawing::Size(15, 14);
this->cboxOFLC->TabIndex = 19;
this->cboxOFLC->UseVisualStyleBackColor = true;
//
// cboxPEGIBBFC
//
this->cboxPEGIBBFC->AutoSize = true;
this->cboxPEGIBBFC->Location = System::Drawing::Point(296, 208);
this->cboxPEGIBBFC->Name = L"cboxPEGIBBFC";
this->cboxPEGIBBFC->Size = System::Drawing::Size(15, 14);
this->cboxPEGIBBFC->TabIndex = 16;
this->cboxPEGIBBFC->UseVisualStyleBackColor = true;
//
// cboxPEGIPRT
//
this->cboxPEGIPRT->AutoSize = true;
this->cboxPEGIPRT->Location = System::Drawing::Point(296, 182);
this->cboxPEGIPRT->Name = L"cboxPEGIPRT";
this->cboxPEGIPRT->Size = System::Drawing::Size(15, 14);
this->cboxPEGIPRT->TabIndex = 13;
this->cboxPEGIPRT->UseVisualStyleBackColor = true;
//
// cboxPEGI
//
this->cboxPEGI->AutoSize = true;
this->cboxPEGI->Location = System::Drawing::Point(296, 156);
this->cboxPEGI->Name = L"cboxPEGI";
this->cboxPEGI->Size = System::Drawing::Size(15, 14);
this->cboxPEGI->TabIndex = 10;
this->cboxPEGI->UseVisualStyleBackColor = true;
//
// cboxUSK
//
this->cboxUSK->AutoSize = true;
this->cboxUSK->Location = System::Drawing::Point(296, 130);
this->cboxUSK->Name = L"cboxUSK";
this->cboxUSK->Size = System::Drawing::Size(15, 14);
this->cboxUSK->TabIndex = 7;
this->cboxUSK->UseVisualStyleBackColor = true;
//
// cboxESRB
//
this->cboxESRB->AutoSize = true;
this->cboxESRB->Location = System::Drawing::Point(296, 104);
this->cboxESRB->Name = L"cboxESRB";
this->cboxESRB->Size = System::Drawing::Size(15, 14);
this->cboxESRB->TabIndex = 4;
this->cboxESRB->UseVisualStyleBackColor = true;
//
// cboxCERO
//
this->cboxCERO->AutoSize = true;
this->cboxCERO->Location = System::Drawing::Point(296, 78);
this->cboxCERO->Name = L"cboxCERO";
this->cboxCERO->Size = System::Drawing::Size(15, 14);
this->cboxCERO->TabIndex = 1;
this->cboxCERO->UseVisualStyleBackColor = true;
//
// labParentalForceEnable
//
this->labParentalForceEnable->AutoSize = true;
this->labParentalForceEnable->Location = System::Drawing::Point(347, 59);
this->labParentalForceEnable->Name = L"labParentalForceEnable";
this->labParentalForceEnable->Size = System::Drawing::Size(82, 12);
this->labParentalForceEnable->TabIndex = 0;
this->labParentalForceEnable->Text = L"Rating Pending";
//
// labParentalRating
//
this->labParentalRating->AutoSize = true;
this->labParentalRating->Location = System::Drawing::Point(139, 59);
this->labParentalRating->Name = L"labParentalRating";
this->labParentalRating->Size = System::Drawing::Size(58, 12);
this->labParentalRating->TabIndex = 2;
this->labParentalRating->Text = L"レーティング";
//
// labParentalEnable
//
this->labParentalEnable->AutoSize = true;
this->labParentalEnable->Location = System::Drawing::Point(263, 59);
this->labParentalEnable->Name = L"labParentalEnable";
this->labParentalEnable->Size = System::Drawing::Size(62, 12);
this->labParentalEnable->TabIndex = 1;
this->labParentalEnable->Text = L"制限を有効";
//
// labRegion
//
this->labRegion->AutoSize = true;
this->labRegion->Location = System::Drawing::Point(12, 24);
this->labRegion->Name = L"labRegion";
this->labRegion->Size = System::Drawing::Size(75, 12);
this->labRegion->TabIndex = 37;
this->labRegion->Text = L"カードリージョン";
//
// cboxIsEULA
//
this->cboxIsEULA->AutoSize = true;
this->cboxIsEULA->Location = System::Drawing::Point(17, 18);
this->cboxIsEULA->Name = L"cboxIsEULA";
this->cboxIsEULA->Size = System::Drawing::Size(77, 16);
this->cboxIsEULA->TabIndex = 0;
this->cboxIsEULA->Text = L"EULA同意";
this->cboxIsEULA->UseVisualStyleBackColor = true;
//
// combRegion
//
this->combRegion->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combRegion->FormattingEnabled = true;
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"日本のみ", L"米国のみ", L"欧州のみ", L"豪州のみ", L"欧州および豪州"});
this->combRegion->Location = System::Drawing::Point(95, 21);
this->combRegion->Name = L"combRegion";
this->combRegion->Size = System::Drawing::Size(164, 20);
this->combRegion->TabIndex = 36;
this->combRegion->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::combRegion_SelectedIndexChanged);
//
// cboxIsWiFiIcon
//
this->cboxIsWiFiIcon->AutoSize = true;
this->cboxIsWiFiIcon->Location = System::Drawing::Point(6, 43);
this->cboxIsWiFiIcon->Name = L"cboxIsWiFiIcon";
this->cboxIsWiFiIcon->Size = System::Drawing::Size(135, 16);
this->cboxIsWiFiIcon->TabIndex = 3;
this->cboxIsWiFiIcon->Text = L"Wi-Fi通信アイコン表示";
this->cboxIsWiFiIcon->UseVisualStyleBackColor = true;
//
// labEULA
//
this->labEULA->AutoSize = true;
this->labEULA->Location = System::Drawing::Point(14, 44);
this->labEULA->Name = L"labEULA";
this->labEULA->Size = System::Drawing::Size(103, 12);
this->labEULA->TabIndex = 7;
this->labEULA->Text = L"EULA同意バージョン";
//
// cboxIsWirelessIcon
//
this->cboxIsWirelessIcon->AutoSize = true;
this->cboxIsWirelessIcon->Location = System::Drawing::Point(6, 18);
this->cboxIsWirelessIcon->Name = L"cboxIsWirelessIcon";
this->cboxIsWirelessIcon->Size = System::Drawing::Size(168, 16);
this->cboxIsWirelessIcon->TabIndex = 2;
this->cboxIsWirelessIcon->Text = L"DSワイヤレス通信アイコン表示";
this->cboxIsWirelessIcon->UseVisualStyleBackColor = true;
//
// numEULA
//
this->numEULA->Location = System::Drawing::Point(130, 39);
this->numEULA->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
this->numEULA->Name = L"numEULA";
this->numEULA->Size = System::Drawing::Size(45, 19);
this->numEULA->TabIndex = 1;
this->numEULA->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// cboxIsInputPerson2
//
this->cboxIsInputPerson2->AutoSize = true;
this->cboxIsInputPerson2->Location = System::Drawing::Point(392, 66);
this->cboxIsInputPerson2->Name = L"cboxIsInputPerson2";
this->cboxIsInputPerson2->Size = System::Drawing::Size(150, 16);
this->cboxIsInputPerson2->TabIndex = 7;
this->cboxIsInputPerson2->Text = L"担当者2を入力する(任意)";
this->cboxIsInputPerson2->UseVisualStyleBackColor = true;
this->cboxIsInputPerson2->CheckedChanged += gcnew System::EventHandler(this, &Form1::cboxIsInputPerson2_CheckedChanged);
//
// gboxPerson2
//
this->gboxPerson2->Controls->Add(this->labArbit4);
this->gboxPerson2->Controls->Add(this->labArbit3);
this->gboxPerson2->Controls->Add(this->labNTSC2Sur);
this->gboxPerson2->Controls->Add(this->tboxNTSC2);
this->gboxPerson2->Controls->Add(this->labFax2);
this->gboxPerson2->Controls->Add(this->labNTSC2Pre);
this->gboxPerson2->Controls->Add(this->tboxFax2);
this->gboxPerson2->Controls->Add(this->tboxMail2);
this->gboxPerson2->Controls->Add(this->tboxTel2);
this->gboxPerson2->Controls->Add(this->tboxFurigana2);
this->gboxPerson2->Controls->Add(this->tboxPerson2);
this->gboxPerson2->Controls->Add(this->tboxDepart2);
this->gboxPerson2->Controls->Add(this->labDepart2);
this->gboxPerson2->Controls->Add(this->tboxCompany2);
this->gboxPerson2->Controls->Add(this->labMail2);
this->gboxPerson2->Controls->Add(this->labTel2);
this->gboxPerson2->Controls->Add(this->labFurigana2);
this->gboxPerson2->Controls->Add(this->labPerson2);
this->gboxPerson2->Controls->Add(this->labCompany2);
this->gboxPerson2->Enabled = false;
this->gboxPerson2->Location = System::Drawing::Point(377, 88);
this->gboxPerson2->Name = L"gboxPerson2";
this->gboxPerson2->Size = System::Drawing::Size(347, 234);
this->gboxPerson2->TabIndex = 14;
this->gboxPerson2->TabStop = false;
this->gboxPerson2->Text = L"担当者2";
//
// labArbit4
//
this->labArbit4->AutoSize = true;
this->labArbit4->Location = System::Drawing::Point(209, 207);
this->labArbit4->Name = L"labArbit4";
this->labArbit4->Size = System::Drawing::Size(37, 12);
this->labArbit4->TabIndex = 15;
this->labArbit4->Text = L"(任意)";
//
// labArbit3
//
this->labArbit3->AutoSize = true;
this->labArbit3->Location = System::Drawing::Point(210, 156);
this->labArbit3->Name = L"labArbit3";
this->labArbit3->Size = System::Drawing::Size(37, 12);
this->labArbit3->TabIndex = 13;
this->labArbit3->Text = L"(任意)";
//
// labNTSC2Sur
//
this->labNTSC2Sur->AutoSize = true;
this->labNTSC2Sur->Location = System::Drawing::Point(18, 214);
this->labNTSC2Sur->Name = L"labNTSC2Sur";
this->labNTSC2Sur->Size = System::Drawing::Size(44, 12);
this->labNTSC2Sur->TabIndex = 12;
this->labNTSC2Sur->Text = L"User ID";
//
// tboxNTSC2
//
this->tboxNTSC2->Location = System::Drawing::Point(66, 200);
this->tboxNTSC2->MaxLength = 50;
this->tboxNTSC2->Name = L"tboxNTSC2";
this->tboxNTSC2->Size = System::Drawing::Size(140, 19);
this->tboxNTSC2->TabIndex = 11;
//
// labFax2
//
this->labFax2->AutoSize = true;
this->labFax2->Location = System::Drawing::Point(26, 152);
this->labFax2->Name = L"labFax2";
this->labFax2->Size = System::Drawing::Size(27, 12);
this->labFax2->TabIndex = 4;
this->labFax2->Text = L"FAX";
//
// labNTSC2Pre
//
this->labNTSC2Pre->AutoSize = true;
this->labNTSC2Pre->Location = System::Drawing::Point(18, 200);
this->labNTSC2Pre->Name = L"labNTSC2Pre";
this->labNTSC2Pre->Size = System::Drawing::Size(35, 12);
this->labNTSC2Pre->TabIndex = 11;
this->labNTSC2Pre->Text = L"NTSC";
//
// tboxFax2
//
this->tboxFax2->Location = System::Drawing::Point(66, 149);
this->tboxFax2->MaxLength = 20;
this->tboxFax2->Name = L"tboxFax2";
this->tboxFax2->Size = System::Drawing::Size(140, 19);
this->tboxFax2->TabIndex = 13;
//
// tboxMail2
//
this->tboxMail2->Location = System::Drawing::Point(66, 175);
this->tboxMail2->MaxLength = 50;
this->tboxMail2->Name = L"tboxMail2";
this->tboxMail2->Size = System::Drawing::Size(268, 19);
this->tboxMail2->TabIndex = 14;
//
// tboxTel2
//
this->tboxTel2->Location = System::Drawing::Point(66, 125);
this->tboxTel2->MaxLength = 20;
this->tboxTel2->Name = L"tboxTel2";
this->tboxTel2->Size = System::Drawing::Size(140, 19);
this->tboxTel2->TabIndex = 12;
//
// tboxFurigana2
//
this->tboxFurigana2->Location = System::Drawing::Point(66, 100);
this->tboxFurigana2->MaxLength = 50;
this->tboxFurigana2->Name = L"tboxFurigana2";
this->tboxFurigana2->Size = System::Drawing::Size(268, 19);
this->tboxFurigana2->TabIndex = 11;
//
// tboxPerson2
//
this->tboxPerson2->Location = System::Drawing::Point(66, 75);
this->tboxPerson2->MaxLength = 50;
this->tboxPerson2->Name = L"tboxPerson2";
this->tboxPerson2->Size = System::Drawing::Size(268, 19);
this->tboxPerson2->TabIndex = 10;
//
// tboxDepart2
//
this->tboxDepart2->Location = System::Drawing::Point(66, 50);
this->tboxDepart2->MaxLength = 50;
this->tboxDepart2->Name = L"tboxDepart2";
this->tboxDepart2->Size = System::Drawing::Size(268, 19);
this->tboxDepart2->TabIndex = 9;
//
// labDepart2
//
this->labDepart2->AutoSize = true;
this->labDepart2->Location = System::Drawing::Point(12, 53);
this->labDepart2->Name = L"labDepart2";
this->labDepart2->Size = System::Drawing::Size(41, 12);
this->labDepart2->TabIndex = 7;
this->labDepart2->Text = L"部署名";
//
// tboxCompany2
//
this->tboxCompany2->Location = System::Drawing::Point(66, 25);
this->tboxCompany2->MaxLength = 50;
this->tboxCompany2->Name = L"tboxCompany2";
this->tboxCompany2->Size = System::Drawing::Size(268, 19);
this->tboxCompany2->TabIndex = 8;
//
// labMail2
//
this->labMail2->AutoSize = true;
this->labMail2->Location = System::Drawing::Point(18, 178);
this->labMail2->Name = L"labMail2";
this->labMail2->Size = System::Drawing::Size(38, 12);
this->labMail2->TabIndex = 5;
this->labMail2->Text = L"e-mail";
//
// labTel2
//
this->labTel2->AutoSize = true;
this->labTel2->Location = System::Drawing::Point(28, 128);
this->labTel2->Name = L"labTel2";
this->labTel2->Size = System::Drawing::Size(25, 12);
this->labTel2->TabIndex = 3;
this->labTel2->Text = L"TEL";
//
// labFurigana2
//
this->labFurigana2->AutoSize = true;
this->labFurigana2->Location = System::Drawing::Point(9, 103);
this->labFurigana2->Name = L"labFurigana2";
this->labFurigana2->Size = System::Drawing::Size(51, 12);
this->labFurigana2->TabIndex = 2;
this->labFurigana2->Text = L"(ふりがな)";
//
// labPerson2
//
this->labPerson2->AutoSize = true;
this->labPerson2->Location = System::Drawing::Point(12, 78);
this->labPerson2->Name = L"labPerson2";
this->labPerson2->Size = System::Drawing::Size(38, 12);
this->labPerson2->TabIndex = 1;
this->labPerson2->Text = L"ご氏名";
//
// labCompany2
//
this->labCompany2->AutoSize = true;
this->labCompany2->Location = System::Drawing::Point(12, 28);
this->labCompany2->Name = L"labCompany2";
this->labCompany2->Size = System::Drawing::Size(41, 12);
this->labCompany2->TabIndex = 0;
this->labCompany2->Text = L"貴社名";
//
// gboxPerson1
//
this->gboxPerson1->Controls->Add(this->labArbit2);
this->gboxPerson1->Controls->Add(this->labArbit1);
this->gboxPerson1->Controls->Add(this->labNTSC1Sur);
this->gboxPerson1->Controls->Add(this->labFax1);
this->gboxPerson1->Controls->Add(this->labNTSC1Pre);
this->gboxPerson1->Controls->Add(this->tboxNTSC1);
this->gboxPerson1->Controls->Add(this->tboxFax1);
this->gboxPerson1->Controls->Add(this->tboxMail1);
this->gboxPerson1->Controls->Add(this->tboxTel1);
this->gboxPerson1->Controls->Add(this->tboxFurigana1);
this->gboxPerson1->Controls->Add(this->tboxPerson1);
this->gboxPerson1->Controls->Add(this->tboxDepart1);
this->gboxPerson1->Controls->Add(this->labDepart1);
this->gboxPerson1->Controls->Add(this->tboxCompany1);
this->gboxPerson1->Controls->Add(this->labMail1);
this->gboxPerson1->Controls->Add(this->labTel1);
this->gboxPerson1->Controls->Add(this->labFurigana1);
this->gboxPerson1->Controls->Add(this->labPerson1);
this->gboxPerson1->Controls->Add(this->labCompany1);
this->gboxPerson1->Location = System::Drawing::Point(17, 88);
this->gboxPerson1->Name = L"gboxPerson1";
this->gboxPerson1->Size = System::Drawing::Size(344, 234);
this->gboxPerson1->TabIndex = 8;
this->gboxPerson1->TabStop = false;
this->gboxPerson1->Text = L"担当者1";
//
// labArbit2
//
this->labArbit2->AutoSize = true;
this->labArbit2->Location = System::Drawing::Point(201, 207);
this->labArbit2->Name = L"labArbit2";
this->labArbit2->Size = System::Drawing::Size(37, 12);
this->labArbit2->TabIndex = 12;
this->labArbit2->Text = L"(任意)";
//
// labArbit1
//
this->labArbit1->AutoSize = true;
this->labArbit1->Location = System::Drawing::Point(201, 156);
this->labArbit1->Name = L"labArbit1";
this->labArbit1->Size = System::Drawing::Size(37, 12);
this->labArbit1->TabIndex = 11;
this->labArbit1->Text = L"(任意)";
//
// labNTSC1Sur
//
this->labNTSC1Sur->AutoSize = true;
this->labNTSC1Sur->Location = System::Drawing::Point(18, 214);
this->labNTSC1Sur->Name = L"labNTSC1Sur";
this->labNTSC1Sur->Size = System::Drawing::Size(44, 12);
this->labNTSC1Sur->TabIndex = 10;
this->labNTSC1Sur->Text = L"User ID";
//
// labFax1
//
this->labFax1->AutoSize = true;
this->labFax1->Location = System::Drawing::Point(26, 152);
this->labFax1->Name = L"labFax1";
this->labFax1->Size = System::Drawing::Size(27, 12);
this->labFax1->TabIndex = 4;
this->labFax1->Text = L"FAX";
//
// labNTSC1Pre
//
this->labNTSC1Pre->AutoSize = true;
this->labNTSC1Pre->Location = System::Drawing::Point(18, 200);
this->labNTSC1Pre->Name = L"labNTSC1Pre";
this->labNTSC1Pre->Size = System::Drawing::Size(35, 12);
this->labNTSC1Pre->TabIndex = 9;
this->labNTSC1Pre->Text = L"NTSC";
//
// tboxNTSC1
//
this->tboxNTSC1->Location = System::Drawing::Point(66, 200);
this->tboxNTSC1->MaxLength = 50;
this->tboxNTSC1->Name = L"tboxNTSC1";
this->tboxNTSC1->Size = System::Drawing::Size(131, 19);
this->tboxNTSC1->TabIndex = 8;
//
// tboxFax1
//
this->tboxFax1->Location = System::Drawing::Point(66, 149);
this->tboxFax1->MaxLength = 20;
this->tboxFax1->Name = L"tboxFax1";
this->tboxFax1->Size = System::Drawing::Size(131, 19);
this->tboxFax1->TabIndex = 5;
//
// tboxMail1
//
this->tboxMail1->Location = System::Drawing::Point(66, 175);
this->tboxMail1->MaxLength = 50;
this->tboxMail1->Name = L"tboxMail1";
this->tboxMail1->Size = System::Drawing::Size(261, 19);
this->tboxMail1->TabIndex = 6;
//
// tboxTel1
//
this->tboxTel1->Location = System::Drawing::Point(66, 125);
this->tboxTel1->MaxLength = 20;
this->tboxTel1->Name = L"tboxTel1";
this->tboxTel1->Size = System::Drawing::Size(131, 19);
this->tboxTel1->TabIndex = 4;
//
// tboxFurigana1
//
this->tboxFurigana1->Location = System::Drawing::Point(66, 100);
this->tboxFurigana1->MaxLength = 50;
this->tboxFurigana1->Name = L"tboxFurigana1";
this->tboxFurigana1->Size = System::Drawing::Size(261, 19);
this->tboxFurigana1->TabIndex = 3;
//
// tboxPerson1
//
this->tboxPerson1->Location = System::Drawing::Point(66, 75);
this->tboxPerson1->MaxLength = 50;
this->tboxPerson1->Name = L"tboxPerson1";
this->tboxPerson1->Size = System::Drawing::Size(261, 19);
this->tboxPerson1->TabIndex = 2;
//
// tboxDepart1
//
this->tboxDepart1->Location = System::Drawing::Point(66, 50);
this->tboxDepart1->MaxLength = 50;
this->tboxDepart1->Name = L"tboxDepart1";
this->tboxDepart1->Size = System::Drawing::Size(261, 19);
this->tboxDepart1->TabIndex = 1;
//
// labDepart1
//
this->labDepart1->AutoSize = true;
this->labDepart1->Location = System::Drawing::Point(12, 53);
this->labDepart1->Name = L"labDepart1";
this->labDepart1->Size = System::Drawing::Size(41, 12);
this->labDepart1->TabIndex = 7;
this->labDepart1->Text = L"部署名";
//
// tboxCompany1
//
this->tboxCompany1->Location = System::Drawing::Point(66, 25);
this->tboxCompany1->MaxLength = 50;
this->tboxCompany1->Name = L"tboxCompany1";
this->tboxCompany1->Size = System::Drawing::Size(261, 19);
this->tboxCompany1->TabIndex = 0;
//
// labMail1
//
this->labMail1->AutoSize = true;
this->labMail1->Location = System::Drawing::Point(18, 178);
this->labMail1->Name = L"labMail1";
this->labMail1->Size = System::Drawing::Size(38, 12);
this->labMail1->TabIndex = 5;
this->labMail1->Text = L"e-mail";
//
// labTel1
//
this->labTel1->AutoSize = true;
this->labTel1->Location = System::Drawing::Point(28, 128);
this->labTel1->Name = L"labTel1";
this->labTel1->Size = System::Drawing::Size(25, 12);
this->labTel1->TabIndex = 3;
this->labTel1->Text = L"TEL";
//
// labFurigana1
//
this->labFurigana1->AutoSize = true;
this->labFurigana1->Location = System::Drawing::Point(9, 103);
this->labFurigana1->Name = L"labFurigana1";
this->labFurigana1->Size = System::Drawing::Size(51, 12);
this->labFurigana1->TabIndex = 2;
this->labFurigana1->Text = L"(ふりがな)";
//
// labPerson1
//
this->labPerson1->AutoSize = true;
this->labPerson1->Location = System::Drawing::Point(12, 78);
this->labPerson1->Name = L"labPerson1";
this->labPerson1->Size = System::Drawing::Size(38, 12);
this->labPerson1->TabIndex = 1;
this->labPerson1->Text = L"ご氏名";
//
// labCompany1
//
this->labCompany1->AutoSize = true;
this->labCompany1->Location = System::Drawing::Point(12, 28);
this->labCompany1->Name = L"labCompany1";
this->labCompany1->Size = System::Drawing::Size(41, 12);
this->labCompany1->TabIndex = 0;
this->labCompany1->Text = L"貴社名";
//
// tboxProductCode2
//
this->tboxProductCode2->Location = System::Drawing::Point(175, 81);
this->tboxProductCode2->MaxLength = 4;
this->tboxProductCode2->Name = L"tboxProductCode2";
this->tboxProductCode2->Size = System::Drawing::Size(56, 19);
this->tboxProductCode2->TabIndex = 2;
//
// tboxProductCode1
//
this->tboxProductCode1->Location = System::Drawing::Point(140, 81);
this->tboxProductCode1->MaxLength = 1;
this->tboxProductCode1->Name = L"tboxProductCode1";
this->tboxProductCode1->Size = System::Drawing::Size(18, 19);
this->tboxProductCode1->TabIndex = 1;
//
// tboxProductName
//
this->tboxProductName->Location = System::Drawing::Point(106, 53);
this->tboxProductName->Name = L"tboxProductName";
this->tboxProductName->Size = System::Drawing::Size(225, 19);
this->tboxProductName->TabIndex = 0;
//
// labProductCode2
//
this->labProductCode2->AutoSize = true;
this->labProductCode2->Location = System::Drawing::Point(164, 84);
this->labProductCode2->Name = L"labProductCode2";
this->labProductCode2->Size = System::Drawing::Size(11, 12);
this->labProductCode2->TabIndex = 33;
this->labProductCode2->Text = L"-";
//
// labProductCode1
//
this->labProductCode1->AutoSize = true;
this->labProductCode1->Location = System::Drawing::Point(104, 84);
this->labProductCode1->Name = L"labProductCode1";
this->labProductCode1->Size = System::Drawing::Size(37, 12);
this->labProductCode1->TabIndex = 32;
this->labProductCode1->Text = L"TWL -";
//
// dateSubmit
//
this->dateSubmit->Format = System::Windows::Forms::DateTimePickerFormat::Short;
this->dateSubmit->Location = System::Drawing::Point(106, 140);
this->dateSubmit->MaxDate = System::DateTime(2099, 12, 31, 0, 0, 0, 0);
this->dateSubmit->MinDate = System::DateTime(2008, 1, 1, 0, 0, 0, 0);
this->dateSubmit->Name = L"dateSubmit";
this->dateSubmit->Size = System::Drawing::Size(103, 19);
this->dateSubmit->TabIndex = 4;
this->dateSubmit->Value = System::DateTime(2008, 7, 30, 17, 43, 18, 405);
//
// dateRelease
//
this->dateRelease->Format = System::Windows::Forms::DateTimePickerFormat::Short;
this->dateRelease->Location = System::Drawing::Point(106, 111);
this->dateRelease->MaxDate = System::DateTime(2099, 12, 31, 0, 0, 0, 0);
this->dateRelease->MinDate = System::DateTime(2008, 1, 1, 0, 0, 0, 0);
this->dateRelease->Name = L"dateRelease";
this->dateRelease->Size = System::Drawing::Size(103, 19);
this->dateRelease->TabIndex = 3;
this->dateRelease->Value = System::DateTime(2008, 7, 30, 17, 43, 18, 420);
//
// gboxUsage
//
this->gboxUsage->Controls->Add(this->tboxUsageOther);
this->gboxUsage->Controls->Add(this->rUsageOther);
this->gboxUsage->Controls->Add(this->rUsageDst);
this->gboxUsage->Controls->Add(this->rUsageSample);
this->gboxUsage->Controls->Add(this->rUsageSale);
this->gboxUsage->Location = System::Drawing::Point(16, 258);
this->gboxUsage->Name = L"gboxUsage";
this->gboxUsage->Size = System::Drawing::Size(346, 68);
this->gboxUsage->TabIndex = 6;
this->gboxUsage->TabStop = false;
this->gboxUsage->Text = L"用途";
//
// tboxUsageOther
//
this->tboxUsageOther->Enabled = false;
this->tboxUsageOther->Location = System::Drawing::Point(71, 42);
this->tboxUsageOther->Name = L"tboxUsageOther";
this->tboxUsageOther->Size = System::Drawing::Size(214, 19);
this->tboxUsageOther->TabIndex = 4;
//
// rUsageOther
//
this->rUsageOther->AutoSize = true;
this->rUsageOther->Location = System::Drawing::Point(6, 43);
this->rUsageOther->Name = L"rUsageOther";
this->rUsageOther->Size = System::Drawing::Size(54, 16);
this->rUsageOther->TabIndex = 3;
this->rUsageOther->Text = L"その他";
this->rUsageOther->UseVisualStyleBackColor = true;
this->rUsageOther->CheckedChanged += gcnew System::EventHandler(this, &Form1::rUsageOther_CheckedChanged);
//
// rUsageDst
//
this->rUsageDst->AutoSize = true;
this->rUsageDst->Location = System::Drawing::Point(198, 17);
this->rUsageDst->Name = L"rUsageDst";
this->rUsageDst->Size = System::Drawing::Size(87, 16);
this->rUsageDst->TabIndex = 2;
this->rUsageDst->Text = L"データ配信用";
this->rUsageDst->UseVisualStyleBackColor = true;
//
// rUsageSample
//
this->rUsageSample->AutoSize = true;
this->rUsageSample->Location = System::Drawing::Point(106, 17);
this->rUsageSample->Name = L"rUsageSample";
this->rUsageSample->Size = System::Drawing::Size(71, 16);
this->rUsageSample->TabIndex = 1;
this->rUsageSample->Text = L"試遊台用";
this->rUsageSample->UseVisualStyleBackColor = true;
//
// rUsageSale
//
this->rUsageSale->AutoSize = true;
this->rUsageSale->Checked = true;
this->rUsageSale->Location = System::Drawing::Point(6, 17);
this->rUsageSale->Name = L"rUsageSale";
this->rUsageSale->Size = System::Drawing::Size(83, 16);
this->rUsageSale->TabIndex = 0;
this->rUsageSale->TabStop = true;
this->rUsageSale->Text = L"一般販売用";
this->rUsageSale->UseVisualStyleBackColor = true;
//
// gboxSubmitWay
//
this->gboxSubmitWay->Controls->Add(this->rSubmitHand);
this->gboxSubmitWay->Controls->Add(this->rSubmitPost);
this->gboxSubmitWay->Location = System::Drawing::Point(16, 207);
this->gboxSubmitWay->Name = L"gboxSubmitWay";
this->gboxSubmitWay->Size = System::Drawing::Size(155, 45);
this->gboxSubmitWay->TabIndex = 5;
this->gboxSubmitWay->TabStop = false;
this->gboxSubmitWay->Text = L"提出方法";
//
// rSubmitHand
//
this->rSubmitHand->AutoSize = true;
this->rSubmitHand->Location = System::Drawing::Point(82, 18);
this->rSubmitHand->Name = L"rSubmitHand";
this->rSubmitHand->Size = System::Drawing::Size(56, 16);
this->rSubmitHand->TabIndex = 1;
this->rSubmitHand->Text = L"手渡し";
this->rSubmitHand->UseVisualStyleBackColor = true;
//
// rSubmitPost
//
this->rSubmitPost->AutoSize = true;
this->rSubmitPost->Checked = true;
this->rSubmitPost->Location = System::Drawing::Point(6, 18);
this->rSubmitPost->Name = L"rSubmitPost";
this->rSubmitPost->Size = System::Drawing::Size(47, 16);
this->rSubmitPost->TabIndex = 0;
this->rSubmitPost->TabStop = true;
this->rSubmitPost->Text = L"郵送";
this->rSubmitPost->UseVisualStyleBackColor = true;
//
// labSubmiteDate
//
this->labSubmiteDate->AutoSize = true;
this->labSubmiteDate->Location = System::Drawing::Point(14, 143);
this->labSubmiteDate->Name = L"labSubmiteDate";
this->labSubmiteDate->Size = System::Drawing::Size(65, 12);
this->labSubmiteDate->TabIndex = 11;
this->labSubmiteDate->Text = L"書類提出日";
//
// labReleaseDate
//
this->labReleaseDate->AutoSize = true;
this->labReleaseDate->Location = System::Drawing::Point(15, 114);
this->labReleaseDate->Name = L"labReleaseDate";
this->labReleaseDate->Size = System::Drawing::Size(65, 12);
this->labReleaseDate->TabIndex = 7;
this->labReleaseDate->Text = L"発売予定日";
//
// labProductCode
//
this->labProductCode->AutoSize = true;
this->labProductCode->Location = System::Drawing::Point(14, 84);
this->labProductCode->Name = L"labProductCode";
this->labProductCode->Size = System::Drawing::Size(56, 12);
this->labProductCode->TabIndex = 6;
this->labProductCode->Text = L"製品コード";
//
// labProductName
//
this->labProductName->AutoSize = true;
this->labProductName->Location = System::Drawing::Point(15, 56);
this->labProductName->Name = L"labProductName";
this->labProductName->Size = System::Drawing::Size(41, 12);
this->labProductName->TabIndex = 5;
this->labProductName->Text = L"製品名";
//
// labCapSubmitVer
//
this->labCapSubmitVer->AutoSize = true;
this->labCapSubmitVer->Location = System::Drawing::Point(104, 194);
this->labCapSubmitVer->Name = L"labCapSubmitVer";
this->labCapSubmitVer->Size = System::Drawing::Size(233, 12);
this->labCapSubmitVer->TabIndex = 26;
this->labCapSubmitVer->Text = L"* リマスターバージョンが上がると再び0からカウント";
//
// numSubmitVersion
//
this->numSubmitVersion->Location = System::Drawing::Point(106, 172);
this->numSubmitVersion->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {9, 0, 0, 0});
this->numSubmitVersion->Name = L"numSubmitVersion";
this->numSubmitVersion->Size = System::Drawing::Size(38, 19);
this->numSubmitVersion->TabIndex = 9;
//
// labSubmitVer
//
this->labSubmitVer->AutoSize = true;
this->labSubmitVer->Location = System::Drawing::Point(15, 174);
this->labSubmitVer->Name = L"labSubmitVer";
this->labSubmitVer->Size = System::Drawing::Size(74, 12);
this->labSubmitVer->TabIndex = 24;
this->labSubmitVer->Text = L"提出バージョン";
//
// labMultiForeign1
//
this->labMultiForeign1->AutoSize = true;
this->labMultiForeign1->Location = System::Drawing::Point(217, 96);
this->labMultiForeign1->Name = L"labMultiForeign1";
this->labMultiForeign1->Size = System::Drawing::Size(101, 12);
this->labMultiForeign1->TabIndex = 44;
this->labMultiForeign1->Text = L"(複数ある場合のみ)";
//
// tboxProductCode2Foreign3
//
this->tboxProductCode2Foreign3->Enabled = false;
this->tboxProductCode2Foreign3->Location = System::Drawing::Point(165, 118);
this->tboxProductCode2Foreign3->MaxLength = 4;
this->tboxProductCode2Foreign3->Name = L"tboxProductCode2Foreign3";
this->tboxProductCode2Foreign3->Size = System::Drawing::Size(46, 19);
this->tboxProductCode2Foreign3->TabIndex = 43;
//
// tboxProductCode2Foreign2
//
this->tboxProductCode2Foreign2->Enabled = false;
this->tboxProductCode2Foreign2->Location = System::Drawing::Point(165, 93);
this->tboxProductCode2Foreign2->MaxLength = 4;
this->tboxProductCode2Foreign2->Name = L"tboxProductCode2Foreign2";
this->tboxProductCode2Foreign2->Size = System::Drawing::Size(46, 19);
this->tboxProductCode2Foreign2->TabIndex = 42;
//
// labProductCode2Foreign
//
this->labProductCode2Foreign->AutoSize = true;
this->labProductCode2Foreign->Location = System::Drawing::Point(152, 74);
this->labProductCode2Foreign->Name = L"labProductCode2Foreign";
this->labProductCode2Foreign->Size = System::Drawing::Size(11, 12);
this->labProductCode2Foreign->TabIndex = 41;
this->labProductCode2Foreign->Text = L"-";
//
// cboxReleaseForeign
//
this->cboxReleaseForeign->AutoSize = true;
this->cboxReleaseForeign->Location = System::Drawing::Point(17, 18);
this->cboxReleaseForeign->Name = L"cboxReleaseForeign";
this->cboxReleaseForeign->Size = System::Drawing::Size(144, 16);
this->cboxReleaseForeign->TabIndex = 11;
this->cboxReleaseForeign->Text = L"海外版を発売する(予定)";
this->cboxReleaseForeign->UseVisualStyleBackColor = true;
this->cboxReleaseForeign->CheckedChanged += gcnew System::EventHandler(this, &Form1::cboxReleaseForeign_CheckedChanged);
//
// labProductNameForeign
//
this->labProductNameForeign->AutoSize = true;
this->labProductNameForeign->Location = System::Drawing::Point(15, 43);
this->labProductNameForeign->Name = L"labProductNameForeign";
this->labProductNameForeign->Size = System::Drawing::Size(41, 12);
this->labProductNameForeign->TabIndex = 37;
this->labProductNameForeign->Text = L"製品名";
//
// tboxProductNameForeign
//
this->tboxProductNameForeign->Enabled = false;
this->tboxProductNameForeign->Location = System::Drawing::Point(92, 40);
this->tboxProductNameForeign->Name = L"tboxProductNameForeign";
this->tboxProductNameForeign->Size = System::Drawing::Size(240, 19);
this->tboxProductNameForeign->TabIndex = 12;
//
// labProductCode1Foreign
//
this->labProductCode1Foreign->AutoSize = true;
this->labProductCode1Foreign->Location = System::Drawing::Point(90, 74);
this->labProductCode1Foreign->Name = L"labProductCode1Foreign";
this->labProductCode1Foreign->Size = System::Drawing::Size(37, 12);
this->labProductCode1Foreign->TabIndex = 40;
this->labProductCode1Foreign->Text = L"TWL -";
//
// tboxProductCode1Foreign
//
this->tboxProductCode1Foreign->Enabled = false;
this->tboxProductCode1Foreign->Location = System::Drawing::Point(129, 69);
this->tboxProductCode1Foreign->MaxLength = 1;
this->tboxProductCode1Foreign->Name = L"tboxProductCode1Foreign";
this->tboxProductCode1Foreign->Size = System::Drawing::Size(18, 19);
this->tboxProductCode1Foreign->TabIndex = 13;
//
// labProductCodeForeign
//
this->labProductCodeForeign->AutoSize = true;
this->labProductCodeForeign->Location = System::Drawing::Point(15, 74);
this->labProductCodeForeign->Name = L"labProductCodeForeign";
this->labProductCodeForeign->Size = System::Drawing::Size(56, 12);
this->labProductCodeForeign->TabIndex = 38;
this->labProductCodeForeign->Text = L"製品コード";
//
// tboxProductCode2Foreign1
//
this->tboxProductCode2Foreign1->Enabled = false;
this->tboxProductCode2Foreign1->Location = System::Drawing::Point(165, 68);
this->tboxProductCode2Foreign1->MaxLength = 4;
this->tboxProductCode2Foreign1->Name = L"tboxProductCode2Foreign1";
this->tboxProductCode2Foreign1->Size = System::Drawing::Size(46, 19);
this->tboxProductCode2Foreign1->TabIndex = 14;
//
// gboxShared2Size
//
this->gboxShared2Size->Controls->Add(this->labShared2Size5);
this->gboxShared2Size->Controls->Add(this->labShared2Size4);
this->gboxShared2Size->Controls->Add(this->labShared2Size3);
this->gboxShared2Size->Controls->Add(this->labShared2Size2);
this->gboxShared2Size->Controls->Add(this->labShared2Size1);
this->gboxShared2Size->Controls->Add(this->labShared2Size0);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size5);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size4);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size3);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size2);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size1);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size0);
this->gboxShared2Size->Controls->Add(this->cboxIsShared2);
this->gboxShared2Size->Location = System::Drawing::Point(547, 54);
this->gboxShared2Size->Name = L"gboxShared2Size";
this->gboxShared2Size->Size = System::Drawing::Size(164, 220);
this->gboxShared2Size->TabIndex = 1;
this->gboxShared2Size->TabStop = false;
this->gboxShared2Size->Text = L"Shared2ファイルサイズ";
//
// labShared2Size5
//
this->labShared2Size5->AutoSize = true;
this->labShared2Size5->Location = System::Drawing::Point(7, 180);
this->labShared2Size5->Name = L"labShared2Size5";
this->labShared2Size5->Size = System::Drawing::Size(34, 12);
this->labShared2Size5->TabIndex = 20;
this->labShared2Size5->Text = L"File 5";
//
// labShared2Size4
//
this->labShared2Size4->AutoSize = true;
this->labShared2Size4->Location = System::Drawing::Point(6, 155);
this->labShared2Size4->Name = L"labShared2Size4";
this->labShared2Size4->Size = System::Drawing::Size(34, 12);
this->labShared2Size4->TabIndex = 19;
this->labShared2Size4->Text = L"File 4";
//
// labShared2Size3
//
this->labShared2Size3->AutoSize = true;
this->labShared2Size3->Location = System::Drawing::Point(7, 130);
this->labShared2Size3->Name = L"labShared2Size3";
this->labShared2Size3->Size = System::Drawing::Size(34, 12);
this->labShared2Size3->TabIndex = 18;
this->labShared2Size3->Text = L"File 3";
//
// labShared2Size2
//
this->labShared2Size2->AutoSize = true;
this->labShared2Size2->Location = System::Drawing::Point(7, 105);
this->labShared2Size2->Name = L"labShared2Size2";
this->labShared2Size2->Size = System::Drawing::Size(34, 12);
this->labShared2Size2->TabIndex = 17;
this->labShared2Size2->Text = L"File 2";
//
// labShared2Size1
//
this->labShared2Size1->AutoSize = true;
this->labShared2Size1->Location = System::Drawing::Point(7, 80);
this->labShared2Size1->Name = L"labShared2Size1";
this->labShared2Size1->Size = System::Drawing::Size(34, 12);
this->labShared2Size1->TabIndex = 16;
this->labShared2Size1->Text = L"File 1";
//
// labShared2Size0
//
this->labShared2Size0->AutoSize = true;
this->labShared2Size0->Location = System::Drawing::Point(7, 55);
this->labShared2Size0->Name = L"labShared2Size0";
this->labShared2Size0->Size = System::Drawing::Size(34, 12);
this->labShared2Size0->TabIndex = 15;
this->labShared2Size0->Text = L"File 0";
//
// tboxShared2Size5
//
this->tboxShared2Size5->Location = System::Drawing::Point(46, 177);
this->tboxShared2Size5->Name = L"tboxShared2Size5";
this->tboxShared2Size5->ReadOnly = true;
this->tboxShared2Size5->Size = System::Drawing::Size(90, 19);
this->tboxShared2Size5->TabIndex = 8;
this->tboxShared2Size5->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size4
//
this->tboxShared2Size4->Location = System::Drawing::Point(47, 152);
this->tboxShared2Size4->Name = L"tboxShared2Size4";
this->tboxShared2Size4->ReadOnly = true;
this->tboxShared2Size4->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size4->TabIndex = 7;
this->tboxShared2Size4->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size3
//
this->tboxShared2Size3->Location = System::Drawing::Point(47, 127);
this->tboxShared2Size3->Name = L"tboxShared2Size3";
this->tboxShared2Size3->ReadOnly = true;
this->tboxShared2Size3->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size3->TabIndex = 6;
this->tboxShared2Size3->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size2
//
this->tboxShared2Size2->Location = System::Drawing::Point(47, 102);
this->tboxShared2Size2->Name = L"tboxShared2Size2";
this->tboxShared2Size2->ReadOnly = true;
this->tboxShared2Size2->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size2->TabIndex = 5;
this->tboxShared2Size2->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size1
//
this->tboxShared2Size1->Location = System::Drawing::Point(47, 77);
this->tboxShared2Size1->Name = L"tboxShared2Size1";
this->tboxShared2Size1->ReadOnly = true;
this->tboxShared2Size1->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size1->TabIndex = 4;
this->tboxShared2Size1->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size0
//
this->tboxShared2Size0->Location = System::Drawing::Point(47, 52);
this->tboxShared2Size0->Name = L"tboxShared2Size0";
this->tboxShared2Size0->ReadOnly = true;
this->tboxShared2Size0->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size0->TabIndex = 3;
this->tboxShared2Size0->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// cboxIsShared2
//
this->cboxIsShared2->AutoSize = true;
this->cboxIsShared2->Enabled = false;
this->cboxIsShared2->Location = System::Drawing::Point(8, 25);
this->cboxIsShared2->Name = L"cboxIsShared2";
this->cboxIsShared2->Size = System::Drawing::Size(123, 16);
this->cboxIsShared2->TabIndex = 2;
this->cboxIsShared2->Text = L"Shared2ファイル使用";
this->cboxIsShared2->UseVisualStyleBackColor = true;
//
// labLib
//
this->labLib->AutoSize = true;
this->labLib->Location = System::Drawing::Point(335, 174);
this->labLib->Name = L"labLib";
this->labLib->Size = System::Drawing::Size(70, 12);
this->labLib->TabIndex = 31;
this->labLib->Text = L"使用ライブラリ";
//
// tboxSDK
//
this->tboxSDK->Location = System::Drawing::Point(337, 67);
this->tboxSDK->Multiline = true;
this->tboxSDK->Name = L"tboxSDK";
this->tboxSDK->ReadOnly = true;
this->tboxSDK->ScrollBars = System::Windows::Forms::ScrollBars::Both;
this->tboxSDK->Size = System::Drawing::Size(175, 88);
this->tboxSDK->TabIndex = 10;
//
// labSDK
//
this->labSDK->AutoSize = true;
this->labSDK->Location = System::Drawing::Point(335, 52);
this->labSDK->Name = L"labSDK";
this->labSDK->Size = System::Drawing::Size(72, 12);
this->labSDK->TabIndex = 30;
this->labSDK->Text = L"SDKバージョン";
//
// gboxTWLExInfo
//
this->gboxTWLExInfo->Controls->Add(this->labByte1);
this->gboxTWLExInfo->Controls->Add(this->labHex4);
this->gboxTWLExInfo->Controls->Add(this->labHex3);
this->gboxTWLExInfo->Controls->Add(this->tboxIsCodec);
this->gboxTWLExInfo->Controls->Add(this->labIsCodec);
this->gboxTWLExInfo->Controls->Add(this->labNormalRomOffset);
this->gboxTWLExInfo->Controls->Add(this->tboxNormalRomOffset);
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->tboxPublicSize);
this->gboxTWLExInfo->Location = System::Drawing::Point(231, 54);
this->gboxTWLExInfo->Name = L"gboxTWLExInfo";
this->gboxTWLExInfo->Size = System::Drawing::Size(300, 146);
this->gboxTWLExInfo->TabIndex = 24;
this->gboxTWLExInfo->TabStop = false;
this->gboxTWLExInfo->Text = L"TWL拡張情報";
//
// labByte1
//
this->labByte1->AutoSize = true;
this->labByte1->Location = System::Drawing::Point(585, 29);
this->labByte1->Name = L"labByte1";
this->labByte1->Size = System::Drawing::Size(29, 12);
this->labByte1->TabIndex = 30;
this->labByte1->Text = L"Byte";
//
// labHex4
//
this->labHex4->AutoSize = true;
this->labHex4->Location = System::Drawing::Point(261, 46);
this->labHex4->Name = L"labHex4";
this->labHex4->Size = System::Drawing::Size(11, 12);
this->labHex4->TabIndex = 29;
this->labHex4->Text = L"h";
//
// labHex3
//
this->labHex3->AutoSize = true;
this->labHex3->Location = System::Drawing::Point(261, 21);
this->labHex3->Name = L"labHex3";
this->labHex3->Size = System::Drawing::Size(11, 12);
this->labHex3->TabIndex = 8;
this->labHex3->Text = L"h";
//
// tboxIsCodec
//
this->tboxIsCodec->Location = System::Drawing::Point(172, 118);
this->tboxIsCodec->Name = L"tboxIsCodec";
this->tboxIsCodec->ReadOnly = true;
this->tboxIsCodec->Size = System::Drawing::Size(87, 19);
this->tboxIsCodec->TabIndex = 28;
this->tboxIsCodec->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labIsCodec
//
this->labIsCodec->AutoSize = true;
this->labIsCodec->Location = System::Drawing::Point(55, 121);
this->labIsCodec->Name = L"labIsCodec";
this->labIsCodec->Size = System::Drawing::Size(75, 12);
this->labIsCodec->TabIndex = 27;
this->labIsCodec->Text = L"CODEC Mode";
//
// labNormalRomOffset
//
this->labNormalRomOffset->AutoSize = true;
this->labNormalRomOffset->Location = System::Drawing::Point(7, 21);
this->labNormalRomOffset->Name = L"labNormalRomOffset";
this->labNormalRomOffset->Size = System::Drawing::Size(155, 12);
this->labNormalRomOffset->TabIndex = 9;
this->labNormalRomOffset->Text = L"TWLーマル領域ROMオフセット";
//
// tboxNormalRomOffset
//
this->tboxNormalRomOffset->Location = System::Drawing::Point(172, 18);
this->tboxNormalRomOffset->Name = L"tboxNormalRomOffset";
this->tboxNormalRomOffset->ReadOnly = true;
this->tboxNormalRomOffset->Size = System::Drawing::Size(87, 19);
this->tboxNormalRomOffset->TabIndex = 8;
this->tboxNormalRomOffset->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labKeyTableRomOffset
//
this->labKeyTableRomOffset->AutoSize = true;
this->labKeyTableRomOffset->Location = System::Drawing::Point(7, 46);
this->labKeyTableRomOffset->Name = L"labKeyTableRomOffset";
this->labKeyTableRomOffset->Size = System::Drawing::Size(142, 12);
this->labKeyTableRomOffset->TabIndex = 11;
this->labKeyTableRomOffset->Text = L"TWL専用領域ROMオフセット";
//
// tboxPrivateSize
//
this->tboxPrivateSize->Location = System::Drawing::Point(172, 93);
this->tboxPrivateSize->Name = L"tboxPrivateSize";
this->tboxPrivateSize->ReadOnly = true;
this->tboxPrivateSize->Size = System::Drawing::Size(87, 19);
this->tboxPrivateSize->TabIndex = 13;
this->tboxPrivateSize->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labPrivateSize
//
this->labPrivateSize->AutoSize = true;
this->labPrivateSize->Location = System::Drawing::Point(31, 96);
this->labPrivateSize->Name = L"labPrivateSize";
this->labPrivateSize->Size = System::Drawing::Size(123, 12);
this->labPrivateSize->TabIndex = 15;
this->labPrivateSize->Text = L"Private Save Data Size";
//
// tboxKeyTableRomOffset
//
this->tboxKeyTableRomOffset->Location = System::Drawing::Point(172, 43);
this->tboxKeyTableRomOffset->Name = L"tboxKeyTableRomOffset";
this->tboxKeyTableRomOffset->ReadOnly = true;
this->tboxKeyTableRomOffset->Size = System::Drawing::Size(87, 19);
this->tboxKeyTableRomOffset->TabIndex = 10;
this->tboxKeyTableRomOffset->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labPublicSize
//
this->labPublicSize->AutoSize = true;
this->labPublicSize->Location = System::Drawing::Point(31, 71);
this->labPublicSize->Name = L"labPublicSize";
this->labPublicSize->Size = System::Drawing::Size(118, 12);
this->labPublicSize->TabIndex = 14;
this->labPublicSize->Text = L"Public Save Data Size";
//
// tboxPublicSize
//
this->tboxPublicSize->Location = System::Drawing::Point(172, 68);
this->tboxPublicSize->Name = L"tboxPublicSize";
this->tboxPublicSize->ReadOnly = true;
this->tboxPublicSize->Size = System::Drawing::Size(87, 19);
this->tboxPublicSize->TabIndex = 12;
this->tboxPublicSize->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// cboxIsSubBanner
//
this->cboxIsSubBanner->AutoSize = true;
this->cboxIsSubBanner->Enabled = false;
this->cboxIsSubBanner->Location = System::Drawing::Point(14, 62);
this->cboxIsSubBanner->Name = L"cboxIsSubBanner";
this->cboxIsSubBanner->Size = System::Drawing::Size(131, 16);
this->cboxIsSubBanner->TabIndex = 26;
this->cboxIsSubBanner->Text = L"サブバナーファイル有効";
this->cboxIsSubBanner->UseVisualStyleBackColor = true;
//
// cboxIsWL
//
this->cboxIsWL->AutoSize = true;
this->cboxIsWL->Enabled = false;
this->cboxIsWL->Location = System::Drawing::Point(14, 84);
this->cboxIsWL->Name = L"cboxIsWL";
this->cboxIsWL->Size = System::Drawing::Size(155, 16);
this->cboxIsWL->TabIndex = 25;
this->cboxIsWL->Text = L"NTRホワイトリスト署名有効";
this->cboxIsWL->UseVisualStyleBackColor = true;
//
// cboxIsNormalJump
//
this->cboxIsNormalJump->AutoSize = true;
this->cboxIsNormalJump->Enabled = false;
this->cboxIsNormalJump->Location = System::Drawing::Point(14, 18);
this->cboxIsNormalJump->Name = L"cboxIsNormalJump";
this->cboxIsNormalJump->Size = System::Drawing::Size(121, 16);
this->cboxIsNormalJump->TabIndex = 16;
this->cboxIsNormalJump->Text = L"ノーマルジャンプ許可";
this->cboxIsNormalJump->UseVisualStyleBackColor = true;
//
// cboxIsTmpJump
//
this->cboxIsTmpJump->AutoSize = true;
this->cboxIsTmpJump->Enabled = false;
this->cboxIsTmpJump->Location = System::Drawing::Point(14, 40);
this->cboxIsTmpJump->Name = L"cboxIsTmpJump";
this->cboxIsTmpJump->Size = System::Drawing::Size(103, 16);
this->cboxIsTmpJump->TabIndex = 17;
this->cboxIsTmpJump->Text = L"tmpジャンプ許可";
this->cboxIsTmpJump->UseVisualStyleBackColor = true;
//
// gboxAccess
//
this->gboxAccess->Controls->Add(this->labAccessOther);
this->gboxAccess->Controls->Add(this->tboxAccessOther);
this->gboxAccess->Controls->Add(this->tboxIsGameCardOn);
this->gboxAccess->Controls->Add(this->labIsGameCardOn);
this->gboxAccess->Controls->Add(this->cboxIsNAND);
this->gboxAccess->Controls->Add(this->cboxIsSD);
this->gboxAccess->Location = System::Drawing::Point(231, 211);
this->gboxAccess->Name = L"gboxAccess";
this->gboxAccess->Size = System::Drawing::Size(300, 133);
this->gboxAccess->TabIndex = 0;
this->gboxAccess->TabStop = false;
this->gboxAccess->Text = L"アクセスコントロール情報";
//
// labAccessOther
//
this->labAccessOther->AutoSize = true;
this->labAccessOther->Location = System::Drawing::Point(139, 20);
this->labAccessOther->Name = L"labAccessOther";
this->labAccessOther->Size = System::Drawing::Size(36, 12);
this->labAccessOther->TabIndex = 5;
this->labAccessOther->Text = L"その他";
//
// tboxAccessOther
//
this->tboxAccessOther->Location = System::Drawing::Point(141, 36);
this->tboxAccessOther->Multiline = true;
this->tboxAccessOther->Name = L"tboxAccessOther";
this->tboxAccessOther->ReadOnly = true;
this->tboxAccessOther->Size = System::Drawing::Size(142, 85);
this->tboxAccessOther->TabIndex = 4;
//
// tboxIsGameCardOn
//
this->tboxIsGameCardOn->Location = System::Drawing::Point(8, 102);
this->tboxIsGameCardOn->Name = L"tboxIsGameCardOn";
this->tboxIsGameCardOn->ReadOnly = true;
this->tboxIsGameCardOn->Size = System::Drawing::Size(122, 19);
this->tboxIsGameCardOn->TabIndex = 3;
this->tboxIsGameCardOn->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labIsGameCardOn
//
this->labIsGameCardOn->AutoSize = true;
this->labIsGameCardOn->Location = System::Drawing::Point(7, 87);
this->labIsGameCardOn->Name = L"labIsGameCardOn";
this->labIsGameCardOn->Size = System::Drawing::Size(87, 12);
this->labIsGameCardOn->TabIndex = 2;
this->labIsGameCardOn->Text = L"ゲームカード電源";
//
// cboxIsNAND
//
this->cboxIsNAND->AutoSize = true;
this->cboxIsNAND->Enabled = false;
this->cboxIsNAND->Location = System::Drawing::Point(9, 47);
this->cboxIsNAND->Name = L"cboxIsNAND";
this->cboxIsNAND->Size = System::Drawing::Size(121, 16);
this->cboxIsNAND->TabIndex = 1;
this->cboxIsNAND->Text = L"NANDフラッシュメモリ";
this->cboxIsNAND->UseVisualStyleBackColor = true;
//
// cboxIsSD
//
this->cboxIsSD->AutoSize = true;
this->cboxIsSD->Enabled = false;
this->cboxIsSD->Location = System::Drawing::Point(9, 24);
this->cboxIsSD->Name = L"cboxIsSD";
this->cboxIsSD->Size = System::Drawing::Size(67, 16);
this->cboxIsSD->TabIndex = 0;
this->cboxIsSD->Text = L"SDカード";
this->cboxIsSD->UseVisualStyleBackColor = true;
//
// gboxTitleID
//
this->gboxTitleID->Controls->Add(this->labAppType);
this->gboxTitleID->Controls->Add(this->labMedia);
this->gboxTitleID->Controls->Add(this->tboxAppType);
this->gboxTitleID->Controls->Add(this->tboxMedia);
this->gboxTitleID->Controls->Add(this->labHex2);
this->gboxTitleID->Controls->Add(this->labHex1);
this->gboxTitleID->Controls->Add(this->tboxTitleIDLo);
this->gboxTitleID->Controls->Add(this->labTitleIDLo);
this->gboxTitleID->Controls->Add(this->labTitleIDHi);
this->gboxTitleID->Controls->Add(this->tboxTitleIDHi);
this->gboxTitleID->Controls->Add(this->tboxAppTypeOther);
this->gboxTitleID->Controls->Add(this->labAppTypeOther);
this->gboxTitleID->Location = System::Drawing::Point(12, 54);
this->gboxTitleID->Name = L"gboxTitleID";
this->gboxTitleID->Size = System::Drawing::Size(198, 174);
this->gboxTitleID->TabIndex = 23;
this->gboxTitleID->TabStop = false;
this->gboxTitleID->Text = L"TitleID";
//
// labAppType
//
this->labAppType->AutoSize = true;
this->labAppType->Location = System::Drawing::Point(21, 98);
this->labAppType->Name = L"labAppType";
this->labAppType->Size = System::Drawing::Size(56, 12);
this->labAppType->TabIndex = 11;
this->labAppType->Text = L"App. Type";
//
// labMedia
//
this->labMedia->AutoSize = true;
this->labMedia->Location = System::Drawing::Point(39, 73);
this->labMedia->Name = L"labMedia";
this->labMedia->Size = System::Drawing::Size(35, 12);
this->labMedia->TabIndex = 10;
this->labMedia->Text = L"Media";
//
// tboxAppType
//
this->tboxAppType->Location = System::Drawing::Point(83, 95);
this->tboxAppType->Name = L"tboxAppType";
this->tboxAppType->ReadOnly = true;
this->tboxAppType->Size = System::Drawing::Size(71, 19);
this->tboxAppType->TabIndex = 9;
this->tboxAppType->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxMedia
//
this->tboxMedia->Location = System::Drawing::Point(83, 70);
this->tboxMedia->Name = L"tboxMedia";
this->tboxMedia->ReadOnly = true;
this->tboxMedia->Size = System::Drawing::Size(71, 19);
this->tboxMedia->TabIndex = 8;
this->tboxMedia->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labHex2
//
this->labHex2->AutoSize = true;
this->labHex2->Location = System::Drawing::Point(160, 48);
this->labHex2->Name = L"labHex2";
this->labHex2->Size = System::Drawing::Size(11, 12);
this->labHex2->TabIndex = 7;
this->labHex2->Text = L"h";
//
// labHex1
//
this->labHex1->AutoSize = true;
this->labHex1->Location = System::Drawing::Point(160, 23);
this->labHex1->Name = L"labHex1";
this->labHex1->Size = System::Drawing::Size(11, 12);
this->labHex1->TabIndex = 6;
this->labHex1->Text = L"h";
//
// tboxTitleIDLo
//
this->tboxTitleIDLo->Location = System::Drawing::Point(83, 20);
this->tboxTitleIDLo->Name = L"tboxTitleIDLo";
this->tboxTitleIDLo->ReadOnly = true;
this->tboxTitleIDLo->Size = System::Drawing::Size(71, 19);
this->tboxTitleIDLo->TabIndex = 1;
this->tboxTitleIDLo->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labTitleIDLo
//
this->labTitleIDLo->AutoSize = true;
this->labTitleIDLo->Location = System::Drawing::Point(11, 23);
this->labTitleIDLo->Name = L"labTitleIDLo";
this->labTitleIDLo->Size = System::Drawing::Size(63, 12);
this->labTitleIDLo->TabIndex = 0;
this->labTitleIDLo->Text = L"TitleID Low";
//
// labTitleIDHi
//
this->labTitleIDHi->AutoSize = true;
this->labTitleIDHi->Location = System::Drawing::Point(11, 48);
this->labTitleIDHi->Name = L"labTitleIDHi";
this->labTitleIDHi->Size = System::Drawing::Size(66, 12);
this->labTitleIDHi->TabIndex = 2;
this->labTitleIDHi->Text = L"TitleID High";
//
// tboxTitleIDHi
//
this->tboxTitleIDHi->Location = System::Drawing::Point(83, 45);
this->tboxTitleIDHi->Name = L"tboxTitleIDHi";
this->tboxTitleIDHi->ReadOnly = true;
this->tboxTitleIDHi->Size = System::Drawing::Size(71, 19);
this->tboxTitleIDHi->TabIndex = 3;
this->tboxTitleIDHi->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxAppTypeOther
//
this->tboxAppTypeOther->Location = System::Drawing::Point(14, 134);
this->tboxAppTypeOther->Multiline = true;
this->tboxAppTypeOther->Name = L"tboxAppTypeOther";
this->tboxAppTypeOther->ReadOnly = true;
this->tboxAppTypeOther->Size = System::Drawing::Size(170, 34);
this->tboxAppTypeOther->TabIndex = 4;
//
// labAppTypeOther
//
this->labAppTypeOther->AutoSize = true;
this->labAppTypeOther->Location = System::Drawing::Point(12, 122);
this->labAppTypeOther->Name = L"labAppTypeOther";
this->labAppTypeOther->Size = System::Drawing::Size(58, 12);
this->labAppTypeOther->TabIndex = 5;
this->labAppTypeOther->Text = L"Other Info.";
//
// labCaptionEx
//
this->labCaptionEx->AutoSize = true;
this->labCaptionEx->Location = System::Drawing::Point(528, 52);
this->labCaptionEx->Name = L"labCaptionEx";
this->labCaptionEx->Size = System::Drawing::Size(53, 12);
this->labCaptionEx->TabIndex = 11;
this->labCaptionEx->Text = L"特記事項";
//
// tboxCaptionEx
//
this->tboxCaptionEx->Location = System::Drawing::Point(530, 67);
this->tboxCaptionEx->Multiline = true;
this->tboxCaptionEx->Name = L"tboxCaptionEx";
this->tboxCaptionEx->ReadOnly = true;
this->tboxCaptionEx->ScrollBars = System::Windows::Forms::ScrollBars::Vertical;
this->tboxCaptionEx->Size = System::Drawing::Size(181, 88);
this->tboxCaptionEx->TabIndex = 10;
//
// gboxProd
//
this->gboxProd->Controls->Add(this->combBackup);
this->gboxProd->Controls->Add(this->labBackup);
this->gboxProd->Controls->Add(this->tboxBackupOther);
this->gboxProd->Location = System::Drawing::Point(367, 36);
this->gboxProd->Name = L"gboxProd";
this->gboxProd->Size = System::Drawing::Size(356, 50);
this->gboxProd->TabIndex = 13;
this->gboxProd->TabStop = false;
this->gboxProd->Text = L"ROM生産情報";
//
// menuStripAbove
//
this->menuStripAbove->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->stripFile, this->stripMaster,
this->stripLang});
this->menuStripAbove->Location = System::Drawing::Point(0, 0);
this->menuStripAbove->Name = L"menuStripAbove";
this->menuStripAbove->Size = System::Drawing::Size(777, 24);
this->menuStripAbove->TabIndex = 33;
this->menuStripAbove->Text = L"menuStrip1";
//
// stripFile
//
this->stripFile->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->stripItemOpenRom,
this->stripItemSaveTemp, this->stripItemLoadTemp});
this->stripFile->Name = L"stripFile";
this->stripFile->Size = System::Drawing::Size(51, 20);
this->stripFile->Text = L"ファイル";
//
// stripItemOpenRom
//
this->stripItemOpenRom->Name = L"stripItemOpenRom";
this->stripItemOpenRom->Size = System::Drawing::Size(211, 22);
this->stripItemOpenRom->Text = L"ROMデータを開く";
this->stripItemOpenRom->Click += gcnew System::EventHandler(this, &Form1::stripItemOpenRom_Click);
//
// stripItemSaveTemp
//
this->stripItemSaveTemp->Name = L"stripItemSaveTemp";
this->stripItemSaveTemp->Size = System::Drawing::Size(211, 22);
this->stripItemSaveTemp->Text = L"提出情報を一時保存する";
this->stripItemSaveTemp->Click += gcnew System::EventHandler(this, &Form1::stripItemSaveTemp_Click);
//
// stripItemLoadTemp
//
this->stripItemLoadTemp->Name = L"stripItemLoadTemp";
this->stripItemLoadTemp->Size = System::Drawing::Size(211, 22);
this->stripItemLoadTemp->Text = L"一時保存した提出情報を開く";
this->stripItemLoadTemp->Click += gcnew System::EventHandler(this, &Form1::stripItemLoadTemp_Click);
//
// stripMaster
//
this->stripMaster->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->stripItemSheet,
this->stripItemMasterRom});
this->stripMaster->Name = L"stripMaster";
this->stripMaster->Size = System::Drawing::Size(53, 20);
this->stripMaster->Text = L"マスター";
//
// stripItemSheet
//
this->stripItemSheet->Name = L"stripItemSheet";
this->stripItemSheet->Size = System::Drawing::Size(232, 22);
this->stripItemSheet->Text = L"提出確認書とマスターROMを作成";
this->stripItemSheet->Click += gcnew System::EventHandler(this, &Form1::stripItemSheet_Click);
//
// stripItemMasterRom
//
this->stripItemMasterRom->Name = L"stripItemMasterRom";
this->stripItemMasterRom->Size = System::Drawing::Size(232, 22);
this->stripItemMasterRom->Text = L"マスターROMのみを作成";
this->stripItemMasterRom->Click += gcnew System::EventHandler(this, &Form1::stripItemMasterRom_Click);
//
// stripLang
//
this->stripLang->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->stripItemEnglish,
this->stripItemJapanese});
this->stripLang->Name = L"stripLang";
this->stripLang->Size = System::Drawing::Size(65, 20);
this->stripLang->Text = L"Language";
//
// stripItemEnglish
//
this->stripItemEnglish->Name = L"stripItemEnglish";
this->stripItemEnglish->Size = System::Drawing::Size(119, 22);
this->stripItemEnglish->Text = L"English";
this->stripItemEnglish->Click += gcnew System::EventHandler(this, &Form1::stripItemEnglish_Click);
//
// stripItemJapanese
//
this->stripItemJapanese->Checked = true;
this->stripItemJapanese->CheckState = System::Windows::Forms::CheckState::Checked;
this->stripItemJapanese->Name = L"stripItemJapanese";
this->stripItemJapanese->Size = System::Drawing::Size(119, 22);
this->stripItemJapanese->Text = L"Japanese";
this->stripItemJapanese->Click += gcnew System::EventHandler(this, &Form1::stripItemJapanese_Click);
//
// tabMain
//
this->tabMain->Controls->Add(this->tabRomInfo);
this->tabMain->Controls->Add(this->tabTWLInfo);
this->tabMain->Controls->Add(this->tabRomEditInfo);
this->tabMain->Controls->Add(this->tabSubmitInfo);
this->tabMain->Controls->Add(this->tabCompanyInfo);
this->tabMain->Controls->Add(this->tabErrorInfo);
this->tabMain->Location = System::Drawing::Point(12, 93);
this->tabMain->Name = L"tabMain";
this->tabMain->SelectedIndex = 0;
this->tabMain->Size = System::Drawing::Size(749, 377);
this->tabMain->TabIndex = 34;
this->tabMain->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::tabMain_SelectedIndexChanged);
//
// tabRomInfo
//
this->tabRomInfo->Controls->Add(this->gridLibrary);
this->tabRomInfo->Controls->Add(this->tboxGuideRomInfo);
this->tabRomInfo->Controls->Add(this->gboxSrl);
this->tabRomInfo->Controls->Add(this->labLib);
this->tabRomInfo->Controls->Add(this->labCaptionEx);
this->tabRomInfo->Controls->Add(this->tboxCaptionEx);
this->tabRomInfo->Controls->Add(this->gboxCRC);
this->tabRomInfo->Controls->Add(this->tboxSDK);
this->tabRomInfo->Controls->Add(this->labSDK);
this->tabRomInfo->Location = System::Drawing::Point(4, 21);
this->tabRomInfo->Name = L"tabRomInfo";
this->tabRomInfo->Padding = System::Windows::Forms::Padding(3);
this->tabRomInfo->Size = System::Drawing::Size(741, 352);
this->tabRomInfo->TabIndex = 0;
this->tabRomInfo->Text = L"ROM基本情報(確認用)";
this->tabRomInfo->UseVisualStyleBackColor = true;
//
// gridLibrary
//
this->gridLibrary->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridLibrary->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridLibrary->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(2) {this->colLibPublisher,
this->colLibName});
this->gridLibrary->Location = System::Drawing::Point(337, 189);
this->gridLibrary->Name = L"gridLibrary";
this->gridLibrary->RowHeadersVisible = false;
this->gridLibrary->RowTemplate->Height = 21;
this->gridLibrary->Size = System::Drawing::Size(374, 145);
this->gridLibrary->TabIndex = 36;
//
// colLibPublisher
//
this->colLibPublisher->HeaderText = L"Publisher";
this->colLibPublisher->Name = L"colLibPublisher";
//
// colLibName
//
this->colLibName->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colLibName->HeaderText = L"Library Name";
this->colLibName->Name = L"colLibName";
this->colLibName->ReadOnly = true;
//
// tboxGuideRomInfo
//
this->tboxGuideRomInfo->BackColor = System::Drawing::SystemColors::Info;
this->tboxGuideRomInfo->Location = System::Drawing::Point(24, 11);
this->tboxGuideRomInfo->Name = L"tboxGuideRomInfo";
this->tboxGuideRomInfo->ReadOnly = true;
this->tboxGuideRomInfo->Size = System::Drawing::Size(687, 19);
this->tboxGuideRomInfo->TabIndex = 35;
this->tboxGuideRomInfo->Text = L"このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。";
//
// tabTWLInfo
//
this->tabTWLInfo->Controls->Add(this->tboxGuideTWLInfo);
this->tabTWLInfo->Controls->Add(this->gboxExFlags);
this->tabTWLInfo->Controls->Add(this->gboxShared2Size);
this->tabTWLInfo->Controls->Add(this->gboxTWLExInfo);
this->tabTWLInfo->Controls->Add(this->gboxAccess);
this->tabTWLInfo->Controls->Add(this->gboxTitleID);
this->tabTWLInfo->Location = System::Drawing::Point(4, 21);
this->tabTWLInfo->Name = L"tabTWLInfo";
this->tabTWLInfo->Padding = System::Windows::Forms::Padding(3);
this->tabTWLInfo->Size = System::Drawing::Size(741, 352);
this->tabTWLInfo->TabIndex = 1;
this->tabTWLInfo->Text = L"TWL拡張情報(確認用)";
this->tabTWLInfo->UseVisualStyleBackColor = true;
//
// tboxGuideTWLInfo
//
this->tboxGuideTWLInfo->BackColor = System::Drawing::SystemColors::Info;
this->tboxGuideTWLInfo->Location = System::Drawing::Point(24, 11);
this->tboxGuideTWLInfo->Name = L"tboxGuideTWLInfo";
this->tboxGuideTWLInfo->ReadOnly = true;
this->tboxGuideTWLInfo->Size = System::Drawing::Size(687, 19);
this->tboxGuideTWLInfo->TabIndex = 36;
this->tboxGuideTWLInfo->Text = L"このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。";
//
// gboxExFlags
//
this->gboxExFlags->Controls->Add(this->cboxIsNormalJump);
this->gboxExFlags->Controls->Add(this->cboxIsTmpJump);
this->gboxExFlags->Controls->Add(this->cboxIsWL);
this->gboxExFlags->Controls->Add(this->cboxIsSubBanner);
this->gboxExFlags->Location = System::Drawing::Point(12, 236);
this->gboxExFlags->Name = L"gboxExFlags";
this->gboxExFlags->Size = System::Drawing::Size(198, 108);
this->gboxExFlags->TabIndex = 35;
this->gboxExFlags->TabStop = false;
this->gboxExFlags->Text = L"TWL拡張諸フラグ";
//
// tabRomEditInfo
//
this->tabRomEditInfo->Controls->Add(this->butSetBack);
this->tabRomEditInfo->Controls->Add(this->tboxGuideRomEditInfo);
this->tabRomEditInfo->Controls->Add(this->gboxParental);
this->tabRomEditInfo->Controls->Add(this->gboxIcon);
this->tabRomEditInfo->Controls->Add(this->gboxEULA);
this->tabRomEditInfo->Location = System::Drawing::Point(4, 21);
this->tabRomEditInfo->Name = L"tabRomEditInfo";
this->tabRomEditInfo->Size = System::Drawing::Size(741, 352);
this->tabRomEditInfo->TabIndex = 2;
this->tabRomEditInfo->Text = L"ROM登録情報(編集可)";
this->tabRomEditInfo->UseVisualStyleBackColor = true;
//
// butSetBack
//
this->butSetBack->Location = System::Drawing::Point(43, 289);
this->butSetBack->Name = L"butSetBack";
this->butSetBack->Size = System::Drawing::Size(151, 23);
this->butSetBack->TabIndex = 38;
this->butSetBack->Text = L"読み込み時の設定に戻す";
this->butSetBack->UseVisualStyleBackColor = true;
this->butSetBack->Click += gcnew System::EventHandler(this, &Form1::butSetBack_Click);
//
// tboxGuideRomEditInfo
//
this->tboxGuideRomEditInfo->BackColor = System::Drawing::SystemColors::Info;
this->tboxGuideRomEditInfo->Location = System::Drawing::Point(24, 11);
this->tboxGuideRomEditInfo->Name = L"tboxGuideRomEditInfo";
this->tboxGuideRomEditInfo->ReadOnly = true;
this->tboxGuideRomEditInfo->Size = System::Drawing::Size(687, 19);
this->tboxGuideRomEditInfo->TabIndex = 37;
this->tboxGuideRomEditInfo->Text = L"このタブの情報は提出確認書およびマスターROMの作成に必要です。編集してください。";
//
// gboxParental
//
this->gboxParental->Controls->Add(this->labRegion);
this->gboxParental->Controls->Add(this->combRegion);
this->gboxParental->Controls->Add(this->cboxAlwaysPEGIBBFC);
this->gboxParental->Controls->Add(this->labPEGIBBFC2);
this->gboxParental->Controls->Add(this->cboxPEGIBBFC);
this->gboxParental->Controls->Add(this->labParentalRating);
this->gboxParental->Controls->Add(this->cboxOFLC);
this->gboxParental->Controls->Add(this->labOFLC);
this->gboxParental->Controls->Add(this->cboxAlwaysOFLC);
this->gboxParental->Controls->Add(this->labParentalEnable);
this->gboxParental->Controls->Add(this->cboxAlwaysPEGIPRT);
this->gboxParental->Controls->Add(this->labPEGIBBFC);
this->gboxParental->Controls->Add(this->cboxPEGIPRT);
this->gboxParental->Controls->Add(this->combPEGIBBFC);
this->gboxParental->Controls->Add(this->combCERO);
this->gboxParental->Controls->Add(this->labParentalForceEnable);
this->gboxParental->Controls->Add(this->labCERO);
this->gboxParental->Controls->Add(this->combOFLC);
this->gboxParental->Controls->Add(this->cboxAlwaysPEGI);
this->gboxParental->Controls->Add(this->labPEGIPRT);
this->gboxParental->Controls->Add(this->cboxPEGI);
this->gboxParental->Controls->Add(this->combPEGIPRT);
this->gboxParental->Controls->Add(this->combESRB);
this->gboxParental->Controls->Add(this->cboxCERO);
this->gboxParental->Controls->Add(this->labESRB);
this->gboxParental->Controls->Add(this->cboxAlwaysCERO);
this->gboxParental->Controls->Add(this->cboxAlwaysUSK);
this->gboxParental->Controls->Add(this->labPEGI);
this->gboxParental->Controls->Add(this->cboxUSK);
this->gboxParental->Controls->Add(this->combPEGI);
this->gboxParental->Controls->Add(this->combUSK);
this->gboxParental->Controls->Add(this->cboxESRB);
this->gboxParental->Controls->Add(this->labUSK);
this->gboxParental->Controls->Add(this->cboxAlwaysESRB);
this->gboxParental->Location = System::Drawing::Point(252, 60);
this->gboxParental->Name = L"gboxParental";
this->gboxParental->Size = System::Drawing::Size(440, 272);
this->gboxParental->TabIndex = 33;
this->gboxParental->TabStop = false;
this->gboxParental->Text = L"リージョンとペアレンタルコントロール";
//
// gboxIcon
//
this->gboxIcon->Controls->Add(this->cboxIsWirelessIcon);
this->gboxIcon->Controls->Add(this->cboxIsWiFiIcon);
this->gboxIcon->Location = System::Drawing::Point(19, 138);
this->gboxIcon->Name = L"gboxIcon";
this->gboxIcon->Size = System::Drawing::Size(215, 69);
this->gboxIcon->TabIndex = 32;
this->gboxIcon->TabStop = false;
this->gboxIcon->Text = L"アイコン表示";
//
// gboxEULA
//
this->gboxEULA->Controls->Add(this->cboxIsEULA);
this->gboxEULA->Controls->Add(this->numEULA);
this->gboxEULA->Controls->Add(this->labEULA);
this->gboxEULA->Location = System::Drawing::Point(19, 60);
this->gboxEULA->Name = L"gboxEULA";
this->gboxEULA->Size = System::Drawing::Size(215, 72);
this->gboxEULA->TabIndex = 31;
this->gboxEULA->TabStop = false;
this->gboxEULA->Text = L"EULA";
//
// tabSubmitInfo
//
this->tabSubmitInfo->Controls->Add(this->tboxGuideSubmitInfo);
this->tabSubmitInfo->Controls->Add(this->gboxForeign);
this->tabSubmitInfo->Controls->Add(this->tboxCaption);
this->tabSubmitInfo->Controls->Add(this->labSubmitVer);
this->tabSubmitInfo->Controls->Add(this->labCaption);
this->tabSubmitInfo->Controls->Add(this->tboxProductCode2);
this->tabSubmitInfo->Controls->Add(this->labCapSubmitVer);
this->tabSubmitInfo->Controls->Add(this->gboxUsage);
this->tabSubmitInfo->Controls->Add(this->numSubmitVersion);
this->tabSubmitInfo->Controls->Add(this->gboxProd);
this->tabSubmitInfo->Controls->Add(this->gboxSubmitWay);
this->tabSubmitInfo->Controls->Add(this->tboxProductCode1);
this->tabSubmitInfo->Controls->Add(this->labSubmiteDate);
this->tabSubmitInfo->Controls->Add(this->dateRelease);
this->tabSubmitInfo->Controls->Add(this->tboxProductName);
this->tabSubmitInfo->Controls->Add(this->labReleaseDate);
this->tabSubmitInfo->Controls->Add(this->dateSubmit);
this->tabSubmitInfo->Controls->Add(this->labProductCode2);
this->tabSubmitInfo->Controls->Add(this->labProductCode);
this->tabSubmitInfo->Controls->Add(this->labProductName);
this->tabSubmitInfo->Controls->Add(this->labProductCode1);
this->tabSubmitInfo->Location = System::Drawing::Point(4, 21);
this->tabSubmitInfo->Name = L"tabSubmitInfo";
this->tabSubmitInfo->Size = System::Drawing::Size(741, 352);
this->tabSubmitInfo->TabIndex = 3;
this->tabSubmitInfo->Text = L"提出情報(編集可)";
this->tabSubmitInfo->UseVisualStyleBackColor = true;
//
// tboxGuideSubmitInfo
//
this->tboxGuideSubmitInfo->BackColor = System::Drawing::SystemColors::Info;
this->tboxGuideSubmitInfo->Location = System::Drawing::Point(24, 11);
this->tboxGuideSubmitInfo->Name = L"tboxGuideSubmitInfo";
this->tboxGuideSubmitInfo->ReadOnly = true;
this->tboxGuideSubmitInfo->Size = System::Drawing::Size(687, 19);
this->tboxGuideSubmitInfo->TabIndex = 38;
this->tboxGuideSubmitInfo->Text = L"このタブの情報は提出確認書の作成に必要です。入力してください。";
//
// gboxForeign
//
this->gboxForeign->Controls->Add(this->labMultiForeign2);
this->gboxForeign->Controls->Add(this->cboxReleaseForeign);
this->gboxForeign->Controls->Add(this->labMultiForeign1);
this->gboxForeign->Controls->Add(this->tboxProductCode2Foreign1);
this->gboxForeign->Controls->Add(this->tboxProductCode2Foreign3);
this->gboxForeign->Controls->Add(this->labProductCodeForeign);
this->gboxForeign->Controls->Add(this->tboxProductCode2Foreign2);
this->gboxForeign->Controls->Add(this->tboxProductCode1Foreign);
this->gboxForeign->Controls->Add(this->labProductCode2Foreign);
this->gboxForeign->Controls->Add(this->labProductCode1Foreign);
this->gboxForeign->Controls->Add(this->tboxProductNameForeign);
this->gboxForeign->Controls->Add(this->labProductNameForeign);
this->gboxForeign->Location = System::Drawing::Point(368, 92);
this->gboxForeign->Name = L"gboxForeign";
this->gboxForeign->Size = System::Drawing::Size(355, 141);
this->gboxForeign->TabIndex = 35;
this->gboxForeign->TabStop = false;
this->gboxForeign->Text = L"海外版";
//
// labMultiForeign2
//
this->labMultiForeign2->AutoSize = true;
this->labMultiForeign2->Location = System::Drawing::Point(217, 121);
this->labMultiForeign2->Name = L"labMultiForeign2";
this->labMultiForeign2->Size = System::Drawing::Size(101, 12);
this->labMultiForeign2->TabIndex = 45;
this->labMultiForeign2->Text = L"(複数ある場合のみ)";
//
// tabCompanyInfo
//
this->tabCompanyInfo->Controls->Add(this->tboxGuideCompanyInfo);
this->tabCompanyInfo->Controls->Add(this->cboxIsInputPerson2);
this->tabCompanyInfo->Controls->Add(this->gboxPerson1);
this->tabCompanyInfo->Controls->Add(this->gboxPerson2);
this->tabCompanyInfo->Location = System::Drawing::Point(4, 21);
this->tabCompanyInfo->Name = L"tabCompanyInfo";
this->tabCompanyInfo->Size = System::Drawing::Size(741, 352);
this->tabCompanyInfo->TabIndex = 4;
this->tabCompanyInfo->Text = L"会社情報(編集可)";
this->tabCompanyInfo->UseVisualStyleBackColor = true;
//
// tboxGuideCompanyInfo
//
this->tboxGuideCompanyInfo->BackColor = System::Drawing::SystemColors::Info;
this->tboxGuideCompanyInfo->Location = System::Drawing::Point(24, 11);
this->tboxGuideCompanyInfo->Name = L"tboxGuideCompanyInfo";
this->tboxGuideCompanyInfo->ReadOnly = true;
this->tboxGuideCompanyInfo->Size = System::Drawing::Size(687, 19);
this->tboxGuideCompanyInfo->TabIndex = 39;
this->tboxGuideCompanyInfo->Text = L"このタブの情報は提出確認書の作成に必要です。入力してください。";
//
// tabErrorInfo
//
this->tabErrorInfo->Controls->Add(this->tboxGuideErrorInfo);
this->tabErrorInfo->Controls->Add(this->gboxErrorTiming);
this->tabErrorInfo->Controls->Add(this->labWarn);
this->tabErrorInfo->Controls->Add(this->labError);
this->tabErrorInfo->Controls->Add(this->gridWarn);
this->tabErrorInfo->Controls->Add(this->gridError);
this->tabErrorInfo->Location = System::Drawing::Point(4, 21);
this->tabErrorInfo->Name = L"tabErrorInfo";
this->tabErrorInfo->Size = System::Drawing::Size(741, 352);
this->tabErrorInfo->TabIndex = 5;
this->tabErrorInfo->Text = L"エラー情報(要修正)";
this->tabErrorInfo->UseVisualStyleBackColor = true;
//
// tboxGuideErrorInfo
//
this->tboxGuideErrorInfo->BackColor = System::Drawing::SystemColors::Info;
this->tboxGuideErrorInfo->Location = System::Drawing::Point(24, 11);
this->tboxGuideErrorInfo->Multiline = true;
this->tboxGuideErrorInfo->Name = L"tboxGuideErrorInfo";
this->tboxGuideErrorInfo->ReadOnly = true;
this->tboxGuideErrorInfo->Size = System::Drawing::Size(511, 61);
this->tboxGuideErrorInfo->TabIndex = 40;
//
// gboxErrorTiming
//
this->gboxErrorTiming->Controls->Add(this->rErrorCurrent);
this->gboxErrorTiming->Controls->Add(this->rErrorReading);
this->gboxErrorTiming->Location = System::Drawing::Point(551, 11);
this->gboxErrorTiming->Name = L"gboxErrorTiming";
this->gboxErrorTiming->Size = System::Drawing::Size(172, 71);
this->gboxErrorTiming->TabIndex = 41;
this->gboxErrorTiming->TabStop = false;
this->gboxErrorTiming->Text = L"いつの情報を表示するか";
//
// rErrorCurrent
//
this->rErrorCurrent->AutoSize = true;
this->rErrorCurrent->Location = System::Drawing::Point(6, 45);
this->rErrorCurrent->Name = L"rErrorCurrent";
this->rErrorCurrent->Size = System::Drawing::Size(114, 16);
this->rErrorCurrent->TabIndex = 1;
this->rErrorCurrent->TabStop = true;
this->rErrorCurrent->Text = L"現在の入力を反映";
this->rErrorCurrent->UseVisualStyleBackColor = true;
this->rErrorCurrent->CheckedChanged += gcnew System::EventHandler(this, &Form1::rErrorCurrent_CheckedChanged);
//
// rErrorReading
//
this->rErrorReading->AutoSize = true;
this->rErrorReading->Checked = true;
this->rErrorReading->Location = System::Drawing::Point(6, 18);
this->rErrorReading->Name = L"rErrorReading";
this->rErrorReading->Size = System::Drawing::Size(134, 16);
this->rErrorReading->TabIndex = 0;
this->rErrorReading->TabStop = true;
this->rErrorReading->Text = L"ROMデータ読み込み時";
this->rErrorReading->UseVisualStyleBackColor = true;
this->rErrorReading->CheckedChanged += gcnew System::EventHandler(this, &Form1::rErrorReading_CheckedChanged);
//
// labWarn
//
this->labWarn->AutoSize = true;
this->labWarn->ForeColor = System::Drawing::SystemColors::ActiveCaption;
this->labWarn->Location = System::Drawing::Point(22, 213);
this->labWarn->Name = L"labWarn";
this->labWarn->Size = System::Drawing::Size(339, 12);
this->labWarn->TabIndex = 40;
this->labWarn->Text = L"警告(修正は必須ではありませんが情報に誤りがないかご確認ください。)";
//
// labError
//
this->labError->AutoSize = true;
this->labError->ForeColor = System::Drawing::SystemColors::ActiveCaption;
this->labError->Location = System::Drawing::Point(22, 84);
this->labError->Name = L"labError";
this->labError->Size = System::Drawing::Size(145, 12);
this->labError->TabIndex = 39;
this->labError->Text = L"エラー(必ず修正してください。)";
//
// gridWarn
//
this->gridWarn->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridWarn->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridWarn->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(4) {this->colWarnName,
this->colWarnBegin, this->colWarnEnd, this->colWarnCause});
this->gridWarn->GridColor = System::Drawing::SystemColors::Control;
this->gridWarn->Location = System::Drawing::Point(24, 228);
this->gridWarn->Name = L"gridWarn";
this->gridWarn->ReadOnly = true;
this->gridWarn->RowHeadersVisible = false;
this->gridWarn->RowTemplate->Height = 21;
this->gridWarn->Size = System::Drawing::Size(699, 106);
this->gridWarn->TabIndex = 38;
//
// colWarnName
//
this->colWarnName->HeaderText = L"項目名";
this->colWarnName->Name = L"colWarnName";
this->colWarnName->ReadOnly = true;
this->colWarnName->Width = 150;
//
// colWarnBegin
//
this->colWarnBegin->HeaderText = L"開始";
this->colWarnBegin->Name = L"colWarnBegin";
this->colWarnBegin->ReadOnly = true;
this->colWarnBegin->Width = 60;
//
// colWarnEnd
//
this->colWarnEnd->HeaderText = L"終了";
this->colWarnEnd->Name = L"colWarnEnd";
this->colWarnEnd->ReadOnly = true;
this->colWarnEnd->Width = 60;
//
// colWarnCause
//
this->colWarnCause->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colWarnCause->HeaderText = L"要因";
this->colWarnCause->Name = L"colWarnCause";
this->colWarnCause->ReadOnly = true;
//
// gridError
//
dataGridViewCellStyle4->BackColor = System::Drawing::Color::White;
this->gridError->AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
this->gridError->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridError->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridError->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(4) {this->colErrorName,
this->colErrorBegin, this->colErrorEnd, this->colErrorCause});
this->gridError->GridColor = System::Drawing::SystemColors::Control;
this->gridError->Location = System::Drawing::Point(24, 99);
this->gridError->Name = L"gridError";
this->gridError->ReadOnly = true;
this->gridError->RowHeadersVisible = false;
this->gridError->RowTemplate->Height = 21;
this->gridError->Size = System::Drawing::Size(699, 103);
this->gridError->TabIndex = 37;
//
// colErrorName
//
this->colErrorName->HeaderText = L"項目名";
this->colErrorName->Name = L"colErrorName";
this->colErrorName->ReadOnly = true;
this->colErrorName->Width = 150;
//
// colErrorBegin
//
this->colErrorBegin->HeaderText = L"開始";
this->colErrorBegin->Name = L"colErrorBegin";
this->colErrorBegin->ReadOnly = true;
this->colErrorBegin->Width = 60;
//
// colErrorEnd
//
this->colErrorEnd->HeaderText = L"終了";
this->colErrorEnd->Name = L"colErrorEnd";
this->colErrorEnd->ReadOnly = true;
this->colErrorEnd->Width = 60;
//
// colErrorCause
//
this->colErrorCause->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colErrorCause->HeaderText = L"要因";
this->colErrorCause->Name = L"colErrorCause";
this->colErrorCause->ReadOnly = true;
//
// labFile
//
this->labFile->AutoSize = true;
this->labFile->Location = System::Drawing::Point(22, 53);
this->labFile->Name = L"labFile";
this->labFile->Size = System::Drawing::Size(92, 12);
this->labFile->TabIndex = 36;
this->labFile->Text = L"ROMデータファイル";
//
// labAssemblyVersion
//
this->labAssemblyVersion->AutoSize = true;
this->labAssemblyVersion->ForeColor = System::Drawing::SystemColors::ControlText;
this->labAssemblyVersion->Location = System::Drawing::Point(664, 24);
this->labAssemblyVersion->Name = L"labAssemblyVersion";
this->labAssemblyVersion->Size = System::Drawing::Size(101, 12);
this->labAssemblyVersion->TabIndex = 37;
this->labAssemblyVersion->Text = L"ver.0.0.00000.00000";
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(777, 482);
this->Controls->Add(this->labAssemblyVersion);
this->Controls->Add(this->labFile);
this->Controls->Add(this->tabMain);
this->Controls->Add(this->tboxFile);
this->Controls->Add(this->menuStripAbove);
this->MainMenuStrip = this->menuStripAbove;
this->Name = L"Form1";
this->Text = L"TWL MasterEditor";
this->gboxSrl->ResumeLayout(false);
this->gboxSrl->PerformLayout();
this->gboxCRC->ResumeLayout(false);
this->gboxCRC->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numEULA))->EndInit();
this->gboxPerson2->ResumeLayout(false);
this->gboxPerson2->PerformLayout();
this->gboxPerson1->ResumeLayout(false);
this->gboxPerson1->PerformLayout();
this->gboxUsage->ResumeLayout(false);
this->gboxUsage->PerformLayout();
this->gboxSubmitWay->ResumeLayout(false);
this->gboxSubmitWay->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numSubmitVersion))->EndInit();
this->gboxShared2Size->ResumeLayout(false);
this->gboxShared2Size->PerformLayout();
this->gboxTWLExInfo->ResumeLayout(false);
this->gboxTWLExInfo->PerformLayout();
this->gboxAccess->ResumeLayout(false);
this->gboxAccess->PerformLayout();
this->gboxTitleID->ResumeLayout(false);
this->gboxTitleID->PerformLayout();
this->gboxProd->ResumeLayout(false);
this->gboxProd->PerformLayout();
this->menuStripAbove->ResumeLayout(false);
this->menuStripAbove->PerformLayout();
this->tabMain->ResumeLayout(false);
this->tabRomInfo->ResumeLayout(false);
this->tabRomInfo->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->EndInit();
this->tabTWLInfo->ResumeLayout(false);
this->tabTWLInfo->PerformLayout();
this->gboxExFlags->ResumeLayout(false);
this->gboxExFlags->PerformLayout();
this->tabRomEditInfo->ResumeLayout(false);
this->tabRomEditInfo->PerformLayout();
this->gboxParental->ResumeLayout(false);
this->gboxParental->PerformLayout();
this->gboxIcon->ResumeLayout(false);
this->gboxIcon->PerformLayout();
this->gboxEULA->ResumeLayout(false);
this->gboxEULA->PerformLayout();
this->tabSubmitInfo->ResumeLayout(false);
this->tabSubmitInfo->PerformLayout();
this->gboxForeign->ResumeLayout(false);
this->gboxForeign->PerformLayout();
this->tabCompanyInfo->ResumeLayout(false);
this->tabCompanyInfo->PerformLayout();
this->tabErrorInfo->ResumeLayout(false);
this->tabErrorInfo->PerformLayout();
this->gboxErrorTiming->ResumeLayout(false);
this->gboxErrorTiming->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridWarn))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridError))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
/////////////////////////////////////////////
// 内部メソッド
/////////////////////////////////////////////
private:
// ----------------------------------------------
// ファイルのR/W
// ----------------------------------------------
// 設定ファイルの読み込み
void loadInit(void)
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
// xmlファイルの読み込み
try
{
doc->Load( "../resource/ini.xml" );
}
catch( System::IO::FileNotFoundException ^s )
{
(void)s;
this->sucMsg( "設定ファイルを開くことができませんでした。", "Setting file can't be opened." );
return;
}
// <init>タグ : ルート
System::Xml::XmlElement ^root = doc->DocumentElement;
// <rw>タグ
System::Boolean bReadOnly = MasterEditorTWL::isXmlEqual( root, "rw", "r" );
if( bReadOnly )
{
this->readOnly();
}
// <output>タグ
System::Boolean bXML = MasterEditorTWL::isXmlEqual( root, "output", "XML" );
// <spcheck>タグ
System::Boolean bCheck = MasterEditorTWL::isXmlEqual( root, "spcheck", "ON" );
if( bCheck ) // チェックするときのみ追加チェック項目を設定
{
// チェックするかどうか
this->hSrl->hMrcSpecialList->hIsCheck = gcnew System::Boolean( true );
// SDK
try
{
u32 major = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/sdk/major" ) );
u32 minor = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/sdk/minor" ) );
u32 relstep = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/sdk/relstep" ) );
u32 sdkver = (major << 24) | (minor << 16) | (relstep & 0xFFFF);
this->hSrl->hMrcSpecialList->hSDKVer = gcnew System::UInt32( sdkver );
}
catch ( System::Exception ^ex )
{
(void)ex;
this->errMsg( "設定ファイル中のSDKバージョンが読み込めませんでした。バージョンは0とみなされます。",
"SDK ver. can't be read from setting file. Therefore it is set by 0." );
this->hSrl->hMrcSpecialList->hSDKVer = gcnew System::UInt32( 0 );
}
// EULA
try
{
u8 eula = System::Byte::Parse( MasterEditorTWL::getXPathText( root, "/init/eula" ) );
this->hSrl->hMrcSpecialList->hEULAVer = gcnew System::Byte( eula );
}
catch ( System::Exception ^ex )
{
(void)ex;
this->errMsg( "設定ファイル中のEULAバージョンが読み込めませんでした。バージョンは0とみなされます。",
"EULA ver. can't be read from setting file. Therefore it is set by 0." );
this->hSrl->hMrcSpecialList->hEULAVer = gcnew System::Byte( 0 );
}
// Shared2File
try
{
System::Int32 i;
for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ )
{
u8 size = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/shared2/size" + i.ToString() ) );
this->hSrl->hMrcSpecialList->hShared2SizeArray[i] = gcnew System::UInt32( size );
}
}
catch ( System::Exception ^ex )
{
(void)ex;
this->errMsg( "設定ファイル中のShared2ファイルサイズが読み込めませんでした。サイズはすべて0とみなされます。",
"One of shared2 file sizes can't be read from setting file. Therefore they are set by 0." );
System::Int32 i;
for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ )
{
this->hSrl->hMrcSpecialList->hShared2SizeArray[i] = gcnew System::UInt32( 0 );
}
}
} //if( bCheck )
if( bReadOnly || bXML | bCheck )
{
System::String ^msgJ = gcnew System::String("動作モード:");
System::String ^msgE = gcnew System::String("Processing Mode:");
if( bReadOnly )
{
msgJ += "\nリードオンリーモード";
msgE += "\nRead Only Mode";
}
if( bXML )
{
msgJ += "\nXML出力モード";
msgE += "\nXML Output Mode";
}
if( bCheck )
{
msgJ += "\n追加チェックモード";
msgE += "\nExtra Check Mode";
}
this->sucMsg( msgJ, msgE );
}
}
private:
// SRLのオープン
System::Void loadSrl( System::String ^filename )
{
ECSrlResult result = this->hSrl->readFromFile( filename );
if( result != ECSrlResult::NOERROR )
{
switch( result )
{
case ECSrlResult::ERROR_PLATFORM:
this->errMsg( "本ツールはTWL対応ROM専用です。NTR専用ROMなどのTWL非対応ROMを読み込むことはできません。",
"This tool can only read TWL ROM. This can't read an other data e.g. NTR limited ROM." );
break;
case ECSrlResult::ERROR_SIGN_DECRYPT:
case ECSrlResult::ERROR_SIGN_VERIFY:
this->errMsg( "本ツールはTWL対応ROM専用です。不正なデータを読み込むことはできません。",
"This tool can only read TWL ROM. This can't read an illegal data." );
default:
this->errMsg( "ROMデータファイルの読み込みに失敗しました。\n再度「ROMデータを開く」を選択してROMデータを読み出してください。",
"Reading the ROM data file failed. \nPlease read a ROM data file again, with \"Open a ROM data file\"" );
break;
}
return;
}
this->tboxFile->Text = filename;
// GUIにROM情報を格納
this->setSrlForms();
// 全体のCRCを算出
u16 crc;
if( !getWholeCRCInFile( filename, &crc ) )
{
this->errMsg( "ROMデータのCRC計算に失敗しました。ROMデータの読み込みはキャンセルされました。",
"Calculating CRC of the ROM data failed. Therefore reading ROM data is canceled." );
return;
}
System::UInt16 ^hcrc = gcnew System::UInt16( crc );
this->tboxWholeCRC->Clear();
this->tboxWholeCRC->AppendText( "0x" );
this->tboxWholeCRC->AppendText( hcrc->ToString("X") );
// 読み込み時エラーを登録する
this->rErrorReading->Checked = true;
this->setGridError();
this->setGridWarn();
//if( this->hSrl->hErrorList->Count > 0 )
//{
// this->errMsg( "ROMデータにエラーがあります。「エラー情報」タブをご確認ください。",
// "ROM data include error. Please look the tab \"Setting Error\"." );
// return;
//}
return;
} // openSrl
private:
// SRLの保存
System::Void saveSrl( System::String ^filename )
{
// ROM情報をフォームから取得してSRLバイナリに反映させる
this->setSrlProperties();
// マスタ書類情報をフォームから取得して書類に反映させる -> 必要なし
//this->setDeliverableProperties();
// ファイルをコピー
if( !(filename->Equals( this->tboxFile->Text )) )
{
System::IO::File::Copy( this->tboxFile->Text, filename, true );
}
// コピーしたファイルにROMヘッダを上書き
if( this->hSrl->writeToFile( filename ) != ECSrlResult::NOERROR )
{
this->errMsg( "ROMデータの保存に失敗しました。", "Saving the ROM data file failed." );
return;
}
this->sucMsg( "ROMデータの保存が成功しました。", "Saving the ROM data file succeeded." );
this->tboxFile->Text = filename;
// 再リード
this->loadSrl( filename );
}
private:
// 一時保存
System::Void saveTmp( System::String ^filename )
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
doc->AppendChild( doc->CreateXmlDeclaration("1.0","UTF-8",nullptr) );
System::Xml::XmlElement ^root = doc->CreateElement( "MasterEditorTWL" );
doc->AppendChild( root );
// SRLのパス
MasterEditorTWL::appendXmlTag( doc, root, "Srl", this->tboxFile->Text );
// 言語
MasterEditorTWL::appendXmlTag( doc, root, "Lang", (this->stripItemJapanese->Checked)?"J":"E" );
// フォーム
System::Xml::XmlElement ^form = doc->CreateElement( "Form" );
root->AppendChild( form );
MasterEditorTWL::appendXmlTag( doc, form, "ProductName", this->tboxProductName->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode1", this->tboxProductCode1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2", this->tboxProductCode2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductNameForeign", this->tboxProductNameForeign->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode1Foreign", this->tboxProductCode1Foreign->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2Foreign1", this->tboxProductCode2Foreign1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2Foreign2", this->tboxProductCode2Foreign2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2Foreign3", this->tboxProductCode2Foreign3->Text );
MasterEditorTWL::appendXmlTag( doc, form, "SubmitVersion", this->numSubmitVersion->Value.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "Backup", this->combBackup->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "BackupOther", this->tboxBackupOther->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ReleaseForeign", (this->cboxReleaseForeign->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "Remarks", this->tboxCaption->Text );
MasterEditorTWL::appendXmlTag( doc, form, "SubmitWay", (this->rSubmitHand->Checked)?"Hand":"Mail" );
if( this->rUsageSale->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Sale" );
else if( this->rUsageSample->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Sample" );
else if( this->rUsageDst->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Dst" );
else if( this->rUsageOther->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Other" );
MasterEditorTWL::appendXmlTag( doc, form, "PurposeOther", this->tboxUsageOther->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Company1", this->tboxCompany1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Depart1", this->tboxDepart1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Name1", this->tboxPerson1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Furigana1", this->tboxFurigana1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Tel1", this->tboxTel1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Fax1", this->tboxFax1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Mail1", this->tboxMail1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "NTSC1", this->tboxNTSC1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "InputPerson2", (this->cboxIsInputPerson2->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "Company2", this->tboxCompany2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Depart2", this->tboxDepart2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Name2", this->tboxPerson2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Furigana2", this->tboxFurigana2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Tel2", this->tboxTel2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Fax2", this->tboxFax2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Mail2", this->tboxMail2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "NTSC2", this->tboxNTSC2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "IsEULA", (this->cboxIsEULA->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EULAVersion", this->numEULA->Value.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "IsWirelessIcon", (this->cboxIsWirelessIcon->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "IsWiFiIcon", (this->cboxIsWiFiIcon->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "Region", this->combRegion->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingCERO", this->combCERO->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpCERO", (this->cboxAlwaysCERO->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnableCERO", (this->cboxCERO->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "RatingESRB", this->combESRB->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpESRB", (this->cboxAlwaysESRB->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnableESRB", (this->cboxESRB->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "RatingUSK", this->combUSK->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpUSK", (this->cboxAlwaysUSK->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnableUSK", (this->cboxUSK->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI", this->combPEGI->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpPEGI", (this->cboxAlwaysPEGI->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnablePEGI", (this->cboxPEGI->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGIPRT", this->combPEGIPRT->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpPEGIPRT", (this->cboxAlwaysPEGIPRT->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnablePEGIPRT", (this->cboxPEGIPRT->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGIBBFC", this->combPEGIBBFC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpPEGIBBFC", (this->cboxAlwaysPEGIBBFC->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnablePEGIBBFC", (this->cboxPEGIBBFC->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "RatingOFLC", this->combOFLC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RpOFLC", (this->cboxAlwaysOFLC->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "EnableOFLC", (this->cboxOFLC->Checked)?"Y":"N" );
doc->Save( filename );
} //saveTmp()
private:
void loadTmp( System::String ^filename )
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument;
doc->Load( filename );
System::Xml::XmlElement ^root = doc->DocumentElement;
System::String ^text;
// SRL
text = MasterEditorTWL::getXPathText( root, "/MasterEditorTWL/Srl" );
if( !System::String::IsNullOrEmpty(text) ) // SRLファイル名がないときはスルー
{
this->loadSrl(text);
}
// 言語
text = MasterEditorTWL::getXPathText( root, "/MasterEditorTWL/Lang" );
if( !System::String::IsNullOrEmpty(text) && text->Equals("E") )
{
this->stripItemEnglish->Checked = true;
this->stripItemJapanese->Checked = false;
this->changeEnglish();
}
else
{
this->stripItemEnglish->Checked = false;
this->stripItemJapanese->Checked = true;
this->changeJapanese();
}
// フォーム
this->parseTmp( root, "/MasterEditorTWL/Form/ProductName", this->tboxProductName );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode1", this->tboxProductCode1 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2", this->tboxProductCode2 );
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitVersion", this->numSubmitVersion );
this->parseTmp( root, "/MasterEditorTWL/Form/Backup", this->combBackup );
this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Clear();
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->parseTmp( root, "/MasterEditorTWL/Form/BackupOther", this->tboxBackupOther );
this->tboxBackupOther->Enabled = true;
}
cli::array<System::Windows::Forms::RadioButton^> ^rbuts;
cli::array<System::String^> ^strs;
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rSubmitHand, this->rSubmitPost};
strs = gcnew cli::array<System::String^>{"Hand","Mail"};
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitWay", rbuts, strs );
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rUsageSale, this->rUsageSample, this->rUsageDst, this->rUsageOther};
strs = gcnew cli::array<System::String^>{"Sale","Sample","Dst","Other"};
this->parseTmp( root, "/MasterEditorTWL/Form/Purpose", rbuts, strs );
this->tboxUsageOther->Enabled = false;
this->tboxUsageOther->Clear();
if( this->rUsageOther->Checked )
{
this->tboxUsageOther->Enabled = true;
this->parseTmp( root, "/MasterEditorTWL/Form/PurposeOther", this->tboxUsageOther );
}
this->parseTmp( root, "/MasterEditorTWL/Form/ReleaseForeign", this->cboxReleaseForeign );
this->tboxProductNameForeign->Enabled = false;
this->tboxProductCode1Foreign->Enabled = false;
this->tboxProductCode2Foreign1->Enabled = false;
this->tboxProductCode2Foreign2->Enabled = false;
this->tboxProductCode2Foreign3->Enabled = false;
this->tboxProductNameForeign->Clear();
this->tboxProductCode1Foreign->Clear();
this->tboxProductCode2Foreign1->Clear();
this->tboxProductCode2Foreign2->Clear();
this->tboxProductCode2Foreign3->Clear();
if( this->cboxReleaseForeign->Checked )
{
this->tboxProductNameForeign->Enabled = true;
this->tboxProductCode1Foreign->Enabled = true;
this->tboxProductCode2Foreign1->Enabled = true;
this->tboxProductCode2Foreign2->Enabled = true;
this->tboxProductCode2Foreign3->Enabled = true;
this->parseTmp( root, "/MasterEditorTWL/Form/ProductNameForeign", this->tboxProductNameForeign );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode1Foreign", this->tboxProductCode1Foreign );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2Foreign1", this->tboxProductCode2Foreign1 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2Foreign2", this->tboxProductCode2Foreign2 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2Foreign3", this->tboxProductCode2Foreign3 );
}
this->parseTmp( root, "/MasterEditorTWL/Form/Remarks", this->tboxCaption );
this->parseTmp( root, "/MasterEditorTWL/Form/Company1", this->tboxCompany1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Depart1", this->tboxDepart1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Name1", this->tboxPerson1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Furigana1", this->tboxFurigana1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Tel1", this->tboxTel1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Fax1", this->tboxFax1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Mail1", this->tboxMail1 );
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC1", this->tboxNTSC1 );
this->parseTmp( root, "/MasterEditorTWL/Form/InputPerson2", this->cboxIsInputPerson2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Company2", this->tboxCompany2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Depart2", this->tboxDepart2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Name2", this->tboxPerson2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Furigana2", this->tboxFurigana2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Tel2", this->tboxTel2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Fax2", this->tboxFax2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Mail2", this->tboxMail2 );
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC2", this->tboxNTSC2 );
this->parseTmp( root, "/MasterEditorTWL/Form/IsEULA", this->cboxIsEULA );
this->parseTmp( root, "/MasterEditorTWL/Form/EULAVersion", this->numEULA );
this->parseTmp( root, "/MasterEditorTWL/Form/IsWirelessIcon", this->cboxIsWirelessIcon );
this->parseTmp( root, "/MasterEditorTWL/Form/IsWiFiIcon", this->cboxIsWiFiIcon );
this->parseTmp( root, "/MasterEditorTWL/Form/Region", this->combRegion );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingCERO", this->combCERO );
this->parseTmp( root, "/MasterEditorTWL/Form/RpCERO", this->cboxAlwaysCERO );
this->parseTmp( root, "/MasterEditorTWL/Form/EnableCERO", this->cboxCERO );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingESRB", this->combESRB );
this->parseTmp( root, "/MasterEditorTWL/Form/RpESRB", this->cboxAlwaysESRB );
this->parseTmp( root, "/MasterEditorTWL/Form/EnableESRB", this->cboxESRB );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingUSK", this->combUSK );
this->parseTmp( root, "/MasterEditorTWL/Form/RpUSK", this->cboxAlwaysUSK );
this->parseTmp( root, "/MasterEditorTWL/Form/EnableUSK", this->cboxUSK );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI", this->combPEGI );
this->parseTmp( root, "/MasterEditorTWL/Form/RpPEGI", this->cboxAlwaysPEGI );
this->parseTmp( root, "/MasterEditorTWL/Form/EnablePEGI", this->cboxPEGI );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGIPRT", this->combPEGIPRT );
this->parseTmp( root, "/MasterEditorTWL/Form/RpPEGIPRT", this->cboxAlwaysPEGIPRT );
this->parseTmp( root, "/MasterEditorTWL/Form/EnablePEGIPRT", this->cboxPEGIPRT );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGIBBFC", this->combPEGIBBFC );
this->parseTmp( root, "/MasterEditorTWL/Form/RpPEGIBBFC", this->cboxAlwaysPEGIBBFC );
this->parseTmp( root, "/MasterEditorTWL/Form/EnablePEGIBBFC", this->cboxPEGIBBFC );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingOFLC", this->combOFLC );
this->parseTmp( root, "/MasterEditorTWL/Form/RpOFLC", this->cboxAlwaysOFLC );
this->parseTmp( root, "/MasterEditorTWL/Form/EnableOFLC", this->cboxOFLC );
this->maskParentalForms(); // ペアレンタルコントロール情報をリージョンに合わせる
} //loadTmp()
private:
// 一時保存情報をフォーム情報に変換
System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::ComboBox ^comb )
{
// コンボボックスの保存情報 - インデックスの範囲に含まれるか調べる(含まれない場合は-1)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
try
{
System::Int32 index = System::Int32::Parse( text ); // テキストにはインデックスが保存されている
if( (0 <= index) && (index < comb->Items->Count) )
{
comb->SelectedIndex = index;
return true;
}
else
{
comb->SelectedIndex = -1;
return false;
}
}
catch ( System::Exception ^ex ) // 改ざんされていたとき
{
(void)ex;
comb->SelectedIndex = -1;
return false;
}
return false;
}
System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::NumericUpDown ^num )
{
// テキストボックスの保存情報 - そのまま代入(ただし最大を超える場合は0にする)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
try
{
System::Int32 val = System::Int32::Parse( text ); // テキストには値が保存されている
if( (0 <= val) && (val <= num->Maximum) )
{
num->Value = val;
return true;
}
else
{
num->Value = 0;
return false;
}
}
catch ( System::Exception ^ex ) // 改ざんされていたとき
{
(void)ex;
num->Value = 0;
return false;
}
return false;
}
System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath,
cli::array<System::Windows::Forms::RadioButton^>^rbuts, cli::array<System::String ^>^textCands )
{
// ラジオボタンの保存情報 - テキスト候補に合致するか調べる(合致しない場合は先頭のラジオボタンをチェック)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
System::Int32 i;
System::Boolean bSearch = false;
for( i=0; i < rbuts->Length; i++ ) // XML中のテキストがどのラジオボタンのテキストに合致するかチェック
{
rbuts[i]->Checked = false;
if( textCands[i]->Equals( text ) )
{
rbuts[i]->Checked = true;
bSearch = true;
}
}
if( !bSearch ) // 合致しない場合は最初のラジオボタンをチェック
{
rbuts[0]->Checked = true;
}
return bSearch;
}
System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::CheckBox ^cbox )
{
// チェックボタンの保存情報 - Y/Nを調べる(それ以外の場合にはチェックしない)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
if( text->Equals("Y") )
cbox->Checked = true;
else
cbox->Checked = false; // 不正な値も含む
return cbox->Checked;
}
System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::TextBox ^tbox )
{
// テキストボックスの保存情報 - そのまま代入(ただし長さが合わない場合は空白にする)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
if( text->Length > tbox->MaxLength )
{
tbox->Text = gcnew System::String("");
return false;
}
tbox->Text = text;
return true;
}
private:
// ----------------------------------------------
// フォームの初期設定
// ----------------------------------------------
// 設定/選択可能なフォームをすべて disable にする
void readOnly( void )
{
this->cboxIsEULA->Enabled = false;
this->numEULA->Enabled = false;
this->cboxIsWirelessIcon->Enabled = false;
this->cboxIsWiFiIcon->Enabled = false;
this->combCERO->Enabled = false;
this->cboxCERO->Enabled = false;
this->cboxAlwaysCERO->Enabled = false;
this->combESRB->Enabled = false;
this->cboxESRB->Enabled = false;
this->cboxAlwaysESRB->Enabled = false;
this->combUSK->Enabled = false;
this->cboxUSK->Enabled = false;
this->cboxAlwaysUSK->Enabled = false;
this->combPEGI->Enabled = false;
this->cboxPEGI->Enabled = false;
this->cboxAlwaysPEGI->Enabled = false;
this->combPEGIPRT->Enabled = false;
this->cboxPEGIPRT->Enabled = false;
this->cboxAlwaysPEGIPRT->Enabled = false;
this->combPEGIBBFC->Enabled = false;
this->cboxPEGIBBFC->Enabled = false;
this->cboxAlwaysPEGIBBFC->Enabled = false;
this->combOFLC->Enabled = false;
this->cboxOFLC->Enabled = false;
this->cboxAlwaysOFLC->Enabled = false;
}
private:
// ----------------------------------------------
// フォームとSRL内情報を矛盾なく一致させる
// ----------------------------------------------
// ROM情報をフォームから取得してSRLクラスのプロパティに反映させる
// (ROMヘッダへの反映やCRCと署名の再計算をしない)
void setSrlProperties(void)
{
// ROMヘッダの[0,0x160)の領域はRead Onlyで変更しない
// TWL拡張領域のいくつかの情報をROMヘッダに反映させる
this->hSrl->hIsEULA = this->cboxIsEULA->Checked;
this->hSrl->hEULAVersion = gcnew System::Byte( System::Decimal::ToByte( this->numEULA->Value ) );
this->hSrl->hIsWiFiIcon = this->cboxIsWiFiIcon->Checked;
this->hSrl->hIsWirelessIcon = this->cboxIsWirelessIcon->Checked;
// Srlクラスのプロパティへの反映
this->setParentalSrlProperties();
}
// SRLのROM情報をフォームに反映させる(ファイルが読み込まれていることが前提)
void setSrlForms(void)
{
// NTR互換情報
this->tboxTitleName->Text = this->hSrl->hTitleName;
this->tboxGameCode->Text = this->hSrl->hGameCode;
this->tboxMakerCode->Text = this->hSrl->hMakerCode;
this->tboxPlatform->Text = this->hSrl->hPlatform;
this->tboxRomSize->Text = this->hSrl->hRomSize;
this->tboxRomLatency->Text = this->hSrl->hLatency;
if( *(this->hSrl->hRomVersion) == 0xE0 )
{
this->tboxRemasterVer->Text = gcnew System::String("E");
this->cboxRemasterVerE->Checked = true;
}
else
{
this->tboxRemasterVer->Text = this->hSrl->hRomVersion->ToString();
this->cboxRemasterVerE->Checked = false;
}
this->tboxHeaderCRC->Clear();
this->tboxHeaderCRC->AppendText( "0x" );
this->tboxHeaderCRC->AppendText( this->hSrl->hHeaderCRC->ToString("X") );
if( this->hSrl->hPlatform == nullptr )
{
this->errMsg( "プラットホーム指定が不正です。ROMデータのビルド設定を見直してください。",
"Illegal Platform: Please check build settings of the ROM data.");
}
// TWL拡張情報
this->tboxTitleIDLo->Text = this->hSrl->hTitleIDLo->ToString("X8");
this->tboxTitleIDHi->Text = this->hSrl->hTitleIDHi->ToString("X8");
this->tboxNormalRomOffset->Text = this->hSrl->hNormalRomOffset->ToString("X8");
this->tboxKeyTableRomOffset->Text = this->hSrl->hKeyTableRomOffset->ToString("X8");
this->tboxPublicSize->Text = MasterEditorTWL::transSizeToString( this->hSrl->hPublicSize );
this->tboxPrivateSize->Text = MasterEditorTWL::transSizeToString( this->hSrl->hPrivateSize );
this->cboxIsNormalJump->Checked = *(this->hSrl->hIsNormalJump);
this->cboxIsTmpJump->Checked = *(this->hSrl->hIsTmpJump);
this->cboxIsSubBanner->Checked = *(this->hSrl->hIsSubBanner);
this->cboxIsWL->Checked = *(this->hSrl->hIsWL);
if( *(this->hSrl->hIsCodecTWL) == true )
{
this->tboxIsCodec->Text = gcnew System::String( "TWL" );
}
else
{
this->tboxIsCodec->Text = gcnew System::String( "NTR" );
}
this->cboxIsSD->Checked = *(this->hSrl->hIsSD);
this->cboxIsNAND->Checked = *(this->hSrl->hIsNAND);
if( *(this->hSrl->hIsGameCardNitro) == true )
{
this->tboxIsGameCardOn->Text = gcnew System::String( "ON(NTR)" );
}
else if( *(this->hSrl->hIsGameCardOn) == true )
{
this->tboxIsGameCardOn->Text = gcnew System::String( "ON(normal)" );
}
else
{
this->tboxIsGameCardOn->Text = gcnew System::String( "OFF" );
}
this->cboxIsShared2->Checked = *(this->hSrl->hIsShared2);
this->tboxShared2Size0->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[0] );
this->tboxShared2Size1->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[1] );
this->tboxShared2Size2->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[2] );
this->tboxShared2Size3->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[3] );
this->tboxShared2Size4->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[4] );
this->tboxShared2Size5->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[5] );
// アプリ種別
if( *this->hSrl->hIsMediaNand )
{
this->tboxMedia->Text = gcnew System::String( "NAND" );
}
else
{
this->tboxMedia->Text = gcnew System::String( "Game Card" );
}
if( *(this->hSrl->hIsAppLauncher) == true )
{
this->tboxAppType->Text = gcnew System::String( "Launcher" );
}
if( *(this->hSrl->hIsAppSecure) == true )
{
this->tboxAppType->Text = gcnew System::String( "Secure" );
}
if( *(this->hSrl->hIsAppSystem) == true )
{
this->tboxAppType->Text = gcnew System::String( "System" );
}
if( *(this->hSrl->hIsAppUser) == true )
{
this->tboxAppType->Text = gcnew System::String( "User" );
}
System::String ^appother = gcnew System::String("");
if( *(this->hSrl->hIsLaunch) == false )
{
appother += "Not-Launch.\r\n";
}
if( *(this->hSrl->hIsDataOnly) == true )
{
appother += "DataOnly.\r\n";
}
this->tboxAppTypeOther->Text = appother;
// アクセスコントロール その他
System::String ^acc = gcnew System::String("");
if( *(this->hSrl->hIsCommonClientKey) == true )
{
acc += "commonClientKey.\r\n";
}
if( *(this->hSrl->hIsAesSlotBForES) == true )
{
acc += "AES-SlotB(ES).\r\n";
}
if( *(this->hSrl->hIsAesSlotCForNAM) == true )
{
acc += "AES-SlotC(NAM).\r\n";
}
if( *(this->hSrl->hIsAesSlotBForJpegEnc) == true )
{
acc += "AES-SlotB(JpegEnc.).\r\n";
}
if( *(this->hSrl->hIsAesSlotAForSSL) == true )
{
acc += "AES-SlotA(SSL).\r\n";
}
if( *(this->hSrl->hIsCommonClientKeyForDebugger) == true )
{
acc += "commonClientKey(Debug.).\r\n";
}
this->tboxAccessOther->Text = acc;
// 特殊な設定をテキストボックスに反映
this->setSrlFormsCaptionEx();
// SDKバージョンとライブラリ
this->tboxSDK->Clear();
if( this->hSrl->hSDKList != nullptr )
{
for each( RCSDKVersion ^ver in this->hSrl->hSDKList )
{
if( ver->IsStatic )
this->tboxSDK->Text += ver->Version + " (main static)\r\n";
else
this->tboxSDK->Text += ver->Version + "\r\n";
}
}
this->gridLibrary->Rows->Clear();
if( this->hSrl->hLicenseList != nullptr )
{
for each( RCLicense ^lic in this->hSrl->hLicenseList )
{
this->gridLibrary->Rows->Add( gcnew cli::array<System::Object^>{lic->Publisher, lic->Name} );
}
}
// 編集可能情報
this->cboxIsEULA->Checked = *(this->hSrl->hIsEULA);
this->numEULA->Value = *(this->hSrl->hEULAVersion);
this->cboxIsWiFiIcon->Checked = *(this->hSrl->hIsWiFiIcon);
this->cboxIsWirelessIcon->Checked = *(this->hSrl->hIsWirelessIcon);
this->setParentalForms(); // ペアレンタルコントロール関連
} //setSrlForms()
// SRLの特殊な設定をフォームにセットする(言語切り替えで表示を変えたいので独立させる)
void setSrlFormsCaptionEx()
{
// 特殊な設定は備考欄に書き加えておく
this->tboxCaptionEx->Clear();
if( (this->hSrl->hHasDSDLPlaySign != nullptr) && (*(this->hSrl->hHasDSDLPlaySign) == true) )
{
if( this->stripItemJapanese->Checked == true )
this->tboxCaptionEx->Text += gcnew System::String( "DSクローンブート対応. " );
else
this->tboxCaptionEx->Text += gcnew System::String( "DS Clone Boot. " );
}
}
// ペアレンタルコントロール情報はSRL内にあるが設定が大変なので切り出す
// ペアレンタルコントロール関連の情報をフォームから取得してSRLに反映させる
void setParentalSrlProperties(void)
{
// リージョン
this->hSrl->hIsRegionJapan = gcnew System::Boolean(false);
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(false);
this->hSrl->hIsRegionEurope = gcnew System::Boolean(false);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(false);
switch( this->combRegion->SelectedIndex )
{
case 0:
this->hSrl->hIsRegionJapan = gcnew System::Boolean(true);
break;
case 1:
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(true);
break;
case 2:
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
break;
case 3:
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
case 4:
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
this->hSrl->hIsRegionJapan = gcnew System::Boolean(true);
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(true);
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
#endif
default:
break;
}
System::Byte rating;
// CERO
switch( this->combCERO->SelectedIndex )
{
case 0: rating = 0; break;
case 1: rating = 12; break;
case 2: rating = 15; break;
case 3: rating = 17; break;
case 4: rating = 18; break;
default:
rating = 0; // 未審査
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_CERO] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_CERO] = gcnew System::Boolean( this->cboxCERO->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_CERO] = gcnew System::Boolean( this->cboxAlwaysCERO->Checked );
// ESRB
switch( this->combESRB->SelectedIndex )
{
case 0: rating = 3; break;
case 1: rating = 6; break;
case 2: rating = 10; break;
case 3: rating = 13; break;
case 4: rating = 17; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_ESRB] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_ESRB] = gcnew System::Boolean( this->cboxESRB->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_ESRB] = gcnew System::Boolean( this->cboxAlwaysESRB->Checked );
// USK
switch( this->combUSK->SelectedIndex )
{
case 0: rating = 0; break;
case 1: rating = 6; break;
case 2: rating = 12; break;
case 3: rating = 16; break;
case 4: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_USK] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_USK] = gcnew System::Boolean( this->cboxUSK->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_USK] = gcnew System::Boolean( this->cboxAlwaysUSK->Checked );
// PEGI
switch( this->combPEGI->SelectedIndex )
{
case 0: rating = 3; break;
case 1: rating = 7; break;
case 2: rating = 12; break;
case 3: rating = 16; break;
case 4: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_PEGI_GEN] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_PEGI_GEN] = gcnew System::Boolean( this->cboxPEGI->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_PEGI_GEN] = gcnew System::Boolean( this->cboxAlwaysPEGI->Checked );
// PEGIPRT
switch( this->combPEGIPRT->SelectedIndex )
{
case 0: rating = 4; break;
case 1: rating = 6; break;
case 2: rating = 12; break;
case 3: rating = 16; break;
case 4: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_PEGI_PRT] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_PEGI_PRT] = gcnew System::Boolean( this->cboxPEGIPRT->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_PEGI_PRT] = gcnew System::Boolean( this->cboxAlwaysPEGIPRT->Checked );
// PEGIBBFC
switch( this->combPEGIBBFC->SelectedIndex )
{
case 0: rating = 3; break;
case 1: rating = 4; break;
case 2: rating = 7; break;
case 3: rating = 8; break;
case 4: rating = 12; break;
case 5: rating = 15; break;
case 6: rating = 16; break;
case 7: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_PEGI_BBFC] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_PEGI_BBFC] = gcnew System::Boolean( this->cboxPEGIBBFC->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_PEGI_BBFC] = gcnew System::Boolean( this->cboxAlwaysPEGIBBFC->Checked );
// OFLC
switch( this->combOFLC->SelectedIndex )
{
case 0: rating = 0; break;
case 1: rating = 7; break;
case 2: rating = 14; break;
case 3: rating = 15; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_OFLC] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_OFLC] = gcnew System::Boolean( this->cboxOFLC->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_OFLC] = gcnew System::Boolean( this->cboxAlwaysOFLC->Checked );
} //setParentalSrlProperties()
// SRL内のペアレンタルコントロール情報を抜き出してフォームに反映させる
void setParentalForms(void)
{
System::Int32 index;
// リージョン
System::Boolean isJapan = *(this->hSrl->hIsRegionJapan);
System::Boolean isAmerica = *(this->hSrl->hIsRegionAmerica);
System::Boolean isEurope = *(this->hSrl->hIsRegionEurope);
System::Boolean isAustralia = *(this->hSrl->hIsRegionAustralia);
if( isJapan && !isAmerica && !isEurope && !isAustralia )
index = 0;
else if( !isJapan && isAmerica && !isEurope && !isAustralia )
index = 1;
else if( !isJapan && !isAmerica && isEurope && !isAustralia )
index = 2;
else if( !isJapan && !isAmerica && !isEurope && isAustralia )
index = 3;
else if( !isJapan && !isAmerica && isEurope && isAustralia )
index = 4;
else
index = -1; // 不正
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( isJapan && isAmerica && isEurope && isAustralia )
index = 5;
#endif
this->combRegion->SelectedIndex = index;
this->maskParentalForms();
// CERO
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_CERO ]) )
{
case 0:
if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_CERO ]) ) // 全年齢か未審査か判定
index = 0;
else
index = 5;
break;
case 12: index = 1; break;
case 15: index = 2; break;
case 17: index = 3; break;
case 18: index = 4; break;
default:
index = 5; // リード時のチェックがあるため起こり得ない
break;
}
this->combCERO->SelectedIndex = index;
this->cboxCERO->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_CERO ]);
this->cboxAlwaysCERO->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_CERO ]);
// ESRB
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_ESRB ]) )
{
case 3: index = 0; break;
case 6: index = 1; break;
case 10: index = 2; break;
case 13: index = 3; break;
case 17: index = 4; break;
case 0: index = 5; break; // 0はデフォルト値なのでエラーメッセージを出さない(自動的に未審査扱い)
default:
index = 5;
break;
}
this->combESRB->SelectedIndex = index;
this->cboxESRB->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_ESRB ]);
this->cboxAlwaysESRB->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_ESRB ]);
// USK
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_USK ]) )
{
case 0:
if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_USK ]) )
index = 0;
else
index = 5;
break;
case 6: index = 1; break;
case 12: index = 2; break;
case 16: index = 3; break;
case 18: index = 4; break;
default:
index = 5;
break;
}
this->combUSK->SelectedIndex = index;
this->cboxUSK->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_USK ]);
this->cboxAlwaysUSK->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_USK ]);
// PEGI_GEN
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_GEN ]) )
{
case 3: index = 0; break;
case 7: index = 1; break;
case 12: index = 2; break;
case 16: index = 3; break;
case 18: index = 4; break;
case 0: index = 5; break;
default:
index = 5;
break;
}
this->combPEGI->SelectedIndex = index;
this->cboxPEGI->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_GEN ]);
this->cboxAlwaysPEGI->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_GEN ]);
// PEGI_PRT
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_PRT ]) )
{
case 4: index = 0; break;
case 6: index = 1; break;
case 12: index = 2; break;
case 16: index = 3; break;
case 18: index = 4; break;
case 0: index = 5; break;
default:
index = 5;
break;
}
this->combPEGIPRT->SelectedIndex = index;
this->cboxPEGIPRT->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_PRT ]);
this->cboxAlwaysPEGIPRT->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_PRT ]);
// PEGI_BBFC
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_BBFC ]) )
{
case 3: index = 0; break;
case 4: index = 1; break;
case 7: index = 2; break;
case 8: index = 3; break;
case 12: index = 4; break;
case 15: index = 5; break;
case 16: index = 6; break;
case 18: index = 7; break;
case 0: index = 8; break;
default:
index = 8;
break;
}
this->combPEGIBBFC->SelectedIndex = index;
this->cboxPEGIBBFC->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_BBFC ]);
this->cboxAlwaysPEGIBBFC->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_BBFC ]);
// OFLC
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_OFLC ]) )
{
case 0:
if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_OFLC ]) )
index = 0;
else
index = 4;
break;
case 7: index = 1; break;
case 14: index = 2; break;
case 15: index = 3; break;
default:
index = 4; break;
break;
}
this->combOFLC->SelectedIndex = index;
this->cboxOFLC->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_OFLC ]);
this->cboxAlwaysOFLC->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_OFLC ]);
} //setParentalForms()
// リージョン情報からペアレンタルコントロールの編集可能団体をマスクする
void maskParentalForms(void)
{
this->enableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->enableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
switch( this->combRegion->SelectedIndex )
{
case 0:
// 日本
this->enableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 1:
// 米国
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->enableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 2:
// 欧州
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 3:
// 豪州
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 4:
// 欧州と豪州
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
default:
break;
}
} //maskParentalForms()
// ----------------------------------------------
// SRL関連のフォームのチェック
// ----------------------------------------------
// テキスト入力がされているかチェック
System::Boolean checkTextForm( System::String ^formtext, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
System::String ^msgJ = gcnew System::String( "入力されていません。" );
System::String ^msgE = gcnew System::String( "No item is set. Please retry to input." );
System::String ^tmp = formtext->Replace( " ", "" ); // スペースのみの文字列もエラー
if( (formtext == nullptr) || formtext->Equals("") || tmp->Equals("") )
{
this->hErrorList->Add( gcnew RCMrcError( labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true, affectRom ) );
return false;
}
return true;
}
// 数値入力が正常かどうかチェック
System::Boolean checkNumRange(
System::Int32 val, System::Int32 min, System::Int32 max, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
System::String ^msgJ = gcnew System::String( "値の範囲が不正です。やり直してください。" );
System::String ^msgE = gcnew System::String( "Invalidate range of value. Please retry." );
if( (val < min) || (max < val) )
{
this->hErrorList->Add( gcnew RCMrcError( labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true, affectRom ) );
return false;
}
return true;
}
System::Boolean checkNumRange( System::String ^strval, System::Int32 min, System::Int32 max,
System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
try
{
System::Int32 i = System::Int32::Parse(strval);
return (this->checkNumRange( i, min, max, labelJ, labelE, affectRom ));
}
catch ( System::FormatException ^ex )
{
(void)ex;
return (this->checkNumRange( max+1, min, max, labelJ, labelE, affectRom )); // 必ず失敗するように max+1 を検査
}
}
// コンボボックスをチェック
System::Boolean checkBoxIndex( System::Windows::Forms::ComboBox ^box, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
System::String ^msgJ = gcnew System::String( "選択されていません。" );
System::String ^msgE = gcnew System::String( "One item is not selected." );
if( box->SelectedIndex < 0 )
{
this->hErrorList->Add( gcnew RCMrcError(
labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true, affectRom ) );
}
return true;
}
// フォームの入力をチェックする
System::Boolean checkSrlForms(void)
{
// リージョン
if( this->checkBoxIndex( this->combRegion, LANG_REGION_J, LANG_REGION_E, true ) == false )
return false;
// リージョンを決める
System::Boolean bJapan = false;
System::Boolean bAmerica = false;
System::Boolean bEurope = false;
System::Boolean bAustralia = false;
switch( this->combRegion->SelectedIndex )
{
case 0:
bJapan = true;
break;
case 1:
bAmerica = true;
break;
case 2:
bEurope = true;
break;
case 3:
bAustralia = true;
break;
case 4:
bEurope = true;
bAustralia = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
bJapan = true;
bAmerica = true;
bEurope = true;
bAustralia = true;
break;
#endif
default:
break;
}
// ペアレンタルコントロール
this->checkParentalForms( bJapan, this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO->Text );
this->checkParentalForms( bAmerica, this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB->Text );
this->checkParentalForms( bEurope, this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK->Text );
this->checkParentalForms( bEurope, this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI->Text );
this->checkParentalForms( bEurope, this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT->Text );
this->checkParentalForms( bEurope, this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC,
this->labPEGIBBFC->Text + " " + this->labPEGIBBFC2->Text );
this->checkParentalForms( bAustralia, this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC->Text );
// ひととおりエラー登録をした後で
// SRLバイナリに影響を与えるエラーが存在するかチェック
//return this->isValidAffectRom();
return this->isValidAffectRomModified();
}
// ペアレンタルコントロール関連のフォーム入力が正しいか書き込み前チェック
void checkParentalForms(
System::Boolean inRegion, System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable, System::Windows::Forms::CheckBox ^always, System::String ^msg )
{
// リージョンに含まれていないとき: 0クリアが保証されるのでチェック必要なし
if( !inRegion )
return;
if( !enable->Checked ) // 有効フラグが立っていないとき
{
// 何も設定されていない
if( !always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) )
{
this->hWarnList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": レーティング審査を必要としないソフトであるとみなしてデータを保存します。",
"Parental Control", msg + ": Save ROM data as Game soft which needs rating examinination.", true, true ) );
}
else
{
this->hErrorList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": 制限が無効であるにもかかわらずレーティング情報が設定されています。",
"Parental Control", msg + "Rating can be set only when control is enable.", true, true ) );
}
}
else // 有効フラグが立っているとき
{
if( !always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) )
{
this->hErrorList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": 制限が有効であるにもかかわらずレーティング情報が設定されていません。",
"Parental Control", msg + ": Rating must be set when control is enable.", true, true ) );
}
else if( always->Checked )
{
this->hWarnList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": Rating Pendingが指定されています。レーティング年齢が審査されしだい、再度、ROMを提出してください。",
"Parental Control", ": Rating Pending is setting. When rating age is examined, Please submit again.", true, true ) );
}
else if( comb->SelectedIndex == (comb->Items->Count - 1) )
{
this->hErrorList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
": Rating Pending指定とレーティング年齢を同時に指定することはできません。",
"Parental Control", ": Rating setting is either rating pending or rating age.", true, true ) );
}
}
} //checkParentalForms()
// ----------------------------------------------
// マスタ書類情報(SRL影響なし)をフォームから取得
// ----------------------------------------------
void setDeliverableProperties(void)
{
// 提出情報
this->hDeliv->hProductName = this->tboxProductName->Text;
this->hDeliv->hProductCode1 = this->tboxProductCode1->Text;
this->hDeliv->hProductCode2 = this->tboxProductCode2->Text;
this->hDeliv->hReleaseForeign = gcnew System::Boolean( this->cboxReleaseForeign->Checked );
if( this->cboxReleaseForeign->Checked == true )
{
this->hDeliv->hProductNameForeign = this->tboxProductNameForeign->Text;
this->hDeliv->hProductCode1Foreign = this->tboxProductCode1Foreign->Text;
this->hDeliv->hProductCode2Foreign = gcnew System::String("");
this->hDeliv->hProductCode2Foreign = this->tboxProductCode2Foreign1->Text;
if( !System::String::IsNullOrEmpty( this->tboxProductCode2Foreign2->Text ) )
{
this->hDeliv->hProductCode2Foreign += ("/" + this->tboxProductCode2Foreign2->Text);
}
if( !System::String::IsNullOrEmpty( this->tboxProductCode2Foreign2->Text ) )
{
this->hDeliv->hProductCode2Foreign += ("/" + this->tboxProductCode2Foreign3->Text);
}
}
else
{
this->hDeliv->hProductNameForeign = nullptr;
this->hDeliv->hProductCode1Foreign = nullptr;
this->hDeliv->hProductCode2Foreign = nullptr;
}
this->hDeliv->hReleaseYear = gcnew System::Int32( this->dateRelease->Value.Year );
this->hDeliv->hReleaseMonth = gcnew System::Int32( this->dateRelease->Value.Month );
this->hDeliv->hReleaseDay = gcnew System::Int32( this->dateRelease->Value.Day );
this->hDeliv->hSubmitYear = gcnew System::Int32( this->dateSubmit->Value.Year );
this->hDeliv->hSubmitMonth = gcnew System::Int32( this->dateSubmit->Value.Month );
this->hDeliv->hSubmitDay = gcnew System::Int32( this->dateSubmit->Value.Day );
this->hDeliv->hSubmitVersion = gcnew System::Int32( System::Decimal::ToInt32( this->numSubmitVersion->Value ) );
// SDK
this->hDeliv->hSDK = nullptr;
if( this->hSrl->hSDKList )
{
for each( RCSDKVersion ^sdk in this->hSrl->hSDKList ) // 書類には ARM9 static のバージョン情報を記入する
{
if( sdk->IsStatic )
this->hDeliv->hSDK = sdk->Version;
}
}
if( this->hDeliv->hSDK == nullptr )
{
this->hDeliv->hSDK = gcnew System::String( "Undefined" );
}
// 提出方法
if( this->rSubmitPost->Checked == true )
{
this->hDeliv->hSubmitWay = this->rSubmitPost->Text;
}
else
{
this->hDeliv->hSubmitWay = this->rSubmitHand->Text;
}
// 用途
if( this->rUsageSale->Checked == true )
{
this->hDeliv->hUsage = this->rUsageSale->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageSample->Checked == true )
{
this->hDeliv->hUsage = this->rUsageSample->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageDst->Checked == true )
{
this->hDeliv->hUsage = this->rUsageDst->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageOther->Checked == true )
{
this->hDeliv->hUsage = this->rUsageOther->Text;
this->hDeliv->hUsageOther = this->tboxUsageOther->Text;
}
// 会社情報
this->hDeliv->hCompany1 = this->tboxCompany1->Text + " " + this->tboxDepart1->Text;
this->hDeliv->hPerson1 = this->tboxPerson1->Text;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hFurigana1 = this->tboxFurigana1->Text;
}
else
{
this->hDeliv->hFurigana1 = nullptr;
}
this->hDeliv->hTel1 = this->tboxTel1->Text;
this->hDeliv->hFax1 = this->tboxFax1->Text;
this->hDeliv->hMail1 = this->tboxMail1->Text;
this->hDeliv->hNTSC1 = this->tboxNTSC1->Text;
if( this->cboxIsInputPerson2->Checked == true )
{
this->hDeliv->hCompany2 = this->tboxCompany2->Text + " " + this->tboxDepart2->Text;
this->hDeliv->hPerson2 = this->tboxPerson2->Text;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hFurigana2 = this->tboxFurigana2->Text;
}
else
{
this->hDeliv->hFurigana2 = nullptr;
}
this->hDeliv->hTel2 = this->tboxTel2->Text;
this->hDeliv->hFax2 = this->tboxFax2->Text;
this->hDeliv->hMail2 = this->tboxMail2->Text;
this->hDeliv->hNTSC2 = this->tboxNTSC2->Text;
}
else
{
this->hDeliv->hCompany2 = nullptr;
this->hDeliv->hPerson2 = nullptr;
this->hDeliv->hFurigana2 = nullptr;
this->hDeliv->hTel2 = nullptr;
this->hDeliv->hFax2 = nullptr;
this->hDeliv->hMail2 = nullptr;
this->hDeliv->hNTSC2 = nullptr;
}
// 備考
System::String ^tmp = this->tboxCaption->Text->Replace( " ", "" );
if( this->tboxCaption->Text->Equals("") || tmp->Equals("") ) // スペースのみの文字列は含めない
{
this->hDeliv->hCaption = nullptr;
}
else
{
this->hDeliv->hCaption = this->tboxCaption->Text;
}
// 備考欄に特殊な設定を追記
tmp = this->tboxCaptionEx->Text->Replace( " ", "" );
if( !(this->tboxCaptionEx->Text->Equals("")) && !(tmp->Equals("")) )
{
this->hDeliv->hCaption += (" " + this->tboxCaptionEx->Text);
}
// 一部のROM情報を登録
if( this->combBackup->SelectedIndex != (this->combBackup->Items->Count - 1) )
{
if( this->combBackup->SelectedIndex > 0 )
{
this->hDeliv->hBackupMemory = this->combBackup->SelectedItem->ToString();
}
else
{
this->hDeliv->hBackupMemory = gcnew System::String("");
}
}
else
{
this->hDeliv->hBackupMemory = this->tboxBackupOther->Text;
}
}
// ----------------------------------------------
// マスタ書類情報(SRL影響なし)のフォームチェック
// ----------------------------------------------
System::Boolean checkDeliverableForms(void)
{
// 不正な場合はダイアログで注意してreturn
// 提出情報
this->checkTextForm( this->tboxProductName->Text, LANG_PRODUCT_NAME_J, LANG_PRODUCT_NAME_E, false ); // SRL作成には問題のないエラー
this->checkTextForm( this->tboxProductCode1->Text, LANG_PRODUCT_CODE_J, LANG_PRODUCT_CODE_E, false );
this->checkTextForm( this->tboxProductCode2->Text, LANG_PRODUCT_CODE_J, LANG_PRODUCT_CODE_E, false );
if( this->cboxReleaseForeign->Checked == true )
{
this->checkTextForm( this->tboxProductNameForeign->Text, LANG_PRODUCT_NAME_F_J, LANG_PRODUCT_NAME_F_E, false );
this->checkTextForm( this->tboxProductCode1Foreign->Text, LANG_PRODUCT_CODE_F_J, LANG_PRODUCT_CODE_F_E, false );
this->checkTextForm( this->tboxProductCode2Foreign1->Text, LANG_PRODUCT_CODE_F_J, LANG_PRODUCT_CODE_F_E, false );
}
if( this->rUsageOther->Checked == true )
{
this->checkTextForm( this->tboxUsageOther->Text, LANG_USAGE_J, LANG_USAGE_E, false );
}
// 会社情報
this->checkTextForm( this->tboxPerson1->Text, LANG_PERSON_J, LANG_PERSON_E, false );
this->checkTextForm( this->tboxCompany1->Text, LANG_COMPANY_J, LANG_COMPANY_E, false );
this->checkTextForm( this->tboxDepart1->Text, LANG_DEPART_J, LANG_DEPART_E, false );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxFurigana1->Text, LANG_FURIGANA_J, LANG_FURIGANA_J, false );
}
this->checkTextForm( this->tboxTel1->Text, LANG_TEL_J, LANG_TEL_E, false );
//this->checkTextForm( this->tboxFax1->Text, LANG_FAX_J, LANG_FAX_E, false );
this->checkTextForm( this->tboxMail1->Text, LANG_MAIL_J, LANG_MAIL_E, false );
//if( this->stripItemJapanese->Checked == true )
//{
// this->checkTextForm( this->tboxNTSC1->Text, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, false );
//}
if( this->cboxIsInputPerson2->Checked == true )
{
this->checkTextForm( this->tboxPerson2->Text, LANG_PERSON_J, LANG_PERSON_E, false );
this->checkTextForm( this->tboxCompany2->Text, LANG_COMPANY_J, LANG_COMPANY_E, false );
this->checkTextForm( this->tboxDepart2->Text, LANG_DEPART_J, LANG_DEPART_E, false );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxFurigana2->Text, LANG_FURIGANA_J, LANG_FURIGANA_J, false );
}
this->checkTextForm( this->tboxTel2->Text, LANG_TEL_J, LANG_TEL_E, false );
//this->checkTextForm( this->tboxFax2->Text, LANG_FAX_J, LANG_FAX_E, false );
this->checkTextForm( this->tboxMail2->Text, LANG_MAIL_J, LANG_MAIL_E, false );
//if( this->stripItemJapanese->Checked == true )
//{
// this->checkTextForm( this->tboxNTSC2->Text, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, false );
//}
}
// 一部のROM情報(SRLバイナリに反映されない情報)をここでチェックする
this->checkBoxIndex( this->combBackup, LANG_BACKUP_J, LANG_BACKUP_E, false );
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->checkTextForm( this->tboxBackupOther->Text, LANG_BACKUP_J, LANG_BACKUP_E, false );
}
// ひととおりエラー登録をした後で
// 書類上のエラー(SRLバイナリには影響しない)が存在するかチェック
return this->isValidOnlyDeliverable();
}
// ----------------------------------------------
// エラー処理
// ----------------------------------------------
// SRLには関係しない書類上のエラーをチェック
System::Boolean isValidOnlyDeliverable(void)
{
System::Int32 count = 0;
// SRLクラスのエラーリストはすべてSRLに関係するのでチェックしない
// -> 入力エラーのみのチェックでよい
for each( RCMrcError ^err in this->hErrorList )
{
if( !err->AffectRom )
count++;
}
return (count == 0);
}
// SRLのバイナリに影響する項目にエラーがあるかチェック
System::Boolean isValidAffectRom(void)
{
System::Int32 count = 0;
// SRLクラスの修正不可エラーをカウント
// (修正可エラーは入力によって修正されてるかもしれないのでチェックしない)
for each( RCMrcError ^err in this->hSrl->hErrorList )
{
if( !err->EnableModify ) // すべてSRLバイナリに影響する
count++;
}
// SRLバイナリに影響するエラーの中で
// 修正可エラーがフォーム入力によって修正されているかカウント
// (エラーリストが更新されていることが前提)
for each( RCMrcError ^err in this->hErrorList )
{
if( err->AffectRom ) // 修正不可エラーは存在しない
count++;
}
return (count == 0);
}
// SRLのバイナリに影響する項目の中で修正可能なエラーだけをチェック
System::Boolean isValidAffectRomModified(void)
{
System::Int32 count = 0;
for each( RCMrcError ^err in this->hErrorList )
{
if( err->AffectRom ) // 修正不可エラーは存在しない
count++;
}
return (count == 0);
}
// ----------------------------------------------
// ダイアログ
// ----------------------------------------------
void sucMsg( System::String ^msgJ, System::String ^msgE )
{
if( this->stripItemJapanese->Checked )
MessageBox::Show( msgJ, "Information", MessageBoxButtons::OK, MessageBoxIcon::None );
else
MessageBox::Show( msgE, "Information", MessageBoxButtons::OK, MessageBoxIcon::None );
}
// エラーメッセージを出力
void errMsg( System::String ^msgJ, System::String ^msgE )
{
if( this->stripItemJapanese->Checked )
MessageBox::Show( msgJ, "Error", MessageBoxButtons::OK, MessageBoxIcon::Error );
else
MessageBox::Show( msgE, "Error", MessageBoxButtons::OK, MessageBoxIcon::Error );
}
private:
// ----------------------------------------------
// 日英両対応
// ----------------------------------------------
// 日本語版への切り替え
void changeJapanese(void)
{
System::Int32 index;
// タイトルバー
this->stripFile->Text = gcnew System::String( "ファイル" );
this->stripItemOpenRom->Text = gcnew System::String( "ROMデータを開く" );
this->stripItemSaveTemp->Text = gcnew System::String( "提出情報を一時保存する" );
this->stripItemLoadTemp->Text = gcnew System::String( "一時保存した提出情報を読み込む" );
this->stripMaster->Text = gcnew System::String( "マスター" );
this->stripItemSheet->Text = gcnew System::String( "提出確認書とマスターROMを作成する" );
this->stripItemMasterRom->Text = gcnew System::String( "マスターROMのみを作成する" );
// 入力ファイル
this->labFile->Text = gcnew System::String( "ROMデータファイル" );
// タブ
this->tabRomInfo->Text = gcnew System::String( "ROM基本情報(確認用)" );
this->tabTWLInfo->Text = gcnew System::String( "TWL拡張情報(確認用)" );
this->tabRomEditInfo->Text = gcnew System::String( "ROM登録情報(編集可)" );
this->tabSubmitInfo->Text = gcnew System::String( "提出情報(編集可)" );
this->tabCompanyInfo->Text = gcnew System::String( "会社情報(編集可)" );
this->tabErrorInfo->Text = gcnew System::String( "エラー情報(要修正)" );
// ガイド
this->tboxGuideRomInfo->Text = gcnew System::String( "このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。" );
this->tboxGuideTWLInfo->Text = gcnew System::String( "このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。" );
this->tboxGuideRomEditInfo->Text = gcnew System::String( "このタブの情報は提出確認書およびマスターROMの作成に必要です。編集してください。" );
this->tboxGuideSubmitInfo->Text = gcnew System::String( "このタブの情報は提出確認書の作成に必要です。入力してください。" );
this->tboxGuideCompanyInfo->Text = gcnew System::String( "このタブの情報は提出確認書の作成に必要です。入力してください。" );
this->tboxGuideErrorInfo->Text = gcnew System::String( "" );
this->tboxGuideErrorInfo->Text += "このタブには読み込んだROMデータの問題と本プログラムでの入力ミスが列挙されます。";
this->tboxGuideErrorInfo->Text += "\r\n赤文字の項目は、本プログラムで修正不可です。ROMデータ作成時の設定をご確認ください。";
this->tboxGuideErrorInfo->Text += "\r\n青文字の項目は、本プログラムで修正できますが、修正がマスターROMに反映されます。";
this->tboxGuideErrorInfo->Text += "\r\n黒文字の項目は、提出確認書にのみ反映され、マスターROMには反映されません。";
// SRL情報
this->gboxSrl->Text = gcnew System::String( "ROMデータ情報" );
this->labTitleName->Text = gcnew System::String( "ソフトタイトル" );
this->labGameCode->Text = gcnew System::String( "イニシャルコード" );
this->labMakerCode->Text = gcnew System::String( "メーカコード" );
this->labPlatform->Text = gcnew System::String( "プラットフォーム" );
this->labRomType->Text = gcnew System::String( "ROMタイプ設定" );
this->labRomSize->Text = gcnew System::String( "ROM容量" );
this->labRemasterVer->Text = gcnew System::String( "リマスターバージョン" );
this->cboxRemasterVerE->Text = gcnew System::String( "E(準備版)" );
this->labHeaderCRC->Text = gcnew System::String( "ヘッダCRC" );
this->labRomCRC->Text = gcnew System::String( "全体のCRC" );
index = this->combBackup->SelectedIndex;
// バックアップメモリ
this->gboxProd->Text = gcnew System::String( "ROM生産情報(必ず入力してください)" );
this->labBackup->Text = gcnew System::String( LANG_BACKUP_J );
this->combBackup->Items->Clear();
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"4Kbit EEPROM", L"64Kbit EEPROM", L"512Kbit EEPROM",
L"256Kbit FRAM", L"2Mbit FLASH", L"4Mbit FLASH", L"8Mbit FLASH", L"なし", L"その他"});
this->combBackup->SelectedIndex = index;
// 提出情報
this->labProductName->Text = gcnew System::String( LANG_PRODUCT_NAME_J );
this->labProductCode->Text = gcnew System::String( LANG_PRODUCT_CODE_J );
this->labReleaseDate->Text = gcnew System::String( LANG_RELEASE_DATE_J );
this->labSubmiteDate->Text = gcnew System::String( LANG_SUBMIT_DATE_J );
this->gboxSubmitWay->Text = gcnew System::String( LANG_SUBMIT_WAY_J );
this->rSubmitPost->Text = gcnew System::String( LANG_SUBMIT_POST_J );
this->rSubmitHand->Text = gcnew System::String( LANG_SUBMIT_HAND_J );
this->gboxUsage->Text = gcnew System::String( LANG_USAGE_J );
this->rUsageSale->Text = gcnew System::String( LANG_USAGE_SALE_J );
this->rUsageSample->Text = gcnew System::String( LANG_USAGE_SAMPLE_J );
this->rUsageDst->Text = gcnew System::String( LANG_USAGE_DST_J );
this->rUsageOther->Text = gcnew System::String( LANG_USAGE_OTHER_J );
this->labSubmitVer->Text = gcnew System::String( LANG_SUBMIT_VER_J );
this->labCapSubmitVer->Text = gcnew System::String( LANG_SUBMIT_VER_CAP_J );
this->gboxForeign->Text = gcnew System::String( LANG_F_J );
this->labProductNameForeign->Text = gcnew System::String( LANG_PRODUCT_NAME_F_J );
this->labProductCodeForeign->Text = gcnew System::String( LANG_PRODUCT_CODE_F_J );
this->cboxReleaseForeign->Text = gcnew System::String( LANG_RELEASE_F_J );
this->labMultiForeign1->Text = gcnew System::String( LANG_MULTI_F_J );
this->labMultiForeign2->Text = gcnew System::String( LANG_MULTI_F_J );
this->labCaption->Text = gcnew System::String( LANG_CAPTION_J );
// 会社情報
this->gboxPerson1->Text = gcnew System::String( LANG_PERSON_1_J );
this->gboxPerson2->Text = gcnew System::String( LANG_PERSON_2_J );
this->cboxIsInputPerson2->Text = gcnew System::String( LANG_INPUT_PERSON_2_J );
this->labCompany1->Text = gcnew System::String( LANG_COMPANY_J );
this->labDepart1->Text = gcnew System::String( LANG_DEPART_J );
this->labPerson1->Text = gcnew System::String( LANG_PERSON_J );
this->labCompany2->Text = gcnew System::String( LANG_COMPANY_J );
this->labDepart2->Text = gcnew System::String( LANG_DEPART_J );
this->labPerson2->Text = gcnew System::String( LANG_PERSON_J );
this->labArbit1->Text = gcnew System::String( "(任意)" );
this->labArbit2->Text = gcnew System::String( "(任意)" );
this->labArbit3->Text = gcnew System::String( "(任意)" );
this->labArbit4->Text = gcnew System::String( "(任意)" );
// ふりがな情報を有効にする
this->tboxFurigana1->Enabled = true;
this->labFurigana1->Text = gcnew System::String( LANG_FURIGANA_J );
this->tboxFurigana2->Enabled = true;
this->labFurigana2->Text = gcnew System::String( LANG_FURIGANA_J );
// NTSC-UserIDも日本語版のみ
this->tboxNTSC1->Enabled = true;
this->tboxNTSC2->Enabled = true;
this->labNTSC1Pre->Text = gcnew System::String( LANG_NTSC_1_J );
this->labNTSC1Sur->Text = gcnew System::String( LANG_NTSC_2_J );
this->labNTSC2Pre->Text = gcnew System::String( LANG_NTSC_1_J );
this->labNTSC2Sur->Text = gcnew System::String( LANG_NTSC_2_J );
// TWL仕様
this->gboxTWLExInfo->Text = gcnew System::String( "TWL拡張情報" );
this->labNormalRomOffset->Text = gcnew System::String( "TWLーマル領域ROMオフセット" );
this->labKeyTableRomOffset->Text = gcnew System::String( "TWL専用領域ROMオフセット" );
this->cboxIsNormalJump->Text = gcnew System::String( "ノーマルジャンプ許可" );
this->cboxIsTmpJump->Text = gcnew System::String( "tmpジャンプ許可" );
this->cboxIsSubBanner->Text = gcnew System::String( "サブバナーファイル有効" );
this->cboxIsWL->Text = gcnew System::String( "NTRホワイトリスト署名有効" );
this->gboxAccess->Text = gcnew System::String( "アクセスコントロール情報" );
this->cboxIsSD->Text = gcnew System::String( "SDカード" );
this->cboxIsNAND->Text = gcnew System::String( "NANDフラッシュメモリ" );
this->labIsGameCardOn->Text = gcnew System::String( "ゲームカード電源" );
this->labAccessOther->Text = gcnew System::String( "その他" );
this->gboxShared2Size->Text = gcnew System::String( "Shared2ファイルサイズ" );
this->cboxIsShared2->Text = gcnew System::String( "Shared2ファイル使用" );
this->labSDK->Text = gcnew System::String( "SDKバージョン" );
this->labLib->Text = gcnew System::String( "使用ライブラリ" );
this->labCaptionEx->Text = gcnew System::String( "特記事項" );
// SRL編集可能情報
this->labEULA->Text = gcnew System::String( LANG_EULA_VER_J );
this->cboxIsEULA->Text = gcnew System::String( LANG_EULA_J );
this->gboxIcon->Text = gcnew System::String( LANG_ICON_J );
this->cboxIsWirelessIcon->Text = gcnew System::String( LANG_WIRELESS_ICON_J );
this->cboxIsWiFiIcon->Text = gcnew System::String( LANG_WIFI_ICON_J );
this->labRegion->Text = gcnew System::String( LANG_REGION_J );
// リージョン
index = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5)
{L"日本のみ", L"米国のみ", L"欧州のみ", L"豪州のみ", L"欧州および豪州"});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
this->combRegion->Items->Add( gcnew System::String( L"全リージョン" ) );
#endif
this->combRegion->SelectedIndex = index;
// ペアレンタルコントロール
this->gboxParental->Text = gcnew System::String( LANG_REGION_PCTL_J );
this->labParentalRating->Text = gcnew System::String( LANG_PCTL_RATING_J );
this->labParentalEnable->Text = gcnew System::String( LANG_PCTL_ENABLE_J );
this->labParentalForceEnable->Text = gcnew System::String( LANG_PCTL_ALWAYS_J );
index = this->combCERO->SelectedIndex; // いったんclearすると現在のindexに意味がなくなるので退避
this->combCERO->Items->Clear();
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"A (全年齢)", L"B (12歳以上)", L"C (15歳以上)", L"D (17歳以上)",
L"Z (18歳以上)", L"未審査"});
this->combCERO->SelectedIndex = index;
index = this->combESRB->SelectedIndex;
this->combESRB->Items->Clear();
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"EC (3歳以上)", L"E (6歳以上)", L"E10+ (10歳以上)", L"T (13歳以上)",
L"M (17歳以上)", L"未審査"});
this->combESRB->SelectedIndex = index;
index = this->combUSK->SelectedIndex;
this->combUSK->Items->Clear();
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"年齢制限なし", L"6歳以上", L"12歳以上", L"16歳以上", L"青少年には不適切",
L"未審査"});
this->combUSK->SelectedIndex = index;
index = this->combPEGI->SelectedIndex;
this->combPEGI->Items->Clear();
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"3歳以上", L"7歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGI->SelectedIndex = index;
index = this->combPEGIPRT->SelectedIndex;
this->combPEGIPRT->Items->Clear();
this->combPEGIPRT->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"4歳以上", L"6歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGIPRT->SelectedIndex = index;
index = this->combPEGIBBFC->SelectedIndex;
this->combPEGIBBFC->Items->Clear();
this->combPEGIBBFC->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"3歳以上", L"4歳以上推奨", L"7歳以上", L"8歳以上推奨", L"12歳以上",
L"15歳以上", L"16歳以上", L"18歳以上", L"未審査"});
this->combPEGIBBFC->SelectedIndex = index;
index = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"G", L"PG", L"M", L"MA15+", L"未審査"});
this->combOFLC->SelectedIndex = index;
// エラー情報
this->labError->Text = gcnew System::String( "エラー(必ず修正してください。)" );
this->colErrorName->HeaderText = gcnew System::String( "項目名" );
this->colErrorBegin->HeaderText = gcnew System::String( "開始" );
this->colErrorEnd->HeaderText = gcnew System::String( "終了" );
this->colErrorCause->HeaderText = gcnew System::String( "要因" );
this->labWarn->Text = gcnew System::String( "警告(修正は必須ではありませんが情報に誤りがないかご確認ください。)" );
this->colWarnName->HeaderText = gcnew System::String( "項目名" );
this->colWarnBegin->HeaderText = gcnew System::String( "開始" );
this->colWarnEnd->HeaderText = gcnew System::String( "終了" );
this->colWarnCause->HeaderText = gcnew System::String( "要因" );
this->gboxErrorTiming->Text = gcnew System::String( "いつの情報を表示するか" );
this->rErrorReading->Text = gcnew System::String( "ROMデータ読み込み時" );
this->rErrorCurrent->Text = gcnew System::String( "現在の入力を反映" );
// 特殊な設定用のテキストボックスの表記を変更
this->setSrlFormsCaptionEx();
}
private:
// 英語版への切り替え
void changeEnglish(void)
{
System::Int32 index;
// タイトルバー
this->stripFile->Text = gcnew System::String( "File" );
this->stripItemOpenRom->Text = gcnew System::String( "Open a ROM data file" );
this->stripItemSaveTemp->Text = gcnew System::String( "Save a temporary info." );
this->stripItemLoadTemp->Text = gcnew System::String( "Load a temporary info. saved previously" );
this->stripMaster->Text = gcnew System::String( "Master" );
this->stripItemSheet->Text = gcnew System::String( "Make a submission sheet and a master ROM data file" );
this->stripItemMasterRom->Text = gcnew System::String( "Make a master ROM data file only" );
// 入力ファイル
this->labFile->Text = gcnew System::String( "ROM Data File" );
// タブ
this->tabRomInfo->Text = gcnew System::String( "ROM Info.(Read Only)" );
this->tabTWLInfo->Text = gcnew System::String( "TWL Info.(Read Only)" );
this->tabRomEditInfo->Text = gcnew System::String( "ROM Settings(Editable)" );
this->tabSubmitInfo->Text = gcnew System::String( "Submission Info.(Editable)" );
this->tabCompanyInfo->Text = gcnew System::String( "Company Info.(Editable)" );
this->tabErrorInfo->Text = gcnew System::String( "Setting Error" );
// ガイド
this->tboxGuideRomInfo->Text = gcnew System::String( "This tab is for checking ROM data. When ROM data is illegal, please check settings of building ROM data" );
this->tboxGuideTWLInfo->Text = gcnew System::String( "This tab is for checking ROM data. When ROM data is illegal, please check settings of building ROM data" );
this->tboxGuideRomEditInfo->Text = gcnew System::String( "These informations will be registered in a master ROM data and a submission sheet. Please edit certainly." );
this->tboxGuideSubmitInfo->Text = gcnew System::String( "These informations are necessary for making a submission sheet. Please input." );
this->tboxGuideCompanyInfo->Text = gcnew System::String( "These informations are necessary for making a submission sheet. Please input." );
this->tboxGuideErrorInfo->Text = gcnew System::String( "" );
this->tboxGuideErrorInfo->Text += "This tab discribes errors in the ROM data file and edit mistakes.";
this->tboxGuideErrorInfo->Text += "\r\nItems highlighted by Red can't be modified by this program. Please modify build settings.";
this->tboxGuideErrorInfo->Text += "\r\nItems highlighted by Blue can be modified by this program and will register in a master ROM.";
this->tboxGuideErrorInfo->Text += "\r\nItems highlighted by Black are discribed in a submission sheet and aren't affect a master ROM.";
// SRL情報
this->gboxSrl->Text = gcnew System::String( "ROM Info." );
this->labTitleName->Text = gcnew System::String( "Game Title" );
this->labGameCode->Text = gcnew System::String( "Game Code" );
this->labMakerCode->Text = gcnew System::String( "Maker Code" );
this->labPlatform->Text = gcnew System::String( "Platform" );
this->labRomType->Text = gcnew System::String( "ROM Type" );
this->labRomSize->Text = gcnew System::String( "ROM Size" );
this->labRemasterVer->Text = gcnew System::String( "Release Ver." );
this->cboxRemasterVerE->Text = gcnew System::String( "E(Preliminary Ver.)" );
this->labHeaderCRC->Text = gcnew System::String( "Header CRC" );
this->labRomCRC->Text = gcnew System::String( "ROM CRC" );
index = this->combBackup->SelectedIndex;
// バックアップメモリ
this->gboxProd->Text = gcnew System::String( "ROM Production Info." );
this->labBackup->Text = gcnew System::String( LANG_BACKUP_E );
this->combBackup->Items->Clear();
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"4Kbit EEPROM", L"64Kbit EEPROM", L"512Kbit EEPROM",
L"256Kbit FRAM", L"2Mbit FLASH", L"4Mbit FLASH", L"8Mbit FLASH", L"Nothing", L"Other"});
this->combBackup->SelectedIndex = index;
// 提出情報
this->labProductName->Text = gcnew System::String( LANG_PRODUCT_NAME_E );
this->labProductCode->Text = gcnew System::String( LANG_PRODUCT_CODE_E );
this->labReleaseDate->Text = gcnew System::String( LANG_RELEASE_DATE_E );
this->labSubmiteDate->Text = gcnew System::String( LANG_SUBMIT_DATE_E );
this->gboxSubmitWay->Text = gcnew System::String( LANG_SUBMIT_WAY_E );
this->rSubmitPost->Text = gcnew System::String( LANG_SUBMIT_POST_E );
this->rSubmitHand->Text = gcnew System::String( LANG_SUBMIT_HAND_E );
this->gboxUsage->Text = gcnew System::String( LANG_USAGE_E );
this->rUsageSale->Text = gcnew System::String( LANG_USAGE_SALE_E );
this->rUsageSample->Text = gcnew System::String( LANG_USAGE_SAMPLE_E );
this->rUsageDst->Text = gcnew System::String( LANG_USAGE_DST_E );
this->rUsageOther->Text = gcnew System::String( LANG_USAGE_OTHER_E );
this->labSubmitVer->Text = gcnew System::String( LANG_SUBMIT_VER_E );
this->labCapSubmitVer->Text = gcnew System::String( LANG_SUBMIT_VER_CAP_E );
this->gboxForeign->Text = gcnew System::String( LANG_F_E );
this->labProductNameForeign->Text = gcnew System::String( LANG_PRODUCT_NAME_F_E );
this->labProductCodeForeign->Text = gcnew System::String( LANG_PRODUCT_CODE_F_E );
this->cboxReleaseForeign->Text = gcnew System::String( LANG_RELEASE_F_E );
this->labMultiForeign1->Text = gcnew System::String( LANG_MULTI_F_E );
this->labMultiForeign2->Text = gcnew System::String( LANG_MULTI_F_E );
this->labCaption->Text = gcnew System::String( LANG_CAPTION_E );
// 会社情報
this->gboxPerson1->Text = gcnew System::String( LANG_PERSON_1_E );
this->gboxPerson2->Text = gcnew System::String( LANG_PERSON_2_E );
this->cboxIsInputPerson2->Text = gcnew System::String( LANG_INPUT_PERSON_2_E );
this->labCompany1->Text = gcnew System::String( LANG_COMPANY_E );
this->labDepart1->Text = gcnew System::String( LANG_DEPART_E );
this->labPerson1->Text = gcnew System::String( LANG_PERSON_E );
this->labCompany2->Text = gcnew System::String( LANG_COMPANY_E );
this->labDepart2->Text = gcnew System::String( LANG_DEPART_E );
this->labPerson2->Text = gcnew System::String( LANG_PERSON_E );
this->labArbit1->Text = gcnew System::String( "(Arbitrary)" );
this->labArbit2->Text = gcnew System::String( "(Arbitrary)" );
this->labArbit3->Text = gcnew System::String( "(Arbitrary)" );
this->labArbit4->Text = gcnew System::String( "(Arbitrary)" );
// ふりがな情報を削除
this->tboxFurigana1->Clear();
this->tboxFurigana1->Enabled = false;
this->labFurigana1->Text = gcnew System::String( LANG_FURIGANA_E );
this->tboxFurigana2->Clear();
this->tboxFurigana2->Enabled = false;
this->labFurigana2->Text = gcnew System::String( LANG_FURIGANA_E );
this->tboxNTSC1->Enabled = false;
this->tboxNTSC1->Text = gcnew System::String("");
this->tboxNTSC2->Enabled = false;
this->tboxNTSC2->Text = gcnew System::String("");
this->labNTSC1Pre->Text = gcnew System::String( LANG_NTSC_1_E );
this->labNTSC1Sur->Text = gcnew System::String( LANG_NTSC_2_E );
this->labNTSC2Pre->Text = gcnew System::String( LANG_NTSC_1_E );
this->labNTSC2Sur->Text = gcnew System::String( LANG_NTSC_2_E );
// TWL仕様
this->gboxTWLExInfo->Text = gcnew System::String( "TWL Extended Info" );
this->labNormalRomOffset->Text = gcnew System::String( "TWL Normal Area ROM Offset" );
this->labKeyTableRomOffset->Text = gcnew System::String( "TWL Secure Area ROM Offset" );
this->cboxIsNormalJump->Text = gcnew System::String( "Enable Normal App. Jump" );
this->cboxIsTmpJump->Text = gcnew System::String( "Enable Temp. App. Jump" );
this->cboxIsSubBanner->Text = gcnew System::String( "Enable SubBanner File" );
this->cboxIsWL->Text = gcnew System::String( "Enable NTR WhiteList Signature" );
this->gboxAccess->Text = gcnew System::String( "Access Control" );
this->cboxIsSD->Text = gcnew System::String( "SD Card" );
this->cboxIsNAND->Text = gcnew System::String( "NAND Flash Memory" );
this->labIsGameCardOn->Text = gcnew System::String( "Card Power" );
this->labAccessOther->Text = gcnew System::String( "Others" );
this->gboxShared2Size->Text = gcnew System::String( "Size of Shared2 Files" );
this->cboxIsShared2->Text = gcnew System::String( "Use Shared2 Files" );
this->labSDK->Text = gcnew System::String( "SDK Ver." );
this->labLib->Text = gcnew System::String( "Libraries used by the program" );
this->labCaptionEx->Text = gcnew System::String( "Special Note" );
// SRL編集可能情報
this->labEULA->Text = gcnew System::String( LANG_EULA_VER_E );
this->cboxIsEULA->Text = gcnew System::String( LANG_EULA_E );
this->gboxIcon->Text = gcnew System::String( LANG_ICON_E );
this->cboxIsWirelessIcon->Text = gcnew System::String( LANG_WIRELESS_ICON_E );
this->cboxIsWiFiIcon->Text = gcnew System::String( LANG_WIFI_ICON_E );
this->labRegion->Text = gcnew System::String( LANG_REGION_E );
// リージョン
index = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5)
{L"Japan Only", L"USA Only", L"Europe Only", L"Australia Only", L"Europe and Australia"});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
this->combRegion->Items->Add( gcnew System::String( L"All Region" ) );
#endif
this->combRegion->SelectedIndex = index;
// ペアレンタルコントロール
this->gboxParental->Text = gcnew System::String( LANG_REGION_PCTL_E );
this->labParentalRating->Text = gcnew System::String( LANG_PCTL_RATING_E );
this->labParentalEnable->Text = gcnew System::String( LANG_PCTL_ENABLE_E );
this->labParentalForceEnable->Text = gcnew System::String( LANG_PCTL_ALWAYS_E );
index = this->combCERO->SelectedIndex; // いったんclearすると現在のindexに意味がなくなるので退避
this->combCERO->Items->Clear();
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{ L"A (All ages)", L"B (aged 12 or older)", L"C (aged 15 or older)", L"D (aged 17 or older)", L"Z (aged 18 or older)", L"Unexamined"});
this->combCERO->SelectedIndex = index;
index = this->combESRB->SelectedIndex;
this->combESRB->Items->Clear();
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"EC (aged 3 or older)", L"E (aged 6 or older)", L"E10+ (aged 10 or older)", L"T (aged 13 or older)", L"M (aged 17 or older)", L"Unexamined"});
this->combESRB->SelectedIndex = index;
index = this->combUSK->SelectedIndex;
this->combUSK->Items->Clear();
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"All ages", L"aged 6 or older", L"aged 12 or older", L"aged 16 or older", L"Inadequent for young", L"Unexamined"});
this->combUSK->SelectedIndex = index;
index = this->combPEGI->SelectedIndex;
this->combPEGI->Items->Clear();
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"aged 3 or older", L"aged 7 or older", L"aged 12 or older", L"aged 16 or older", L"aged 18 or older", L"Unexamined"});
this->combPEGI->SelectedIndex = index;
index = this->combPEGIPRT->SelectedIndex;
this->combPEGIPRT->Items->Clear();
this->combPEGIPRT->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"aged 4 or older", L"aged 6 or older", L"aged 12 or older", L"aged 16 or older", L"aged 18 or older", L"Unexamined"});
this->combPEGIPRT->SelectedIndex = index;
index = this->combPEGIBBFC->SelectedIndex;
this->combPEGIBBFC->Items->Clear();
this->combPEGIBBFC->Items->AddRange(gcnew cli::array< System::Object^ >(9)
{L"aged 3 or older", L"aged 4 or older recommended", L"aged 7 or older", L"aged 8 or older recommended",
L"aged 12 or older", L"aged 15 or older", L"aged 16 or older", L"aged 18 or older", L"Unexamined"});
this->combPEGIBBFC->SelectedIndex = index;
index = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"G", L"PG", L"M", L"MA15+", L"Unexamined"});
this->combOFLC->SelectedIndex = index;
// エラー情報
this->labError->Text = gcnew System::String( "Error Information(Modification is necessary.)" );
this->colErrorName->HeaderText = gcnew System::String( "Name" );
this->colErrorBegin->HeaderText = gcnew System::String( "Begin" );
this->colErrorEnd->HeaderText = gcnew System::String( "End" );
this->colErrorCause->HeaderText = gcnew System::String( "Reason" );
this->labWarn->Text = gcnew System::String( "Warning(Modification is not necessary. Please check validity of these information.)" );
this->colWarnName->HeaderText = gcnew System::String( "Name" );
this->colWarnBegin->HeaderText = gcnew System::String( "Begin" );
this->colWarnEnd->HeaderText = gcnew System::String( "End" );
this->colWarnCause->HeaderText = gcnew System::String( "Reason" );
this->gboxErrorTiming->Text = gcnew System::String( "Error Of Timing" );
this->rErrorReading->Text = gcnew System::String( "When ROM data was read" );
this->rErrorCurrent->Text = gcnew System::String( "In current settings" );
// 特殊な設定用のテキストボックスの表記を変更
this->setSrlFormsCaptionEx();
}
// --------------------------------------------------------
// エラー情報の登録
// --------------------------------------------------------
// 読み込み時エラーの登録
public:
void setGridError( void )
{
this->gridError->Rows->Clear();
if( this->hSrl->hErrorList != nullptr )
{
for each( RCMrcError ^err in this->hSrl->hErrorList )
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridError( err );
}
}
}
void setGridWarn( void )
{
this->gridWarn->Rows->Clear();
if( this->hSrl->hWarnList != nullptr )
{
for each( RCMrcError ^err in this->hSrl->hWarnList )
{
this->gridWarn->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridWarn( err );
}
}
}
// 読み込み時に検出した修正可能エラーに現在の入力を反映
public:
void overloadGridError( void )
{
this->gridError->Rows->Clear();
if( this->hSrl->hErrorList != nullptr )
{
for each( RCMrcError ^err in this->hSrl->hErrorList )
{
if( !err->EnableModify ) // 修正可能な情報は表示しない
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridError( err );
}
}
}
if( this->hErrorList != nullptr )
{
for each( RCMrcError ^err in this->hErrorList )
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridError( err );
}
}
}
void overloadGridWarn( void )
{
this->gridWarn->Rows->Clear();
if( this->hSrl->hWarnList != nullptr )
{
for each( RCMrcError ^err in this->hSrl->hWarnList )
{
if( !err->EnableModify )
{
this->gridWarn->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridWarn( err );
}
}
}
if( this->hWarnList != nullptr )
{
for each( RCMrcError ^err in this->hWarnList )
{
this->gridWarn->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridWarn( err );
}
}
}
// セルの色を変える
public:
void colorGridError( RCMrcError ^err )
{
if( err->AffectRom && !err->EnableModify ) // SRLに関係ありで修正不可
{
System::Int32 last = this->gridError->Rows->Count - 2; // 追加直後の行
this->gridError->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red;
}
else if( err->AffectRom && err->EnableModify ) // SRLに関係ありで修正可
{
System::Int32 last = this->gridError->Rows->Count - 2;
this->gridError->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Blue;
}
}
void colorGridWarn( RCMrcError ^err )
{
if( err->AffectRom && !err->EnableModify )
{
System::Int32 last = this->gridWarn->Rows->Count - 2;
this->gridWarn->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red;
}
else if( err->AffectRom && err->EnableModify )
{
System::Int32 last = this->gridWarn->Rows->Count - 2;
this->gridWarn->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Blue;
}
}
// まとめて更新
public:
void updateGrid(void)
{
if( this->rErrorReading->Checked == true )
{
this->setGridError();
this->setGridWarn();
}
else
{
if( !System::String::IsNullOrEmpty(this->tboxFile->Text) )
{
this->hErrorList->Clear();
this->hWarnList->Clear();
this->checkSrlForms();
this->checkDeliverableForms();
this->overloadGridError();
this->overloadGridWarn();
}
}
}
/////////////////////////////////////////////
// フォーム操作メソッド
/////////////////////////////////////////////
// ファイルパス表示用テキストボックス
private:
// ドラッグされてまだマウスのボタンが離されていないとき
System::Void tboxFile_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e)
{
if( e->Data->GetDataPresent( DataFormats::FileDrop ) )
{
e->Effect = DragDropEffects::All;
}
}
// ドラッグされたあとマウスのボタンが離されたとき
System::Void tboxFile_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e)
{
array<String^> ^files = dynamic_cast< array<String^> ^>(e->Data->GetData( DataFormats::FileDrop ) );
String ^filename = files[0];
if( System::IO::File::Exists(filename) == false )
{
this->errMsg( "ROMデータファイルが存在しませんので開くことができません。",
"The ROM data file is not found. Therefore the file can not be opened." );
return;
}
this->loadSrl( filename ); // ドラッグアンドドロップの時点でボタンを押さなくてもファイルを開く
this->tboxFile->Text = filename;
//this->sucMsg( "ROMデータファイルのオープンに成功しました。", "The ROM data file is opened successfully." );
}
// チェックボタンを押したときに他のフォームを有効にする
private:
System::Void cboxIsInputPerson2_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->gboxPerson2->Enabled = this->cboxIsInputPerson2->Checked;
if( this->cboxIsInputPerson2->Checked == true )
{
if( (this->tboxCompany1->Text != nullptr) && !(this->tboxCompany1->Text->Equals("")) )
{
this->tboxCompany2->Text = gcnew System::String( this->tboxCompany1->Text );
}
if( (this->tboxDepart1->Text != nullptr) && !(this->tboxDepart1->Text->Equals("")) )
{
this->tboxDepart2->Text = gcnew System::String( this->tboxDepart1->Text );
}
}
else
{
this->tboxCompany2->Clear();
this->tboxDepart2->Clear();
this->tboxPerson2->Clear();
this->tboxFurigana2->Clear();
this->tboxTel2->Clear();
this->tboxFax2->Clear();
this->tboxMail2->Clear();
this->tboxNTSC2->Clear();
}
}
private:
System::Void rUsageOther_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->tboxUsageOther->Enabled = this->rUsageOther->Checked;
if( this->rUsageOther->Checked == false )
{
this->tboxUsageOther->Clear();
}
}
private:
System::Void cboxRemasterVerE_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
//this->numRemasterVer->Enabled = !(this->cboxRemasterVerE->Checked);
//if( this->cboxRemasterVerE->Checked == false )
//{
// this->numRemasterVer->Value = 0;
//}
}
private:
System::Void combBackup_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->tboxBackupOther->Enabled = true;
}
else
{
this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Clear();
}
}
private:
// ペアレンタルコントロール情報をクリアする
void clearParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable,
System::Windows::Forms::CheckBox ^rp )
{
comb->SelectedIndex = comb->Items->Count - 1; // 「未審査」にする
enable->Checked = false;
rp->Checked = false;
}
private:
// ペアレンタルコントロール情報を編集できるようにする
void enableParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable,
System::Windows::Forms::CheckBox ^rp )
{
comb->Enabled = true;
enable->Enabled = true;
rp->Enabled = true;
}
// ペアレンタルコントロール情報を編集できなくする
void disableParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable,
System::Windows::Forms::CheckBox ^rp )
{
this->clearParental( comb, enable, rp );
comb->Enabled = false;
enable->Enabled = false;
rp->Enabled = false;
}
private:
System::Void combRegion_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
this->maskParentalForms();
}
private:
System::Void cboxReleaseForeign_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->tboxProductNameForeign->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode1Foreign->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode2Foreign1->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode2Foreign2->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode2Foreign3->Enabled = this->cboxReleaseForeign->Checked;
if( this->cboxReleaseForeign->Checked == false )
{
this->tboxProductNameForeign->Clear();
this->tboxProductCode1Foreign->Clear();
this->tboxProductCode2Foreign1->Clear();
this->tboxProductCode2Foreign2->Clear();
this->tboxProductCode2Foreign3->Clear();
}
}
/////////////////////////////////////////////
// タイトルバー操作メソッド
/////////////////////////////////////////////
private:
System::Void stripItemEnglish_Click(System::Object^ sender, System::EventArgs^ e)
{
this->changeEnglish();
this->stripItemEnglish->Checked = true;
this->stripItemJapanese->Checked = false;
this->updateGrid();
}
private:
System::Void stripItemJapanese_Click(System::Object^ sender, System::EventArgs^ e)
{
this->changeJapanese();
this->stripItemEnglish->Checked = false;
this->stripItemJapanese->Checked = true;
this->updateGrid();
}
private:
System::Void stripItemOpenRom_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String^ filename;
// ドラッグアンドドロップ以外ではダイアログから入力する
{
System::Windows::Forms::OpenFileDialog ^dlg = gcnew (OpenFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = (this->stripItemJapanese->Checked == true)?"srl形式 (*.srl)|*.srl|All files (*.*)|*.*"
:"srl format (*.srl)|*.srl|All files (*.*)|*.*";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
//this->errMsg( "ROMデータファイルのオープンがキャンセルされました。", "Opening the ROM data file is canceled by user." );
return;
}
filename = dlg->FileName;
}
this->loadSrl( filename );
//this->sucMsg( "ROMデータファイルのオープンに成功しました。", "The ROM data file is opened successfully." );
} //stripItemOpenRom_Click()
private:
System::Void stripItemMasterRom_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String^ filename;
// SRLが読み込まれていないときにはリードさせない
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) )
{
this->errMsg( "ROMデータファイルがオープンされていませんので、提出確認書の作成ができません。",
"ROM data file has not opened yet. Therefore a submission sheet can't be made." );
return;
}
// SRL関連フォーム入力をチェックする
this->hErrorList->Clear();
this->hWarnList->Clear();
if( this->checkSrlForms() == false )
{
this->errMsg( "ROMデータに不正な設定があるためROMデータの保存ができません。",
"A ROM data and a submission sheet can't be saved, since it has illegal info." );
return;
}
// SRL名を提出手順書に従わせる
{
filename = gcnew System::String("");
if( this->cboxRemasterVerE->Checked == true )
{
filename = "T" + this->hSrl->hGameCode + "E" + this->numSubmitVersion->Value.ToString() + ".SRL";
}
else
{
filename = "T" + this->hSrl->hGameCode + this->hSrl->hRomVersion->ToString() + this->numSubmitVersion->Value.ToString() + ".SRL";
}
}
// ダイアログからSRLを保存するディレクトリを取得する
{
System::Windows::Forms::FolderBrowserDialog ^dlg = gcnew (System::Windows::Forms::FolderBrowserDialog);
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
this->errMsg( "フォルダの選択がキャンセルされましたので提出確認書は作成されません。",
"A submission sheet can not be made, since selecting folder is canceled." );
return;
}
else
{
filename = dlg->SelectedPath + filename;
}
}
this->saveSrl( filename );
} //stripItemMasterRom_Click()
private:
System::Void stripItemSheet_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String ^delivfile;
ECDeliverableResult result;
System::String ^srlfile;
System::UInt16 ^hcrc;
cli::array<System::String^> ^paths;
// SRLが読み込まれていないときにはリードさせない
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) )
{
this->errMsg( "ROMデータファイルがオープンされていません。", "ROM file has not opened yet." );
return;
}
// SRLと書類の両方のフォーム入力をチェックする
this->hErrorList->Clear();
this->hWarnList->Clear();
if( this->checkSrlForms() == false )
{
this->errMsg( "ROMデータに不正な設定があるためROMデータの保存および提出確認書の作成ができません。",
"A ROM data and a submission sheet can't be saved, since it has illegal info." );
return;
}
if( this->checkDeliverableForms() == false )
{
this->errMsg( "入力情報に不足があるため提出確認書を作成できません。",
"Making a submission sheet can't be done, since your input is not enough." );
return;
}
// SRL名を提出手順書に従わせる
{
srlfile = gcnew System::String("");
if( this->cboxRemasterVerE->Checked == true )
{
srlfile = "T" + this->hSrl->hGameCode + "E" + this->numSubmitVersion->Value.ToString() + ".SRL";
}
else
{
srlfile = "T" + this->hSrl->hGameCode + this->hSrl->hRomVersion->ToString() + this->numSubmitVersion->Value.ToString() + ".SRL";
}
}
// 注意書き
{
this->sucMsg(
"Step1/2: ROMデータファイル(SRL)と提出確認書の情報を一致させるため、まず、入力情報を反映させたROMデータファイルを作成します。\n(キャンセルされたとき、SRLおよび提出確認書は作成されません。)\n"
+ "\n ROMデータファイル名は \"" + srlfile + "\"となります。\n" + "\nROMデータファイルを保存するフォルダを選択してください。",
"Step1/2: Firstly, We save ROM file(SRL) because several information in a submission sheet are match those in the ROM data file.\n(When it is canceled, both the SRL and a submission sheet are not made.)"
+ "\n ROM data file name is \"" + srlfile + "\".\n" + "\nPlease select a folder in which the ROM data is saved."
);
}
// ダイアログからSRLを保存するディレクトリを取得する
{
System::Windows::Forms::FolderBrowserDialog ^dlg = gcnew (System::Windows::Forms::FolderBrowserDialog);
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
this->errMsg( "フォルダの選択がキャンセルされましたので提出確認書は作成されません。",
"A submission sheet can not be made, since selecting folder is canceled." );
return;
}
else
{
srlfile = dlg->SelectedPath + srlfile;
}
}
// 注意書き
{
this->sucMsg(
"Step2/2: 続いて提出確認書を作成します。\nここでキャンセルされたとき、提出確認書はもとよりROMデータファイルも作成されませんのでご注意ください。",
"Step2/2: Secondly, We should make a submission sheet. \n(CAUTION: When it is canceled, not only a submission sheet is not made, but also the ROM data file is selected previously.)"
);
}
// ダイアログでファイルパスを決定
{
System::Windows::Forms::SaveFileDialog ^dlg = gcnew (SaveFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = "xml形式 (*.xml)|*.xml";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
this->errMsg( "提出確認書の作成がキャンセルされました。", "Making a submission sheet is canceled." );
return;
}
delivfile = dlg->FileName;
if( !(dlg->FileName->EndsWith( ".xml" )) )
{
delivfile += ".xml";
}
}
// マスタ提出確認書に必要な情報をフォームから取得して更新
this->setSrlProperties(); // 先にSrlを更新しておく
this->setDeliverableProperties();
// SRLを更新
this->saveSrl( srlfile );
u16 crc; // SRL全体のCRCを計算する(書類に記述するため)
if( !getWholeCRCInFile( srlfile, &crc ) )
{
this->errMsg( "CRCの計算に失敗しました。提出確認書の作成はキャンセルされます。",
"Calc CRC is failed. Therefore, Making a submission sheet is canceled." );
return;
}
hcrc = gcnew System::UInt16( crc );
this->tboxWholeCRC->Clear();
this->tboxWholeCRC->AppendText( "0x" );
this->tboxWholeCRC->AppendText( hcrc->ToString("X") );
// 書類作成
paths = srlfile->Split(L'\\'); // 余分なパスを削除
srlfile = paths[ paths->Length - 1 ];
//result = this->hDeliv->write( delivfile, this->hSrl, hcrc, srlfile, !(this->stripItemJapanese->Checked) );
result = this->hDeliv->writeSpreadsheet( delivfile, this->hSrl, hcrc, srlfile, !(this->stripItemJapanese->Checked) );
if( result != ECDeliverableResult::NOERROR )
{
this->errMsg( "提出確認書の作成に失敗しました。", "Making the submission sheet is failed." );
return;
}
this->sucMsg( "提出確認書の作成に成功しました。", "The submission sheet is made successfully." );
} //stripItemSheet_Click()
private:
System::Void stripItemSaveTemp_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String ^filename = gcnew System::String("");
// ダイアログでファイルパスを決定
{
System::Windows::Forms::SaveFileDialog ^dlg = gcnew (SaveFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = "xml形式 (*.xml)|*.xml";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
return;
}
filename = dlg->FileName;
if( !(dlg->FileName->EndsWith( ".xml" )) )
{
filename += ".xml";
}
}
this->saveTmp( filename );
} //stripItemSaveTemp_Click()
private:
System::Void stripItemLoadTemp_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String ^filename = gcnew System::String("");
// ダイアログでファイルパスを決定
{
System::Windows::Forms::OpenFileDialog ^dlg = gcnew (OpenFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = "xml形式 (*.xml)|*.xml";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
return;
}
filename = dlg->FileName;
if( !(dlg->FileName->EndsWith( ".xml" )) )
{
filename += ".xml";
}
}
this->loadTmp( filename );
} //stripItemLoadTemp_Click()
private:
System::Void rErrorReading_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->updateGrid();
}
private:
System::Void rErrorCurrent_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->updateGrid();
}
private:
System::Void tabMain_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
// エラータブを最新情報に更新
if( tabMain->SelectedIndex == 5 )
{
this->updateGrid();
}
}
private:
System::Void butSetBack_Click(System::Object^ sender, System::EventArgs^ e)
{
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) )
return;
// 編集可能情報を読み込み時の設定に戻す
this->cboxIsEULA->Checked = *(this->hSrl->hIsEULA);
this->numEULA->Value = *(this->hSrl->hEULAVersion);
this->cboxIsWiFiIcon->Checked = *(this->hSrl->hIsWiFiIcon);
this->cboxIsWirelessIcon->Checked = *(this->hSrl->hIsWirelessIcon);
this->setParentalForms(); // ペアレンタルコントロール関連
}
}; // enf of ref class Form1
} // end of namespace MasterEditorTWL