diff --git a/build/Makefile b/build/Makefile index c06c0e2a..38c1abac 100644 --- a/build/Makefile +++ b/build/Makefile @@ -21,10 +21,6 @@ include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs #---------------------------------------------------------------------------- -ifneq ($(TWL_KEYSDIR),) -SUBDIRS = tools -endif - SUBDIRS += libraries_sysmenu \ components \ systemMenu_RED diff --git a/build/tools/Makefile b/build/tools/Makefile deleted file mode 100644 index f8004c4a..00000000 --- a/build/tools/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -#! make -f -#---------------------------------------------------------------------------- -# Project: TwlIPL - firmware -# File: Makefile -# -# Copyright 2007 Nintendo. All rights reserved. -# -# These coded instructions, statements, and computer programs contain -# proprietary information of Nintendo of America Inc. and/or Nintendo -# Company Ltd., and are protected by Federal copyright law. They may -# not be disclosed to third parties or copied or duplicated in any form, -# in whole or in part, without the prior written consent of Nintendo. -# -# $Date:: $ -# $Rev$ -# $Author$ -#---------------------------------------------------------------------------- - -include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs - - -#---------------------------------------------------------------------------- - -SUBDIRS = \ - attach_dummyromheader \ - rombreaker \ - - -#---------------------------------------------------------------------------- - -include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules - - -#===== End of Makefile ===== diff --git a/build/tools/MasterEditorTWL/DS-MasterROM_Submission_Sheet_2008_00_J.xls b/build/tools/MasterEditorTWL/DS-MasterROM_Submission_Sheet_2008_00_J.xls deleted file mode 100644 index 5056c2b1..00000000 Binary files a/build/tools/MasterEditorTWL/DS-MasterROM_Submission_Sheet_2008_00_J.xls and /dev/null differ diff --git a/build/tools/MasterEditorTWL/Debug/MasterEditorTWL.ilk b/build/tools/MasterEditorTWL/Debug/MasterEditorTWL.ilk deleted file mode 100644 index e69de29b..00000000 diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL.ncb b/build/tools/MasterEditorTWL/MasterEditorTWL.ncb deleted file mode 100644 index 6e33956b..00000000 Binary files a/build/tools/MasterEditorTWL/MasterEditorTWL.ncb and /dev/null differ diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL.sln b/build/tools/MasterEditorTWL/MasterEditorTWL.sln deleted file mode 100644 index 86a0a999..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL.sln +++ /dev/null @@ -1,24 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MasterEditorTWL", "MasterEditorTWL\MasterEditorTWL.vcproj", "{F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "MasterEditorTWLSetup", "MasterEditorTWLSetup\MasterEditorTWLSetup.vdproj", "{D24711F8-41FF-4E3E-96BD-F4FFA6A2FB34}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}.Debug|Win32.ActiveCfg = Debug|Win32 - {F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}.Debug|Win32.Build.0 = Debug|Win32 - {F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}.Release|Win32.ActiveCfg = Release|Win32 - {F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}.Release|Win32.Build.0 = Release|Win32 - {D24711F8-41FF-4E3E-96BD-F4FFA6A2FB34}.Debug|Win32.ActiveCfg = Debug - {D24711F8-41FF-4E3E-96BD-F4FFA6A2FB34}.Release|Win32.ActiveCfg = Release - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL.suo b/build/tools/MasterEditorTWL/MasterEditorTWL.suo deleted file mode 100644 index 2c2b4b7d..00000000 Binary files a/build/tools/MasterEditorTWL/MasterEditorTWL.suo and /dev/null differ diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/AssemblyInfo.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/AssemblyInfo.cpp deleted file mode 100644 index 904f9fca..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/AssemblyInfo.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "stdafx.h" - -using namespace System; -using namespace System::Reflection; -using namespace System::Runtime::CompilerServices; -using namespace System::Runtime::InteropServices; -using namespace System::Security::Permissions; - -// -// ƒAƒZƒ“ƒuƒŠ‚ÉŠÖ‚·‚éˆê”Êî•ñ‚͈ȉº‚Ì‘®«ƒZƒbƒg‚ð‚Æ‚¨‚µ‚ħŒä‚³‚ê‚Ü‚·B -// ƒAƒZƒ“ƒuƒŠ‚ÉŠÖ˜A•t‚¯‚ç‚ê‚Ä‚¢‚éî•ñ‚ð•ÏX‚·‚é‚É‚ÍA -// ‚±‚ê‚ç‚Ì‘®«’l‚ð•ÏX‚µ‚Ä‚­‚¾‚³‚¢B -// -[assembly:AssemblyTitleAttribute("MasterEditorTWL")]; -[assembly:AssemblyDescriptionAttribute("")]; -[assembly:AssemblyConfigurationAttribute("")]; -[assembly:AssemblyCompanyAttribute("”C“V“°Š”Ž®‰ïŽÐ")]; -[assembly:AssemblyProductAttribute("MasterEditorTWL")]; -[assembly:AssemblyCopyrightAttribute("Copyright (c) ”C“V“°Š”Ž®‰ïŽÐ 2008")]; -[assembly:AssemblyTrademarkAttribute("")]; -[assembly:AssemblyCultureAttribute("")]; - -// -// ƒAƒZƒ“ƒuƒŠ‚̃o[ƒWƒ‡ƒ“î•ñ‚ÍAˆÈ‰º‚Ì 4 ‚‚̒l‚Å\¬‚³‚ê‚Ä‚¢‚Ü‚·: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// ‚·‚ׂĂ̒l‚ðŽw’è‚·‚é‚©A‰º‚̂悤‚É '*' ‚ðŽg‚Á‚ÄƒŠƒrƒWƒ‡ƒ“‚¨‚æ‚уrƒ‹ƒh”Ô†‚ð -// Šù’è’l‚É‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚·: - -[assembly:AssemblyVersionAttribute("1.0.*")]; - -[assembly:ComVisible(false)]; - -[assembly:CLSCompliantAttribute(true)]; - -[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm b/build/tools/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm deleted file mode 100644 index affa9837..00000000 Binary files a/build/tools/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm and /dev/null differ diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.h b/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.h deleted file mode 100644 index f5f90f9a..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.h +++ /dev/null @@ -1,6425 +0,0 @@ -#pragma once - -#include -#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; - - /// - /// Form1 ‚ÌŠT—v - /// - /// Œx: ‚±‚̃Nƒ‰ƒX‚Ì–¼‘O‚ð•ÏX‚·‚éê‡A‚±‚̃Nƒ‰ƒX‚ªˆË‘¶‚·‚é‚·‚×‚Ä‚Ì .resx ƒtƒ@ƒCƒ‹‚ÉŠÖ˜A•t‚¯‚ç‚ꂽ - /// ƒ}ƒl[ƒW ƒŠƒ\[ƒX ƒRƒ“ƒpƒCƒ‰ ƒc[ƒ‹‚ɑ΂µ‚Ä 'Resource File Name' ƒvƒƒpƒeƒB‚ð - /// •ÏX‚·‚é•K—v‚ª‚ ‚è‚Ü‚·B‚±‚Ì•ÏX‚ðs‚í‚È‚¢‚ÆA - /// ƒfƒUƒCƒi‚ÆA‚±‚̃tƒH[ƒ€‚ÉŠÖ˜A•t‚¯‚ç‚ꂽƒ[ƒJƒ‰ƒCƒYÏ‚ÝƒŠƒ\[ƒX‚Æ‚ªA - /// ³‚µ‚­‘ŠŒÝ‚É—˜—p‚Å‚«‚È‚­‚È‚è‚Ü‚·B - /// - public ref class Form1 : public System::Windows::Forms::Form - { - // “ÆŽ©’ljÁƒtƒB[ƒ‹ƒh - private: - // SRLî•ñ(ROMƒwƒbƒ_‚ðŠÜ‚Þ) - RCSrl ^hSrl; - - // ƒ}ƒXƒ^‘—Þ - RCDeliverable ^hDeliv; - - // ‘—Þo—̓‚[ƒh(ƒm[ƒ}ƒ‹XML or XML Spread Sheet) - System::Boolean ^hIsSpreadSheet; - - // “ü—̓Gƒ‰[î•ñ - System::Collections::Generic::List ^hErrorList; - System::Collections::Generic::List ^hWarnList; - - - // VCŽ©“®’ljÁƒtƒB[ƒ‹ƒh - 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::Label^ labEULA; - - 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::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::Label^ labProductNameLimit; -private: System::Windows::Forms::Label^ labProductNameLimitForeign; -private: System::Windows::Forms::RadioButton^ rIsWiFiIcon; - - - -private: System::Windows::Forms::RadioButton^ rIsWirelessIcon; -private: System::Windows::Forms::RadioButton^ rIsNoIcon; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private: System::Windows::Forms::TextBox^ tboxPlatform; - - public: - Form1(void) - { - InitializeComponent(); - // - //TODO: ‚±‚±‚ɃRƒ“ƒXƒgƒ‰ƒNƒ^ ƒR[ƒh‚ð’ljÁ‚µ‚Ü‚· - // - this->hSrl = gcnew (RCSrl); - this->hDeliv = gcnew (RCDeliverable); - this->hErrorList = gcnew System::Collections::Generic::List(); - this->hErrorList->Clear(); - this->hWarnList = gcnew System::Collections::Generic::List(); - this->hWarnList->Clear(); - - // ƒo[ƒWƒ‡ƒ“î•ñ‚ð•\ަ - //this->labAssemblyVersion->Text = System::Windows::Forms::Application::ProductVersion; - System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly(); - this->labAssemblyVersion->Text = "ver." + ass->GetName()->Version->ToString(); - - // ƒfƒtƒHƒ‹ƒg’l - 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"‘SƒŠ[ƒWƒ‡ƒ“" ) ); -#endif - - // ƒAƒvƒŠŽí•Ê‚ð‚‚¯‚é - System::String ^appstr = nullptr; -#ifdef METWL_VER_APPTYPE_LAUNCHER - appstr += "Launcher/"; -#endif -#ifdef METWL_VER_APPTYPE_SECURE - appstr += "Secure/"; -#endif -#ifdef METWL_VER_APPTYPE_SYSTEM - appstr += "System/"; -#endif - if( appstr != nullptr) - { - this->Text += " [ Supported App: " + appstr + "User ]"; - } - - // •¡”s•\ަ‚µ‚½‚¢‚ª‰Šú’l‚ÅÝ’è‚Å‚«‚È‚¢‚̂ł±‚±‚ÅÝ’è - this->tboxGuideRomEditInfo->Text = "‚±‚̃^ƒu‚Ìî•ñ‚Í’ñoŠm”F‘‚¨‚æ‚у}ƒXƒ^[ROM‚Ì쬂ɕK—v‚Å‚·B•ÒW‚µ‚Ä‚­‚¾‚³‚¢B"; - this->tboxGuideRomEditInfo->Text += "\r\n‚±‚ê‚ç‚Ìî•ñ‚̓}ƒXƒ^[ROM‚Ì쬎ž‚ÉROMƒf[ƒ^‚Ì’†‚É“o˜^‚³‚ê‚Ü‚·B"; - - this->tboxGuideErrorInfo->Text = "‚±‚̃^ƒu‚ɂ͓ǂݞ‚ñ‚¾ROMƒf[ƒ^‚Ì–â‘è‚Æ–{ƒvƒƒOƒ‰ƒ€‚ł̓ü—̓~ƒX‚ª—ñ‹“‚³‚ê‚Ü‚·B"; - this->tboxGuideErrorInfo->Text += "\r\nÔ•¶Žš‚Ì€–Ú‚ÍA–{ƒvƒƒOƒ‰ƒ€‚ÅC³•s‰Â‚Å‚·BROMƒf[ƒ^쬎ž‚ÌÝ’è‚ð‚²Šm”F‚­‚¾‚³‚¢B"; - this->tboxGuideErrorInfo->Text += "\r\n•¶Žš‚Ì€–Ú‚ÍA–{ƒvƒƒOƒ‰ƒ€‚ÅC³‚Å‚«‚Ü‚·‚ªAC³‚ªƒ}ƒXƒ^[ROM‚É”½‰f‚³‚ê‚Ü‚·B"; - this->tboxGuideErrorInfo->Text += "\r\n••¶Žš‚Ì€–Ú‚ÍA’ñoŠm”F‘‚ɂ̂ݔ½‰f‚³‚êAƒ}ƒXƒ^[ROM‚ɂ͔½‰f‚³‚ê‚Ü‚¹‚ñB"; - - this->loadInit(); // Ý’èƒtƒ@ƒCƒ‹‚̓ǂݞ‚Ý - } - - protected: - /// - /// Žg—p’†‚ÌƒŠƒ\[ƒX‚ð‚·‚×‚ÄƒNƒŠ[ƒ“ƒAƒbƒv‚µ‚Ü‚·B - /// - ~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: - /// - /// •K—v‚ȃfƒUƒCƒi•Ï”‚Å‚·B - /// - System::ComponentModel::Container ^components; - -#pragma region Windows Form Designer generated code - /// - /// ƒfƒUƒCƒi ƒTƒ|[ƒg‚É•K—v‚ȃƒ\ƒbƒh‚Å‚·B‚±‚̃ƒ\ƒbƒh‚Ì“à—e‚ð - /// ƒR[ƒh ƒGƒfƒBƒ^‚Å•ÏX‚µ‚È‚¢‚Å‚­‚¾‚³‚¢B - /// - void InitializeComponent(void) - { - System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle1 = (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->labEULA = (gcnew System::Windows::Forms::Label()); - 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->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->rIsNoIcon = (gcnew System::Windows::Forms::RadioButton()); - this->rIsWiFiIcon = (gcnew System::Windows::Forms::RadioButton()); - this->rIsWirelessIcon = (gcnew System::Windows::Forms::RadioButton()); - this->gboxEULA = (gcnew System::Windows::Forms::GroupBox()); - this->tabSubmitInfo = (gcnew System::Windows::Forms::TabPage()); - this->labProductNameLimit = (gcnew System::Windows::Forms::Label()); - this->tboxGuideSubmitInfo = (gcnew System::Windows::Forms::TextBox()); - this->gboxForeign = (gcnew System::Windows::Forms::GroupBox()); - this->labProductNameLimitForeign = (gcnew System::Windows::Forms::Label()); - 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(this->numEULA))->BeginInit(); - this->gboxPerson2->SuspendLayout(); - this->gboxPerson1->SuspendLayout(); - this->gboxUsage->SuspendLayout(); - this->gboxSubmitWay->SuspendLayout(); - (cli::safe_cast(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(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(this->gridWarn))->BeginInit(); - (cli::safe_cast(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ƒf[ƒ^î•ñ"; - // - // 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"ƒvƒ‰ƒbƒgƒtƒH[ƒ€"; - // - // 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—e—Ê"; - // - // 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ƒ^ƒCƒvÝ’è"; - // - // 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(Ž–‘O”Å)"; - 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"ƒ[ƒJƒR[ƒh"; - // - // 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"ƒCƒjƒVƒƒƒ‹ƒR[ƒh"; - // - // 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"ƒ\ƒtƒgƒ^ƒCƒgƒ‹"; - // - // 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"ƒŠƒ}ƒXƒ^[ƒo[ƒWƒ‡ƒ“"; - // - // 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"ƒoƒbƒNƒAƒbƒvƒƒ‚ƒŠ"; - // - // 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->MaxLength = 20; - this->tboxBackupOther->Name = L"tboxBackupOther"; - this->tboxBackupOther->Size = System::Drawing::Size(125, 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"‘S‘Ì‚Ì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"ƒwƒbƒ_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"”õl—“ - ‚»‚Ì‘¼˜A—Ž–€‚ª‚ ‚ê‚΂²‹L“ü‚­‚¾‚³‚¢"; - // - // tboxCaption - // - this->tboxCaption->Location = System::Drawing::Point(378, 263); - this->tboxCaption->MaxLength = 300; - this->tboxCaption->Multiline = true; - this->tboxCaption->Name = L"tboxCaption"; - this->tboxCaption->Size = System::Drawing::Size(349, 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, 236); - 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(47, 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"–¢R¸"}); - 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"–¢R¸"}); - 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"–¢R¸"}); - 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"–¢R¸"}); - 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"”N—î§ŒÀ‚È‚µ", L"6ΈÈã", L"12ΈÈã", L"16ΈÈã", L"­”N‚ɂ͕s“KØ", - L"–¢R¸"}); - 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"–¢R¸"}); - 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 (‘S”N—î)", L"B (12ΈÈã)", L"C (15ΈÈã)", L"D (17ΈÈã)", - L"Z (18ΈÈã)", L"–¢R¸"}); - 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(359, 59); - this->labParentalForceEnable->Name = L"labParentalForceEnable"; - this->labParentalForceEnable->Size = System::Drawing::Size(41, 12); - this->labParentalForceEnable->TabIndex = 0; - this->labParentalForceEnable->Text = L"R¸’†"; - // - // 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"ƒŒ[ƒeƒBƒ“ƒO"; - // - // labParentalEnable - // - this->labParentalEnable->AutoSize = true; - this->labParentalEnable->Location = System::Drawing::Point(273, 59); - this->labParentalEnable->Name = L"labParentalEnable"; - this->labParentalEnable->Size = System::Drawing::Size(62, 12); - this->labParentalEnable->TabIndex = 1; - this->labParentalEnable->Text = L"§ŒÀ‚ð—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"ƒJ[ƒhƒŠ[ƒWƒ‡ƒ“"; - // - // 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"‰¢B‚Ì‚Ý", L"‹B‚Ì‚Ý", L"‰¢B‚¨‚æ‚Ñ‹B"}); - 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); - // - // 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“¯ˆÓƒo[ƒWƒ‡ƒ“"; - // - // 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"’S“–ŽÒ2‚ð“ü—Í‚·‚é(”CˆÓ)"; - 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"’S“–ŽÒ2"; - // - // labArbit4 - // - this->labArbit4->AutoSize = true; - this->labArbit4->Location = System::Drawing::Point(230, 207); - this->labArbit4->Name = L"labArbit4"; - this->labArbit4->Size = System::Drawing::Size(37, 12); - this->labArbit4->TabIndex = 15; - this->labArbit4->Text = L"(”CˆÓ)"; - // - // labArbit3 - // - this->labArbit3->AutoSize = true; - this->labArbit3->Location = System::Drawing::Point(230, 156); - this->labArbit3->Name = L"labArbit3"; - this->labArbit3->Size = System::Drawing::Size(37, 12); - this->labArbit3->TabIndex = 13; - this->labArbit3->Text = L"(”CˆÓ)"; - // - // 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(158, 19); - this->tboxNTSC2->TabIndex = 11; - // - // labFax2 - // - this->labFax2->AutoSize = true; - this->labFax2->Location = System::Drawing::Point(23, 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(158, 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(158, 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(23, 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"‹MŽÐ–¼"; - // - // 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"’S“–ŽÒ1"; - // - // labArbit2 - // - this->labArbit2->AutoSize = true; - this->labArbit2->Location = System::Drawing::Point(219, 207); - this->labArbit2->Name = L"labArbit2"; - this->labArbit2->Size = System::Drawing::Size(37, 12); - this->labArbit2->TabIndex = 12; - this->labArbit2->Text = L"(”CˆÓ)"; - // - // labArbit1 - // - this->labArbit1->AutoSize = true; - this->labArbit1->Location = System::Drawing::Point(219, 156); - this->labArbit1->Name = L"labArbit1"; - this->labArbit1->Size = System::Drawing::Size(37, 12); - this->labArbit1->TabIndex = 11; - this->labArbit1->Text = L"(”CˆÓ)"; - // - // 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(23, 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 = 30; - this->tboxNTSC1->Name = L"tboxNTSC1"; - this->tboxNTSC1->Size = System::Drawing::Size(147, 19); - this->tboxNTSC1->TabIndex = 8; - // - // tboxFax1 - // - this->tboxFax1->Location = System::Drawing::Point(66, 149); - this->tboxFax1->MaxLength = 15; - this->tboxFax1->Name = L"tboxFax1"; - this->tboxFax1->Size = System::Drawing::Size(147, 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 = 15; - this->tboxTel1->Name = L"tboxTel1"; - this->tboxTel1->Size = System::Drawing::Size(147, 19); - this->tboxTel1->TabIndex = 4; - // - // tboxFurigana1 - // - this->tboxFurigana1->Location = System::Drawing::Point(66, 100); - this->tboxFurigana1->MaxLength = 15; - 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 = 15; - 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 = 25; - 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 = 25; - 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(23, 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"‹MŽÐ–¼"; - // - // tboxProductCode2 - // - this->tboxProductCode2->Location = System::Drawing::Point(175, 81); - this->tboxProductCode2->MaxLength = 4; - this->tboxProductCode2->Name = L"tboxProductCode2"; - this->tboxProductCode2->Size = System::Drawing::Size(45, 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->ImeMode = System::Windows::Forms::ImeMode::NoControl; - this->tboxProductName->Location = System::Drawing::Point(106, 53); - this->tboxProductName->MaxLength = 30; - this->tboxProductName->Name = L"tboxProductName"; - this->tboxProductName->Size = System::Drawing::Size(256, 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, 79); - this->gboxUsage->TabIndex = 6; - this->gboxUsage->TabStop = false; - this->gboxUsage->Text = L"—p“r"; - // - // tboxUsageOther - // - this->tboxUsageOther->Enabled = false; - this->tboxUsageOther->Location = System::Drawing::Point(71, 47); - this->tboxUsageOther->MaxLength = 25; - this->tboxUsageOther->Name = L"tboxUsageOther"; - this->tboxUsageOther->Size = System::Drawing::Size(250, 19); - this->tboxUsageOther->TabIndex = 4; - // - // rUsageOther - // - this->rUsageOther->AutoSize = true; - this->rUsageOther->Location = System::Drawing::Point(6, 48); - 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, 18); - this->rUsageDst->Name = L"rUsageDst"; - this->rUsageDst->Size = System::Drawing::Size(87, 16); - this->rUsageDst->TabIndex = 2; - this->rUsageDst->Text = L"ƒf[ƒ^”zM—p"; - this->rUsageDst->UseVisualStyleBackColor = true; - // - // rUsageSample - // - this->rUsageSample->AutoSize = true; - this->rUsageSample->Location = System::Drawing::Point(104, 18); - this->rUsageSample->Name = L"rUsageSample"; - this->rUsageSample->Size = System::Drawing::Size(71, 16); - this->rUsageSample->TabIndex = 1; - this->rUsageSample->Text = L"ŽŽ—V‘ä—p"; - this->rUsageSample->UseVisualStyleBackColor = true; - // - // rUsageSale - // - this->rUsageSale->AutoSize = true; - this->rUsageSale->Checked = true; - this->rUsageSale->Location = System::Drawing::Point(6, 18); - 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"ˆê”ʔ̔„—p"; - 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"’ño•û–@"; - // - // 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"Žè“n‚µ"; - 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"—X‘—"; - 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"‘—Þ’ño“ú"; - // - // 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(22, 84); - this->labProductCode->Name = L"labProductCode"; - this->labProductCode->Size = System::Drawing::Size(56, 12); - this->labProductCode->TabIndex = 6; - this->labProductCode->Text = L"»•iƒR[ƒh"; - // - // labProductName - // - this->labProductName->AutoSize = true; - this->labProductName->Location = System::Drawing::Point(22, 56); - this->labProductName->Name = L"labProductName"; - this->labProductName->Size = System::Drawing::Size(41, 12); - this->labProductName->TabIndex = 5; - this->labProductName->Text = L"»•i–¼"; - // - // 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"* ƒŠƒ}ƒXƒ^[ƒo[ƒWƒ‡ƒ“‚ªã‚ª‚邯ĂÑ0‚©‚çƒJƒEƒ“ƒg"; - // - // 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"’ñoƒo[ƒWƒ‡ƒ“"; - // - // 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"ŠCŠO”ł𔭔„‚·‚é(—\’è)"; - 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"»•i–¼"; - // - // tboxProductNameForeign - // - this->tboxProductNameForeign->Enabled = false; - this->tboxProductNameForeign->Location = System::Drawing::Point(92, 40); - this->tboxProductNameForeign->MaxLength = 30; - this->tboxProductNameForeign->Name = L"tboxProductNameForeign"; - this->tboxProductNameForeign->Size = System::Drawing::Size(257, 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"»•iƒR[ƒh"; - // - // 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ƒtƒ@ƒCƒ‹ƒTƒCƒY"; - // - // 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ƒtƒ@ƒCƒ‹Žg—p"; - 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"Žg—pƒ‰ƒCƒuƒ‰ƒŠ"; - // - // 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(186, 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ƒo[ƒWƒ‡ƒ“"; - // - // 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Šg’£î•ñ"; - // - // 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ƒm[ƒ}ƒ‹—̈æROMƒIƒtƒZƒbƒg"; - // - // 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ê—p—̈æROMƒIƒtƒZƒbƒg"; - // - // 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"ƒTƒuƒoƒi[ƒtƒ@ƒCƒ‹—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ƒzƒƒCƒgƒŠƒXƒg–¼—LŒø"; - 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"ƒm[ƒ}ƒ‹ƒWƒƒƒ“ƒv‹–‰Â"; - 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ƒWƒƒƒ“ƒv‹–‰Â"; - 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"ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹î•ñ"; - // - // 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"ƒQ[ƒ€ƒJ[ƒh“dŒ¹"; - // - // 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ƒtƒ‰ƒbƒVƒ…ƒƒ‚ƒŠ"; - 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ƒJ[ƒh"; - 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->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(157, 48); - this->labHex2->Name = L"labHex2"; - this->labHex2->Size = System::Drawing::Size(11, 12); - this->labHex2->TabIndex = 7; - this->labHex2->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(538, 52); - this->labCaptionEx->Name = L"labCaptionEx"; - this->labCaptionEx->Size = System::Drawing::Size(53, 12); - this->labCaptionEx->TabIndex = 11; - this->labCaptionEx->Text = L"“Á‹LŽ–€"; - // - // tboxCaptionEx - // - this->tboxCaptionEx->Location = System::Drawing::Point(540, 67); - this->tboxCaptionEx->Multiline = true; - this->tboxCaptionEx->Name = L"tboxCaptionEx"; - this->tboxCaptionEx->ReadOnly = true; - this->tboxCaptionEx->ScrollBars = System::Windows::Forms::ScrollBars::Both; - this->tboxCaptionEx->Size = System::Drawing::Size(171, 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(378, 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¶ŽYî•ñ"; - // - // 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"ƒtƒ@ƒCƒ‹"; - // - // stripItemOpenRom - // - this->stripItemOpenRom->Name = L"stripItemOpenRom"; - this->stripItemOpenRom->Size = System::Drawing::Size(211, 22); - this->stripItemOpenRom->Text = L"ROMƒf[ƒ^‚ðŠJ‚­"; - 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"’ñoî•ñ‚ðˆêŽž•Û‘¶‚·‚é"; - 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"ˆêŽž•Û‘¶‚µ‚½’ñoî•ñ‚ðŠJ‚­"; - 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"ƒ}ƒXƒ^["; - // - // stripItemSheet - // - this->stripItemSheet->Name = L"stripItemSheet"; - this->stripItemSheet->Size = System::Drawing::Size(232, 22); - this->stripItemSheet->Text = L"’ñoŠm”F‘‚ƃ}ƒXƒ^[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"ƒ}ƒXƒ^[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(753, 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(745, 352); - this->tabRomInfo->TabIndex = 0; - this->tabRomInfo->Text = L"ROMŠî–{î•ñ(Šm”F—p)"; - 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"‚±‚̃^ƒu‚Ìî•ñ‚Í•ÒW•s‰Â‚Å‚·Bƒf[ƒ^‚ÉŒë‚肪‚ ‚éꇂɂÍROMƒf[ƒ^‚Ì쬎ž‚ÌÝ’è‚ðŒ©’¼‚µ‚Ä‚­‚¾‚³‚¢B"; - // - // 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(745, 352); - this->tabTWLInfo->TabIndex = 1; - this->tabTWLInfo->Text = L"TWLŠg’£î•ñ(Šm”F—p)"; - 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"‚±‚̃^ƒu‚Ìî•ñ‚Í•ÒW•s‰Â‚Å‚·Bƒf[ƒ^‚ÉŒë‚肪‚ ‚éꇂɂÍROMƒf[ƒ^‚Ì쬎ž‚ÌÝ’è‚ðŒ©’¼‚µ‚Ä‚­‚¾‚³‚¢B"; - // - // 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Šg’£”ƒtƒ‰ƒO"; - // - // 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(745, 352); - this->tabRomEditInfo->TabIndex = 2; - this->tabRomEditInfo->Text = L"ROM“o˜^î•ñ(•ÒW‰Â)"; - 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->Multiline = true; - this->tboxGuideRomEditInfo->Name = L"tboxGuideRomEditInfo"; - this->tboxGuideRomEditInfo->ReadOnly = true; - this->tboxGuideRomEditInfo->Size = System::Drawing::Size(687, 34); - this->tboxGuideRomEditInfo->TabIndex = 37; - // - // 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(459, 272); - this->gboxParental->TabIndex = 33; - this->gboxParental->TabStop = false; - this->gboxParental->Text = L"ƒŠ[ƒWƒ‡ƒ“‚ƃyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹"; - // - // gboxIcon - // - this->gboxIcon->Controls->Add(this->rIsNoIcon); - this->gboxIcon->Controls->Add(this->rIsWiFiIcon); - this->gboxIcon->Controls->Add(this->rIsWirelessIcon); - this->gboxIcon->Location = System::Drawing::Point(19, 138); - this->gboxIcon->Name = L"gboxIcon"; - this->gboxIcon->Size = System::Drawing::Size(215, 116); - this->gboxIcon->TabIndex = 32; - this->gboxIcon->TabStop = false; - this->gboxIcon->Text = L"ƒƒjƒ…[ã‚ł̃AƒCƒRƒ“•\ަ"; - // - // rIsNoIcon - // - this->rIsNoIcon->AutoSize = true; - this->rIsNoIcon->Checked = true; - this->rIsNoIcon->Location = System::Drawing::Point(8, 79); - this->rIsNoIcon->Name = L"rIsNoIcon"; - this->rIsNoIcon->Size = System::Drawing::Size(120, 16); - this->rIsNoIcon->TabIndex = 6; - this->rIsNoIcon->TabStop = true; - this->rIsNoIcon->Text = L"ƒAƒCƒRƒ“‚ð•\ަ‚µ‚È‚¢"; - this->rIsNoIcon->UseVisualStyleBackColor = true; - // - // rIsWiFiIcon - // - this->rIsWiFiIcon->AutoSize = true; - this->rIsWiFiIcon->Location = System::Drawing::Point(8, 53); - this->rIsWiFiIcon->Name = L"rIsWiFiIcon"; - this->rIsWiFiIcon->Size = System::Drawing::Size(134, 16); - this->rIsWiFiIcon->TabIndex = 5; - this->rIsWiFiIcon->Text = L"Wi-Fi’ÊMƒAƒCƒRƒ“•\ަ"; - this->rIsWiFiIcon->UseVisualStyleBackColor = true; - // - // rIsWirelessIcon - // - this->rIsWirelessIcon->AutoSize = true; - this->rIsWirelessIcon->Location = System::Drawing::Point(8, 27); - this->rIsWirelessIcon->Name = L"rIsWirelessIcon"; - this->rIsWirelessIcon->Size = System::Drawing::Size(167, 16); - this->rIsWirelessIcon->TabIndex = 4; - this->rIsWirelessIcon->Text = L"DSƒƒCƒ„ƒŒƒX’ÊMƒAƒCƒRƒ“•\ަ"; - this->rIsWirelessIcon->UseVisualStyleBackColor = true; - // - // 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->labProductNameLimit); - 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(745, 352); - this->tabSubmitInfo->TabIndex = 3; - this->tabSubmitInfo->Text = L"’ñoî•ñ(•ÒW‰Â)"; - this->tabSubmitInfo->UseVisualStyleBackColor = true; - // - // labProductNameLimit - // - this->labProductNameLimit->Location = System::Drawing::Point(237, 75); - this->labProductNameLimit->Name = L"labProductNameLimit"; - this->labProductNameLimit->Size = System::Drawing::Size(124, 11); - this->labProductNameLimit->TabIndex = 39; - this->labProductNameLimit->Text = L"(30•¶ŽšˆÈ“à)"; - this->labProductNameLimit->TextAlign = System::Drawing::ContentAlignment::TopRight; - // - // 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"‚±‚̃^ƒu‚Ìî•ñ‚Í’ñoŠm”F‘‚Ì쬂ɕK—v‚Å‚·B“ü—Í‚µ‚Ä‚­‚¾‚³‚¢B"; - // - // gboxForeign - // - this->gboxForeign->Controls->Add(this->labProductNameLimitForeign); - 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(378, 91); - this->gboxForeign->Name = L"gboxForeign"; - this->gboxForeign->Size = System::Drawing::Size(355, 144); - this->gboxForeign->TabIndex = 35; - this->gboxForeign->TabStop = false; - this->gboxForeign->Text = L"ŠCŠO”Å"; - // - // labProductNameLimitForeign - // - this->labProductNameLimitForeign->Location = System::Drawing::Point(225, 62); - this->labProductNameLimitForeign->Name = L"labProductNameLimitForeign"; - this->labProductNameLimitForeign->Size = System::Drawing::Size(124, 11); - this->labProductNameLimitForeign->TabIndex = 40; - this->labProductNameLimitForeign->Text = L"(30•¶ŽšˆÈ“à)"; - this->labProductNameLimitForeign->TextAlign = System::Drawing::ContentAlignment::TopRight; - // - // 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(745, 352); - this->tabCompanyInfo->TabIndex = 4; - this->tabCompanyInfo->Text = L"‰ïŽÐî•ñ(•ÒW‰Â)"; - 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"‚±‚̃^ƒu‚Ìî•ñ‚Í’ñoŠm”F‘‚Ì쬂ɕK—v‚Å‚·B“ü—Í‚µ‚Ä‚­‚¾‚³‚¢B"; - // - // 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(745, 352); - this->tabErrorInfo->TabIndex = 5; - this->tabErrorInfo->Text = L"ƒGƒ‰[î•ñ(—vC³)"; - 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"Œ»Ý‚Ì“ü—͂𔽉f"; - 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ƒf[ƒ^“ǂݞ‚ÝŽž"; - 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"Œx(C³‚Í•K{‚ł͂ ‚è‚Ü‚¹‚ñ‚ªî•ñ‚ÉŒë‚肪‚È‚¢‚©‚²Šm”F‚­‚¾‚³‚¢B)"; - // - // 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"ƒGƒ‰[(•K‚¸C³‚µ‚Ä‚­‚¾‚³‚¢B)"; - // - // 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"ŠJŽn"; - this->colWarnBegin->Name = L"colWarnBegin"; - this->colWarnBegin->ReadOnly = true; - this->colWarnBegin->Width = 60; - // - // colWarnEnd - // - this->colWarnEnd->HeaderText = L"I—¹"; - 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"—vˆö"; - this->colWarnCause->Name = L"colWarnCause"; - this->colWarnCause->ReadOnly = true; - // - // gridError - // - dataGridViewCellStyle1->BackColor = System::Drawing::Color::White; - this->gridError->AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; - 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"ŠJŽn"; - this->colErrorBegin->Name = L"colErrorBegin"; - this->colErrorBegin->ReadOnly = true; - this->colErrorBegin->Width = 60; - // - // colErrorEnd - // - this->colErrorEnd->HeaderText = L"I—¹"; - 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"—vˆö"; - 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ƒf[ƒ^ƒtƒ@ƒCƒ‹"; - // - // 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(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(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(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(this->gridWarn))->EndInit(); - (cli::safe_cast(this->gridError))->EndInit(); - this->ResumeLayout(false); - this->PerformLayout(); - - } -#pragma endregion - - ///////////////////////////////////////////// - // “à•”ƒƒ\ƒbƒh - ///////////////////////////////////////////// - private: - // ---------------------------------------------- - // ƒtƒ@ƒCƒ‹‚ÌR/W - // ---------------------------------------------- - - // Ý’èƒtƒ@ƒCƒ‹‚̓ǂݞ‚Ý - void loadInit(void) - { - System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument(); - - // xmlƒtƒ@ƒCƒ‹‚̓ǂݞ‚Ý - try - { - doc->Load( "../resource/ini.xml" ); - } - catch( System::IO::FileNotFoundException ^s ) - { - (void)s; - this->sucMsg( "Ý’èƒtƒ@ƒCƒ‹‚ðŠJ‚­‚±‚Æ‚ª‚Å‚«‚Ü‚¹‚ñ‚Å‚µ‚½B", "Setting file can't be opened." ); - return; - } - - // ƒ^ƒO : ƒ‹[ƒg - System::Xml::XmlElement ^root = doc->DocumentElement; - - // ƒ^ƒO - System::Boolean bReadOnly = MasterEditorTWL::isXmlEqual( root, "rw", "r" ); - if( bReadOnly ) - { - this->readOnly(); - } - - // ƒ^ƒO - System::Boolean bXML = MasterEditorTWL::isXmlEqual( root, "output", "XML" ); - - // ƒ^ƒO - System::Boolean bCheck = MasterEditorTWL::isXmlEqual( root, "spcheck", "ON" ); - - if( bCheck ) // ƒ`ƒFƒbƒN‚·‚邯‚«‚̂ݒljÁƒ`ƒFƒbƒN€–Ú‚ðÝ’è - { - // ƒ`ƒFƒbƒN‚·‚é‚©‚Ç‚¤‚© - 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( "Ý’èƒtƒ@ƒCƒ‹’†‚ÌSDKƒo[ƒWƒ‡ƒ“‚ª“ǂݞ‚߂܂¹‚ñ‚Å‚µ‚½Bƒo[ƒWƒ‡ƒ“‚Í0‚Ƃ݂Ȃ³‚ê‚Ü‚·B", - "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( "Ý’èƒtƒ@ƒCƒ‹’†‚ÌEULAƒo[ƒWƒ‡ƒ“‚ª“ǂݞ‚߂܂¹‚ñ‚Å‚µ‚½Bƒo[ƒWƒ‡ƒ“‚Í0‚Ƃ݂Ȃ³‚ê‚Ü‚·B", - "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( "Ý’èƒtƒ@ƒCƒ‹’†‚ÌShared2ƒtƒ@ƒCƒ‹ƒTƒCƒY‚ª“ǂݞ‚߂܂¹‚ñ‚Å‚µ‚½BƒTƒCƒY‚Í‚·‚ׂÄ0‚Ƃ݂Ȃ³‚ê‚Ü‚·B", - "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("“®ìƒ‚[ƒh:"); - System::String ^msgE = gcnew System::String("Processing Mode:"); - if( bReadOnly ) - { - msgJ += "\nƒŠ[ƒhƒIƒ“ƒŠ[ƒ‚[ƒh"; - msgE += "\nRead Only Mode"; - } - if( bXML ) - { - msgJ += "\nXMLo—̓‚[ƒh"; - msgE += "\nXML Output Mode"; - } - if( bCheck ) - { - msgJ += "\n’ljÁƒ`ƒFƒbƒNƒ‚[ƒh"; - msgE += "\nExtra Check Mode"; - } - this->sucMsg( msgJ, msgE ); - } - } - - private: - // SRL‚̃I[ƒvƒ“ - System::Void loadSrl( System::String ^filename ) - { - ECSrlResult result = this->hSrl->readFromFile( filename ); - if( result != ECSrlResult::NOERROR ) - { - switch( result ) - { - case ECSrlResult::ERROR_PLATFORM: - this->errMsg( "–{ƒc[ƒ‹‚ÍTWL‘ΉžROMê—p‚Å‚·BNTRê—pROM‚ȂǂÌTWL”ñ‘ΉžROM‚ð“ǂݞ‚Þ‚±‚Ƃ͂ł«‚Ü‚¹‚ñB", - "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( "•s³‚ÈROMƒf[ƒ^‚Å‚·BTWL‘ΉžROM‚łȂ¢‚©ROMƒf[ƒ^‚ª‰ü‚´‚ñ‚³‚ê‚Ä‚¢‚é‰Â”\«‚ª‚ ‚è‚Ü‚·B", - "Illegal ROM data. It is not for TWL ROM, or is altered illegally." ); - break; - - default: - this->errMsg( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚̓ǂݞ‚݂Ɏ¸”s‚µ‚Ü‚µ‚½B\nÄ“xuROMƒf[ƒ^‚ðŠJ‚­v‚ð‘I‘ð‚µ‚ÄROMƒf[ƒ^‚ð“Ç‚Ýo‚µ‚Ä‚­‚¾‚³‚¢B", - "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î•ñ‚ðŠi”[ - this->setSrlForms(); - - // ‘S‘Ì‚ÌCRC‚ðŽZo - u16 crc; - if( !getWholeCRCInFile( filename, &crc ) ) - { - this->errMsg( "ROMƒf[ƒ^‚ÌCRCŒvŽZ‚ÉŽ¸”s‚µ‚Ü‚µ‚½BROMƒf[ƒ^‚̓ǂݞ‚݂̓Lƒƒƒ“ƒZƒ‹‚³‚ê‚Ü‚µ‚½B", - "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") ); - - // “ǂݞ‚ÝŽžƒGƒ‰[‚ð“o˜^‚·‚é - this->rErrorReading->Checked = true; - this->setGridError(); - this->setGridWarn(); - //if( this->hSrl->hErrorList->Count > 0 ) - //{ - // this->errMsg( "ROMƒf[ƒ^‚ɃGƒ‰[‚ª‚ ‚è‚Ü‚·BuƒGƒ‰[î•ñvƒ^ƒu‚ð‚²Šm”F‚­‚¾‚³‚¢B", - // "ROM data include error. Please look the tab \"Setting Error\"." ); - // return; - //} - return; - } // openSrl - - private: - // SRL‚̕ۑ¶ - System::Void saveSrl( System::String ^filename ) - { - // ROMî•ñ‚ðƒtƒH[ƒ€‚©‚çŽæ“¾‚µ‚ÄSRLƒoƒCƒiƒŠ‚É”½‰f‚³‚¹‚é - this->setSrlProperties(); - // ƒ}ƒXƒ^‘—Þî•ñ‚ðƒtƒH[ƒ€‚©‚çŽæ“¾‚µ‚Ä‘—Þ‚É”½‰f‚³‚¹‚é -> •K—v‚È‚µ - //this->setDeliverableProperties(); - - // ƒtƒ@ƒCƒ‹‚ðƒRƒs[ - if( !(filename->Equals( this->tboxFile->Text )) ) - { - System::IO::File::Copy( this->tboxFile->Text, filename, true ); - } - - // ƒRƒs[‚µ‚½ƒtƒ@ƒCƒ‹‚ÉROMƒwƒbƒ_‚ðã‘‚« - if( this->hSrl->writeToFile( filename ) != ECSrlResult::NOERROR ) - { - this->errMsg( "ROMƒf[ƒ^‚̕ۑ¶‚ÉŽ¸”s‚µ‚Ü‚µ‚½B", "Saving the ROM data file failed." ); - return; - } - this->sucMsg( "ROMƒf[ƒ^‚̕ۑ¶‚ª¬Œ÷‚µ‚Ü‚µ‚½B", "Saving the ROM data file succeeded." ); - this->tboxFile->Text = filename; - - // ăŠ[ƒh - 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‚̃pƒX - MasterEditorTWL::appendXmlTag( doc, root, "Srl", this->tboxFile->Text ); - - // Œ¾Œê - MasterEditorTWL::appendXmlTag( doc, root, "Lang", (this->stripItemJapanese->Checked)?"J":"E" ); - - // ƒtƒH[ƒ€ - 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 ); - - if( this->rIsWirelessIcon->Checked ) - MasterEditorTWL::appendXmlTag( doc, form, "DisplayIcon", "Wireless" ); - else if( this->rIsWiFiIcon->Checked ) - MasterEditorTWL::appendXmlTag( doc, form, "DisplayIcon", "WiFi" ); - else - MasterEditorTWL::appendXmlTag( doc, form, "DisplayIcon", "None" ); - - MasterEditorTWL::appendXmlTag( doc, form, "IsEULA", (this->cboxIsEULA->Checked)?"Y":"N" ); - MasterEditorTWL::appendXmlTag( doc, form, "EULAVersion", this->numEULA->Value.ToString() ); - 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ƒtƒ@ƒCƒ‹–¼‚ª‚È‚¢‚Æ‚«‚̓Xƒ‹[ - { - 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(); - } - - // ƒtƒH[ƒ€ - 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 ^rbuts; - cli::array ^strs; - - rbuts = gcnew cli::array{this->rSubmitHand, this->rSubmitPost}; - strs = gcnew cli::array{"Hand","Mail"}; - this->parseTmp( root, "/MasterEditorTWL/Form/SubmitWay", rbuts, strs ); - - rbuts = gcnew cli::array{this->rUsageSale, this->rUsageSample, this->rUsageDst, this->rUsageOther}; - strs = gcnew cli::array{"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 ); - - rbuts = gcnew cli::array{this->rIsWirelessIcon, this->rIsWiFiIcon, this->rIsNoIcon}; - strs = gcnew cli::array{"Wireless","WiFi","None"}; - this->parseTmp( root, "/MasterEditorTWL/Form/DisplayIcon", rbuts, strs ); - - this->parseTmp( root, "/MasterEditorTWL/Form/IsEULA", this->cboxIsEULA ); - this->parseTmp( root, "/MasterEditorTWL/Form/EULAVersion", this->numEULA ); - 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(); // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ‚ðƒŠ[ƒWƒ‡ƒ“‚ɇ‚킹‚é - - } //loadTmp() - - private: - // ˆêŽž•Û‘¶î•ñ‚ðƒtƒH[ƒ€î•ñ‚ɕϊ· - System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::ComboBox ^comb ) - { - // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚̕ۑ¶î•ñ - ƒCƒ“ƒfƒbƒNƒX‚͈̔͂Ɋ܂܂ê‚é‚©’²‚ׂé(ŠÜ‚Ü‚ê‚È‚¢ê‡‚Í-1) - System::String ^text = MasterEditorTWL::getXPathText( root, xpath ); - if( System::String::IsNullOrEmpty( text ) ) - return false; - - try - { - System::Int32 index = System::Int32::Parse( text ); // ƒeƒLƒXƒg‚ɂ̓Cƒ“ƒfƒbƒNƒX‚ª•Û‘¶‚³‚ê‚Ä‚¢‚é - 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 ) - { - // ƒeƒLƒXƒgƒ{ƒbƒNƒX‚̕ۑ¶î•ñ - ‚»‚̂܂ܑã“ü(‚½‚¾‚µÅ‘å‚ð’´‚¦‚éꇂÍ0‚É‚·‚é) - System::String ^text = MasterEditorTWL::getXPathText( root, xpath ); - if( System::String::IsNullOrEmpty( text ) ) - return false; - - try - { - System::Int32 val = System::Int32::Parse( text ); // ƒeƒLƒXƒg‚ɂ͒l‚ª•Û‘¶‚³‚ê‚Ä‚¢‚é - 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^rbuts, cli::array^textCands ) - { - // ƒ‰ƒWƒIƒ{ƒ^ƒ“‚̕ۑ¶î•ñ - ƒeƒLƒXƒgŒó•â‚ɇ’v‚·‚é‚©’²‚ׂé(‡’v‚µ‚È‚¢ê‡‚Íæ“ª‚̃‰ƒWƒIƒ{ƒ^ƒ“‚ðƒ`ƒFƒbƒN) - 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’†‚̃eƒLƒXƒg‚ª‚ǂ̃‰ƒWƒIƒ{ƒ^ƒ“‚̃eƒLƒXƒg‚ɇ’v‚·‚é‚©ƒ`ƒFƒbƒN - { - rbuts[i]->Checked = false; - if( textCands[i]->Equals( text ) ) - { - rbuts[i]->Checked = true; - bSearch = true; - } - } - if( !bSearch ) // ‡’v‚µ‚È‚¢ê‡‚Íʼn‚̃‰ƒWƒIƒ{ƒ^ƒ“‚ðƒ`ƒFƒbƒN - { - rbuts[0]->Checked = true; - } - return bSearch; - } - System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::CheckBox ^cbox ) - { - // ƒ`ƒFƒbƒNƒ{ƒ^ƒ“‚̕ۑ¶î•ñ - Y/N‚𒲂ׂé(‚»‚êˆÈŠO‚Ìꇂɂ̓`ƒFƒbƒ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; // •s³‚È’l‚àŠÜ‚Þ - return cbox->Checked; - } - System::Boolean parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::TextBox ^tbox ) - { - // ƒeƒLƒXƒgƒ{ƒbƒNƒX‚̕ۑ¶î•ñ - ‚»‚̂܂ܑã“ü(‚½‚¾‚µ’·‚³‚ª‡‚í‚È‚¢ê‡‚͋󔒂ɂ·‚é) - 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: - // ---------------------------------------------- - // ƒtƒH[ƒ€‚̉ŠúÝ’è - // ---------------------------------------------- - - // Ý’è/‘I‘ð‰Â”\‚ȃtƒH[ƒ€‚ð‚·‚×‚Ä disable ‚É‚·‚é - void readOnly( void ) - { - this->cboxIsEULA->Enabled = false; - this->numEULA->Enabled = false; - this->rIsWirelessIcon->Enabled = false; - this->rIsWiFiIcon->Enabled = false; - this->rIsNoIcon->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: - // ---------------------------------------------- - // ƒtƒH[ƒ€‚ÆSRL“àî•ñ‚𖵂‚È‚­ˆê’v‚³‚¹‚é - // ---------------------------------------------- - - // ROMî•ñ‚ðƒtƒH[ƒ€‚©‚çŽæ“¾‚µ‚ÄSRLƒNƒ‰ƒX‚̃vƒƒpƒeƒB‚É”½‰f‚³‚¹‚é - // (ROMƒwƒbƒ_‚Ö‚Ì”½‰f‚âCRC‚Æ–¼‚ÌÄŒvŽZ‚ð‚µ‚È‚¢) - void setSrlProperties(void) - { - // ROMƒwƒbƒ_‚Ì[0,0x160)‚̗̈æ‚ÍRead Only‚Å•ÏX‚µ‚È‚¢ - - // TWLŠg’£—̈æ‚Ì‚¢‚­‚‚©‚Ìî•ñ‚ðROMƒwƒbƒ_‚É”½‰f‚³‚¹‚é - this->hSrl->hIsEULA = this->cboxIsEULA->Checked; - this->hSrl->hEULAVersion = gcnew System::Byte( System::Decimal::ToByte( this->numEULA->Value ) ); - this->hSrl->hIsWiFiIcon = this->rIsWiFiIcon->Checked; - this->hSrl->hIsWirelessIcon = this->rIsWirelessIcon->Checked; - - // SrlƒNƒ‰ƒX‚̃vƒƒpƒeƒB‚Ö‚Ì”½‰f - this->setParentalSrlProperties(); - } - - // SRL‚ÌROMî•ñ‚ðƒtƒH[ƒ€‚É”½‰f‚³‚¹‚é(ƒtƒ@ƒCƒ‹‚ª“ǂݞ‚Ü‚ê‚Ä‚¢‚邱‚Æ‚ª‘O’ñ) - 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( "ƒvƒ‰ƒbƒgƒz[ƒ€Žw’肪•s³‚Å‚·BROMƒf[ƒ^‚̃rƒ‹ƒhÝ’è‚ðŒ©’¼‚µ‚Ä‚­‚¾‚³‚¢B", - "Illegal Platform: Please check build settings of the ROM data."); - } - - // TWLŠg’£î•ñ - this->tboxTitleIDLo->Text = this->hSrl->hTitleIDLo; - 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] ); - - // ƒAƒvƒŠŽí•Ê - 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" ); - } - else if( *(this->hSrl->hIsAppSecure) == true ) - { - this->tboxAppType->Text = gcnew System::String( "Secure" ); - } - else if( *(this->hSrl->hIsAppSystem) == true ) - { - this->tboxAppType->Text = gcnew System::String( "System" ); - } - else if( *(this->hSrl->hIsAppUser) == true ) - { - this->tboxAppType->Text = gcnew System::String( "User" ); - } - else - { - this->tboxAppType->Text = gcnew System::String( "UNKNOWN" ); - } - - 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; - - // ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹ ‚»‚Ì‘¼ - 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; - - // “ÁŽê‚ÈÝ’è‚ðƒeƒLƒXƒgƒ{ƒbƒNƒX‚É”½‰f - this->setSrlFormsCaptionEx(); - - // SDKƒo[ƒWƒ‡ƒ“‚ƃ‰ƒCƒuƒ‰ƒŠ - 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{lic->Publisher, lic->Name} ); - } - } - - // •ÒW‰Â”\î•ñ - this->cboxIsEULA->Checked = *(this->hSrl->hIsEULA); - this->numEULA->Value = *(this->hSrl->hEULAVersion); - if( ( *this->hSrl->hIsWiFiIcon && *this->hSrl->hIsWirelessIcon) || - (!(*this->hSrl->hIsWiFiIcon) && !(*this->hSrl->hIsWirelessIcon)) ) - { - this->rIsNoIcon->Checked = true; - } - else if( *(this->hSrl->hIsWiFiIcon) && !*(this->hSrl->hIsWirelessIcon) ) - { - this->rIsWiFiIcon->Checked = true; - } - else - { - this->rIsWirelessIcon->Checked = true; - } - this->setParentalForms(); // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ŠÖ˜A - } //setSrlForms() - - // SRL‚Ì“ÁŽê‚ÈÝ’è‚ðƒtƒH[ƒ€‚ɃZƒbƒg‚·‚é(Œ¾ŒêØ‚è‘Ö‚¦‚Å•\ަ‚ð•Ï‚¦‚½‚¢‚̂œƗ§‚³‚¹‚é) - void setSrlFormsCaptionEx() - { - // “ÁŽê‚ÈÝ’è‚Í”õl—“‚É‘‚«‰Á‚¦‚Ä‚¨‚­ - this->tboxCaptionEx->Clear(); - if( (this->hSrl->hHasDSDLPlaySign != nullptr) && (*(this->hSrl->hHasDSDLPlaySign) == true) ) - { - if( this->stripItemJapanese->Checked == true ) - this->tboxCaptionEx->Text += gcnew System::String( "DSƒNƒ[ƒ“ƒu[ƒg‘Ήž.\r\n" ); - else - this->tboxCaptionEx->Text += gcnew System::String( "DS Clone Boot.\r\n" ); - } - if( (this->hSrl->hIsSCFGAccess != nullptr) && (*(this->hSrl->hIsSCFGAccess) == true) ) - { - if( this->stripItemJapanese->Checked == true ) - this->tboxCaptionEx->Text += gcnew System::String( "SCFGƒŒƒWƒXƒ^ƒAƒNƒZƒX‰Â”\.\r\n" ); - else - this->tboxCaptionEx->Text += gcnew System::String( "SDFC Register Accessible.\r\n" ); - } - } - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ‚ÍSRL“à‚É‚ ‚邪ݒ肪‘å•Ï‚È‚Ì‚ÅØ‚èo‚· - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ŠÖ˜A‚Ìî•ñ‚ðƒtƒH[ƒ€‚©‚çŽæ“¾‚µ‚ÄSRL‚É”½‰f‚³‚¹‚é - void setParentalSrlProperties(void) - { - // ƒŠ[ƒWƒ‡ƒ“ - 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; // –¢R¸ - 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“à‚̃yƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ‚𔲂«o‚µ‚ătƒH[ƒ€‚É”½‰f‚³‚¹‚é - void setParentalForms(void) - { - System::Int32 index; - - // ƒŠ[ƒWƒ‡ƒ“ - 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; // •s³ -#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 ]) ) // ‘S”N—î‚©–¢R¸‚©”»’è - 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; // ƒŠ[ƒhŽž‚̃`ƒFƒbƒN‚ª‚ ‚邽‚ß‹N‚±‚蓾‚È‚¢ - 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‚̓fƒtƒHƒ‹ƒg’l‚Ȃ̂ŃGƒ‰[ƒƒbƒZ[ƒW‚ðo‚³‚È‚¢(Ž©“®“I‚É–¢R¸ˆµ‚¢) - 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() - - // ƒŠ[ƒWƒ‡ƒ“î•ñ‚©‚çƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹‚Ì•ÒW‰Â”\’c‘Ì‚ðƒ}ƒXƒN‚·‚é - void maskParentalForms(void) - { - this->enableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO, nullptr ); - this->enableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB, nullptr ); - this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK, nullptr ); - this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI, nullptr ); - this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT, nullptr ); - this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC, this->labPEGIBBFC, this->labPEGIBBFC2 ); - this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC, nullptr ); - switch( this->combRegion->SelectedIndex ) - { - case 0: - // “ú–{ - this->enableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO, nullptr ); - - this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB, nullptr ); - this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK, nullptr ); - this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI, nullptr ); - this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT, nullptr ); - this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC, this->labPEGIBBFC, this->labPEGIBBFC2 ); - this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC, nullptr ); - break; - - case 1: - // •Ä‘ - this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO, nullptr ); - this->enableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB, nullptr ); - this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK, nullptr ); - this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI, nullptr ); - this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT, nullptr ); - this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC, this->labPEGIBBFC, this->labPEGIBBFC2 ); - this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC, nullptr ); - break; - - case 2: - // ‰¢B - this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO, nullptr ); - this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB, nullptr ); - this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK, nullptr ); - this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI, nullptr ); - this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT, nullptr ); - this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC, this->labPEGIBBFC, this->labPEGIBBFC2 ); - this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC, nullptr ); - break; - - case 3: - // ‹B - this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO, nullptr ); - this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB, nullptr ); - this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK, nullptr ); - this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI, nullptr ); - this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT, nullptr ); - this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC, this->labPEGIBBFC, this->labPEGIBBFC2 ); - this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC, nullptr ); - break; - - case 4: - // ‰¢B‚Æ‹B - this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO, nullptr ); - this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB, nullptr ); - this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK, nullptr ); - this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI, nullptr ); - this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT, nullptr ); - this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC, this->labPEGIBBFC, this->labPEGIBBFC2 ); - this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC, nullptr ); - break; - - default: - break; - } - } //maskParentalForms() - - // ---------------------------------------------- - // SRLŠÖ˜A‚̃tƒH[ƒ€‚̃`ƒFƒbƒN - // ---------------------------------------------- - - // ƒeƒLƒXƒg“ü—Í‚ª‚³‚ê‚Ä‚¢‚é‚©ƒ`ƒFƒbƒN - System::Boolean checkTextForm( System::String ^formtext, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom ) - { - System::String ^msgJ = gcnew System::String( "“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñB" ); - System::String ^msgE = gcnew System::String( "No item is set. Please retry to input." ); - - System::String ^tmp = formtext->Replace( " ", "" ); // ƒXƒy[ƒX‚݂̂̕¶Žš—ñ‚àƒGƒ‰[ - 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; - } - // ”’l“ü—Í‚ª³í‚©‚Ç‚¤‚©ƒ`ƒFƒbƒN - 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( "’l‚͈̔͂ª•s³‚Å‚·B‚â‚è’¼‚µ‚Ä‚­‚¾‚³‚¢B" ); - 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 )); // •K‚¸Ž¸”s‚·‚邿‚¤‚É max+1 ‚ðŒŸ¸ - } - } - // ƒRƒ“ƒ{ƒ{ƒbƒNƒX‚ðƒ`ƒFƒbƒN - System::Boolean checkBoxIndex( System::Windows::Forms::ComboBox ^box, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom ) - { - System::String ^msgJ = gcnew System::String( "‘I‘ð‚³‚ê‚Ä‚¢‚Ü‚¹‚ñB" ); - 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; - } - - // ƒtƒH[ƒ€‚Ì“ü—Í‚ðƒ`ƒFƒbƒN‚·‚é - System::Boolean checkSrlForms(void) - { - // ƒŠ[ƒWƒ‡ƒ“ - if( this->checkBoxIndex( this->combRegion, LANG_REGION_J, LANG_REGION_E, true ) == false ) - return false; - - // ƒŠ[ƒWƒ‡ƒ“‚ðŒˆ‚ß‚é - 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; - } - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - 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 ); - - // ‚ЂƂƂ¨‚èƒGƒ‰[“o˜^‚ð‚µ‚½Œã‚Å - // SRLƒoƒCƒiƒŠ‚ɉe‹¿‚ð—^‚¦‚éƒGƒ‰[‚ª‘¶Ý‚·‚é‚©ƒ`ƒFƒbƒN -#ifdef METWL_LIGHT_CHECK - return this->isValidAffectRomModified(); -#else - return this->isValidAffectRom(); -#endif - } - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ŠÖ˜A‚̃tƒH[ƒ€“ü—Í‚ª³‚µ‚¢‚©‘‚«ž‚Ý‘Oƒ`ƒFƒbƒN - void checkParentalForms( - System::Boolean inRegion, System::Windows::Forms::ComboBox ^comb, - System::Windows::Forms::CheckBox ^enable, System::Windows::Forms::CheckBox ^always, System::String ^msg ) - { - // ƒŠ[ƒWƒ‡ƒ“‚Ɋ܂܂ê‚Ä‚¢‚È‚¢‚Æ‚«: 0ƒNƒŠƒA‚ª•ÛØ‚³‚ê‚é‚̂Ń`ƒFƒbƒN•K—v‚È‚µ - if( !inRegion ) - return; - - if( !enable->Checked ) // —LŒøƒtƒ‰ƒO‚ª—§‚Á‚Ä‚¢‚È‚¢‚Æ‚« - { - // ‰½‚àݒ肳‚ê‚Ä‚¢‚È‚¢ - if( !always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - msg + ": ƒŒ[ƒeƒBƒ“ƒOR¸‚ð•K—v‚Æ‚µ‚È‚¢ƒ\ƒtƒg‚Å‚ ‚邯‚݂Ȃµ‚ăf[ƒ^‚ð•Û‘¶‚µ‚Ü‚·B", - "Parental Control", msg + ": Save ROM data as Game soft which needs rating examinination.", true, true ) ); - } - else - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - msg + ": §ŒÀ‚ª–³Œø‚Å‚ ‚é‚É‚à‚©‚©‚í‚炸ƒŒ[ƒeƒBƒ“ƒOî•ñ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚·B", - "Parental Control", msg + "Rating can be set only when control is enable.", true, true ) ); - } - } - else // —LŒøƒtƒ‰ƒO‚ª—§‚Á‚Ä‚¢‚邯‚« - { - if( !always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - msg + ": §ŒÀ‚ª—LŒø‚Å‚ ‚é‚É‚à‚©‚©‚í‚炸ƒŒ[ƒeƒBƒ“ƒOî•ñ‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñB", - "Parental Control", msg + ": Rating must be set when control is enable.", true, true ) ); - } - else if( always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - msg + ": Rating Pending‚ªŽw’肳‚ê‚Ä‚¢‚Ü‚·BƒŒ[ƒeƒBƒ“ƒO”N—R¸‚³‚ꂵ‚¾‚¢AÄ“xAROM‚ð’ño‚µ‚Ä‚­‚¾‚³‚¢B", - "Parental Control", ": Rating Pending is setting. When rating age is examined, Please submit again.", true, true ) ); - } - else if( always->Checked && (comb->SelectedIndex != (comb->Items->Count - 1)) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - msg + ": Rating PendingŽw’è‚ÆƒŒ[ƒeƒBƒ“ƒO”N—î‚𓯎ž‚ÉŽw’è‚·‚邱‚Ƃ͂ł«‚Ü‚¹‚ñB", - "Parental Control", msg + ": Rating setting is either rating pending or rating age.", true, true ) ); - } - } - } //checkParentalForms() - - // ---------------------------------------------- - // ƒ}ƒXƒ^‘—Þî•ñ(SRL‰e‹¿‚È‚µ)‚ðƒtƒH[ƒ€‚©‚çŽæ“¾ - // ---------------------------------------------- - - void setDeliverableProperties(void) - { - // ’ñoî•ñ - 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 ‚̃o[ƒWƒ‡ƒ“î•ñ‚ð‹L“ü‚·‚é - { - if( sdk->IsStatic ) - this->hDeliv->hSDK = sdk->Version; - } - } - if( this->hDeliv->hSDK == nullptr ) - { - this->hDeliv->hSDK = gcnew System::String( "Undefined" ); - } - // ’ño•û–@ - if( this->rSubmitPost->Checked == true ) - { - this->hDeliv->hSubmitWay = this->rSubmitPost->Text; - } - else - { - this->hDeliv->hSubmitWay = this->rSubmitHand->Text; - } - // —p“r - 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; - } - - // ”õl - System::String ^tmp = this->tboxCaption->Text->Replace( " ", "" ); - if( this->tboxCaption->Text->Equals("") || tmp->Equals("") ) // ƒXƒy[ƒX‚݂̂̕¶Žš—ñ‚͊܂߂Ȃ¢ - { - this->hDeliv->hCaption = nullptr; - } - else - { - this->hDeliv->hCaption = this->tboxCaption->Text; - } - // ”õl—“‚É“ÁŽê‚ÈÝ’è‚ð’Ç‹L - tmp = this->tboxCaptionEx->Text->Replace( " ", "" ); - if( !(this->tboxCaptionEx->Text->Equals("")) && !(tmp->Equals("")) ) - { - this->hDeliv->hCaption += ("(" + this->tboxCaptionEx->Text + ")"); - } - - // ˆê•”‚ÌROMî•ñ‚ð“o˜^ - 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; - } - } - - // ---------------------------------------------- - // ƒ}ƒXƒ^‘—Þî•ñ(SRL‰e‹¿‚È‚µ)‚̃tƒH[ƒ€ƒ`ƒFƒbƒN - // ---------------------------------------------- - - System::Boolean checkDeliverableForms(void) - { - // •s³‚Èꇂ̓_ƒCƒAƒƒO‚Å’ˆÓ‚µ‚Äreturn - - // ’ñoî•ñ - this->checkTextForm( this->tboxProductName->Text, LANG_PRODUCT_NAME_J, LANG_PRODUCT_NAME_E, false ); // SRL쬂ɂ͖â‘è‚̂Ȃ¢ƒGƒ‰[ - 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ƒoƒCƒiƒŠ‚É”½‰f‚³‚ê‚È‚¢î•ñ)‚ð‚±‚±‚Ń`ƒFƒbƒN‚·‚é - 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 ); - } - - // ‚ЂƂƂ¨‚èƒGƒ‰[“o˜^‚ð‚µ‚½Œã‚Å - // ‘—Þã‚̃Gƒ‰[(SRLƒoƒCƒiƒŠ‚ɂ͉e‹¿‚µ‚È‚¢)‚ª‘¶Ý‚·‚é‚©ƒ`ƒFƒbƒN - return this->isValidOnlyDeliverable(); - } - - // ---------------------------------------------- - // ƒGƒ‰[ˆ— - // ---------------------------------------------- - - // SRL‚ɂ͊֌W‚µ‚È‚¢‘—Þã‚̃Gƒ‰[‚ðƒ`ƒFƒbƒN - System::Boolean isValidOnlyDeliverable(void) - { - System::Int32 count = 0; - - // SRLƒNƒ‰ƒX‚̃Gƒ‰[ƒŠƒXƒg‚Í‚·‚ׂÄSRL‚ÉŠÖŒW‚·‚é‚̂Ń`ƒFƒbƒN‚µ‚È‚¢ - // -> “ü—̓Gƒ‰[‚݂̂̃`ƒFƒbƒN‚ł悢 - for each( RCMrcError ^err in this->hErrorList ) - { - if( !err->AffectRom ) - count++; - } - return (count == 0); - } - - // SRL‚̃oƒCƒiƒŠ‚ɉe‹¿‚·‚逖ڂɃGƒ‰[‚ª‚ ‚é‚©ƒ`ƒFƒbƒN - System::Boolean isValidAffectRom(void) - { - System::Int32 count = 0; - - // SRLƒNƒ‰ƒX‚ÌC³•s‰ÂƒGƒ‰[‚ðƒJƒEƒ“ƒg - // (C³‰ÂƒGƒ‰[‚Í“ü—͂ɂæ‚Á‚ÄC³‚³‚ê‚Ă邩‚à‚µ‚ê‚È‚¢‚̂Ń`ƒFƒbƒN‚µ‚È‚¢) - for each( RCMrcError ^err in this->hSrl->hErrorList ) - { - if( !err->EnableModify ) // ‚·‚ׂÄSRLƒoƒCƒiƒŠ‚ɉe‹¿‚·‚é - count++; - } - - // SRLƒoƒCƒiƒŠ‚ɉe‹¿‚·‚éƒGƒ‰[‚Ì’†‚Å - // C³‰ÂƒGƒ‰[‚ªƒtƒH[ƒ€“ü—͂ɂæ‚Á‚ÄC³‚³‚ê‚Ä‚¢‚é‚©ƒJƒEƒ“ƒg - // (ƒGƒ‰[ƒŠƒXƒg‚ªXV‚³‚ê‚Ä‚¢‚邱‚Æ‚ª‘O’ñ) - for each( RCMrcError ^err in this->hErrorList ) - { - if( err->AffectRom ) // C³•s‰ÂƒGƒ‰[‚Í‘¶Ý‚µ‚È‚¢ - count++; - } - return (count == 0); - } - - // SRL‚̃oƒCƒiƒŠ‚ɉe‹¿‚·‚逖ڂ̒†‚ÅC³‰Â”\‚ȃGƒ‰[‚¾‚¯‚ðƒ`ƒFƒbƒN - System::Boolean isValidAffectRomModified(void) - { - System::Int32 count = 0; - for each( RCMrcError ^err in this->hErrorList ) - { - if( err->AffectRom ) // C³•s‰ÂƒGƒ‰[‚Í‘¶Ý‚µ‚È‚¢ - count++; - } - return (count == 0); - } - - // ---------------------------------------------- - // ƒ_ƒCƒAƒƒO - // ---------------------------------------------- - - 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 ); - } - - // ƒGƒ‰[ƒƒbƒZ[ƒW‚ðo—Í - 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: - // ---------------------------------------------- - // “ú‰p—¼‘Ήž - // ---------------------------------------------- - - // “ú–{Œê”łƉpŒê”łŃeƒLƒXƒgƒ{ƒbƒNƒX‚Ì•¶Žš—ñ§ŒÀ‚ª•Ï‚í‚é - void changeMaxLength( System::Windows::Forms::TextBox ^tbox, System::Int32 maxlen ) - { - if( tbox->Text->Length > maxlen ) - tbox->Text = ""; - - tbox->MaxLength = maxlen; - } - - // “ú–{Œê”Å‚Ö‚ÌØ‚è‘Ö‚¦ - void changeJapanese(void) - { - System::Int32 index; - - // “ü—Í•¶Žš”§ŒÀ‚ð•ÏX‚·‚é - this->changeMaxLength( this->tboxCompany1, 25 ); - this->changeMaxLength( this->tboxDepart1, 25 ); - this->changeMaxLength( this->tboxPerson1, 15 ); - - // ƒ^ƒCƒgƒ‹ƒo[ - this->stripFile->Text = gcnew System::String( "ƒtƒ@ƒCƒ‹" ); - this->stripItemOpenRom->Text = gcnew System::String( "ROMƒf[ƒ^‚ðŠJ‚­" ); - this->stripItemSaveTemp->Text = gcnew System::String( "’ñoî•ñ‚ðˆêŽž•Û‘¶‚·‚é" ); - this->stripItemLoadTemp->Text = gcnew System::String( "ˆêŽž•Û‘¶‚µ‚½’ñoî•ñ‚ð“ǂݞ‚Þ" ); - this->stripMaster->Text = gcnew System::String( "ƒ}ƒXƒ^[" ); - this->stripItemSheet->Text = gcnew System::String( "’ñoŠm”F‘‚ƃ}ƒXƒ^[ROM‚ð쬂·‚é" ); - this->stripItemMasterRom->Text = gcnew System::String( "ƒ}ƒXƒ^[ROM‚݂̂ð쬂·‚é" ); - - // “ü—̓tƒ@ƒCƒ‹ - this->labFile->Text = gcnew System::String( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹" ); - - // ƒ^ƒu - this->tabRomInfo->Text = gcnew System::String( "ROMŠî–{î•ñ(Šm”F—p)" ); - this->tabTWLInfo->Text = gcnew System::String( "TWLŠg’£î•ñ(Šm”F—p)" ); - this->tabRomEditInfo->Text = gcnew System::String( "ROM“o˜^î•ñ(•ÒW‰Â)" ); - this->tabSubmitInfo->Text = gcnew System::String( "’ñoî•ñ(•ÒW‰Â)" ); - this->tabCompanyInfo->Text = gcnew System::String( "‰ïŽÐî•ñ(•ÒW‰Â)" ); - this->tabErrorInfo->Text = gcnew System::String( "ƒGƒ‰[î•ñ(—vC³)" ); - - // ƒKƒCƒh - this->tboxGuideRomInfo->Text = gcnew System::String( "‚±‚̃^ƒu‚Ìî•ñ‚Í•ÒW•s‰Â‚Å‚·Bƒf[ƒ^‚ÉŒë‚肪‚ ‚éꇂɂÍROMƒf[ƒ^‚Ì쬎ž‚ÌÝ’è‚ðŒ©’¼‚µ‚Ä‚­‚¾‚³‚¢B" ); - this->tboxGuideTWLInfo->Text = gcnew System::String( "‚±‚̃^ƒu‚Ìî•ñ‚Í•ÒW•s‰Â‚Å‚·Bƒf[ƒ^‚ÉŒë‚肪‚ ‚éꇂɂÍROMƒf[ƒ^‚Ì쬎ž‚ÌÝ’è‚ðŒ©’¼‚µ‚Ä‚­‚¾‚³‚¢B" ); - this->tboxGuideRomEditInfo->Text = gcnew System::String( "" ); - this->tboxGuideRomEditInfo->Text += "‚±‚̃^ƒu‚Ìî•ñ‚Í’ñoŠm”F‘‚¨‚æ‚у}ƒXƒ^[ROM‚Ì쬂ɕK—v‚Å‚·B•ÒW‚µ‚Ä‚­‚¾‚³‚¢B"; - this->tboxGuideRomEditInfo->Text += "\r\n‚±‚ê‚ç‚Ìî•ñ‚̓}ƒXƒ^[ROM‚Ì쬎ž‚ÉROMƒf[ƒ^‚Ì’†‚É“o˜^‚³‚ê‚Ü‚·B"; - this->tboxGuideSubmitInfo->Text = gcnew System::String( "‚±‚̃^ƒu‚Ìî•ñ‚Í’ñoŠm”F‘‚Ì쬂ɕK—v‚Å‚·B“ü—Í‚µ‚Ä‚­‚¾‚³‚¢B" ); - this->tboxGuideCompanyInfo->Text = gcnew System::String( "‚±‚̃^ƒu‚Ìî•ñ‚Í’ñoŠm”F‘‚Ì쬂ɕK—v‚Å‚·B“ü—Í‚µ‚Ä‚­‚¾‚³‚¢B" ); - this->tboxGuideErrorInfo->Text = gcnew System::String( "" ); - this->tboxGuideErrorInfo->Text += "‚±‚̃^ƒu‚ɂ͓ǂݞ‚ñ‚¾ROMƒf[ƒ^‚Ì–â‘è‚Æ–{ƒvƒƒOƒ‰ƒ€‚ł̓ü—̓~ƒX‚ª—ñ‹“‚³‚ê‚Ü‚·B"; - this->tboxGuideErrorInfo->Text += "\r\nÔ•¶Žš‚Ì€–Ú‚ÍA–{ƒvƒƒOƒ‰ƒ€‚ÅC³•s‰Â‚Å‚·BROMƒf[ƒ^쬎ž‚ÌÝ’è‚ð‚²Šm”F‚­‚¾‚³‚¢B"; - this->tboxGuideErrorInfo->Text += "\r\n•¶Žš‚Ì€–Ú‚ÍA–{ƒvƒƒOƒ‰ƒ€‚ÅC³‚Å‚«‚Ü‚·‚ªAC³‚ªƒ}ƒXƒ^[ROM‚É”½‰f‚³‚ê‚Ü‚·B"; - this->tboxGuideErrorInfo->Text += "\r\n••¶Žš‚Ì€–Ú‚ÍA’ñoŠm”F‘‚ɂ̂ݔ½‰f‚³‚êAƒ}ƒXƒ^[ROM‚ɂ͔½‰f‚³‚ê‚Ü‚¹‚ñB"; - - // SRLî•ñ - this->gboxSrl->Text = gcnew System::String( "ROMƒf[ƒ^î•ñ" ); - this->labTitleName->Text = gcnew System::String( "ƒ\ƒtƒgƒ^ƒCƒgƒ‹" ); - this->labGameCode->Text = gcnew System::String( "ƒCƒjƒVƒƒƒ‹ƒR[ƒh" ); - this->labMakerCode->Text = gcnew System::String( "ƒ[ƒJƒR[ƒh" ); - this->labPlatform->Text = gcnew System::String( "ƒvƒ‰ƒbƒgƒtƒH[ƒ€" ); - this->labRomType->Text = gcnew System::String( "ROMƒ^ƒCƒvÝ’è" ); - this->labRomSize->Text = gcnew System::String( "ROM—e—Ê" ); - this->labRemasterVer->Text = gcnew System::String( "ƒŠƒ}ƒXƒ^[ƒo[ƒWƒ‡ƒ“" ); - this->cboxRemasterVerE->Text = gcnew System::String( "E(€”õ”Å)" ); - this->labHeaderCRC->Text = gcnew System::String( "ƒwƒbƒ_CRC" ); - this->labRomCRC->Text = gcnew System::String( "‘S‘Ì‚ÌCRC" ); - index = this->combBackup->SelectedIndex; - - // ƒoƒbƒNƒAƒbƒvƒƒ‚ƒŠ - this->gboxProd->Text = gcnew System::String( "ROM¶ŽYî•ñ(•K‚¸“ü—Í‚µ‚Ä‚­‚¾‚³‚¢)" ); - 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; - - // ’ñoî•ñ - 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->labProductNameLimit->Text = gcnew System::String( LANG_PRODUCT_LIMIT_J ); - this->labProductNameLimitForeign->Text = gcnew System::String( LANG_PRODUCT_LIMIT_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( "(”CˆÓ)" ); - this->labArbit2->Text = gcnew System::String( "(”CˆÓ)" ); - this->labArbit3->Text = gcnew System::String( "(”CˆÓ)" ); - this->labArbit4->Text = gcnew System::String( "(”CˆÓ)" ); - // ‚ӂ肪‚Èî•ñ‚ð—LŒø‚É‚·‚é - 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Žd—l - this->gboxTWLExInfo->Text = gcnew System::String( "TWLŠg’£î•ñ" ); - this->labNormalRomOffset->Text = gcnew System::String( "TWLƒm[ƒ}ƒ‹—̈æROMƒIƒtƒZƒbƒg" ); - this->labKeyTableRomOffset->Text = gcnew System::String( "TWLê—p—̈æROMƒIƒtƒZƒbƒg" ); - this->cboxIsNormalJump->Text = gcnew System::String( "ƒm[ƒ}ƒ‹ƒWƒƒƒ“ƒv‹–‰Â" ); - this->cboxIsTmpJump->Text = gcnew System::String( "tmpƒWƒƒƒ“ƒv‹–‰Â" ); - this->cboxIsSubBanner->Text = gcnew System::String( "ƒTƒuƒoƒi[ƒtƒ@ƒCƒ‹—LŒø" ); - this->cboxIsWL->Text = gcnew System::String( "NTRƒzƒƒCƒgƒŠƒXƒg–¼—LŒø" ); - this->gboxAccess->Text = gcnew System::String( "ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹î•ñ" ); - this->cboxIsSD->Text = gcnew System::String( "SDƒJ[ƒh" ); - this->cboxIsNAND->Text = gcnew System::String( "NANDƒtƒ‰ƒbƒVƒ…ƒƒ‚ƒŠ" ); - this->labIsGameCardOn->Text = gcnew System::String( "ƒQ[ƒ€ƒJ[ƒh“dŒ¹" ); - this->labAccessOther->Text = gcnew System::String( "‚»‚Ì‘¼" ); - this->gboxShared2Size->Text = gcnew System::String( "Shared2ƒtƒ@ƒCƒ‹ƒTƒCƒY" ); - this->cboxIsShared2->Text = gcnew System::String( "Shared2ƒtƒ@ƒCƒ‹Žg—p" ); - this->labSDK->Text = gcnew System::String( "SDKƒo[ƒWƒ‡ƒ“" ); - this->labLib->Text = gcnew System::String( "Žg—pƒ‰ƒCƒuƒ‰ƒŠ" ); - this->labCaptionEx->Text = gcnew System::String( "“Á‹LŽ–€" ); - - // SRL•ÒW‰Â”\î•ñ - 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->rIsWirelessIcon->Text = gcnew System::String( LANG_WIRELESS_ICON_J ); - this->rIsWiFiIcon->Text = gcnew System::String( LANG_WIFI_ICON_J ); - this->rIsNoIcon->Text = gcnew System::String( LANG_NO_ICON_J ); - this->labRegion->Text = gcnew System::String( LANG_REGION_J ); - - // ƒŠ[ƒWƒ‡ƒ“ - index = this->combRegion->SelectedIndex; - this->combRegion->Items->Clear(); - this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5) - {L"“ú–{‚Ì‚Ý", L"•Ä‘‚Ì‚Ý", L"‰¢B‚Ì‚Ý", L"‹B‚Ì‚Ý", L"‰¢B‚¨‚æ‚Ñ‹B"}); -#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER) - this->combRegion->Items->Add( gcnew System::String( L"‘SƒŠ[ƒWƒ‡ƒ“" ) ); -#endif - this->combRegion->SelectedIndex = index; - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - 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 (‘S”N—î)", L"B (12ΈÈã)", L"C (15ΈÈã)", L"D (17ΈÈã)", - L"Z (18ΈÈã)", L"–¢R¸"}); - 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"–¢R¸"}); - this->combESRB->SelectedIndex = index; - - index = this->combUSK->SelectedIndex; - this->combUSK->Items->Clear(); - this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"”N—î§ŒÀ‚È‚µ", L"6ΈÈã", L"12ΈÈã", L"16ΈÈã", L"­”N‚ɂ͕s“KØ", - L"–¢R¸"}); - 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"–¢R¸"}); - 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"–¢R¸"}); - 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"–¢R¸"}); - 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"–¢R¸"}); - this->combOFLC->SelectedIndex = index; - - // ƒGƒ‰[î•ñ - this->labError->Text = gcnew System::String( "ƒGƒ‰[(•K‚¸C³‚µ‚Ä‚­‚¾‚³‚¢B)" ); - this->colErrorName->HeaderText = gcnew System::String( "€–Ú–¼" ); - this->colErrorBegin->HeaderText = gcnew System::String( "ŠJŽn" ); - this->colErrorEnd->HeaderText = gcnew System::String( "I—¹" ); - this->colErrorCause->HeaderText = gcnew System::String( "—vˆö" ); - - this->labWarn->Text = gcnew System::String( "Œx(C³‚Í•K{‚ł͂ ‚è‚Ü‚¹‚ñ‚ªî•ñ‚ÉŒë‚肪‚È‚¢‚©‚²Šm”F‚­‚¾‚³‚¢B)" ); - this->colWarnName->HeaderText = gcnew System::String( "€–Ú–¼" ); - this->colWarnBegin->HeaderText = gcnew System::String( "ŠJŽn" ); - this->colWarnEnd->HeaderText = gcnew System::String( "I—¹" ); - this->colWarnCause->HeaderText = gcnew System::String( "—vˆö" ); - - this->gboxErrorTiming->Text = gcnew System::String( "‚¢‚‚Ìî•ñ‚ð•\ަ‚·‚é‚©" ); - this->rErrorReading->Text = gcnew System::String( "ROMƒf[ƒ^“ǂݞ‚ÝŽž" ); - this->rErrorCurrent->Text = gcnew System::String( "Œ»Ý‚Ì“ü—͂𔽉f" ); - - // “ÁŽê‚ÈÝ’è—p‚̃eƒLƒXƒgƒ{ƒbƒNƒX‚Ì•\‹L‚ð•ÏX - this->setSrlFormsCaptionEx(); - } - - private: - // ‰pŒê”Å‚Ö‚ÌØ‚è‘Ö‚¦ - void changeEnglish(void) - { - System::Int32 index; - - // “ü—Í•¶Žš”§ŒÀ‚ð•ÏX‚·‚é - this->changeMaxLength( this->tboxCompany1, 40 ); - this->changeMaxLength( this->tboxDepart1, 40 ); - this->changeMaxLength( this->tboxPerson1, 30 ); - - // ƒ^ƒCƒgƒ‹ƒo[ - 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" ); - - // “ü—̓tƒ@ƒCƒ‹ - this->labFile->Text = gcnew System::String( "ROM Data File" ); - - // ƒ^ƒu - 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" ); - - // ƒKƒCƒh - 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( "" ); - this->tboxGuideRomEditInfo->Text += "In making a master ROM data, these items will be registered in a master ROM data and a submission sheet."; - this->tboxGuideRomEditInfo->Text += "\r\nPlease edit certainly."; - this->tboxGuideSubmitInfo->Text = gcnew System::String( "These items are necessary for making a submission sheet. Please input." ); - this->tboxGuideCompanyInfo->Text = gcnew System::String( "These items 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; - // ƒoƒbƒNƒAƒbƒvƒƒ‚ƒŠ - 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; - - // ’ñoî•ñ - 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->labProductNameLimit->Text = gcnew System::String( LANG_PRODUCT_LIMIT_E ); - this->labProductNameLimitForeign->Text = gcnew System::String( LANG_PRODUCT_LIMIT_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Žd—l - 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•ÒW‰Â”\î•ñ - 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->rIsWirelessIcon->Text = gcnew System::String( LANG_WIRELESS_ICON_E ); - this->rIsWiFiIcon->Text = gcnew System::String( LANG_WIFI_ICON_E ); - this->rIsNoIcon->Text = gcnew System::String( LANG_NO_ICON_E ); - this->labRegion->Text = gcnew System::String( LANG_REGION_E ); - - // ƒŠ[ƒWƒ‡ƒ“ - 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; - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - 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; - - // ƒGƒ‰[î•ñ - 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" ); - - // “ÁŽê‚ÈÝ’è—p‚̃eƒLƒXƒgƒ{ƒbƒNƒX‚Ì•\‹L‚ð•ÏX - this->setSrlFormsCaptionEx(); - } - - // -------------------------------------------------------- - // ƒGƒ‰[î•ñ‚Ì“o˜^ - // -------------------------------------------------------- - - // “ǂݞ‚ÝŽžƒGƒ‰[‚Ì“o˜^ - 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 ); - } - } - } - - // “ǂݞ‚ÝŽž‚ÉŒŸo‚µ‚½C³‰Â”\ƒGƒ‰[‚ÉŒ»Ý‚Ì“ü—͂𔽉f - public: - void overloadGridError( void ) - { - this->gridError->Rows->Clear(); - if( this->hSrl->hErrorList != nullptr ) - { - for each( RCMrcError ^err in this->hSrl->hErrorList ) - { - if( !err->EnableModify ) // C³‰Â”\‚Èî•ñ‚Í•\ަ‚µ‚È‚¢ - { - 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 ); - } - } - } - - // ƒZƒ‹‚ÌF‚ð•Ï‚¦‚é - public: - void colorGridError( RCMrcError ^err ) - { - if( err->AffectRom && !err->EnableModify ) // SRL‚ÉŠÖŒW‚ ‚è‚ÅC³•s‰Â - { - System::Int32 last = this->gridError->Rows->Count - 2; // ’ljÁ’¼Œã‚Ìs - this->gridError->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red; - } - else if( err->AffectRom && err->EnableModify ) // SRL‚ÉŠÖŒW‚ ‚è‚ÅC³‰Â - { - 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; - } - } - - // ‚܂Ƃ߂ÄXV - 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(); - } - } - } - - ///////////////////////////////////////////// - // ƒtƒH[ƒ€‘€ìƒƒ\ƒbƒh - ///////////////////////////////////////////// - - // ƒtƒ@ƒCƒ‹ƒpƒX•\ަ—pƒeƒLƒXƒgƒ{ƒbƒNƒX - private: - // ƒhƒ‰ƒbƒO‚³‚ê‚Ă܂¾ƒ}ƒEƒX‚̃{ƒ^ƒ“‚ª—£‚³‚ê‚Ä‚¢‚È‚¢‚Æ‚« - System::Void tboxFile_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) - { - if( e->Data->GetDataPresent( DataFormats::FileDrop ) ) - { - e->Effect = DragDropEffects::All; - } - } - // ƒhƒ‰ƒbƒO‚³‚ꂽ‚ ‚ƃ}ƒEƒX‚̃{ƒ^ƒ“‚ª—£‚³‚ꂽ‚Æ‚« - System::Void tboxFile_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) - { - array ^files = dynamic_cast< array ^>(e->Data->GetData( DataFormats::FileDrop ) ); - String ^filename = files[0]; - - if( System::IO::File::Exists(filename) == false ) - { - this->errMsg( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚ª‘¶Ý‚µ‚Ü‚¹‚ñ‚̂ŊJ‚­‚±‚Æ‚ª‚Å‚«‚Ü‚¹‚ñB", - "The ROM data file is not found. Therefore the file can not be opened." ); - return; - } - this->loadSrl( filename ); // ƒhƒ‰ƒbƒOƒAƒ“ƒhƒhƒƒbƒv‚ÌŽž“_‚Ń{ƒ^ƒ“‚ð‰Ÿ‚³‚È‚­‚Ä‚àƒtƒ@ƒCƒ‹‚ðŠJ‚­ - this->tboxFile->Text = filename; - //this->sucMsg( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚̃I[ƒvƒ“‚ɬŒ÷‚µ‚Ü‚µ‚½B", "The ROM data file is opened successfully." ); - } - - // ƒ`ƒFƒbƒNƒ{ƒ^ƒ“‚ð‰Ÿ‚µ‚½‚Æ‚«‚É‘¼‚̃tƒH[ƒ€‚ð—LŒø‚É‚·‚é - 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: - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ‚ðƒNƒŠƒA‚·‚é - void clearParental( System::Windows::Forms::ComboBox ^comb, - System::Windows::Forms::CheckBox ^enable, - System::Windows::Forms::CheckBox ^rp ) - { - comb->SelectedIndex = comb->Items->Count - 1; // u–¢R¸v‚É‚·‚é - enable->Checked = false; - rp->Checked = false; - } - private: - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ‚ð•ÒW‚Å‚«‚邿‚¤‚É‚·‚é - void enableParental( System::Windows::Forms::ComboBox ^comb, - System::Windows::Forms::CheckBox ^enable, - System::Windows::Forms::CheckBox ^rp, - System::Windows::Forms::Label ^lab1, - System::Windows::Forms::Label ^lab2 ) - { - comb->Enabled = true; - enable->Enabled = true; - rp->Enabled = true; - comb->Visible = true; - enable->Visible = true; - rp->Visible = true; - lab1->Visible = true; - if( lab2 != nullptr ) - { - lab2->Visible = true; - } - } - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ‚ð•ÒW‚Å‚«‚È‚­‚·‚é - void disableParental( System::Windows::Forms::ComboBox ^comb, - System::Windows::Forms::CheckBox ^enable, - System::Windows::Forms::CheckBox ^rp, - System::Windows::Forms::Label ^lab1, - System::Windows::Forms::Label ^lab2 ) - { - this->clearParental( comb, enable, rp ); - comb->Enabled = false; - enable->Enabled = false; - rp->Enabled = false; - comb->Visible = false; - enable->Visible = false; - rp->Visible = false; - lab1->Visible = false; - if( lab2 != nullptr ) - { - lab2->Visible = 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(); - } - } - - ///////////////////////////////////////////// - // ƒ^ƒCƒgƒ‹ƒo[‘€ìƒƒ\ƒbƒh - ///////////////////////////////////////////// - - 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; - - // ƒhƒ‰ƒbƒOƒAƒ“ƒhƒhƒƒbƒvˆÈŠO‚ł̓_ƒCƒAƒƒO‚©‚ç“ü—Í‚·‚é - { - 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ƒf[ƒ^ƒtƒ@ƒCƒ‹‚̃I[ƒvƒ“‚ªƒLƒƒƒ“ƒZƒ‹‚³‚ê‚Ü‚µ‚½B", "Opening the ROM data file is canceled by user." ); - return; - } - filename = dlg->FileName; - } - this->loadSrl( filename ); - //this->sucMsg( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚̃I[ƒvƒ“‚ɬŒ÷‚µ‚Ü‚µ‚½B", "The ROM data file is opened successfully." ); - } //stripItemOpenRom_Click() - - private: - System::Void stripItemMasterRom_Click(System::Object^ sender, System::EventArgs^ e) - { - System::String^ filename; - - // SRL‚ª“ǂݞ‚Ü‚ê‚Ä‚¢‚È‚¢‚Æ‚«‚ɂ̓Š[ƒh‚³‚¹‚È‚¢ - if( System::String::IsNullOrEmpty( this->tboxFile->Text ) ) - { - this->errMsg( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚ªƒI[ƒvƒ“‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ‚Ì‚ÅA’ñoŠm”F‘‚Ì쬂ª‚Å‚«‚Ü‚¹‚ñB", - "ROM data file has not opened yet. Therefore a submission sheet can't be made." ); - return; - } - - // SRLŠÖ˜AƒtƒH[ƒ€“ü—Í‚ðƒ`ƒFƒbƒN‚·‚é - this->hErrorList->Clear(); - this->hWarnList->Clear(); - if( this->checkSrlForms() == false ) - { - this->errMsg( "ROMƒf[ƒ^‚É•s³‚Èݒ肪‚ ‚邽‚ßROMƒf[ƒ^‚̕ۑ¶‚ª‚Å‚«‚Ü‚¹‚ñB", - "A ROM data and a submission sheet can't be saved, since it has illegal info." ); - return; - } - - // SRL–¼‚ð’ñoŽè‡‘‚É]‚킹‚é - { - 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"; - } - } - - // ƒ_ƒCƒAƒƒO‚©‚çSRL‚ð•Û‘¶‚·‚éƒfƒBƒŒƒNƒgƒŠ‚ðŽæ“¾‚·‚é - { - System::Windows::Forms::FolderBrowserDialog ^dlg = gcnew (System::Windows::Forms::FolderBrowserDialog); - - if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK ) - { - this->errMsg( "ƒtƒHƒ‹ƒ_‚Ì‘I‘ð‚ªƒLƒƒƒ“ƒZƒ‹‚³‚ê‚Ü‚µ‚½‚̂ŒñoŠm”F‘‚Í쬂³‚ê‚Ü‚¹‚ñB", - "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 ^paths; - - // SRL‚ª“ǂݞ‚Ü‚ê‚Ä‚¢‚È‚¢‚Æ‚«‚ɂ̓Š[ƒh‚³‚¹‚È‚¢ - if( System::String::IsNullOrEmpty( this->tboxFile->Text ) ) - { - this->errMsg( "ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚ªƒI[ƒvƒ“‚³‚ê‚Ä‚¢‚Ü‚¹‚ñB", "ROM file has not opened yet." ); - return; - } - - // SRL‚Æ‘—Þ‚Ì—¼•û‚̃tƒH[ƒ€“ü—Í‚ðƒ`ƒFƒbƒN‚·‚é - this->hErrorList->Clear(); - this->hWarnList->Clear(); - if( this->checkSrlForms() == false ) - { - this->errMsg( "ROMƒf[ƒ^‚É•s³‚Èݒ肪‚ ‚邽‚ßROMƒf[ƒ^‚̕ۑ¶‚¨‚æ‚Ñ’ñoŠm”F‘‚Ì쬂ª‚Å‚«‚Ü‚¹‚ñB", - "A ROM data and a submission sheet can't be saved, since it has illegal info." ); - return; - } - if( this->checkDeliverableForms() == false ) - { - this->errMsg( "“ü—Íî•ñ‚É•s‘«‚ª‚ ‚邽‚ß’ñoŠm”F‘‚ð쬂ł«‚Ü‚¹‚ñB", - "Making a submission sheet can't be done, since your input is not enough." ); - return; - } - - // SRL–¼‚ð’ñoŽè‡‘‚É]‚킹‚é - { - 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ƒf[ƒ^ƒtƒ@ƒCƒ‹(SRL)‚Æ’ñoŠm”F‘‚Ìî•ñ‚ðˆê’v‚³‚¹‚邽‚ßA‚Ü‚¸A“ü—Íî•ñ‚𔽉f‚³‚¹‚½ROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚ð쬂µ‚Ü‚·B\n(ƒLƒƒƒ“ƒZƒ‹‚³‚ꂽ‚Æ‚«ASRL‚¨‚æ‚Ñ’ñoŠm”F‘‚Í쬂³‚ê‚Ü‚¹‚ñB)\n" - + "\n ROMƒf[ƒ^ƒtƒ@ƒCƒ‹–¼‚Í \"" + srlfile + "\"‚ƂȂè‚Ü‚·B\n" + "\nROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚ð•Û‘¶‚·‚éƒtƒHƒ‹ƒ_‚ð‘I‘ð‚µ‚Ä‚­‚¾‚³‚¢B", - "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." - ); - } - - // ƒ_ƒCƒAƒƒO‚©‚çSRL‚ð•Û‘¶‚·‚éƒfƒBƒŒƒNƒgƒŠ‚ðŽæ“¾‚·‚é - { - System::Windows::Forms::FolderBrowserDialog ^dlg = gcnew (System::Windows::Forms::FolderBrowserDialog); - - if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK ) - { - this->errMsg( "ƒtƒHƒ‹ƒ_‚Ì‘I‘ð‚ªƒLƒƒƒ“ƒZƒ‹‚³‚ê‚Ü‚µ‚½‚̂ŒñoŠm”F‘‚Í쬂³‚ê‚Ü‚¹‚ñB", - "A submission sheet can not be made, since selecting folder is canceled." ); - return; - } - else - { - srlfile = dlg->SelectedPath + srlfile; - } - } - - // ’ˆÓ‘‚« - { - this->sucMsg( - "Step2/2: ‘±‚¢‚Ä’ñoŠm”F‘‚ð쬂µ‚Ü‚·B\n‚±‚±‚ŃLƒƒƒ“ƒZƒ‹‚³‚ꂽ‚Æ‚«A’ñoŠm”F‘‚Í‚à‚Æ‚æ‚èROMƒf[ƒ^ƒtƒ@ƒCƒ‹‚à쬂³‚ê‚Ü‚¹‚ñ‚̂ł²’ˆÓ‚­‚¾‚³‚¢B", - "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.)" - ); - } - // ƒ_ƒCƒAƒƒO‚Ńtƒ@ƒCƒ‹ƒpƒX‚ðŒˆ’è - { - 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( "’ñoŠm”F‘‚Ì쬂ªƒLƒƒƒ“ƒZƒ‹‚³‚ê‚Ü‚µ‚½B", "Making a submission sheet is canceled." ); - return; - } - delivfile = dlg->FileName; - if( !(dlg->FileName->EndsWith( ".xml" )) ) - { - delivfile += ".xml"; - } - } - - // ƒ}ƒXƒ^’ñoŠm”F‘‚É•K—v‚Èî•ñ‚ðƒtƒH[ƒ€‚©‚çŽæ“¾‚µ‚ÄXV - this->setSrlProperties(); // æ‚ÉSrl‚ðXV‚µ‚Ä‚¨‚­ - this->setDeliverableProperties(); - - // SRL‚ðXV - this->saveSrl( srlfile ); - u16 crc; // SRL‘S‘Ì‚ÌCRC‚ðŒvŽZ‚·‚é(‘—Þ‚É‹Lq‚·‚邽‚ß) - if( !getWholeCRCInFile( srlfile, &crc ) ) - { - this->errMsg( "CRC‚ÌŒvŽZ‚ÉŽ¸”s‚µ‚Ü‚µ‚½B’ñoŠm”F‘‚Ì쬂̓Lƒƒƒ“ƒZƒ‹‚³‚ê‚Ü‚·B", - "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'\\'); // —]•ª‚ȃpƒX‚ðíœ - 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 ) - { - switch( result ) - { - case ECDeliverableResult::ERROR_FILE_OPEN: - this->errMsg( "’ñoŠm”F‘‚̃eƒ“ƒvƒŒ[ƒg‚ªŠJ‚¯‚È‚©‚Á‚½‚½‚ßA’ñoŠm”F‘‚Ì쬂Ɏ¸”s‚µ‚Ü‚µ‚½B", - "Since a templete of the submission sheet can't be opened, making the sheet is failed." ); - break; - - default: - this->errMsg( "’ñoŠm”F‘‚Ì쬂Ɏ¸”s‚µ‚Ü‚µ‚½B", "Making the submission sheet is failed." ); - break; - } - return; - } - this->sucMsg( "’ñoŠm”F‘‚Ì쬂ɬŒ÷‚µ‚Ü‚µ‚½B", "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(""); - - // ƒ_ƒCƒAƒƒO‚Ńtƒ@ƒCƒ‹ƒpƒX‚ðŒˆ’è - { - 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(""); - - // ƒ_ƒCƒAƒƒO‚Ńtƒ@ƒCƒ‹ƒpƒX‚ðŒˆ’è - { - 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) - { - // ƒGƒ‰[ƒ^ƒu‚ðÅVî•ñ‚ÉXV - 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; - - // •ÒW‰Â”\î•ñ‚ð“ǂݞ‚ÝŽž‚ÌÝ’è‚É–ß‚· - this->cboxIsEULA->Checked = *(this->hSrl->hIsEULA); - this->numEULA->Value = *(this->hSrl->hEULAVersion); - if( ( *this->hSrl->hIsWiFiIcon && *this->hSrl->hIsWirelessIcon) || - (!(*this->hSrl->hIsWiFiIcon) && !(*this->hSrl->hIsWirelessIcon)) ) - { - this->rIsNoIcon->Checked = true; - } - else if( *(this->hSrl->hIsWiFiIcon) && !*(this->hSrl->hIsWirelessIcon) ) - { - this->rIsWiFiIcon->Checked = true; - } - else - { - this->rIsWirelessIcon->Checked = true; - } - this->setParentalForms(); // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ŠÖ˜A - } - - -}; // enf of ref class Form1 - -} // end of namespace MasterEditorTWL - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.resX b/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.resX deleted file mode 100644 index 1f0e93fa..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.resX +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - \ No newline at end of file diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.cpp deleted file mode 100644 index 8f167ba0..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include "StdAfx.h" -#include "FormError.h" - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.h b/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.h deleted file mode 100644 index 53592b99..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.h +++ /dev/null @@ -1,377 +0,0 @@ -#pragma once - -#include -#include "common.h" -#include "srl.h" - -using namespace System; -using namespace System::ComponentModel; -using namespace System::Collections; -using namespace System::Windows::Forms; -using namespace System::Data; -using namespace System::Drawing; - - -namespace MasterEditorTWL { - - /// - /// FormError ‚ÌŠT—v - /// - /// Œx: ‚±‚̃Nƒ‰ƒX‚Ì–¼‘O‚ð•ÏX‚·‚éê‡A‚±‚̃Nƒ‰ƒX‚ªˆË‘¶‚·‚é‚·‚×‚Ä‚Ì .resx ƒtƒ@ƒCƒ‹‚ÉŠÖ˜A•t‚¯‚ç‚ꂽ - /// ƒ}ƒl[ƒW ƒŠƒ\[ƒX ƒRƒ“ƒpƒCƒ‰ ƒc[ƒ‹‚ɑ΂µ‚Ä 'Resource File Name' ƒvƒƒpƒeƒB‚ð - /// •ÏX‚·‚é•K—v‚ª‚ ‚è‚Ü‚·B‚±‚Ì•ÏX‚ðs‚í‚È‚¢‚ÆA - /// ƒfƒUƒCƒi‚ÆA‚±‚̃tƒH[ƒ€‚ÉŠÖ˜A•t‚¯‚ç‚ꂽƒ[ƒJƒ‰ƒCƒYÏ‚ÝƒŠƒ\[ƒX‚Æ‚ªA - /// ³‚µ‚­‘ŠŒÝ‚É—˜—p‚Å‚«‚È‚­‚È‚è‚Ü‚·B - /// - public ref class FormError : public System::Windows::Forms::Form - { - public: - FormError(void) - { - InitializeComponent(); - // - //TODO: ‚±‚±‚ɃRƒ“ƒXƒgƒ‰ƒNƒ^ ƒR[ƒh‚ð’ljÁ‚µ‚Ü‚· - // - } - - protected: - /// - /// Žg—p’†‚ÌƒŠƒ\[ƒX‚ð‚·‚×‚ÄƒNƒŠ[ƒ“ƒAƒbƒv‚µ‚Ü‚·B - /// - ~FormError() - { - if (components) - { - delete components; - } - } - public: System::Windows::Forms::DataGridView^ gridError; - protected: - - protected: - - - - - - private: System::Windows::Forms::Label^ labError; - public: System::Windows::Forms::DataGridView^ gridWarn; - private: - - - public: - - - - 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::Label^ labWarn; - 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::Button^ butClose; - - private: - - public: - - - - - - - - protected: - - private: - /// - /// •K—v‚ȃfƒUƒCƒi•Ï”‚Å‚·B - /// - System::ComponentModel::Container ^components; - -#pragma region Windows Form Designer generated code - /// - /// ƒfƒUƒCƒi ƒTƒ|[ƒg‚É•K—v‚ȃƒ\ƒbƒh‚Å‚·B‚±‚̃ƒ\ƒbƒh‚Ì“à—e‚ð - /// ƒR[ƒh ƒGƒfƒBƒ^‚Å•ÏX‚µ‚È‚¢‚Å‚­‚¾‚³‚¢B - /// - void InitializeComponent(void) - { - 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->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->labWarn = (gcnew System::Windows::Forms::Label()); - this->butClose = (gcnew System::Windows::Forms::Button()); - (cli::safe_cast(this->gridError))->BeginInit(); - (cli::safe_cast(this->gridWarn))->BeginInit(); - this->SuspendLayout(); - // - // gridError - // - 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(28, 36); - this->gridError->Name = L"gridError"; - this->gridError->ReadOnly = true; - this->gridError->RowHeadersVisible = false; - this->gridError->RowTemplate->Height = 21; - this->gridError->Size = System::Drawing::Size(661, 172); - this->gridError->TabIndex = 0; - // - // colErrorName - // - this->colErrorName->HeaderText = L"€–Ú–¼"; - this->colErrorName->Name = L"colErrorName"; - this->colErrorName->ReadOnly = true; - this->colErrorName->Width = 150; - // - // colErrorBegin - // - this->colErrorBegin->HeaderText = L"ŠJŽn"; - this->colErrorBegin->Name = L"colErrorBegin"; - this->colErrorBegin->ReadOnly = true; - this->colErrorBegin->Width = 60; - // - // colErrorEnd - // - this->colErrorEnd->HeaderText = L"I—¹"; - 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"—vˆö"; - this->colErrorCause->Name = L"colErrorCause"; - this->colErrorCause->ReadOnly = true; - // - // labError - // - this->labError->AutoSize = true; - this->labError->ForeColor = System::Drawing::SystemColors::ActiveCaption; - this->labError->Location = System::Drawing::Point(26, 21); - this->labError->Name = L"labError"; - this->labError->Size = System::Drawing::Size(137, 12); - this->labError->TabIndex = 1; - this->labError->Text = L"ƒGƒ‰[(•K‚¸C³‚µ‚Ä‚­‚¾‚³‚¢)"; - // - // 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(28, 245); - this->gridWarn->Name = L"gridWarn"; - this->gridWarn->ReadOnly = true; - this->gridWarn->RowHeadersVisible = false; - this->gridWarn->RowTemplate->Height = 21; - this->gridWarn->Size = System::Drawing::Size(661, 172); - this->gridWarn->TabIndex = 2; - // - // colWarnName - // - this->colWarnName->HeaderText = L"€–Ú–¼"; - this->colWarnName->Name = L"colWarnName"; - this->colWarnName->ReadOnly = true; - this->colWarnName->Width = 150; - // - // colWarnBegin - // - this->colWarnBegin->HeaderText = L"ŠJŽn"; - this->colWarnBegin->Name = L"colWarnBegin"; - this->colWarnBegin->ReadOnly = true; - this->colWarnBegin->Width = 60; - // - // colWarnEnd - // - this->colWarnEnd->HeaderText = L"I—¹"; - 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"—vˆö"; - this->colWarnCause->Name = L"colWarnCause"; - this->colWarnCause->ReadOnly = true; - // - // labWarn - // - this->labWarn->AutoSize = true; - this->labWarn->ForeColor = System::Drawing::SystemColors::ActiveCaption; - this->labWarn->Location = System::Drawing::Point(26, 230); - this->labWarn->Name = L"labWarn"; - this->labWarn->Size = System::Drawing::Size(331, 12); - this->labWarn->TabIndex = 3; - this->labWarn->Text = L"Œx(C³‚Í•K{‚ł͂ ‚è‚Ü‚¹‚ñ‚ªî•ñ‚ÉŒë‚肪‚È‚¢‚©‚²Šm”F‚­‚¾‚³‚¢)"; - // - // butClose - // - this->butClose->Location = System::Drawing::Point(557, 429); - this->butClose->Name = L"butClose"; - this->butClose->Size = System::Drawing::Size(132, 23); - this->butClose->TabIndex = 4; - this->butClose->Text = L"•‚¶‚é"; - this->butClose->UseVisualStyleBackColor = true; - this->butClose->Click += gcnew System::EventHandler(this, &FormError::butClose_Click); - // - // FormError - // - this->AutoScaleDimensions = System::Drawing::SizeF(6, 12); - this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font; - this->ClientSize = System::Drawing::Size(722, 464); - this->Controls->Add(this->butClose); - this->Controls->Add(this->labWarn); - this->Controls->Add(this->gridWarn); - this->Controls->Add(this->labError); - this->Controls->Add(this->gridError); - this->Name = L"FormError"; - this->Text = L"Error Information"; - (cli::safe_cast(this->gridError))->EndInit(); - (cli::safe_cast(this->gridWarn))->EndInit(); - this->ResumeLayout(false); - this->PerformLayout(); - - } -#pragma endregion - - // -------------------------------------------------------- - // ƒGƒ‰[î•ñ‚Ì“o˜^ - // -------------------------------------------------------- - public: - void setGridError( System::Collections::Generic::List ^list, System::Boolean isJapanese ) - { - this->gridError->Rows->Clear(); - if( list != nullptr ) - { - for each( RCMrcError ^err in list ) - { - this->gridError->Rows->Add( err->getAll( isJapanese ) ); - } - } - } - - void setGridWarn( System::Collections::Generic::List ^list, System::Boolean isJapanese ) - { - this->gridWarn->Rows->Clear(); - if( list != nullptr ) - { - for each( RCMrcError ^err in list ) - { - this->gridWarn->Rows->Add( err->getAll( isJapanese ) ); - } - } - } - - // -------------------------------------------------------- - // ƒGƒ‰[î•ñ‚Ìd‚ˇ‚킹 - // -------------------------------------------------------- - public: - void overloadGridError( - System::Collections::Generic::List ^listLo, - System::Collections::Generic::List ^listHi, System::Boolean isJapanese ) - { - // listLo‚ÌC³‰Â”\‚Èî•ñ‚ðlistHi‚Åã‘‚«‚·‚é(listHi‚ÍC³‰Â”\‚Èî•ñ‚݂̂ł ‚邱‚Æ‚ª‘O’ñ) - this->gridError->Rows->Clear(); - if( listLo != nullptr ) - { - for each( RCMrcError ^err in listLo ) - { - if( !err->EnableModify ) // C³‰Â”\‚Èî•ñ‚Í•\ަ‚µ‚È‚¢ - this->gridError->Rows->Add( err->getAll( isJapanese ) ); - } - } - if( listHi != nullptr ) - { - for each( RCMrcError ^err in listHi ) - { - this->gridError->Rows->Add( err->getAll( isJapanese ) ); - } - } - } - void overloadGridWarn( - System::Collections::Generic::List ^listLo, - System::Collections::Generic::List ^listHi, System::Boolean isJapanese ) - { - // listLo‚ÌC³‰Â”\‚Èî•ñ‚ðlistHi‚Åã‘‚«‚·‚é(listHi‚ÍC³‰Â”\‚Èî•ñ‚݂̂ł ‚邱‚Æ‚ª‘O’ñ) - this->gridWarn->Rows->Clear(); - if( listLo != nullptr ) - { - for each( RCMrcError ^err in listLo ) - { - if( !err->EnableModify ) // C³‰Â”\‚Èî•ñ‚Í•\ަ‚µ‚È‚¢ - this->gridWarn->Rows->Add( err->getAll( isJapanese ) ); - } - } - if( listHi != nullptr ) - { - for each( RCMrcError ^err in listHi ) - { - this->gridWarn->Rows->Add( err->getAll( isJapanese ) ); - } - } - } - - // -------------------------------------------------------- - // Œ¾Œê‘Ήž - // -------------------------------------------------------- - public: - void changeJapanese(void) - { - this->labError->Text = gcnew System::String( "ƒGƒ‰[(•K‚¸C³‚µ‚Ä‚­‚¾‚³‚¢B)" ); - this->colErrorName->HeaderText = gcnew System::String( "€–Ú–¼" ); - this->colErrorBegin->HeaderText = gcnew System::String( "ŠJŽn" ); - this->colErrorEnd->HeaderText = gcnew System::String( "I—¹" ); - this->colErrorCause->HeaderText = gcnew System::String( "—vˆö" ); - - this->labWarn->Text = gcnew System::String( "Œx(C³‚Í•K{‚ł͂ ‚è‚Ü‚¹‚ñ‚ªî•ñ‚ÉŒë‚肪‚È‚¢‚©‚²Šm”F‚­‚¾‚³‚¢B)" ); - this->colWarnName->HeaderText = gcnew System::String( "€–Ú–¼" ); - this->colWarnBegin->HeaderText = gcnew System::String( "ŠJŽn" ); - this->colWarnEnd->HeaderText = gcnew System::String( "I—¹" ); - this->colWarnCause->HeaderText = gcnew System::String( "—vˆö" ); - - this->butClose->Text = gcnew System::String( "•‚¶‚é" ); - } - - public: - void changeEnglish(void) - { - 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->butClose->Text = gcnew System::String( "Close window" ); - } - - private: - System::Void butClose_Click(System::Object^ sender, System::EventArgs^ e) - { - this->Close(); - } -}; -} diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.resx b/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.resx deleted file mode 100644 index 6e04fc91..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/FormError.resx +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - \ No newline at end of file diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.cpp deleted file mode 100644 index dac10af9..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// MasterEditorTWL.cpp : ƒƒCƒ“ ƒvƒƒWƒFƒNƒg ƒtƒ@ƒCƒ‹‚Å‚·B - -#include "stdafx.h" -#include "Form1.h" - -using namespace MasterEditorTWL; - -[STAThreadAttribute] -int main(array ^args) -{ - // ƒRƒ“ƒgƒ[ƒ‹‚ªì¬‚³‚ê‚é‘O‚ÉAWindows XP ƒrƒWƒ…ƒAƒ‹Œø‰Ê‚ð—LŒø‚É‚µ‚Ü‚· - Application::EnableVisualStyles(); - Application::SetCompatibleTextRenderingDefault(false); - - // ƒƒCƒ“ ƒEƒBƒ“ƒhƒE‚ð쬂µ‚ÄAŽÀs‚µ‚Ü‚· - Application::Run(gcnew Form1()); - return 0; -} diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.vcproj b/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.vcproj deleted file mode 100644 index 4b89ddd6..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.vcproj +++ /dev/null @@ -1,338 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.vcproj.RED.nishikawa_takeshi.user b/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.vcproj.RED.nishikawa_takeshi.user deleted file mode 100644 index 7963a7fd..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/MasterEditorTWL.vcproj.RED.nishikawa_takeshi.user +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/ReadMe.txt b/build/tools/MasterEditorTWL/MasterEditorTWL/ReadMe.txt deleted file mode 100644 index a21e2123..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/ReadMe.txt +++ /dev/null @@ -1,34 +0,0 @@ -=============================================================================== - ƒAƒvƒŠƒP[ƒVƒ‡ƒ“ : MasterEditorTWL ƒvƒƒWƒFƒNƒg‚ÌŠT—v -=============================================================================== - -‚±‚Ì MasterEditorTWL ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ÍAAppWizard ‚É‚æ‚Á‚Ä쬂³‚ê‚Ü‚µ‚½B - -‚±‚̃tƒ@ƒCƒ‹‚É‚ÍAMasterEditorTWL ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ð\¬‚·‚éŠeƒtƒ@ƒCƒ‹‚Ì -“à—e‚ÌŠT—ª‚ª‹Lq‚³‚ê‚Ä‚¢‚Ü‚·B - -MasterEditorTWL.vcproj - ‚±‚ê‚ÍAƒAƒvƒŠƒP[ƒVƒ‡ƒ“ ƒEƒBƒU[ƒh‚Ŷ¬‚³‚ê‚é VC++ ƒvƒƒWƒFƒNƒg‚̃ƒCƒ“‚Ì - ƒvƒƒWƒFƒNƒg ƒtƒ@ƒCƒ‹‚Å‚·B - ƒtƒ@ƒCƒ‹‚𶬂µ‚½ Visual C++ ‚̃o[ƒWƒ‡ƒ“î•ñ‚ÆAƒAƒvƒŠƒP[ƒVƒ‡ƒ“ ƒEƒBƒU[ - ƒh‚Å‘I‘ð‚µ‚½ƒvƒ‰ƒbƒgƒtƒH[ƒ€A\¬A‚¨‚æ‚уvƒƒWƒFƒNƒg‚Ì‹@”\‚ÉŠÖ‚·‚éî•ñ‚ª - ‹Lq‚³‚ê‚Ä‚¢‚Ü‚·B - -MasterEditorTWL.cpp - ‚±‚ê‚ÍAƒƒCƒ“‚̃AƒvƒŠƒP[ƒVƒ‡ƒ“ ƒ\[ƒX ƒtƒ@ƒCƒ‹‚Å‚·B - ƒtƒH[ƒ€‚ð•\ަ‚·‚éƒR[ƒh‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B - -Form1.h - ƒ†[ƒU[‚̃tƒH[ƒ€ ƒNƒ‰ƒX‚ÌŽÀ‘•‚ÆAInitializeComponent() ŠÖ”‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B - -AssemblyInfo.cpp - ƒAƒZƒ“ƒuƒŠ ƒƒ^ƒf[ƒ^‚ð•ÏX‚·‚邽‚߂̃JƒXƒ^ƒ€‘®«‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B - -/////////////////////////////////////////////////////////////////////////////// -‚»‚Ì‘¼‚Ì•W€ƒtƒ@ƒCƒ‹ : - -StdAfx.h, StdAfx.cpp - ‚±‚ê‚ç‚̃tƒ@ƒCƒ‹‚ÍAƒRƒ“ƒpƒCƒ‹Ï‚݃wƒbƒ_[ (PCH) ƒtƒ@ƒCƒ‹ MasterEditorTWL.pch - ‚ƃvƒŠƒRƒ“ƒpƒCƒ‹Ï‚ÝŒ^ƒtƒ@ƒCƒ‹ StdAfx.obj ‚ðƒrƒ‹ƒh‚·‚邽‚߂Ɏg—p‚µ‚Ü‚·B - -/////////////////////////////////////////////////////////////////////////////// diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/Release/BuildLog.htm b/build/tools/MasterEditorTWL/MasterEditorTWL/Release/BuildLog.htm deleted file mode 100644 index a3ec2d53..00000000 Binary files a/build/tools/MasterEditorTWL/MasterEditorTWL/Release/BuildLog.htm and /dev/null differ diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/app.ico b/build/tools/MasterEditorTWL/MasterEditorTWL/app.ico deleted file mode 100644 index 3a5525fd..00000000 Binary files a/build/tools/MasterEditorTWL/MasterEditorTWL/app.ico and /dev/null differ diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/app.rc b/build/tools/MasterEditorTWL/MasterEditorTWL/app.rc deleted file mode 100644 index 2ad8e346..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/app.rc +++ /dev/null @@ -1,63 +0,0 @@ -// Microsoft Visual C++ ‚Ŷ¬‚³‚ꂽƒŠƒ\[ƒX ƒXƒNƒŠƒvƒg‚Å‚·B -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// ‰pŒê (•Ä‘) ƒŠƒ\[ƒX - - -///////////////////////////////////////////////////////////////////////////// -// -// ƒAƒCƒRƒ“ -// - -// ʼn‚É”z’u‚³‚ꂽƒAƒCƒRƒ“A‚Ü‚½‚Í ID ’l‚ªÅ‚à’á‚¢ƒAƒCƒRƒ“‚ªAƒAƒvƒŠƒP[ƒVƒ‡ƒ“ ƒAƒCƒRƒ“‚ɂȂè‚Ü‚·B - -LANGUAGE 17, 1 -#pragma code_page(932) -1 ICON "app.ico" - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" - "\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\0" -END - -#endif // APSTUDIO_INVOKED - -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE 3 ƒŠƒ\[ƒX‚©‚綬‚³‚ê‚Ü‚µ‚½B -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // APSTUDIO_INVOKED ‚łȂ¢ê‡ - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/common.h b/build/tools/MasterEditorTWL/MasterEditorTWL/common.h deleted file mode 100644 index 11755e6f..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/common.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#define METWL_WHETHER_PLATFORM_CHECK // ƒvƒ‰ƒbƒgƒtƒH[ƒ€‚ªTWL‘ΉžˆÈŠO‚©‚Ç‚¤‚©‚ðƒ`ƒFƒbƒN‚·‚é -#define METWL_WHETHER_SIGN_DECRYPT // –¼‚ðŠO‚µ‚ă_ƒCƒWƒFƒXƒg‚ðƒxƒŠƒtƒ@ƒC‚·‚é -#define METWL_WHETHER_MRC // MRC‹@”\‚ðŠÜ‚߂邩 -#define METWL_LIGHT_CHECK // ’ñoðŒ‚ðŠÉ‚­‚·‚é‚© - -// ’è” -#define METWL_ERRLIST_NORANGE 0 // ƒGƒ‰[‚̃AƒhƒŒƒX”͈͂ðŽw’肵‚È‚¢‚±‚Æ‚ð•\‚·“Á•ʂȒl -#define METWL_ROMSIZE_MIN 256 // Ŭ‚̃fƒoƒCƒX—e—Ê 256Mbit -#define METWL_ROMSIZE_MAX 4096 // Å‘å‚Ì.. 4Gbit -#define METWL_ROMSIZE_MIN_NAND 1 -#define METWL_ROMSIZE_MAX_NAND 256 -#define METWL_ALLSIZE_MAX_NAND (32*1024*1024) // Public/PrivateƒZ[ƒuƒf[ƒ^‚̃TƒCƒY‚ðŠÜ‚ß‚½NANDƒAƒvƒŠ‚Ì—e—ʧŒÀ(’PˆÊByte) -#define METWL_MASK_REGION_JAPAN 0x00000001 -#define METWL_MASK_REGION_AMERICA 0x00000002 -#define METWL_MASK_REGION_EUROPE 0x00000004 -#define METWL_MASK_REGION_AUSTRALIA 0x00000008 -#define METWL_MASK_REGION_CHINA 0x00000010 -#define METWL_MASK_REGION_KOREA 0x00000020 -#define METWL_MASK_REGION_ALL 0xffffffff -#define METWL_NUMOF_SHARED2FILES 6 -#define METWL_SEG3_CRC 0x0254 diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/crc_whole.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/crc_whole.cpp deleted file mode 100644 index a984cf5d..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/crc_whole.cpp +++ /dev/null @@ -1,185 +0,0 @@ -// crc_whole.h ‚ÌŽÀ‘• - -#include "stdafx.h" -#include -#include "common.h" -#include "crc_whole.h" -#include -#include - -#define CRCPOLY 0x1021 -#define BUFLEN 0x1000 - -namespace MasterEditorTWL -{ - u16 crc_table[0x100]; - - /*---------------------------------------------------------------------------- - ŠÖ”–¼ - inittable - initialize table - - Œ`Ž® - static void inittable(unsigned short *table); - - ‰ðà - CRCŽZo‚ð‚‘¬‰»‚·‚邽‚߂̎Qƃe[ƒuƒ‹‚ð쬂·‚éB - ----------------------------------------------------------------------------*/ - static void inittable(unsigned short *table) - { - unsigned short i, j, r; - - for(i = 0; i < 0x100; i++) { - r = i << 8; - for(j = 0; j < 8; j++) { - if(r & 0x8000U) - r = (r << 1) ^ CRCPOLY; - else - r <<= 1; - } - *table++ = r; - } - } - - /*============================================================================* - CRCŒvŽZ - »•i‹Zp•”‚ÌCRCƒe[ƒuƒ‹‚ðŽg‚Á‚½CRCŒvŽZŠÖ” - - ‹ô”ƒoƒCƒg‚ƊoƒCƒg‚ð“ü‚ê‘Ö‚¦‚Ä‚©‚çŒvŽZ‚·‚éB - *============================================================================*/ - static u16 newGetCRC - ( - u16 start, // CRC‰Šú’li—ÝÏ’lj - u16 *datap, // ƒf[ƒ^‚Ìæ“ª‚ðŽw‚·ƒ|ƒCƒ“ƒ^A’†“‡‚³‚ñ‚̂ƈႢAu8 - u32 size // ƒoƒCƒg’PˆÊ‚ł̃f[ƒ^ƒTƒCƒY - ) - { - u32 i; - u16 crc; - u8* byte; - - crc = start; - byte = (u8 *)datap; - - for (i=0; i> 8) ^ byte1]; - crc = (crc << 8) ^ crc_table[(crc >> 8) ^ byte0]; - } - - return crc; - } - - /*---------------------------------------------------------------------------* - - Name: getSeg3CRCInFp - - Description: Segment3(0x3000-0x3fff)‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ - BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC ) - { - u16 crc; - u16 data[ 0x1000 / 2 ]; // 64KƒoƒCƒg(512Kƒrƒbƒg) - - if( !fp ) - { - return FALSE; - } - - // CRCƒe[ƒuƒ‹‰Šú‰»i»•i‹Zp•”‚̃R[ƒhj - inittable(crc_table); - - // 0x3000 ‚©‚ç 0x3fff ‚Ü‚Å‚Ì CRC ‚ð‚Æ‚é - fseek( fp, 0x3000, SEEK_SET ); - fread( (void*)data, sizeof(data), 1, fp ); - crc = newGetCRC( 0, data, sizeof(data) ); - *pCRC = crc; - - return TRUE; - } - - /*---------------------------------------------------------------------------* - - Name: getWholeCRCInFp - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ - BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC ) - { - u32 file_size; - u16 crc; - u32 i; - u16 data[ 0x1000 / 2 ]; // 64KƒoƒCƒg(512Kƒrƒbƒg) - - if( !fp ) - { - return FALSE; - } - - // ƒtƒ@ƒCƒ‹ƒTƒCƒYƒ`ƒFƒbƒN - fseek( fp, 0, SEEK_END ); - file_size = ftell( fp ); - - // CRCƒe[ƒuƒ‹‰Šú‰»i»•i‹Zp•”‚̃R[ƒhj - inittable(crc_table); - - // ƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC ‚ð‚Æ‚é - fseek( fp, 0, SEEK_SET ); - crc = 0; - for ( i=0; i -#include - -namespace MasterEditorTWL -{ - /*---------------------------------------------------------------------------* - - Name: getSeg3CRCInFp - - Description: Segment3(0x3000-0x3fff)‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ - BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC ); - - /*---------------------------------------------------------------------------* - - Name: getWholeCRCInFp - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ - BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC ); - - /*---------------------------------------------------------------------------* - - Name: getWholeCRCInFile - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹–¼(ŒÄ‚Ño‚µ‘O‚ɕ‚¶‚Ä‚¨‚­‚±‚Æ) - [out] CRCŠi”[æ - - Return: None. - - *---------------------------------------------------------------------------*/ - BOOL getWholeCRCInFile( System::String ^filename, u16 *pCRC ); - -} // end of namespace MasterEditorTWL \ No newline at end of file diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/deliverable.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/deliverable.cpp deleted file mode 100644 index adf9a74b..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/deliverable.cpp +++ /dev/null @@ -1,729 +0,0 @@ -// deliverable.h ‚̃Nƒ‰ƒXŽÀ‘• - -#include "stdafx.h" -#include -#include "common.h" -#include "srl.h" -#include "deliverable.h" -#include "utility.h" -#include -#include - -using namespace MasterEditorTWL; - -// -// RCDeliverable ƒNƒ‰ƒX -// - -// -// ‘—Þo—Í -// -// @arg [out] o—̓tƒ@ƒCƒ‹–¼ -// @arg [in] ROMƒoƒCƒiƒŠ(SRL)ŒÅ—Lî•ñ -// @arg [in] ƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC -// @arg [in] SRL‚̃tƒ@ƒCƒ‹–¼(‘—Þ‚É‹Lq‚·‚邽‚߂Ɏg—p) -// @arg [in] ‰pŒêƒtƒ‰ƒO -// -ECDeliverableResult RCDeliverable::writeSpreadsheet( - System::String ^hFilename, MasterEditorTWL::RCSrl ^hSrl, System::UInt16 ^hCRC, System::String ^hSrlFilename, System::Boolean english ) -{ - // ƒeƒ“ƒvƒŒ[ƒg‚ð“ǂݞ‚Þ - System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument(); - try - { - doc->Load( "../resource/sheet_templete.xml" ); - } - catch ( System::Exception ^ex ) // ‰ü‚´‚ñ‚³‚ê‚Ä‚¢‚½‚Æ‚« - { - (void)ex; - return ECDeliverableResult::ERROR_FILE_OPEN; - } - System::Xml::XmlElement ^root = doc->DocumentElement; - - // ƒ\ƒtƒgƒ^ƒCƒgƒ‹etc.‚Í1•¶Žš‚¸‚“ü‚ê‚é - char title_name[ TITLE_NAME_MAX ]; - char game_code[ GAME_CODE_MAX ]; - char maker_code[ MAKER_CODE_MAX ]; - MasterEditorTWL::setStringToChars( title_name, hSrl->hTitleName, TITLE_NAME_MAX, 0 ); - MasterEditorTWL::setStringToChars( game_code, hSrl->hGameCode, GAME_CODE_MAX, 0 ); - MasterEditorTWL::setStringToChars( maker_code, hSrl->hMakerCode, MAKER_CODE_MAX, 0 ); - //System::String ^str = gcnew System::String( hSrl->hTitleName[0], 1 ); - //System::Diagnostics::Debug::WriteLine( str ); - //System::Diagnostics::Debug::WriteLine( "hex 0x: " + title_name[0].ToString("X") ); - - // ƒAƒvƒŠŽí•Ê - System::String ^apptype = gcnew System::String(""); - if( *hSrl->hIsAppLauncher ) - { - apptype = gcnew System::String( "Launcher" ); - } - else if( *hSrl->hIsAppSecure ) - { - apptype = gcnew System::String( "Secure" ); - } - else if( *hSrl->hIsAppSystem ) - { - apptype = gcnew System::String( "System" ); - } - else if( *hSrl->hIsAppUser ) - { - apptype = gcnew System::String( "User" ); - } - System::String ^media = gcnew System::String(""); - if( *hSrl->hIsMediaNand ) - { - media = gcnew System::String( "NAND" ); - } - else - { - media = gcnew System::String( "Game Card" ); - } - System::String ^appother = gcnew System::String(""); - if( *(hSrl->hIsLaunch) == false ) - { - appother += "ƒ‰ƒ“ƒ`ƒƒ[”ñ•\ަ."; - } - if( *(hSrl->hIsDataOnly) == true ) - { - apptype += "ƒf[ƒ^ê—p."; - } - - // ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹ ‚»‚Ì‘¼ - System::String ^access = gcnew System::String(""); - if( *(hSrl->hIsCommonClientKey) == true ) - { - access += "commonClientKey. "; - } - if( *(hSrl->hIsAesSlotBForES) == true ) - { - access += "AES-SlotB(ES). "; - } - if( *(hSrl->hIsAesSlotCForNAM) == true ) - { - access += "AES-SlotC(NAM). "; - } - if( *(hSrl->hIsAesSlotBForJpegEnc) == true ) - { - access += "AES-SlotB(JpegEnc.). "; - } - if( *(hSrl->hIsAesSlotAForSSL) == true ) - { - access += "AES-SlotA(SSL). "; - } - if( *(hSrl->hIsCommonClientKeyForDebugger) == true ) - { - access += "commonClientKey(Debug). "; - } - - // Žg—pƒ‰ƒCƒZƒ“ƒX - System::String ^lib = gcnew System::String(""); - if( hSrl->hLicenseList != nullptr ) - { - for each( RCLicense ^lic in hSrl->hLicenseList ) - { - lib += lic->Publisher + " " + lic->Name + ". "; - } - } - - // ‘—Þƒeƒ“ƒvƒŒ[ƒg‚ÌŠeƒ^ƒO‚ð“ü—Íî•ñ‚É’u‚«Š·‚¦ - System::Xml::XmlNodeList ^list; - list = root->GetElementsByTagName( "Data" ); - System::Int32 i; - for( i=0; i < list->Count; i++ ) - { - System::Xml::XmlNode ^node = list->Item(i); - if( (node->FirstChild != nullptr) && (node->FirstChild->Value != nullptr) ) - { - // ’ñoî•ñ - if( node->FirstChild->Value->Equals( "TagProductName" ) ) - { - node->FirstChild->Value = this->hProductName; - } - if( node->FirstChild->Value->Equals( "TagProductCode1" ) ) - { - node->FirstChild->Value = this->hProductCode1; - } - if( node->FirstChild->Value->Equals( "TagProductCode2" ) ) - { - node->FirstChild->Value = this->hProductCode2; - } - if( node->FirstChild->Value->Equals( "TagReleaseForeign" ) ) - { - if( *(this->hReleaseForeign) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagProductNameForeign" ) ) - { - node->FirstChild->Value = this->hProductNameForeign; - } - if( node->FirstChild->Value->Equals( "TagProductCode1Foreign" ) ) - { - node->FirstChild->Value = this->hProductCode1Foreign; - } - if( node->FirstChild->Value->Equals( "TagProductCode2Foreign" ) ) - { - node->FirstChild->Value = this->hProductCode2Foreign; - } - if( node->FirstChild->Value->Equals( "TagSubmitYear" ) ) - { - node->FirstChild->Value = this->hSubmitYear->ToString(); - } - if( node->FirstChild->Value->Equals( "TagSubmitMonth" ) ) - { - node->FirstChild->Value = this->hSubmitMonth->ToString(); - } - if( node->FirstChild->Value->Equals( "TagSubmitDay" ) ) - { - node->FirstChild->Value = this->hSubmitDay->ToString(); - } - if( node->FirstChild->Value->Equals( "TagReleaseYear" ) ) - { - node->FirstChild->Value = this->hReleaseYear->ToString(); - } - if( node->FirstChild->Value->Equals( "TagReleaseMonth" ) ) - { - node->FirstChild->Value = this->hReleaseMonth->ToString(); - } - if( node->FirstChild->Value->Equals( "TagReleaseDay" ) ) - { - node->FirstChild->Value = this->hReleaseDay->ToString(); - } - if( node->FirstChild->Value->Equals( "TagSubmitWay" ) ) - { - node->FirstChild->Value = this->hSubmitWay; - } - if( node->FirstChild->Value->Equals( "TagUsage" ) ) - { - node->FirstChild->Value = this->hUsage; - } - if( node->FirstChild->Value->Equals( "TagUsageOther" ) ) - { - node->FirstChild->Value = this->hUsageOther; // nullptr ‚̂Ƃ«‚̓Zƒ‹‚ª‹ó‚ɂȂé‚Ì‚ÅD“s‡ - } - if( node->FirstChild->Value->Equals( "TagRomVersion" ) ) - { - if( *(hSrl->hRomVersion) != 0xE0 ) - node->FirstChild->Value = hSrl->hRomVersion->ToString(); - else - node->FirstChild->Value = gcnew System::String( "E" ); - } - if( node->FirstChild->Value->Equals( "TagSubmitVersion" ) ) - { - node->FirstChild->Value = this->hSubmitVersion->ToString(); - } - if( node->FirstChild->Value->Equals( "TagSrlFilename" ) ) - { - node->FirstChild->Value = hSrlFilename; - } - if( node->FirstChild->Value->Equals( "TagCRC" ) ) - { - node->FirstChild->Value = "0x" + hCRC->ToString("X"); - } - // ROMî•ñ - if( node->FirstChild->Value->Equals( "TagLatency" ) ) - { - node->FirstChild->Value = hSrl->hLatency; - } - if( node->FirstChild->Value->Equals( "TagPlatform" ) ) - { - node->FirstChild->Value = hSrl->hPlatform; - } - if( node->FirstChild->Value->Equals( "TagRomSize" ) ) - { - node->FirstChild->Value = hSrl->hRomSize; - } - if( node->FirstChild->Value->Equals( "TagBackupMemory" ) ) - { - node->FirstChild->Value = this->hBackupMemory; - } - if( node->FirstChild->Value->Equals( "TagSDK" ) ) - { - node->FirstChild->Value = this->hSDK; - } - if( node->FirstChild->Value->Equals( "TagLibrary" ) ) - { - node->FirstChild->Value = lib; - } - // ROMî•ñ (TWLŠg’£î•ñ) - if( node->FirstChild->Value->Equals( "TagEULAVersion" ) ) - { - node->FirstChild->Value = hSrl->hEULAVersion->ToString(); - } - if( node->FirstChild->Value->Equals( "TagTitleIDLo" ) ) - { - node->FirstChild->Value = hSrl->hTitleIDLo; - } - if( node->FirstChild->Value->Equals( "TagTitleIDHi" ) ) - { - node->FirstChild->Value = "0x" + hSrl->hTitleIDHi->ToString("X8"); - } - if( node->FirstChild->Value->Equals( "TagAppType" ) ) - { - node->FirstChild->Value = apptype; - } - if( node->FirstChild->Value->Equals( "TagMedia" ) ) - { - node->FirstChild->Value = media; - } - if( node->FirstChild->Value->Equals( "TagAppTypeOther" ) ) - { - node->FirstChild->Value = appother; - } - if( node->FirstChild->Value->Equals( "TagIsNormalJump" ) ) - { - if( *(hSrl->hIsNormalJump) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsTmpJump" ) ) - { - if( *(hSrl->hIsTmpJump) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagNormalRomOffset" ) ) - { - node->FirstChild->Value = "0x" + hSrl->hNormalRomOffset->ToString("X8"); - } - if( node->FirstChild->Value->Equals( "TagKeyTableRomOffset" ) ) - { - node->FirstChild->Value = "0x" + hSrl->hKeyTableRomOffset->ToString("X8"); - } - if( node->FirstChild->Value->Equals( "TagPublicSize" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hPublicSize ); - } - if( node->FirstChild->Value->Equals( "TagPrivateSize" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hPrivateSize ); - } - if( node->FirstChild->Value->Equals( "TagIsRegionJapan" ) ) - { - if( *(hSrl->hIsRegionJapan) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsRegionAmerica" ) ) - { - if( *(hSrl->hIsRegionAmerica) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsRegionEurope" ) ) - { - if( *(hSrl->hIsRegionEurope) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsRegionAustralia" ) ) - { - if( *(hSrl->hIsRegionAustralia) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsCodec" ) ) - { - if( *(hSrl->hIsCodecTWL) == true ) - node->FirstChild->Value = gcnew System::String("TWL"); - else - node->FirstChild->Value = gcnew System::String("NTR"); - } - if( node->FirstChild->Value->Equals( "TagIsEULA" ) ) - { - if( *(hSrl->hIsEULA) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsSubBanner" ) ) - { - if( *(hSrl->hIsSubBanner) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsWiFiIcon" ) ) - { - if( *(hSrl->hIsWiFiIcon) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsWirelessIcon" ) ) - { - if( *(hSrl->hIsWirelessIcon) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsWL" ) ) - { - if( *(hSrl->hIsWL) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsSD" ) ) - { - if( *(hSrl->hIsSD) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsNAND" ) ) - { - if( *(hSrl->hIsNAND) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsShared2" ) ) - { - if( *(hSrl->hIsShared2) == true ) - node->FirstChild->Value = gcnew System::String("›"); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagIsGameCardOn" ) ) - { - if( *(hSrl->hIsGameCardNitro) == true ) - node->FirstChild->Value = gcnew System::String("ON(NTR)"); - else if( *(hSrl->hIsGameCardOn) == true ) - node->FirstChild->Value = gcnew System::String("ON(normal)"); - else - node->FirstChild->Value = gcnew System::String("OFF");; - } - if( node->FirstChild->Value->Equals( "TagAccessOther" ) ) - { - node->FirstChild->Value = access; - } - if( node->FirstChild->Value->Equals( "TagShared2Size0" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hShared2SizeArray[0] ); - } - if( node->FirstChild->Value->Equals( "TagShared2Size1" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hShared2SizeArray[1] ); - } - if( node->FirstChild->Value->Equals( "TagShared2Size2" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hShared2SizeArray[2] ); - } - if( node->FirstChild->Value->Equals( "TagShared2Size3" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hShared2SizeArray[3] ); - } - if( node->FirstChild->Value->Equals( "TagShared2Size4" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hShared2SizeArray[4] ); - } - if( node->FirstChild->Value->Equals( "TagShared2Size5" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transSizeToString( hSrl->hShared2SizeArray[5] ); - } - - // ‰ïŽÐî•ñ - if( node->FirstChild->Value->Equals( "TagCompany1" ) ) - { - node->FirstChild->Value = this->hCompany1; - } - if( node->FirstChild->Value->Equals( "TagPerson1" ) ) - { - node->FirstChild->Value = this->hPerson1; - } - if( node->FirstChild->Value->Equals( "TagFurigana1" ) ) - { - node->FirstChild->Value = this->hFurigana1; - } - if( node->FirstChild->Value->Equals( "TagTel1" ) ) - { - node->FirstChild->Value = this->hTel1; - } - if( node->FirstChild->Value->Equals( "TagFax1" ) ) - { - node->FirstChild->Value = this->hFax1; - } - if( node->FirstChild->Value->Equals( "TagMail1" ) ) - { - node->FirstChild->Value = this->hMail1; - } - if( node->FirstChild->Value->Equals( "TagNTSC1" ) ) - { - node->FirstChild->Value = this->hNTSC1; - } - if( node->FirstChild->Value->Equals( "TagCompany2" ) ) - { - node->FirstChild->Value = this->hCompany2; - } - if( node->FirstChild->Value->Equals( "TagPerson2" ) ) - { - node->FirstChild->Value = this->hPerson2; - } - if( node->FirstChild->Value->Equals( "TagFurigana2" ) ) - { - node->FirstChild->Value = this->hFurigana2; - } - if( node->FirstChild->Value->Equals( "TagTel2" ) ) - { - node->FirstChild->Value = this->hTel2; - } - if( node->FirstChild->Value->Equals( "TagFax2" ) ) - { - node->FirstChild->Value = this->hFax2; - } - if( node->FirstChild->Value->Equals( "TagMail2" ) ) - { - node->FirstChild->Value = this->hMail2; - } - if( node->FirstChild->Value->Equals( "TagNTSC2" ) ) - { - node->FirstChild->Value = this->hNTSC2; - } - - // ”õl - if( node->FirstChild->Value->Equals( "TagCaption" ) ) - { - node->FirstChild->Value = this->hCaption; - } - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - if( node->FirstChild->Value->Equals( "TagRatingCERO" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_CERO ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingCEROStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_CERO, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_CERO ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_CERO ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnableCERO" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_CERO ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysCERO" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_CERO ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - if( node->FirstChild->Value->Equals( "TagRatingESRB" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_ESRB ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingESRBStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_ESRB, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_ESRB ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_ESRB ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnableESRB" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_ESRB ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysESRB" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_ESRB ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - if( node->FirstChild->Value->Equals( "TagRatingUSK" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_USK ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingUSKStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_USK, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_USK ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_USK ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnableUSK" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_USK ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysUSK" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_USK ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - if( node->FirstChild->Value->Equals( "TagRatingPEGI" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_GEN ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingPEGIStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_PEGI_GEN, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_GEN ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_GEN ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnablePEGI" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_GEN ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysPEGI" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_GEN ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - if( node->FirstChild->Value->Equals( "TagRatingPEGIPRT" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_PRT ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingPEGIPRTStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_PEGI_PRT, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_PRT ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_PRT ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnablePEGIPRT" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_PRT ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysPEGIPRT" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_PRT ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - if( node->FirstChild->Value->Equals( "TagRatingPEGIBBFC" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_BBFC ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingPEGIBBFCStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_PEGI_BBFC, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_BBFC ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_BBFC ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnablePEGIBBFC" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_BBFC ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysPEGIBBFC" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_BBFC ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - if( node->FirstChild->Value->Equals( "TagRatingOFLC" ) ) - { - node->FirstChild->Value = hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_OFLC ]->ToString(); - } - if( node->FirstChild->Value->Equals( "TagRatingOFLCStr" ) ) - { - node->FirstChild->Value = MasterEditorTWL::transRatingToString( - OS_TWL_PCTL_OGN_OFLC, - *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_OFLC ]), - *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_OFLC ]), - english ); - } - if( node->FirstChild->Value->Equals( "TagEnableOFLC" ) ) - { - if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_OFLC ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - if( node->FirstChild->Value->Equals( "TagAlwaysOFLC" ) ) - { - if( *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_OFLC ]) ) - node->FirstChild->Value = gcnew System::String( "›" ); - else - node->FirstChild->Value = nullptr; - } - - // ROM“à“o˜^ƒf[ƒ^‚ð1ƒoƒCƒg‚¸‚•\‚É‘‚«ž‚Þ - if( node->FirstChild->Value->Equals( "TagRomVersionHex" ) ) - { - node->FirstChild->Value = hSrl->hRomVersion->ToString("X2"); - } - System::Int32 byte; - for( byte=0; byte < TITLE_NAME_MAX; byte++ ) - { - if( node->FirstChild->Value->Equals( "TagTitleName" + byte.ToString() ) ) - { - System::String ^bstr = hSrl->hTitleName[byte].ToString(); - if( bstr == nullptr ) - node->FirstChild->Value = gcnew System::String( "null" ); - else if( bstr->Equals( "\0" ) ) - node->FirstChild->Value = gcnew System::String( "\\0" ); - else if( bstr->Equals( " " ) ) - node->FirstChild->Value = gcnew System::String( "\\s" ); - else - node->FirstChild->Value = gcnew System::String( bstr ); - //node->FirstChild->Value = gcnew System::String( hSrl->hTitleName[byte].ToString() ); - } - else if( node->FirstChild->Value->Equals( "TagTitleNameHex" + byte.ToString() ) ) - { - node->FirstChild->Value = title_name[byte].ToString("X2"); - } - } - if( node->FirstChild->Value->Equals( "TagGameCode" ) ) - { - node->FirstChild->Value = hSrl->hGameCode; - } - if( node->FirstChild->Value->Equals( "TagMakerCode" ) ) - { - node->FirstChild->Value = hSrl->hMakerCode; - } - - } // if( (node->FirstChild != nullptr) && (node->FirstChild->Value != nullptr) ) - } // for( i=0; i < list->Count; i++ ) - - doc->Save( hFilename ); - - return ECDeliverableResult::NOERROR; -} // ECDeliverableResult RCDeliverable::writeSpreadsheet(System::String ^hFilename, MasterEditorTWL::RCSrl ^hSrl) - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/deliverable.h b/build/tools/MasterEditorTWL/MasterEditorTWL/deliverable.h deleted file mode 100644 index 980c2b23..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/deliverable.h +++ /dev/null @@ -1,109 +0,0 @@ -#pragma once - -// ‘—ÞƒNƒ‰ƒX‚Ì錾 - -#include -#include -#include -#include -#include "common.h" -#include "srl.h" - -namespace MasterEditorTWL -{ - // ------------------------------------------------------------------- - // Type : enum class - // Name : ECDeliverableResult - // - // Description : RCDeliverable ƒNƒ‰ƒX‚Ì‘€ì‚ł̃Gƒ‰[‚ð錾 - // ------------------------------------------------------------------- - enum class ECDeliverableResult - { - NOERROR = 0, - // ƒGƒ‰[“Á’肵‚È‚­‚Ä‚àŒ´ˆö‚ª‚í‚©‚邯‚«‚̕Ԃè’l - // (ƒGƒ‰[‚ª¶‚¶‚é‰Â”\«‚Ì‚ ‚é‰ÓŠ‚ª1‚ etc.) - ERROR, - // ƒtƒ@ƒCƒ‹‘€ì‚ł̃Gƒ‰[ - ERROR_FILE_OPEN, - ERROR_FILE_READ, - ERROR_FILE_WRITE, - }; - - // ------------------------------------------------------------------- - // Type : ref class - // Name : RCDeliverable - // - // Description : ’ño‘—ÞƒNƒ‰ƒX - // - // Role : ’ñoî•ñ‚Ì“üo—Í - // ------------------------------------------------------------------- - ref class RCDeliverable - { - // field - public: - // ’ñoî•ñ - property System::String ^hProductName; // »•i–¼ - property System::String ^hProductCode1; // »•iƒR[ƒh - property System::String ^hProductCode2; // »•iƒR[ƒh - property System::Int32 ^hReleaseYear; // ”­”„—\’è“ú - property System::Int32 ^hReleaseMonth; - property System::Int32 ^hReleaseDay; - property System::Int32 ^hSubmitYear; // ’ño“ú - property System::Int32 ^hSubmitMonth; - property System::Int32 ^hSubmitDay; - property System::String ^hSubmitWay; // ’ño•û–@ - property System::String ^hUsage; // —p“r - property System::String ^hUsageOther; // ‚»‚Ì‘¼‚Ì—p“r - property System::Int32 ^hSubmitVersion; // ’ñoƒo[ƒWƒ‡ƒ“ - property System::String ^hSDK; // SDKƒo[ƒWƒ‡ƒ“ - property System::Boolean ^hReleaseForeign; // ŠCŠO”ł̗\’è - property System::String ^hProductNameForeign; - property System::String ^hProductCode1Foreign; - property System::String ^hProductCode2Foreign; - - // ‰ïŽÐî•ñ - - // ’S“–ŽÒ(1l–Ú) - property System::String ^hCompany1; // ‰ïŽÐ–¼ - property System::String ^hPerson1; // –¼‘O - property System::String ^hFurigana1; // ‚ӂ肪‚È - property System::String ^hTel1; // “d˜b”Ô† - property System::String ^hFax1; // FAX”Ô† - property System::String ^hMail1; // ƒƒAƒh - property System::String ^hNTSC1; // NTSC User ID - // ’S“–ŽÒ(2l–Ú) - property System::String ^hCompany2; - property System::String ^hPerson2; - property System::String ^hFurigana2; - property System::String ^hTel2; - property System::String ^hFax2; - property System::String ^hMail2; - property System::String ^hNTSC2; - - // ”õl - property System::String ^hCaption; - - // ROMƒwƒbƒ_•s‹LÚ‚ÌROMƒoƒCƒiƒŠ(SRL)ŒÅ—Lî•ñ - property System::String ^hBackupMemory; // ƒoƒbƒNƒAƒbƒvƒƒ‚ƒŠ‚ÌŽí•Ê - - // constructor and destructor - public: - - // method - public: - - // - // ‘—Þo—Í - // - // @arg [out] o—̓tƒ@ƒCƒ‹–¼ - // @arg [in] ROMƒoƒCƒiƒŠ(SRL)ŒÅ—Lî•ñ - // @arg [in] ƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC - // @arg [in] SRL‚̃tƒ@ƒCƒ‹–¼(‘—Þ‚É‹Lq‚·‚邽‚߂Ɏg—p) - // @arg [in] ‰pŒêƒtƒ‰ƒO - // - ECDeliverableResult writeSpreadsheet( - System::String ^hFilename, RCSrl ^hSrl, System::UInt16 ^hCRC, System::String ^hSrlFilename, System::Boolean english ); - - }; // end of ref class RCDeliverable - -} // end of namespace MasterEditorTWL diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/keys.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/keys.cpp deleted file mode 100644 index 4e60b258..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/keys.cpp +++ /dev/null @@ -1,251 +0,0 @@ -// –¼—p‚ÌŒ®ƒf[ƒ^ from makerom.TWL - -#include "stdafx.h" -#include -#include -#include "common.h" -#include "keys.h" - -namespace MasterEditorTWL -{ - -#ifdef METWL_VER_APPTYPE_USER - // ŠJ”­‹@—pROMƒwƒbƒ_–¼ŒöŠJŒ® - const u8 g_devPubKey_DER[ 0xa2 ] = { - 0x30, 0x81, 0x9F, 0x30, 0x0D, 0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01, - 0x05, 0x00, 0x03, 0x81, 0x8D, 0x00, 0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xAC, 0x93, 0xBB, - 0x3C, 0x15, 0x5C, 0x5F, 0x25, 0xB0, 0x4C, 0x37, 0xA4, 0x2D, 0x85, 0x29, 0x1D, 0x7A, 0x9D, 0x2D, - 0xD5, 0x79, 0xB5, 0x5D, 0xB1, 0x08, 0x20, 0x9C, 0xF0, 0x4C, 0x56, 0x27, 0x97, 0xF8, 0x7E, 0x3E, - 0xCB, 0x94, 0x06, 0x05, 0x94, 0x00, 0x92, 0x9B, 0xB0, 0x5B, 0x06, 0xF6, 0xAF, 0xAA, 0x9C, 0xA5, - 0xF0, 0x11, 0xA7, 0x8A, 0xCB, 0x0C, 0x11, 0xD6, 0x0C, 0x3D, 0x30, 0xAC, 0x51, 0x79, 0x5A, 0xB5, - 0x7F, 0x11, 0x92, 0x74, 0x48, 0x82, 0x81, 0xBF, 0x3B, 0xFA, 0x93, 0xBF, 0x6B, 0x5B, 0x3F, 0x86, - 0x96, 0x4F, 0xCC, 0x90, 0x12, 0xB2, 0x39, 0x8D, 0x68, 0x16, 0x7B, 0xC6, 0x87, 0xF1, 0xF5, 0x60, - 0x62, 0x39, 0xFB, 0x10, 0x7E, 0x48, 0x7F, 0xDD, 0x82, 0x38, 0x38, 0x76, 0xB5, 0xCE, 0x21, 0x4B, - 0xC9, 0x6F, 0x31, 0x8D, 0x23, 0x57, 0x3D, 0xB6, 0x6C, 0xEE, 0xC2, 0x0D, 0x11, 0x02, 0x03, 0x01, - 0x00, 0x01, - }; - // ŠJ”­‹@—pƒAƒvƒŠROMƒwƒbƒ_–¼”é–§Œ® - const u8 g_devPrivKey_DER[ 0x263 ] = { - 0x30, 0x82, 0x02, 0x5F, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x00, 0xAC, 0x93, 0xBB, 0x3C, 0x15, - 0x5C, 0x5F, 0x25, 0xB0, 0x4C, 0x37, 0xA4, 0x2D, 0x85, 0x29, 0x1D, 0x7A, 0x9D, 0x2D, 0xD5, 0x79, - 0xB5, 0x5D, 0xB1, 0x08, 0x20, 0x9C, 0xF0, 0x4C, 0x56, 0x27, 0x97, 0xF8, 0x7E, 0x3E, 0xCB, 0x94, - 0x06, 0x05, 0x94, 0x00, 0x92, 0x9B, 0xB0, 0x5B, 0x06, 0xF6, 0xAF, 0xAA, 0x9C, 0xA5, 0xF0, 0x11, - 0xA7, 0x8A, 0xCB, 0x0C, 0x11, 0xD6, 0x0C, 0x3D, 0x30, 0xAC, 0x51, 0x79, 0x5A, 0xB5, 0x7F, 0x11, - 0x92, 0x74, 0x48, 0x82, 0x81, 0xBF, 0x3B, 0xFA, 0x93, 0xBF, 0x6B, 0x5B, 0x3F, 0x86, 0x96, 0x4F, - 0xCC, 0x90, 0x12, 0xB2, 0x39, 0x8D, 0x68, 0x16, 0x7B, 0xC6, 0x87, 0xF1, 0xF5, 0x60, 0x62, 0x39, - 0xFB, 0x10, 0x7E, 0x48, 0x7F, 0xDD, 0x82, 0x38, 0x38, 0x76, 0xB5, 0xCE, 0x21, 0x4B, 0xC9, 0x6F, - 0x31, 0x8D, 0x23, 0x57, 0x3D, 0xB6, 0x6C, 0xEE, 0xC2, 0x0D, 0x11, 0x02, 0x03, 0x01, 0x00, 0x01, - 0x02, 0x81, 0x81, 0x00, 0x95, 0xDC, 0xC8, 0x18, 0x19, 0xF8, 0x98, 0x0B, 0x73, 0x78, 0x0C, 0x4D, - 0x7E, 0xD6, 0x06, 0xE9, 0x39, 0x83, 0xEA, 0xBC, 0x59, 0xAF, 0x7C, 0x87, 0xF2, 0x25, 0xD8, 0x02, - 0xF8, 0x57, 0x4C, 0x94, 0xB4, 0xCE, 0x74, 0x9B, 0x76, 0x94, 0x70, 0x1D, 0xA1, 0x0D, 0xAF, 0x33, - 0x4B, 0x28, 0xD5, 0xE9, 0xA0, 0x3F, 0xDD, 0xFD, 0x86, 0x67, 0x36, 0xA8, 0xB2, 0x77, 0x7E, 0xA8, - 0x2C, 0x2E, 0xEB, 0x43, 0x7B, 0xE4, 0xA3, 0x66, 0x7C, 0x3A, 0x00, 0x90, 0xC5, 0xF5, 0xF8, 0x59, - 0xF9, 0x95, 0x88, 0x2A, 0xA8, 0xF4, 0x94, 0x41, 0x05, 0x02, 0xA0, 0x47, 0xC0, 0xC1, 0xB9, 0x80, - 0x1F, 0x49, 0xBB, 0x09, 0xBF, 0x42, 0xBA, 0xE6, 0xEE, 0x8D, 0x21, 0x1D, 0xFB, 0x8F, 0xC7, 0xB7, - 0x71, 0x00, 0xFB, 0x35, 0x13, 0xD8, 0xBC, 0xA3, 0x3F, 0x3A, 0xCF, 0x96, 0xB0, 0x0B, 0x8A, 0x61, - 0x9C, 0x70, 0xF8, 0x91, 0x02, 0x41, 0x00, 0xD8, 0xAA, 0x14, 0x21, 0x49, 0x7A, 0x2C, 0xC3, 0xAA, - 0xDA, 0xFB, 0x17, 0xB0, 0xD7, 0xF5, 0x5A, 0x77, 0xEE, 0xF0, 0xA9, 0x09, 0x18, 0x85, 0x21, 0xD4, - 0x12, 0x4F, 0x85, 0x35, 0x05, 0x20, 0x36, 0x22, 0x65, 0x2C, 0xDD, 0xFA, 0xF5, 0x8E, 0xA5, 0x2E, - 0xC4, 0xFD, 0xD1, 0xFA, 0xC6, 0x8A, 0x0F, 0x98, 0x69, 0xD9, 0x82, 0x50, 0xDF, 0xFA, 0x80, 0xC3, - 0xFE, 0x5E, 0x15, 0x59, 0xA8, 0xD4, 0x05, 0x02, 0x41, 0x00, 0xCB, 0xE8, 0x9A, 0xF2, 0x5F, 0xC1, - 0x75, 0xA5, 0x1E, 0x95, 0xE4, 0x4F, 0x1A, 0x48, 0xA1, 0x75, 0x9A, 0x6E, 0xDB, 0xA2, 0x31, 0xD6, - 0x66, 0x29, 0xEA, 0x19, 0x37, 0x0C, 0xB2, 0x89, 0xD3, 0x03, 0x15, 0xE6, 0x7A, 0x1A, 0xCB, 0xCE, - 0xB9, 0x79, 0x11, 0x9B, 0x71, 0x78, 0xA5, 0xBB, 0x07, 0x6F, 0xA3, 0x05, 0x3B, 0x84, 0x23, 0x47, - 0xAB, 0x20, 0x34, 0x39, 0xB0, 0x59, 0x87, 0xEC, 0xCE, 0x9D, 0x02, 0x41, 0x00, 0xB8, 0xE0, 0x98, - 0x00, 0xB7, 0x64, 0x0B, 0x22, 0x83, 0x7E, 0x0B, 0xD7, 0xF1, 0x4C, 0xB5, 0xCD, 0x96, 0x9D, 0x4A, - 0xB9, 0xD2, 0x4B, 0x1B, 0xFE, 0xFB, 0xA9, 0x0C, 0x35, 0xCC, 0x42, 0x2D, 0x74, 0x43, 0xF1, 0x35, - 0x51, 0xCD, 0x3D, 0x0F, 0x95, 0x1F, 0xCD, 0x74, 0x10, 0x62, 0xFE, 0x5A, 0xFC, 0x67, 0xBF, 0x9A, - 0x9C, 0x3A, 0x4A, 0x84, 0xC4, 0xAF, 0x79, 0x33, 0xEA, 0xDF, 0xF0, 0xD1, 0xC9, 0x02, 0x41, 0x00, - 0xAA, 0x5B, 0x16, 0x00, 0xC2, 0xB1, 0x5D, 0x39, 0x6B, 0x59, 0x2D, 0x5A, 0x4D, 0x0A, 0x3B, 0x22, - 0x86, 0xB8, 0x71, 0x74, 0x8B, 0x90, 0xA4, 0xE0, 0x05, 0xBD, 0xB5, 0x39, 0x3D, 0x7C, 0x5A, 0x37, - 0xAC, 0xB7, 0x56, 0x72, 0x46, 0xAD, 0xDA, 0x54, 0xE4, 0xB9, 0xEA, 0x4E, 0x32, 0xA0, 0x13, 0xF1, - 0x57, 0xD0, 0x4A, 0x4D, 0xF6, 0x2F, 0xAD, 0x2F, 0x85, 0x92, 0x60, 0xDC, 0x1B, 0xEC, 0x63, 0x1D, - 0x02, 0x41, 0x00, 0xAC, 0x40, 0x43, 0xF2, 0x74, 0x2C, 0x56, 0xF4, 0xB9, 0x52, 0xB0, 0xCC, 0x89, - 0xC7, 0x70, 0x33, 0xA9, 0xC0, 0xD3, 0x4E, 0x35, 0xFC, 0x49, 0x69, 0xCB, 0x22, 0x9C, 0x0D, 0xD0, - 0xE1, 0x8F, 0xCC, 0xF4, 0xAD, 0x25, 0xC2, 0xE1, 0x84, 0xD6, 0x34, 0x35, 0x89, 0xFA, 0xC4, 0xBA, - 0x43, 0x34, 0xF4, 0xD2, 0xB2, 0x36, 0x56, 0xB9, 0x96, 0x78, 0x4D, 0x7A, 0xE3, 0x4D, 0xA9, 0x5E, - 0xF5, 0x3E, 0x88, - }; -#endif //#ifdef METWL_VER_APPTYPE_USER - -#ifdef METWL_VER_APPTYPE_SYSTEM - // ŠJ”­—pƒVƒXƒeƒ€ƒAƒvƒŠ ROMƒwƒbƒ_–¼—pŒöŠJŒ® - const u8 g_devPubKey_DER_system[ 0xa2 ] = { - 0x30, 0x81, 0x9F, 0x30, 0x0D, 0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01, - 0x05, 0x00, 0x03, 0x81, 0x8D, 0x00, 0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xE9, 0x9E, 0xA7, - 0x9F, 0x59, 0x4D, 0xF4, 0xA7, 0x60, 0x04, 0xBD, 0x47, 0xF2, 0xB3, 0x64, 0xCD, 0x16, 0x79, 0xC1, - 0x47, 0x39, 0xF6, 0xA9, 0xF8, 0xEE, 0x1A, 0xD0, 0x72, 0xCF, 0x43, 0x97, 0x0C, 0x93, 0xA1, 0x38, - 0x4E, 0x13, 0x40, 0x6C, 0x10, 0x59, 0x43, 0xE2, 0x71, 0x29, 0x54, 0x14, 0x2C, 0xC5, 0xDA, 0x59, - 0x4D, 0xB4, 0x6A, 0xEF, 0x85, 0x61, 0x6F, 0x7F, 0x1C, 0x59, 0x34, 0x2C, 0xC6, 0x24, 0xF3, 0x7B, - 0xC3, 0xB7, 0x40, 0xD1, 0x46, 0xF8, 0x90, 0xB7, 0xC2, 0x98, 0x50, 0xAF, 0x95, 0x52, 0x42, 0xDB, - 0xAC, 0xD6, 0x7E, 0xA9, 0xC3, 0x3D, 0x1B, 0x51, 0x56, 0x07, 0x06, 0xD0, 0x0B, 0x01, 0xBB, 0x58, - 0x93, 0xEA, 0xA0, 0x2C, 0xC7, 0x7D, 0x6A, 0x31, 0x7E, 0xC9, 0xE2, 0xDA, 0xFE, 0x1F, 0x2E, 0x9D, - 0xA7, 0x54, 0x84, 0xDC, 0x28, 0xB9, 0x18, 0xEA, 0x16, 0xF2, 0x95, 0x55, 0x6D, 0x02, 0x03, 0x01, - 0x00, 0x01, - }; - - // ŠJ”­—pƒVƒXƒeƒ€ƒAƒvƒŠ ROMƒwƒbƒ_–¼—p”é–§Œ® - const u8 g_devPrivKey_DER_system[ 0x263 ] = { - 0x30, 0x82, 0x02, 0x5E, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x00, 0xE9, 0x9E, 0xA7, 0x9F, 0x59, - 0x4D, 0xF4, 0xA7, 0x60, 0x04, 0xBD, 0x47, 0xF2, 0xB3, 0x64, 0xCD, 0x16, 0x79, 0xC1, 0x47, 0x39, - 0xF6, 0xA9, 0xF8, 0xEE, 0x1A, 0xD0, 0x72, 0xCF, 0x43, 0x97, 0x0C, 0x93, 0xA1, 0x38, 0x4E, 0x13, - 0x40, 0x6C, 0x10, 0x59, 0x43, 0xE2, 0x71, 0x29, 0x54, 0x14, 0x2C, 0xC5, 0xDA, 0x59, 0x4D, 0xB4, - 0x6A, 0xEF, 0x85, 0x61, 0x6F, 0x7F, 0x1C, 0x59, 0x34, 0x2C, 0xC6, 0x24, 0xF3, 0x7B, 0xC3, 0xB7, - 0x40, 0xD1, 0x46, 0xF8, 0x90, 0xB7, 0xC2, 0x98, 0x50, 0xAF, 0x95, 0x52, 0x42, 0xDB, 0xAC, 0xD6, - 0x7E, 0xA9, 0xC3, 0x3D, 0x1B, 0x51, 0x56, 0x07, 0x06, 0xD0, 0x0B, 0x01, 0xBB, 0x58, 0x93, 0xEA, - 0xA0, 0x2C, 0xC7, 0x7D, 0x6A, 0x31, 0x7E, 0xC9, 0xE2, 0xDA, 0xFE, 0x1F, 0x2E, 0x9D, 0xA7, 0x54, - 0x84, 0xDC, 0x28, 0xB9, 0x18, 0xEA, 0x16, 0xF2, 0x95, 0x55, 0x6D, 0x02, 0x03, 0x01, 0x00, 0x01, - 0x02, 0x81, 0x81, 0x00, 0xCF, 0x67, 0xAA, 0x3B, 0x1F, 0x26, 0xC5, 0x68, 0x7F, 0x27, 0x55, 0xFF, - 0xF5, 0x29, 0x6C, 0xF9, 0x62, 0xD5, 0xCF, 0x50, 0xF3, 0xD5, 0xD8, 0x4B, 0x06, 0xE0, 0xC9, 0x64, - 0xD4, 0x3B, 0x96, 0x73, 0x74, 0xF1, 0x71, 0xB2, 0x67, 0x07, 0x0F, 0xA9, 0x68, 0x06, 0x8B, 0x97, - 0x99, 0x70, 0x6A, 0xC4, 0xE1, 0x16, 0x9B, 0xA8, 0x0F, 0xDF, 0xCC, 0x2B, 0xE7, 0x37, 0xFC, 0x6A, - 0x67, 0x8B, 0x99, 0x9E, 0xD1, 0xDA, 0xCC, 0x68, 0xFC, 0xEB, 0x8D, 0xFE, 0x42, 0x84, 0x72, 0x88, - 0x05, 0xAF, 0x23, 0x32, 0x30, 0x1F, 0xFA, 0xCC, 0x67, 0x52, 0x93, 0x6C, 0xC1, 0x0A, 0xCF, 0xD6, - 0xD3, 0x5F, 0x75, 0xE9, 0x4D, 0x32, 0xC0, 0x31, 0x1B, 0xD4, 0xB5, 0x4B, 0xB4, 0x4E, 0xB0, 0x3E, - 0xD5, 0x6C, 0x3C, 0xDC, 0x57, 0xBB, 0x32, 0x24, 0x41, 0x9C, 0x79, 0xBE, 0xFC, 0xC0, 0x3B, 0x63, - 0x0C, 0x5D, 0xC6, 0xE5, 0x02, 0x41, 0x00, 0xF6, 0x77, 0x12, 0x72, 0x63, 0xD0, 0x9B, 0x22, 0xC6, - 0x4F, 0x19, 0x1E, 0x2A, 0xE1, 0x97, 0xCF, 0x28, 0xD3, 0xC3, 0x5E, 0xFB, 0x22, 0x57, 0xE5, 0x4F, - 0x90, 0x83, 0x53, 0xB0, 0x80, 0xD3, 0x2D, 0xFB, 0x77, 0x55, 0x52, 0x5E, 0x00, 0xD8, 0x72, 0x39, - 0x93, 0xF0, 0x89, 0x83, 0x97, 0xFB, 0x78, 0xD2, 0xB0, 0xCD, 0xED, 0x1C, 0x9B, 0x8F, 0x5D, 0xBD, - 0x00, 0x26, 0x37, 0xA1, 0xE5, 0x38, 0xE7, 0x02, 0x41, 0x00, 0xF2, 0xA8, 0x5D, 0x86, 0xE0, 0x33, - 0xC8, 0x93, 0x5C, 0xB9, 0xBD, 0xCF, 0x27, 0x70, 0x81, 0x79, 0xE1, 0x12, 0x82, 0x09, 0x64, 0xCB, - 0xDB, 0xCF, 0xBB, 0x52, 0xD3, 0x3F, 0x22, 0x90, 0x47, 0x23, 0xAA, 0x20, 0x7D, 0x92, 0xFD, 0xD6, - 0x58, 0x68, 0xF3, 0xB1, 0xFA, 0x7B, 0x81, 0x0D, 0x8F, 0x22, 0xDC, 0x84, 0x08, 0x91, 0x60, 0x07, - 0xE8, 0x98, 0x9A, 0x84, 0xDA, 0x4C, 0x24, 0xC7, 0x10, 0x8B, 0x02, 0x41, 0x00, 0xB3, 0xB0, 0xAA, - 0x75, 0x55, 0xCA, 0x90, 0x60, 0xB1, 0x1E, 0x98, 0x1C, 0x83, 0x7D, 0x08, 0x36, 0x53, 0xF8, 0xD8, - 0x77, 0x16, 0x37, 0xBA, 0xC7, 0x87, 0xD3, 0xBF, 0xBB, 0xB3, 0x72, 0xA9, 0x04, 0xDC, 0x52, 0xEB, - 0x94, 0xEA, 0xCE, 0x49, 0x00, 0x36, 0x74, 0x62, 0xA9, 0x8F, 0x94, 0xAE, 0x16, 0x2F, 0xDE, 0x11, - 0xB4, 0xEE, 0xE7, 0x87, 0x85, 0xFB, 0x36, 0xF1, 0xA6, 0x1B, 0xD5, 0xC8, 0x3F, 0x02, 0x40, 0x73, - 0x18, 0x72, 0xCC, 0x1F, 0x99, 0xD0, 0x40, 0x3D, 0x52, 0x08, 0x7A, 0xB2, 0x5D, 0x45, 0xBC, 0x76, - 0x8A, 0x1D, 0xCD, 0xB0, 0xD6, 0x94, 0xDB, 0x32, 0x21, 0xB5, 0xFB, 0x13, 0x3C, 0xD5, 0xD1, 0x4F, - 0xC7, 0x7B, 0x68, 0x76, 0x27, 0xED, 0xE5, 0x51, 0xF9, 0x90, 0x32, 0x76, 0x62, 0xE5, 0x0A, 0x87, - 0x07, 0xC5, 0x3C, 0x97, 0x0D, 0x09, 0x41, 0x20, 0xC1, 0x74, 0xFD, 0x7A, 0xD0, 0x44, 0xC3, 0x02, - 0x41, 0x00, 0xAF, 0xA3, 0x2C, 0x53, 0x8E, 0x8E, 0xA8, 0xE7, 0x36, 0xC0, 0x5C, 0x9E, 0x95, 0xEE, - 0xC1, 0x97, 0x02, 0x63, 0x7F, 0x3B, 0x4E, 0xB2, 0x0F, 0xF2, 0x7A, 0xBD, 0x57, 0x9C, 0x8B, 0x85, - 0xA8, 0x5D, 0x14, 0x3B, 0x7B, 0xF0, 0xBE, 0xFE, 0x0F, 0x8E, 0x4F, 0xD5, 0xB8, 0x49, 0xE8, 0x90, - 0xF5, 0x12, 0xBF, 0xB2, 0xD6, 0xE2, 0x78, 0x20, 0x26, 0x6C, 0x3F, 0x5C, 0xE4, 0x57, 0x6D, 0xE9, - 0xB4, 0x63, - }; -#endif // #ifdef METWL_VER_APPTYPE_SYSTEM - -#ifdef METWL_VER_APPTYPE_SECURE - // ŠJ”­—pƒVƒ‡ƒbƒvƒAƒvƒŠ ROMƒwƒbƒ_–¼—pŒöŠJŒ® - const u8 g_devPubKey_DER_secure[ 0xa2 ] = { - 0x30, 0x81, 0x9F, 0x30, 0x0D, 0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01, - 0x05, 0x00, 0x03, 0x81, 0x8D, 0x00, 0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xA7, 0x9F, 0x54, - 0xA0, 0xC7, 0x45, 0xAE, 0xF6, 0x63, 0xA7, 0x53, 0xB7, 0x0A, 0xCC, 0x0B, 0xCB, 0x65, 0xE1, 0x11, - 0xC6, 0x05, 0x15, 0xB5, 0x6E, 0xBD, 0xAC, 0x0C, 0xCA, 0xF4, 0x7C, 0x68, 0x7A, 0xF9, 0x0E, 0x5D, - 0x98, 0x5B, 0xC8, 0x4D, 0x22, 0x3B, 0xA3, 0xBE, 0x8B, 0x5B, 0x7F, 0x26, 0x44, 0x9F, 0xC4, 0x48, - 0x44, 0xB1, 0x32, 0xB7, 0xBE, 0x63, 0xBA, 0xD6, 0xC1, 0x10, 0xCE, 0xF6, 0xED, 0x47, 0x8F, 0xE1, - 0xFF, 0x7F, 0x5A, 0xD5, 0x5D, 0x94, 0x38, 0x2F, 0xA1, 0xD4, 0xEF, 0x82, 0xB1, 0x0D, 0xC4, 0x43, - 0xEC, 0xBE, 0x77, 0xB6, 0x82, 0x9C, 0xFA, 0x17, 0x87, 0x84, 0x82, 0x25, 0x46, 0xFB, 0xD6, 0x05, - 0xC8, 0x9A, 0x7E, 0xAD, 0x44, 0x40, 0x0D, 0x35, 0x9C, 0x45, 0x44, 0x64, 0x36, 0x61, 0x4B, 0xF7, - 0xE6, 0x31, 0x5C, 0x7D, 0x96, 0x73, 0xE8, 0xAC, 0xB4, 0xE3, 0x5E, 0xD1, 0x9D, 0x02, 0x03, 0x01, - 0x00, 0x01, - }; - - // ŠJ”­—pƒVƒ‡ƒbƒvƒAƒvƒŠ ROMƒwƒbƒ_–¼—p”é–§Œ® - const u8 g_devPrivKey_DER_secure[ 0x263 ] = { - 0x30, 0x82, 0x02, 0x5D, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x00, 0xA7, 0x9F, 0x54, 0xA0, 0xC7, - 0x45, 0xAE, 0xF6, 0x63, 0xA7, 0x53, 0xB7, 0x0A, 0xCC, 0x0B, 0xCB, 0x65, 0xE1, 0x11, 0xC6, 0x05, - 0x15, 0xB5, 0x6E, 0xBD, 0xAC, 0x0C, 0xCA, 0xF4, 0x7C, 0x68, 0x7A, 0xF9, 0x0E, 0x5D, 0x98, 0x5B, - 0xC8, 0x4D, 0x22, 0x3B, 0xA3, 0xBE, 0x8B, 0x5B, 0x7F, 0x26, 0x44, 0x9F, 0xC4, 0x48, 0x44, 0xB1, - 0x32, 0xB7, 0xBE, 0x63, 0xBA, 0xD6, 0xC1, 0x10, 0xCE, 0xF6, 0xED, 0x47, 0x8F, 0xE1, 0xFF, 0x7F, - 0x5A, 0xD5, 0x5D, 0x94, 0x38, 0x2F, 0xA1, 0xD4, 0xEF, 0x82, 0xB1, 0x0D, 0xC4, 0x43, 0xEC, 0xBE, - 0x77, 0xB6, 0x82, 0x9C, 0xFA, 0x17, 0x87, 0x84, 0x82, 0x25, 0x46, 0xFB, 0xD6, 0x05, 0xC8, 0x9A, - 0x7E, 0xAD, 0x44, 0x40, 0x0D, 0x35, 0x9C, 0x45, 0x44, 0x64, 0x36, 0x61, 0x4B, 0xF7, 0xE6, 0x31, - 0x5C, 0x7D, 0x96, 0x73, 0xE8, 0xAC, 0xB4, 0xE3, 0x5E, 0xD1, 0x9D, 0x02, 0x03, 0x01, 0x00, 0x01, - 0x02, 0x81, 0x80, 0x48, 0xCA, 0x9C, 0x49, 0xA5, 0xBF, 0xD1, 0x17, 0x16, 0x77, 0x97, 0x97, 0x29, - 0x8D, 0x2A, 0xA2, 0x0D, 0x80, 0x0B, 0xE3, 0xDE, 0x59, 0x6B, 0x0C, 0xC8, 0x39, 0x6A, 0xE4, 0xC7, - 0xFF, 0x2E, 0xB0, 0x18, 0x6F, 0xF0, 0x9D, 0x35, 0x5E, 0x6A, 0x80, 0xAF, 0x3D, 0x90, 0x85, 0x9C, - 0x1A, 0x3F, 0x58, 0x15, 0xB9, 0x7B, 0x58, 0xB9, 0x4A, 0xB9, 0x18, 0x68, 0xDE, 0xBE, 0x5B, 0xE1, - 0x1C, 0xBF, 0x85, 0xDF, 0x5F, 0x30, 0xFD, 0xD2, 0xEC, 0xC0, 0x77, 0x33, 0x62, 0x58, 0xEC, 0xC1, - 0x47, 0xF7, 0x41, 0xE8, 0x2B, 0x21, 0x83, 0xE0, 0x8E, 0xE0, 0xF4, 0x03, 0x5D, 0x07, 0x84, 0x91, - 0xFA, 0x5B, 0xD8, 0xD3, 0x47, 0x90, 0x6E, 0x7D, 0x81, 0x9C, 0x1A, 0xB3, 0x03, 0x2F, 0xBC, 0x1A, - 0x28, 0x01, 0xBB, 0x78, 0x33, 0x60, 0xD2, 0x32, 0x34, 0x09, 0xEE, 0x08, 0x35, 0x50, 0x7A, 0x02, - 0x77, 0xB9, 0x01, 0x02, 0x41, 0x00, 0xCF, 0x39, 0xB3, 0x95, 0xDB, 0x1A, 0x2C, 0xD5, 0x6B, 0x0E, - 0xD8, 0x7B, 0xEC, 0x36, 0x14, 0xC5, 0x6C, 0x6C, 0x03, 0x34, 0xCB, 0x8A, 0x03, 0xF0, 0x94, 0x9C, - 0x2E, 0xBB, 0xA4, 0x24, 0x85, 0x6F, 0x3C, 0x8B, 0xAD, 0x44, 0x88, 0xA1, 0xDC, 0x88, 0xFE, 0xE7, - 0x02, 0x24, 0xB3, 0x73, 0xEA, 0xD1, 0xF6, 0x61, 0x6A, 0x73, 0x00, 0x86, 0x0B, 0x67, 0xAB, 0x00, - 0xFB, 0xF7, 0xFD, 0x0D, 0x92, 0x91, 0x02, 0x41, 0x00, 0xCF, 0x13, 0x5C, 0xD1, 0x72, 0x12, 0xA5, - 0x1D, 0x3A, 0x86, 0xAB, 0xAC, 0x87, 0x11, 0x37, 0x6D, 0xEB, 0x90, 0x14, 0x41, 0x7B, 0xAA, 0x38, - 0x88, 0xFF, 0xAF, 0xAA, 0xAE, 0x12, 0x3E, 0x7C, 0x28, 0x59, 0xDB, 0xBE, 0xAE, 0x79, 0x20, 0x0C, - 0x4F, 0xE5, 0xAB, 0x97, 0x64, 0x0D, 0x1E, 0x31, 0x54, 0x10, 0xB0, 0x1C, 0x7E, 0x5A, 0x7B, 0x98, - 0x32, 0x00, 0xF7, 0xE0, 0x18, 0x15, 0x53, 0xFC, 0x4D, 0x02, 0x41, 0x00, 0x90, 0x5F, 0x38, 0x01, - 0xD0, 0x9B, 0x44, 0xDF, 0x0F, 0x6E, 0x51, 0x5E, 0xCC, 0xEB, 0xC4, 0xBE, 0xE2, 0xD1, 0xC1, 0xCE, - 0x17, 0x7C, 0x39, 0x50, 0x74, 0x88, 0xF7, 0x7A, 0x1D, 0x5A, 0xA0, 0x68, 0x26, 0x3B, 0x7D, 0xE4, - 0xC0, 0x78, 0x5C, 0x68, 0x49, 0x86, 0xF2, 0x14, 0x55, 0xBE, 0x0D, 0xBC, 0x68, 0x35, 0xE8, 0x6E, - 0xE4, 0xCF, 0x7E, 0xC4, 0xA3, 0xFB, 0xD4, 0x90, 0x2A, 0x8A, 0x39, 0x31, 0x02, 0x41, 0x00, 0x93, - 0x88, 0xE3, 0x17, 0xA2, 0xA3, 0xA0, 0x1A, 0x4C, 0x09, 0x89, 0x24, 0xD9, 0xF2, 0xAD, 0x40, 0x56, - 0x96, 0x07, 0xA8, 0x84, 0x18, 0x4A, 0x41, 0x69, 0x92, 0x5A, 0x13, 0xBD, 0x91, 0xE1, 0x59, 0xCA, - 0x73, 0xE2, 0xCE, 0x62, 0x24, 0x30, 0x41, 0x78, 0x8C, 0x21, 0xC7, 0xBA, 0x04, 0xE9, 0xF6, 0x50, - 0x11, 0x79, 0xAB, 0x98, 0x81, 0xF8, 0x74, 0x9F, 0xF5, 0xFB, 0x26, 0x8D, 0x83, 0x91, 0xFD, 0x02, - 0x40, 0x4D, 0xA4, 0x03, 0x7E, 0x00, 0xB6, 0xA2, 0xEE, 0x85, 0x19, 0x5C, 0xB3, 0xBE, 0x06, 0x48, - 0xF7, 0xA8, 0x27, 0xB3, 0xC9, 0xED, 0x60, 0xE1, 0x56, 0x0A, 0x3F, 0x8D, 0x64, 0x56, 0xBA, 0x2E, - 0xC3, 0xF6, 0x2D, 0x95, 0x38, 0x87, 0x58, 0xD6, 0x95, 0xF7, 0xA6, 0xD6, 0xEE, 0x85, 0x7D, 0xD7, - 0x93, 0x80, 0xF5, 0x1D, 0xBF, 0x5F, 0x3E, 0x3A, 0x22, 0x29, 0x18, 0xE5, 0x95, 0x73, 0x0D, 0xEA, - 0x42, - }; -#endif // #ifdef METWL_VER_APPTYPE_SECURE - -#ifdef METWL_VER_APPTYPE_LAUNCHER - // ŠJ”­—pƒVƒXƒeƒ€ƒAƒvƒŠ ROMƒwƒbƒ_–¼—pŒöŠJŒ® - const u8 g_devPubKey_DER_launcher[ 0xa2 ] = { - 0x30, 0x81, 0x9F, 0x30, 0x0D, 0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01, - 0x05, 0x00, 0x03, 0x81, 0x8D, 0x00, 0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xBC, 0xFD, 0xA1, - 0xFF, 0x1F, 0x66, 0xDF, 0xEC, 0xB4, 0x69, 0xF8, 0xF7, 0x43, 0x0C, 0x5D, 0x0F, 0x00, 0xD7, 0x20, - 0x49, 0x42, 0x06, 0x03, 0x29, 0x85, 0x0B, 0x99, 0x59, 0x61, 0x98, 0x70, 0x6E, 0xFF, 0xF6, 0xB4, - 0x70, 0x66, 0xF0, 0xDD, 0x8F, 0xDC, 0xE9, 0xF2, 0x0D, 0xD0, 0x21, 0x1D, 0x77, 0xB8, 0x9C, 0x51, - 0x87, 0xC0, 0xB1, 0x33, 0xAB, 0x13, 0x96, 0x0B, 0x47, 0xB8, 0x42, 0x4A, 0x0D, 0xC3, 0x77, 0xE1, - 0x87, 0xB1, 0x6B, 0x24, 0x31, 0x10, 0x8A, 0x47, 0xF2, 0x32, 0xF4, 0xC9, 0x78, 0x25, 0x13, 0xD4, - 0x80, 0x10, 0x05, 0x52, 0xC3, 0xE7, 0x50, 0x7B, 0x29, 0x49, 0xCE, 0x93, 0xD9, 0x8F, 0x2A, 0xB5, - 0x4D, 0xD1, 0xC1, 0x91, 0xD8, 0x07, 0x16, 0x10, 0x15, 0xFF, 0xD6, 0x84, 0x8F, 0x54, 0x3D, 0x91, - 0x5B, 0x37, 0x45, 0x48, 0xE4, 0x6B, 0x62, 0xD2, 0x11, 0x9B, 0x0D, 0x71, 0x69, 0x02, 0x03, 0x01, - 0x00, 0x01, - }; - - // ŠJ”­—pƒVƒXƒeƒ€ƒAƒvƒŠ ROMƒwƒbƒ_–¼—p”é–§Œ® - const u8 g_devPrivKey_DER_launcher[ 0x263 ] = { - 0x30, 0x82, 0x02, 0x5D, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x00, 0xBC, 0xFD, 0xA1, 0xFF, 0x1F, - 0x66, 0xDF, 0xEC, 0xB4, 0x69, 0xF8, 0xF7, 0x43, 0x0C, 0x5D, 0x0F, 0x00, 0xD7, 0x20, 0x49, 0x42, - 0x06, 0x03, 0x29, 0x85, 0x0B, 0x99, 0x59, 0x61, 0x98, 0x70, 0x6E, 0xFF, 0xF6, 0xB4, 0x70, 0x66, - 0xF0, 0xDD, 0x8F, 0xDC, 0xE9, 0xF2, 0x0D, 0xD0, 0x21, 0x1D, 0x77, 0xB8, 0x9C, 0x51, 0x87, 0xC0, - 0xB1, 0x33, 0xAB, 0x13, 0x96, 0x0B, 0x47, 0xB8, 0x42, 0x4A, 0x0D, 0xC3, 0x77, 0xE1, 0x87, 0xB1, - 0x6B, 0x24, 0x31, 0x10, 0x8A, 0x47, 0xF2, 0x32, 0xF4, 0xC9, 0x78, 0x25, 0x13, 0xD4, 0x80, 0x10, - 0x05, 0x52, 0xC3, 0xE7, 0x50, 0x7B, 0x29, 0x49, 0xCE, 0x93, 0xD9, 0x8F, 0x2A, 0xB5, 0x4D, 0xD1, - 0xC1, 0x91, 0xD8, 0x07, 0x16, 0x10, 0x15, 0xFF, 0xD6, 0x84, 0x8F, 0x54, 0x3D, 0x91, 0x5B, 0x37, - 0x45, 0x48, 0xE4, 0x6B, 0x62, 0xD2, 0x11, 0x9B, 0x0D, 0x71, 0x69, 0x02, 0x03, 0x01, 0x00, 0x01, - 0x02, 0x81, 0x80, 0x16, 0x65, 0xDC, 0xC8, 0x16, 0x99, 0xA3, 0x9A, 0x32, 0xFB, 0x88, 0x35, 0x0D, - 0xAE, 0x2E, 0x6D, 0x33, 0xC5, 0x4B, 0x1F, 0x43, 0x82, 0xE0, 0xE7, 0x0F, 0xCC, 0x83, 0x1D, 0x13, - 0xB2, 0xF4, 0x48, 0x43, 0x6F, 0xA2, 0x8C, 0xDB, 0xB6, 0x5A, 0x1B, 0xCD, 0xAB, 0xB0, 0x33, 0x30, - 0xE2, 0x6B, 0xD2, 0x9F, 0x7F, 0x6F, 0x2E, 0x2E, 0x89, 0x11, 0xBD, 0x89, 0xB1, 0xB3, 0x9E, 0x89, - 0x58, 0xD9, 0xDB, 0xB9, 0x91, 0x00, 0xDA, 0x17, 0xA9, 0x14, 0xC3, 0x83, 0xFF, 0xFF, 0x46, 0x0F, - 0x5F, 0x81, 0x1B, 0x5B, 0x02, 0xD2, 0x29, 0xEF, 0x48, 0xB7, 0xDF, 0x8C, 0x34, 0xED, 0xA2, 0xEC, - 0xC0, 0x79, 0x50, 0xC6, 0xAD, 0x0B, 0x98, 0x28, 0xC2, 0x17, 0x80, 0x96, 0x67, 0x3A, 0x22, 0xD7, - 0x60, 0x61, 0x98, 0xF6, 0xAB, 0x10, 0x1E, 0xE6, 0x23, 0x06, 0x4B, 0x61, 0xAF, 0xFE, 0xD5, 0xAF, - 0xB8, 0x3D, 0x81, 0x02, 0x41, 0x00, 0xE2, 0x82, 0xC3, 0x83, 0x2A, 0xEF, 0xA0, 0x86, 0x15, 0xFD, - 0x80, 0x23, 0x2B, 0x1C, 0x80, 0x0C, 0xF7, 0xA0, 0xA3, 0x53, 0x2B, 0xAD, 0xF9, 0xF6, 0xF7, 0xA3, - 0x7E, 0x1A, 0x5E, 0xE7, 0x18, 0x6D, 0xF3, 0xD6, 0xDE, 0x68, 0xBB, 0x4A, 0x54, 0xAF, 0xDF, 0xA5, - 0xEC, 0xA7, 0x62, 0xBB, 0xCB, 0x7A, 0xDE, 0x3F, 0xFB, 0x9A, 0x99, 0x2A, 0xF7, 0x2D, 0x23, 0x98, - 0x9A, 0x9F, 0xCE, 0xFB, 0x67, 0xB1, 0x02, 0x41, 0x00, 0xD5, 0x98, 0x63, 0x19, 0x3D, 0x80, 0xDF, - 0x71, 0x13, 0x6A, 0xF4, 0x5E, 0x62, 0x99, 0x16, 0x34, 0x18, 0xF9, 0xDC, 0x58, 0x2F, 0xC3, 0xD8, - 0x8B, 0x68, 0xC1, 0x43, 0x98, 0xF0, 0xEC, 0x39, 0xE3, 0x40, 0x6E, 0x08, 0x9F, 0xED, 0x17, 0xBE, - 0xCC, 0x87, 0x4A, 0xAD, 0x99, 0x15, 0x09, 0xD0, 0xBB, 0xDB, 0x13, 0xF0, 0x53, 0xDF, 0xCB, 0x66, - 0x1A, 0xD1, 0xF2, 0x14, 0xB7, 0x17, 0xFA, 0xCB, 0x39, 0x02, 0x41, 0x00, 0xD8, 0xA2, 0x05, 0x89, - 0x32, 0x8C, 0x41, 0xB3, 0x5B, 0xDE, 0xBA, 0x29, 0x68, 0x76, 0xF6, 0x84, 0xF0, 0x64, 0x23, 0x30, - 0x4D, 0x4B, 0x34, 0x11, 0x1E, 0x60, 0xB0, 0x1F, 0x5A, 0x7A, 0x9C, 0xE3, 0xB3, 0xDC, 0xE1, 0x93, - 0xBA, 0xE4, 0x69, 0x40, 0x57, 0x9E, 0xA2, 0x4A, 0xA8, 0x64, 0x41, 0x44, 0xBE, 0xC0, 0xE4, 0xCA, - 0xC4, 0x08, 0xD2, 0xA3, 0xCA, 0x32, 0x8E, 0x57, 0x9F, 0x26, 0xD4, 0xD1, 0x02, 0x41, 0x00, 0x9B, - 0xD5, 0x50, 0x07, 0xAC, 0x2D, 0x87, 0xD7, 0x71, 0xB9, 0x48, 0x8C, 0x4C, 0x17, 0x30, 0x71, 0xD5, - 0xFF, 0x05, 0x59, 0x79, 0x8F, 0xC3, 0x3F, 0x02, 0xB0, 0x6D, 0xE6, 0xF9, 0x6E, 0xFF, 0x54, 0xE3, - 0x3E, 0xE4, 0x1F, 0xF9, 0xD4, 0xA7, 0x29, 0x85, 0x53, 0x60, 0x90, 0x1D, 0x1F, 0x4A, 0x20, 0xA4, - 0x57, 0x49, 0xB1, 0x87, 0xC7, 0x57, 0xB9, 0x1D, 0x8F, 0x26, 0xB9, 0xE6, 0x4E, 0xDD, 0x51, 0x02, - 0x40, 0x4F, 0xE6, 0xC8, 0x11, 0x14, 0xA2, 0xF9, 0xC3, 0xD1, 0x7B, 0x74, 0x48, 0x8F, 0x33, 0xB4, - 0xF6, 0xFF, 0xEE, 0xDC, 0x4E, 0x34, 0xF9, 0x66, 0xB8, 0x25, 0x3A, 0x05, 0xF5, 0x29, 0x1B, 0x12, - 0x61, 0x6C, 0xCD, 0xF1, 0x0D, 0xE6, 0x68, 0xED, 0x81, 0x44, 0x96, 0x07, 0x5A, 0x43, 0x72, 0x93, - 0xDC, 0xEE, 0xD7, 0x81, 0x82, 0x22, 0x5E, 0x07, 0x15, 0x02, 0xA5, 0xE9, 0x54, 0x59, 0x86, 0x03, - 0x02, - }; -#endif // #ifdef METWL_VER_APPTYPE_LAUNCHER - -} // end of namespace MasterEditorTWL \ No newline at end of file diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/keys.h b/build/tools/MasterEditorTWL/MasterEditorTWL/keys.h deleted file mode 100644 index d33aef3b..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/keys.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -// –¼—p‚ÌŒ®ƒf[ƒ^‚Ì錾 - -#include -#include - -namespace MasterEditorTWL -{ - // ŠJ”­‹@—pROMƒwƒbƒ_–¼Œ® - -#ifdef METWL_VER_APPTYPE_USER - extern const u8 g_devPubKey_DER[ 0xa2 ]; - extern const u8 g_devPrivKey_DER[ 0x263 ]; -#endif -#ifdef METWL_VER_APPTYPE_SYSTEM - extern const u8 g_devPubKey_DER_system[ 0xa2 ]; - extern const u8 g_devPrivKey_DER_system[ 0x263 ]; -#endif -#ifdef METWL_VER_APPTYPE_SECURE - extern const u8 g_devPubKey_DER_secure[ 0xa2 ]; - extern const u8 g_devPrivKey_DER_secure[ 0x263 ]; -#endif -#ifdef METWL_VER_APPTYPE_LAUNCHER - extern const u8 g_devPubKey_DER_launcher[ 0xa2 ]; - extern const u8 g_devPrivKey_DER_launcher[ 0x263 ]; -#endif - -} // end of namespace MasterEditorTWL diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/lang.h b/build/tools/MasterEditorTWL/MasterEditorTWL/lang.h deleted file mode 100644 index 47867ce5..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/lang.h +++ /dev/null @@ -1,98 +0,0 @@ -#pragma once - -// —Ê‚ª‘½‚¢‚̂łЂƂ܂¸“ü—Í‚ ‚è‚Ì€–Ú‚Ì‚Ý - -#define LANG_PRODUCT_NAME_J ("»•i–¼") -#define LANG_PRODUCT_LIMIT_J ("(30•¶ŽšˆÈ“à)") -#define LANG_PRODUCT_CODE_J ("»•iƒR[ƒh") -#define LANG_RELEASE_DATE_J ("”­”„—\’è“ú") -#define LANG_SUBMIT_DATE_J ("‘—Þ’ño“ú") -#define LANG_SUBMIT_WAY_J ("’ño•û–@") -#define LANG_SUBMIT_POST_J ("—X‘—") -#define LANG_SUBMIT_HAND_J ("Žè“n‚µ") -#define LANG_USAGE_J ("—p“r") -#define LANG_USAGE_SALE_J ("ˆê”ʔ̔„—p") -#define LANG_USAGE_SAMPLE_J ("ŽŽ—V‘ä—p") -#define LANG_USAGE_DST_J ("ƒf[ƒ^”zM—p") -#define LANG_USAGE_OTHER_J ("‚»‚Ì‘¼") -#define LANG_BACKUP_J ("ƒoƒbƒNƒAƒbƒvƒƒ‚ƒŠ") -#define LANG_SUBMIT_VER_J ("’ñoƒo[ƒWƒ‡ƒ“") -#define LANG_SUBMIT_VER_CAP_J ("* ƒŠƒ}ƒXƒ^[ƒo[ƒWƒ‡ƒ“‚ªã‚ª‚邯ĂÑ0‚©‚çƒJƒEƒ“ƒg") -#define LANG_F_J ("ŠCŠO”Å") -#define LANG_PRODUCT_NAME_F_J ("»•i–¼") -#define LANG_PRODUCT_CODE_F_J ("»•iƒR[ƒh") -#define LANG_RELEASE_F_J ("ŠCŠO”ł𔭔„‚·‚é(—\’è)") -#define LANG_MULTI_F_J ("(•¡”‚ ‚éꇂ̂Ý)") -#define LANG_CAPTION_J ("”õl—“ - ‚»‚Ì‘¼˜A—Ž–€‚ª‚ ‚ê‚΂²‹L“ü‚­‚¾‚³‚¢") -#define LANG_PERSON_1_J ("’S“–ŽÒ1") -#define LANG_PERSON_2_J ("’S“–ŽÒ2") -#define LANG_INPUT_PERSON_2_J ("’S“–ŽÒ2‚ð“ü—Í‚·‚é") -#define LANG_COMPANY_J ("‹MŽÐ–¼") -#define LANG_DEPART_J ("•”–¼") -#define LANG_PERSON_J ("‚²Ž–¼") -#define LANG_FURIGANA_J ("‚ӂ肪‚È") -#define LANG_TEL_J ("Tel") -#define LANG_FAX_J ("Fax") -#define LANG_MAIL_J ("e-mail") -#define LANG_NTSC_1_J ("NTSC") -#define LANG_NTSC_2_J ("User ID") - -#define LANG_EULA_J ("EULA“¯ˆÓ") -#define LANG_EULA_VER_J ("EULA“¯ˆÓƒo[ƒWƒ‡ƒ“") -#define LANG_ICON_J ("ƒƒjƒ…[ã‚ł̃AƒCƒRƒ“•\ަ") -#define LANG_WIRELESS_ICON_J ("DSƒƒCƒ„ƒŒƒX’ÊMƒAƒCƒRƒ“•\ަ") -#define LANG_WIFI_ICON_J ("Wi-Fi’ÊMƒAƒCƒRƒ“•\ަ") -#define LANG_NO_ICON_J ("ƒAƒCƒRƒ“‚ð•\ަ‚µ‚È‚¢") -#define LANG_REGION_PCTL_J ("ƒŠ[ƒWƒ‡ƒ“‚ƃyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹") -#define LANG_REGION_J ("ƒJ[ƒhƒŠ[ƒWƒ‡ƒ“") -#define LANG_PCTL_RATING_J ("ƒŒ[ƒeƒBƒ“ƒO”N—î") -#define LANG_PCTL_ENABLE_J ("§ŒÀ‚ð—LŒø") -#define LANG_PCTL_ALWAYS_J ("R¸’†") - - -#define LANG_PRODUCT_NAME_E ("Product Name") -#define LANG_PRODUCT_LIMIT_E ("(Shorter than 30 chars)") -#define LANG_PRODUCT_CODE_E ("Product Code") -#define LANG_RELEASE_DATE_E ("Launch Date") -#define LANG_SUBMIT_DATE_E ("Submission Date") -#define LANG_SUBMIT_WAY_E ("How to submit") -#define LANG_SUBMIT_POST_E ("Mail") -#define LANG_SUBMIT_HAND_E ("Handover") -#define LANG_USAGE_E ("Purpose") -#define LANG_USAGE_SALE_E ("For Sale") -#define LANG_USAGE_SAMPLE_E ("For Trial") -#define LANG_USAGE_DST_E ("For Network Distribution") -#define LANG_USAGE_OTHER_E ("Other") -#define LANG_SUBMIT_VER_E ("Submission Ver.") -#define LANG_BACKUP_E ("Backup Memory") -#define LANG_SUBMIT_VER_CAP_E ("* return to 0 when release ver. is updated.") -#define LANG_F_E ("Foreign Ver.") -#define LANG_PRODUCT_NAME_F_E ("Product Name") -#define LANG_PRODUCT_CODE_F_E ("Product Code") -#define LANG_RELEASE_F_E ("Foreign Ver. is scheduled to go on sale") -#define LANG_MULTI_F_E ("(Only Release Multi Ver.)") -#define LANG_CAPTION_E ("Remarks Item - Please write further information.") -#define LANG_PERSON_1_E ("Account1") -#define LANG_PERSON_2_E ("Account2") -#define LANG_INPUT_PERSON_2_E ("Input Account2") -#define LANG_COMPANY_E ("Company") -#define LANG_DEPART_E ("Dept.") -#define LANG_PERSON_E ("Contact") -#define LANG_FURIGANA_E ("") -#define LANG_TEL_E ("Tel") -#define LANG_FAX_E ("Fax") -#define LANG_MAIL_E ("e-mail") -#define LANG_NTSC_1_E ("") -#define LANG_NTSC_2_E ("") - -#define LANG_EULA_E ("Agree EULA") -#define LANG_EULA_VER_E ("EULA agreement ver.") -#define LANG_ICON_E ("Icons on the Menu") -#define LANG_WIRELESS_ICON_E ("Display an Icon of DS Wireless") -#define LANG_WIFI_ICON_E ("Display an Icon of Wi-Fi connection") -#define LANG_NO_ICON_E ("Display No Icon") -#define LANG_REGION_PCTL_E ("Card Region and Parental Control") -#define LANG_REGION_E ("Card Region") -#define LANG_PCTL_RATING_E ("Rating Age") -#define LANG_PCTL_ENABLE_E ("Enable Control") -#define LANG_PCTL_ALWAYS_E ("Rating Pending") diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/resource.h b/build/tools/MasterEditorTWL/MasterEditorTWL/resource.h deleted file mode 100644 index 1f2251c2..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/resource.h +++ /dev/null @@ -1,3 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by app.rc diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/srl.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/srl.cpp deleted file mode 100644 index 7129a84f..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/srl.cpp +++ /dev/null @@ -1,1818 +0,0 @@ -// srl.h ‚̃Nƒ‰ƒXŽÀ‘• - -#include "stdafx.h" -#include -#include "common.h" -#include "srl.h" -#include "utility.h" -#include "keys.h" -#include "crc_whole.h" -#include -#include -#include -#include - -using namespace MasterEditorTWL; - -extern const u8 gBannerFont[]; - -// -// RCSrl ƒNƒ‰ƒX -// - -// constructor -RCSrl::RCSrl() -{ - this->pRomHeader = new (ROM_Header); - std::memset( pRomHeader, 0, sizeof(ROM_Header) ); - - this->hMrcSpecialList = gcnew RCMrcSpecialList(); -} - -// destructor -RCSrl::~RCSrl() -{ - // ƒ|ƒCƒ“ƒ^‚Í(‚½‚Ô‚ñ) unmanaged ‚Ȃ̂Ŏ©Žå“I‚ɉð•ú‚·‚é - delete (this->pRomHeader); -} - -// -// ROMƒwƒbƒ_‚ðƒtƒ@ƒCƒ‹‚©‚烊[ƒh -// -// @arg [in] “ü—̓tƒ@ƒCƒ‹–¼ -// -ECSrlResult RCSrl::readFromFile( System::String ^filename ) -{ - FILE *fp = NULL; - const char *pchFilename = - (const char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi( filename ).ToPointer(); - ECSrlResult r; - - // ƒtƒ@ƒCƒ‹‚ðŠJ‚¢‚ÄROMƒwƒbƒ_‚̂ݓǂÝo‚· - if( fopen_s( &fp, pchFilename, "rb" ) != NULL ) - { - return (ECSrlResult::ERROR_FILE_OPEN); - } - (void)fseek( fp, 0, SEEK_SET ); // ROMƒwƒbƒ_‚Ísrl‚Ìæ“ª‚©‚ç - - // 1ƒoƒCƒg‚ðsizeof(~)‚¾‚¯ƒŠ[ƒh (‹t‚¾‚ƕԂè’l‚ªsizeof(~)‚ɂȂç‚È‚¢‚̂ŒˆÓ) - if( fread( (void*)(this->pRomHeader), 1, sizeof(ROM_Header), fp ) != sizeof(ROM_Header) ) - { - return (ECSrlResult::ERROR_FILE_READ); - } - { - // ƒtƒ@ƒCƒ‹‚ð•‚¶‚é‘O‚ÉROMƒwƒbƒ_ˆÈŠO‚̗̈悩‚çÝ’è‚ðŽæ‚èo‚· - (void)this->hasDSDLPlaySign( fp ); - r = this->searchSDKVersion( fp ); - if( r != ECSrlResult::NOERROR ) - { - (void)fclose(fp); - return r; - } - r = this->searchLicenses( fp ); - if( r != ECSrlResult::NOERROR ) - { - (void)fclose(fp); - return r; - } - } - - // ROMƒwƒbƒ_‚Ì’l‚ðROMŒÅ—Lî•ñƒtƒB[ƒ‹ƒh‚É”½‰f‚³‚¹‚é - (void)this->setRomInfo(); - -#ifdef METWL_WHETHER_SIGN_DECRYPT - // ‚ЂƂƂ¨‚è“Ç‚ñ‚¾‚ ‚Ƃɖ¼ƒ`ƒFƒbƒN - r = this->decryptRomHeader(); - if( r != ECSrlResult::NOERROR ) - { - (void)fclose(fp); - return r; - } -#endif //#ifdef METWL_WHETHER_SIGN_DECRYPT - - // ‚·‚ׂÄݒ肵‚½‚ ‚Æ‚ÉMRC - { - ECSrlResult r; - r = this->mrc( fp ); - if( r != ECSrlResult::NOERROR ) - { - (void)fclose(fp); - return r; - } - } - (void)fclose( fp ); - return (ECSrlResult::NOERROR); -} - -// -// ROMƒwƒbƒ_‚ðƒtƒ@ƒCƒ‹‚Ƀ‰ƒCƒg -// -// @arg [in] o—̓tƒ@ƒCƒ‹–¼ -// -ECSrlResult RCSrl::writeToFile( System::String ^filename ) -{ - FILE *fp = NULL; - const char *pchFilename = - (const char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi( filename ).ToPointer(); - ECSrlResult result; - - // ROMƒwƒbƒ_‚ÉROMŒÅ—Lî•ñ‚𔽉f‚³‚¹‚é - result = this->setRomHeader(); - if( result != ECSrlResult::NOERROR ) - { - return result; - } - - // ƒtƒ@ƒCƒ‹‚ÉROMƒwƒbƒ_‚ðƒ‰ƒCƒg - if( fopen_s( &fp, pchFilename, "r+b" ) != NULL ) // ã‘‚«EƒoƒCƒiƒŠ - { - return (ECSrlResult::ERROR_FILE_OPEN); - } - (void)fseek( fp, 0, SEEK_SET ); - - if( fwrite( (const void*)(this->pRomHeader), 1, sizeof(ROM_Header), fp ) != sizeof(ROM_Header) ) - { - return (ECSrlResult::ERROR_FILE_WRITE); - } - (void)fclose( fp ); - - return (ECSrlResult::NOERROR); -} - -// -// ROMƒwƒbƒ_‚©‚çŽæ“¾‚µ‚½ROMŒÅ—Lî•ñ‚ðƒtƒB[ƒ‹ƒh‚É”½‰f‚³‚¹‚é -// -ECSrlResult RCSrl::setRomInfo(void) -{ - System::Int32 i; - System::Text::UTF8Encoding^ utf8 = gcnew System::Text::UTF8Encoding( true ); // char->String•ÏŠ·‚É•K—v - - // NTRŒÝŠ·î•ñ - this->hTitleName = gcnew System::String( this->pRomHeader->s.title_name, 0, TITLE_NAME_MAX, utf8 ); - this->hGameCode = gcnew System::String( this->pRomHeader->s.game_code, 0, GAME_CODE_MAX, utf8 ); - this->hMakerCode = gcnew System::String( this->pRomHeader->s.maker_code, 0, MAKER_CODE_MAX, utf8 ); - switch( this->pRomHeader->s.platform_code ) - { - case PLATFORM_CODE_NTR: this->hPlatform = gcnew System::String( "NTR Limited" ); break; - case PLATFORM_CODE_TWL_HYBLID: this->hPlatform = gcnew System::String( "NTR/TWL Hybrid" ); break; - case PLATFORM_CODE_TWL_LIMITED: this->hPlatform = gcnew System::String( "TWL Limited" ); break; - default: - this->hPlatform = nullptr; - break; - } - this->hRomSize = MasterEditorTWL::transRomSizeToString( this->pRomHeader->s.rom_size ); - //this->hForKorea = gcnew System::Byte( this->pRomHeader->s.for_korea ); - //this->hForChina = gcnew System::Byte( this->pRomHeader->s.for_china ); - this->hRomVersion = gcnew System::Byte( this->pRomHeader->s.rom_version ); - this->hHeaderCRC = gcnew System::UInt16( this->pRomHeader->s.header_crc16 ); - this->hIsOldDevEncrypt = gcnew System::Boolean( (this->pRomHeader->s.developer_encrypt_old != 0)?true:false ); - - switch( this->pRomHeader->s.game_cmd_param & CARD_LATENCY_MASK ) - { - case CARD_MROM_GAME_LATENCY: - this->hLatency = "MROM"; - break; - - case CARD_1TROM_GAME_LATENCY: - this->hLatency = "1TROM"; - break; - - default: - this->hLatency = "Illegal"; - break; - } - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - this->hArrayParentalRating = gcnew cli::array(PARENTAL_CONTROL_INFO_SIZE); - this->hArrayParentalEffect = gcnew cli::array(PARENTAL_CONTROL_INFO_SIZE); - this->hArrayParentalAlways = gcnew cli::array(PARENTAL_CONTROL_INFO_SIZE); - for( i=0; i < PARENTAL_CONTROL_INFO_SIZE; i++ ) - { - System::Byte rating = this->pRomHeader->s.parental_control_rating_info[i] & OS_TWL_PCTL_OGNINFO_AGE_MASK; - System::Boolean effect = ((this->pRomHeader->s.parental_control_rating_info[i] & OS_TWL_PCTL_OGNINFO_ENABLE_MASK) != 0)?true:false; - System::Boolean force = ((this->pRomHeader->s.parental_control_rating_info[i] & OS_TWL_PCTL_OGNINFO_ALWAYS_MASK) != 0)?true:false; - - this->hArrayParentalRating[i] = gcnew System::Byte( rating ); - this->hArrayParentalEffect[i] = gcnew System::Boolean( effect ); - this->hArrayParentalAlways[i] = gcnew System::Boolean( force ); - } - - // TWLê—pî•ñ - this->hIsNormalJump = gcnew System::Boolean( (this->pRomHeader->s.permit_landing_normal_jump != 0)?true:false ); - this->hIsTmpJump = gcnew System::Boolean( (this->pRomHeader->s.permit_landing_tmp_jump != 0)?true:false ); - this->hNormalRomOffset = gcnew System::UInt32( (u32)(this->pRomHeader->s.twl_card_normal_area_rom_offset) * 0x80000 ); - this->hKeyTableRomOffset = gcnew System::UInt32( (u32)(this->pRomHeader->s.twl_card_keytable_area_rom_offset) * 0x80000 ); - this->hEULAVersion = gcnew System::Byte( this->pRomHeader->s.agree_EULA_version ); - this->hPublicSize = gcnew System::UInt32( this->pRomHeader->s.public_save_data_size ); - this->hPrivateSize = gcnew System::UInt32( this->pRomHeader->s.private_save_data_size ); - - u8 *idL = this->pRomHeader->s.titleID_Lo; - u32 idH = this->pRomHeader->s.titleID_Hi; - //u32 val; - //val = ((u32)(idL[0]) << 24) | ((u32)(idL[1]) << 16) | ((u32)(idL[2]) << 8) | ((u32)(idL[3])); // ƒrƒbƒOƒGƒ“ƒfƒBƒAƒ“ - //this->hTitleIDLo = gcnew System::UInt32( val ); - this->hTitleIDLo = gcnew System::String( (char*)idL, 0, 4, utf8 ); - this->hTitleIDHi = gcnew System::UInt32( idH ); - - // TitleID‚©‚ç‚í‚©‚éî•ñ - this->hIsAppLauncher = gcnew System::Boolean( false ); - this->hIsAppUser = gcnew System::Boolean( false ); - this->hIsAppSystem = gcnew System::Boolean( false ); - this->hIsAppSecure = gcnew System::Boolean( false ); - this->hIsLaunch = gcnew System::Boolean( false ); - this->hIsMediaNand = gcnew System::Boolean( false ); - this->hIsDataOnly = gcnew System::Boolean( false ); - if( (idL[3]=='H') && (idL[2]=='N') && (idL[1]=='A') ) // ƒ‰ƒ“ƒ`ƒƒƒAƒvƒŠ‚©‚Ç‚¤‚©‚ÍTitleID_Lo‚Ì’l‚ÅŒˆ’è - { - *(this->hIsAppLauncher) = true; - } - else if( idH & TITLE_ID_HI_SECURE_FLAG_MASK ) // Šeƒrƒbƒg‚Í”r‘¼“I‚Ƃ͌À‚ç‚È‚¢‚Ì‚Åelse if‚ɂ͂Ȃç‚È‚¢ - { - *(this->hIsAppSecure) = true; - } - else if( (idH & TITLE_ID_HI_APP_TYPE_MASK) == 1 ) - { - *(this->hIsAppSystem) = true; - } - else if( (idH & TITLE_ID_HI_APP_TYPE_MASK) == 0 ) - { - *(this->hIsAppUser) = true; - } - if( idH & TITLE_ID_HI_DATA_ONLY_FLAG_MASK ) - { - *(this->hIsDataOnly) = true; - } - if( idH & TITLE_ID_HI_MEDIA_MASK ) - { - *(this->hIsMediaNand) = true; - } - if( (idH & TITLE_ID_HI_NOT_LAUNCH_FLAG_MASK) == 0 ) // ƒrƒbƒg‚ª0‚̂Ƃ«Launch - { - *(this->hIsLaunch) = true; - } - u16 pub = (u16)((idH & TITLE_ID_HI_PUBLISHER_CODE_MASK) >> TITLE_ID_HI_PUBLISHER_CODE_SHIFT); - this->hPublisherCode = gcnew System::UInt16( pub ); - - // TWLŠg’£ƒtƒ‰ƒO - this->hIsCodecTWL = gcnew System::Boolean( (this->pRomHeader->s.exFlags.codec_mode != 0)?true:false ); - this->hIsEULA = gcnew System::Boolean( (this->pRomHeader->s.exFlags.agree_EULA != 0)?true:false ); - this->hIsSubBanner = gcnew System::Boolean( (this->pRomHeader->s.exFlags.availableSubBannerFile != 0)?true:false ); - this->hIsWiFiIcon = gcnew System::Boolean( (this->pRomHeader->s.exFlags.WiFiConnectionIcon != 0)?true:false ); - this->hIsWirelessIcon = gcnew System::Boolean( (this->pRomHeader->s.exFlags.DSWirelessIcon != 0)?true:false ); - this->hIsWL = gcnew System::Boolean( (this->pRomHeader->s.exFlags.enable_nitro_whitelist_signature != 0)?true:false ); - - // TWLƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹ - this->hIsCommonClientKey = gcnew System::Boolean( (this->pRomHeader->s.access_control.common_client_key != 0)?true:false ); - this->hIsAesSlotBForES = gcnew System::Boolean( (this->pRomHeader->s.access_control.hw_aes_slot_B != 0)?true:false ); - this->hIsAesSlotCForNAM = gcnew System::Boolean( (this->pRomHeader->s.access_control.hw_aes_slot_C != 0)?true:false ); - this->hIsSD = gcnew System::Boolean( (this->pRomHeader->s.access_control.sd_card_access != 0)?true:false ); - this->hIsNAND = gcnew System::Boolean( (this->pRomHeader->s.access_control.nand_access != 0)?true:false ); - this->hIsGameCardOn = gcnew System::Boolean( (this->pRomHeader->s.access_control.game_card_on != 0)?true:false ); - this->hIsShared2 = gcnew System::Boolean( (this->pRomHeader->s.access_control.shared2_file != 0)?true:false ); - this->hIsAesSlotBForJpegEnc = gcnew System::Boolean( (this->pRomHeader->s.access_control.hw_aes_slot_B_SignJPEGForLauncher != 0)?true:false ); - this->hIsGameCardNitro = gcnew System::Boolean( (this->pRomHeader->s.access_control.game_card_nitro_mode != 0)?true:false ); - this->hIsAesSlotAForSSL = gcnew System::Boolean( (this->pRomHeader->s.access_control.hw_aes_slot_A_SSLClientCert != 0)?true:false ); - this->hIsCommonClientKeyForDebugger - = gcnew System::Boolean( (this->pRomHeader->s.access_control.common_client_key_for_debugger_sysmenu != 0)?true:false ); - - // SCFG ‚ªƒƒbƒN‚³‚ê‚é‚© - if( (this->pRomHeader->s.arm7_scfg_ext >> 31) != 0 ) - { - this->hIsSCFGAccess = gcnew System::Boolean( true ); - } - else - { - this->hIsSCFGAccess = gcnew System::Boolean( false ); - } - - - // Shared2ƒtƒ@ƒCƒ‹ƒTƒCƒY - this->hShared2SizeArray = gcnew cli::array(METWL_NUMOF_SHARED2FILES); - for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ ) - { - this->hShared2SizeArray[i] = gcnew System::UInt32( 0 ); - } - u32 unit = 16 * 1024; // 16KB‚Ìæ”‚ªŠi”[‚³‚ê‚Ä‚¢‚é - if( this->pRomHeader->s.shared2_file0_size != 0 ) - { - *(this->hShared2SizeArray[0]) = (this->pRomHeader->s.shared2_file0_size * unit) + unit; - } - if( this->pRomHeader->s.shared2_file1_size != 0 ) - { - *(this->hShared2SizeArray[1]) = (this->pRomHeader->s.shared2_file1_size * unit) + unit; - } - if( this->pRomHeader->s.shared2_file2_size != 0 ) - { - *(this->hShared2SizeArray[2]) = (this->pRomHeader->s.shared2_file2_size * unit) + unit; - } - if( this->pRomHeader->s.shared2_file3_size != 0 ) - { - *(this->hShared2SizeArray[3]) = (this->pRomHeader->s.shared2_file3_size * unit) + unit; - } - if( this->pRomHeader->s.shared2_file4_size != 0 ) - { - *(this->hShared2SizeArray[4]) = (this->pRomHeader->s.shared2_file4_size * unit) + unit; - } - if( this->pRomHeader->s.shared2_file5_size != 0 ) - { - *(this->hShared2SizeArray[5]) = (this->pRomHeader->s.shared2_file5_size * unit) + unit; - } - - // ƒJ[ƒhƒŠ[ƒWƒ‡ƒ“ - const u32 map = this->pRomHeader->s.card_region_bitmap; - this->hIsRegionJapan = gcnew System::Boolean( ((map & METWL_MASK_REGION_JAPAN) != 0)?true:false ); - this->hIsRegionAmerica = gcnew System::Boolean( ((map & METWL_MASK_REGION_AMERICA) != 0)?true:false ); - this->hIsRegionEurope = gcnew System::Boolean( ((map & METWL_MASK_REGION_EUROPE) != 0)?true:false ); - this->hIsRegionAustralia = gcnew System::Boolean( ((map & METWL_MASK_REGION_AUSTRALIA) != 0)?true:false ); - - return ECSrlResult::NOERROR; -} // ECSrlResult RCSrl::setRomInfo(void) - -// -// ROMƒwƒbƒ_‚ÉROMŒÅ—Lî•ñƒtƒB[ƒ‹ƒh‚Ì’l‚𔽉f‚³‚¹‚é -// -ECSrlResult RCSrl::setRomHeader(void) -{ - System::Int32 i; - ECSrlResult result; - - // ROMƒwƒbƒ_‚Ì[0,0x160)‚̗̈æ‚ÍRead Only‚Å•ÏX‚µ‚È‚¢ - - // ‚¢‚­‚‚©‚̃tƒ‰ƒO‚ðROMƒwƒbƒ_‚É”½‰f - this->pRomHeader->s.exFlags.agree_EULA = (*(this->hIsEULA) == true)?1:0; - this->pRomHeader->s.agree_EULA_version = *(this->hEULAVersion); - this->pRomHeader->s.exFlags.WiFiConnectionIcon = (*(this->hIsWiFiIcon) == true)?1:0; - this->pRomHeader->s.exFlags.DSWirelessIcon = (*(this->hIsWirelessIcon) == true)?1:0; - - // ƒŒ[ƒeƒBƒ“ƒO - u32 map = 0; - if( *(this->hIsRegionJapan) == true ) { map |= METWL_MASK_REGION_JAPAN; } - if( *(this->hIsRegionAmerica) == true ) { map |= METWL_MASK_REGION_AMERICA; } - if( *(this->hIsRegionEurope) == true ) { map |= METWL_MASK_REGION_EUROPE; } - if( *(this->hIsRegionAustralia) == true ){ map |= METWL_MASK_REGION_AUSTRALIA; } -#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER) - if( (*(this->hIsRegionJapan) == true ) && (*(this->hIsRegionAmerica) == true) - && (*(this->hIsRegionEurope) == true ) && (*(this->hIsRegionAustralia) == true) - ) - { - map |= METWL_MASK_REGION_ALL; // ƒI[ƒ‹ƒŠ[ƒWƒ‡ƒ“‚ð‹–‚· - } -#endif - this->pRomHeader->s.card_region_bitmap = map; - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - for( i=0; i < PARENTAL_CONTROL_INFO_SIZE; i++ ) - { - System::Byte effect = 0; - System::Byte force = 0; - if( this->hArrayParentalEffect[i]->Equals(true) ) - { - effect = OS_TWL_PCTL_OGNINFO_ENABLE_MASK; - } - if( this->hArrayParentalAlways[i]->Equals(true) ) - { - force = OS_TWL_PCTL_OGNINFO_ALWAYS_MASK; - } - - this->pRomHeader->s.parental_control_rating_info[i] = effect | force | *(this->hArrayParentalRating[i]); - } - - // ROMƒwƒbƒ_‚ÌCRC‚Æ–¼‚ðXV‚·‚é - result = this->calcRomHeaderCRC(); - if( result != ECSrlResult::NOERROR ) - { - return result; - } - result = this->signRomHeader(); - if( result != ECSrlResult::NOERROR ) - { - return result; - } - - return ECSrlResult::NOERROR; -} // ECSrlResult RCSrl::setRomHeader(void) - -// -// ƒwƒbƒ_‚ÌCRC‚ðŽZo -// -static u16 calcCRC( const u16 start, const u8 *data, const int allsize ) -{ - u16 r1; - u16 total = start; - int size = allsize; - - // CRCƒe[ƒuƒ‹‚͌Œè - const u16 CRC16Table[16] = - { - 0x0000, 0xCC01, 0xD801, 0x1400, - 0xF001, 0x3C00, 0x2800, 0xE401, - 0xA001, 0x6C00, 0x7800, 0xB401, - 0x5000, 0x9C01, 0x8801, 0x4400 - }; - - // CRCŒvŽZ - while (size-- > 0) - { - // ‰ºˆÊ4bit - r1 = CRC16Table[total & 0xf]; - total = (total >> 4) & 0x0fff; - total = total ^ r1 ^ CRC16Table[*data & 0xf]; - - // ãˆÊ4bit - r1 = CRC16Table[total & 0xf]; - total = (total >> 4) & 0x0fff; - total = total ^ r1 ^ CRC16Table[(*data >> 4) & 0xf]; - - data++; - } - return total; -} // calcRomHeaderCRCCore() - -ECSrlResult RCSrl::calcRomHeaderCRC(void) -{ - // ROMƒwƒbƒ_‚ÌCRC—̈æ‚ðã‘‚« - this->pRomHeader->s.header_crc16 = calcCRC( CRC16_INIT_VALUE, (u8*)this->pRomHeader, CALC_CRC16_SIZE ); - - return (ECSrlResult::NOERROR); -} // ECSrlResult RCSrl::calcRomHeaderCRC(void) - -// -// ROMƒwƒbƒ_‚ðÄ–¼ -// -ECSrlResult RCSrl::signRomHeader(void) -{ - SignatureData signSrc; // –¼‚Ì‚à‚Æ‚ƂȂéƒ_ƒCƒWƒFƒXƒg’l - u8 signDst[ RSA_KEY_LENGTH ]; // –¼‚ÌŠi”[æTmpƒoƒbƒtƒ@ - u8 decryptBlock[ RSA_KEY_LENGTH ]; // –¼‚ð‰ðœŒãƒuƒƒbƒNƒoƒbƒtƒ@ - BOOL result = false; - ROM_Header rh; - int pos; - u8 *privateKey = (u8*)g_devPrivKey_DER; - u8 *publicKey = (u8*)g_devPubKey_DER; - - // ROMƒwƒbƒ_‚̃_ƒCƒWƒFƒXƒg‚ðŽZo(擪‚©‚çØ–¾‘—̈æ‚Ì’¼‘O‚܂łª‘ÎÛ) - ACSign_DigestUnit( - signSrc.digest, - this->pRomHeader, - (u32)&(rh.certificate) - (u32)&(rh) // this->pRomHeader ‚̓}ƒl[ƒWƒq[ƒvã‚É‚ ‚é‚̂ŎÀƒAƒhƒŒƒX‚ðŽæ“¾‚Å‚«‚È‚¢ - ); - - // Œ®‚ð‘I‚Ô -#ifdef METWL_VER_APPTYPE_LAUNCHER - if( *this->hIsAppLauncher ) - { - privateKey = (u8*)g_devPrivKey_DER_launcher; - publicKey = (u8*)g_devPubKey_DER_launcher; - } - else -#endif //METWL_VER_APPTYPE_LAUNCHER -#ifdef METWL_VER_APPTYPE_SECURE - if( *this->hIsAppSecure ) - { - privateKey = (u8*)g_devPrivKey_DER_secure; - publicKey = (u8*)g_devPubKey_DER_secure; - } - else -#endif //METWL_VER_APPTYPE_SECURE -#ifdef METWL_VER_APPTYPE_SYSTEM - if( *this->hIsAppSystem ) - { - privateKey = (u8*)g_devPrivKey_DER_system; - publicKey = (u8*)g_devPubKey_DER_system; - } - else -#endif //METWL_VER_APPTYPE_SYSTEM -#ifdef METWL_VER_APPTYPE_USER - { - privateKey = (u8*)g_devPrivKey_DER; - publicKey = (u8*)g_devPubKey_DER; - } -#endif //METWL_VER_APPTYPE_USER - - // ƒ_ƒCƒWƒFƒXƒg‚É–¼‚ð‚©‚¯‚é - result = ACSign_Encrypto( signDst, privateKey, &signSrc, sizeof(SignatureData) ); - if( !result ) - { - return (ECSrlResult::ERROR_SIGN_ENCRYPT); - } - - // –¼‚ð‰ðœ‚µ‚ă_ƒCƒWƒFƒXƒg‚ƈê’v‚·‚é‚©ƒxƒŠƒtƒ@ƒC‚·‚é - result = ACSign_Decrypto( decryptBlock, publicKey, signDst, RSA_KEY_LENGTH ); - for( pos=0; pos < RSA_KEY_LENGTH; pos++ ) - { - if( decryptBlock[pos] == 0x0 ) // ‰ðœŒãƒuƒƒbƒN‚©‚çŽÀƒf[ƒ^‚ðƒT[ƒ` - break; - } - if( !result || (memcmp( &signSrc, &(decryptBlock[pos+1]), sizeof(SignatureData) ) != 0) ) - { - return (ECSrlResult::ERROR_SIGN_DECRYPT); - } - - // ROMƒwƒbƒ_‚É–¼‚ðã‘‚« - memcpy( this->pRomHeader->signature, signDst, RSA_KEY_LENGTH ); - - return (ECSrlResult::NOERROR); -} // ECSrlResult RCSrl::signRomHeader(void) - -// -// ROMƒwƒbƒ_‚Ì–¼‚ðŠO‚· -// -ECSrlResult RCSrl::decryptRomHeader(void) -{ - u8 original[ RSA_KEY_LENGTH ]; // –¼ŠO‚µ‚½Œã‚̃f[ƒ^Ši”[æ - s32 pos = 0; // ƒuƒƒbƒN‚Ìæ“ªƒAƒhƒŒƒX - u8 digest[ DIGEST_SIZE_SHA1 ]; // ROMƒwƒbƒ_‚̃_ƒCƒWƒFƒXƒg - u8 *publicKey = (u8*)g_devPubKey_DER; - ROM_Header rh; - - // <ƒf[ƒ^‚Ì—¬‚ê> - // (1) ŒöŠJŒ®‚Å•œ†‚µ‚½Œ‹‰Ê(ƒuƒƒbƒN)‚ðƒ[ƒJƒ‹•Ï”(original)‚ÉŠi”[ - // (2) ƒuƒƒbƒN‚©‚ç—]•ª‚È•”•ª‚ðŽæ‚èœ‚¢‚Ĉø”(pDst)‚ɃRƒs[ - - // Œ®‚ð‘I‚Ô -#ifdef METWL_VER_APPTYPE_LAUNCHER - if( *this->hIsAppLauncher ) - { - publicKey = (u8*)g_devPubKey_DER_launcher; - } - else -#endif //METWL_VER_APPTYPE_LAUNCHER -#ifdef METWL_VER_APPTYPE_SECURE - if( *this->hIsAppSecure ) - { - publicKey = (u8*)g_devPubKey_DER_secure; - } - else -#endif //METWL_VER_APPTYPE_SECURE -#ifdef METWL_VER_APPTYPE_SYSTEM - if( *this->hIsAppSystem ) - { - publicKey = (u8*)g_devPubKey_DER_system; - } - else -#endif //METWL_VER_APPTYPE_SYSTEM -#ifdef METWL_VER_APPTYPE_USER - { - publicKey = (u8*)g_devPubKey_DER; - } -#endif //METWL_VER_APPTYPE_USER - - // –¼‚̉ðœ = ŒöŠJŒ®‚Å•œ† - if( !ACSign_Decrypto( original, publicKey, this->pRomHeader->signature, RSA_KEY_LENGTH ) ) - { - return ECSrlResult::ERROR_SIGN_DECRYPT; - } - // –¼‘Oƒf[ƒ^‚𕜆ŒãƒuƒƒbƒN‚©‚çƒQƒbƒg - for( pos=0; pos < (RSA_KEY_LENGTH-2); pos++ ) // –{—ˆƒuƒƒbƒN‚Ìæ“ª‚Í0x00‚¾‚ª•œ†‰»‚Ì“à•”ˆ—‚É‚æ‚Á‚ÄÁ‚¦‚éŽd—l - { - // ˆÃ†ƒuƒƒbƒNŒ`Ž® = 0x00, BlockType, Padding, 0x00, ŽÀƒf[ƒ^ - if( original[pos] == 0x00 ) // ŽÀƒf[ƒ^‚Ì’¼‘O‚Ì0x00‚ðƒT[ƒ` - { - break; - } - } - // ƒxƒŠƒtƒ@ƒC - // ROMƒwƒbƒ_‚̃_ƒCƒWƒFƒXƒg‚ðŽZo(擪‚©‚çØ–¾‘—̈æ‚Ì’¼‘O‚܂łª‘ÎÛ) - ACSign_DigestUnit( digest, this->pRomHeader, (u32)&(rh.certificate) - (u32)&(rh) ); - // this->pRomHeader ‚̓}ƒl[ƒWƒq[ƒvã‚É‚ ‚é‚̂ŎÀƒAƒhƒŒƒX‚ðŽæ“¾‚Å‚«‚È‚¢ - if( memcmp( &(original[pos+1]), digest, DIGEST_SIZE_SHA1 ) != 0 ) - { - return ECSrlResult::ERROR_SIGN_VERIFY; - } - return (ECSrlResult::NOERROR); -} - -// -// DSƒ_ƒEƒ“ƒ[ƒh–¼‚ªSRL‚ÉŠi”[‚³‚ê‚Ä‚¢‚é‚©’²‚ׂé -// -ECSrlResult RCSrl::hasDSDLPlaySign( FILE *fp ) -{ - const s32 DSDLPLAY_SIZE = 0x88; - u8 buf[ DSDLPLAY_SIZE ]; - u32 offset; - - // –¼—̈æ‚ðSRL‚©‚ç“ǂݞ‚Þ - offset = this->pRomHeader->s.rom_valid_size; - if( fseek( fp, offset, SEEK_SET ) != 0 ) - { - this->hHasDSDLPlaySign = gcnew System::Boolean( false ); // –¼‚ÍNTR‚ÌROM—̈æ‚ÌÅŒã‚É“ü‚é‚̂Š- return ECSrlResult::ERROR_FILE_READ; // NTR‚ÌSRL‚É–¼‚ªŠi”[‚³‚ê‚Ä‚¢‚È‚¢ê‡‚̓V[ƒN‚àƒŠ[ƒh‚à‚Å‚«‚È‚¢ - } - if( DSDLPLAY_SIZE != fread( buf, 1, DSDLPLAY_SIZE, fp ) ) - { - this->hHasDSDLPlaySign = gcnew System::Boolean( false ); - return ECSrlResult::ERROR_FILE_READ; - } - - // ʼn‚Ì2ƒoƒCƒg‚ªŒÅ’è‚Ì’l‚ƂȂ邱‚Æ‚ª•ÛØ‚³‚ê‚Ä‚¢‚é‚̂ł»‚Ì’l‚©‚Ç‚¤‚©‚Å”»’è - if( (buf[0] == 'a') && (buf[1] == 'c') ) - { - this->hHasDSDLPlaySign = gcnew System::Boolean( true ); - } - else - { - this->hHasDSDLPlaySign = gcnew System::Boolean( false ); - } - return (ECSrlResult::NOERROR); -} - -// -// SDKƒo[ƒWƒ‡ƒ“‚ðŽæ“¾‚·‚é -// -ECSrlResult RCSrl::searchSDKVersion( FILE *fp ) -{ - // SDKƒo[ƒWƒ‡ƒ“‚ÍSRLƒoƒCƒiƒŠ’†‚Ɉȉº‚̃}ƒWƒbƒNƒiƒ“ƒo‚ƂƂà‚É–„‚ß‚ç‚ê‚Ä‚¢‚é - const u8 pattern[8] = {0x21, 0x06, 0xc0, 0xde, 0xde, 0xc0, 0x06, 0x21}; - System::Collections::Generic::List ^list; - - this->hSDKList = gcnew System::Collections::Generic::List; - this->hSDKList->Clear(); - - list = MasterEditorTWL::patternMatch( fp, pattern , 8 ); - if( list == nullptr ) - { - //System::Diagnostics::Debug::WriteLine( "no list" ); - return ECSrlResult::ERROR_SDK; - } - for each( u32 item in list ) - { - // ƒ}ƒWƒbƒNƒR[ƒh‚̃IƒtƒZƒbƒg‚ÌŽè‘O4ƒoƒCƒg‚ªSDKƒo[ƒWƒ‡ƒ“ - if( item >= 4 ) - { - u32 offset; - u32 sdkcode; - - offset = item - 4; - fseek( fp, offset, SEEK_SET ); - if( 4 != fread( (void*)&sdkcode, 1, 4, fp ) ) - { - return ECSrlResult::ERROR_SDK; - } - - // ‰ð“Ç - System::Byte major = (System::Byte)(0xff & (sdkcode >> 24)); - System::Byte minor = (System::Byte)(0xff & (sdkcode >> 16)); - System::UInt16 relstep = (System::UInt16)(0xffff & sdkcode); - System::String ^str = nullptr; - str += (major.ToString() + "." + minor.ToString() + " "); - - // RELSTEP‚̉ðŽß - // PR1=10100 PR2=10200 ... - // RC1=20100 RC2=20200 ... - // RELEASE=30000 - System::UInt16 patch = relstep; - while( patch >= 10000 ) - { - patch -= 10000; - } - System::UInt16 rev = patch; - System::String ^revstr = gcnew System::String( "" ); - while( rev >= 100 ) - { - rev -= 100; - } - if( rev > 0 ) - { - revstr = " plus" + rev.ToString(); - } - patch = patch / 100; - switch( relstep / 10000 ) - { - case 1: str += ("PR " + patch.ToString() + revstr); break; - case 2: str += ("RC " + patch.ToString() + revstr); break; - case 3: str += ("RELEASE " + patch.ToString() + revstr); break; - default: break; - } - u32 statbegin = this->pRomHeader->s.main_rom_offset; - u32 statend = this->pRomHeader->s.main_rom_offset + this->pRomHeader->s.main_size - 1; - System::Boolean isstat = ((statbegin <= offset) && (offset <= statend))?true:false; - this->hSDKList->Add( gcnew RCSDKVersion(str, sdkcode, isstat) ); - //System::Diagnostics::Debug::WriteLine( "SDK " + str ); - } - } - return ECSrlResult::NOERROR; -} - -// -// Žg—pƒ‰ƒCƒZƒ“ƒX‚ðŽæ“¾‚·‚é -// -#define LICENSE_LEN_MAX 1024 // ‚±‚ê‚æ‚è‚àƒ‰ƒCƒZƒ“ƒX‚Ì•¶Žš—ñ‚ª’·‚¢‚Æ‚«³‚µ‚­Žæ“¾‚Å‚«‚È‚¢ -ECSrlResult RCSrl::searchLicenses(FILE *fp) -{ - // ƒ‰ƒCƒZƒ“ƒX‚ÍSRLƒoƒCƒiƒŠ’†‚É[SDK+(”z•zŒ³):(ƒ‰ƒCƒuƒ‰ƒŠ–¼)]‚̃tƒH[ƒ}ƒbƒg‚Å–„‚ß‚ç‚ê‚Ä‚¢‚é - const u8 pattern[5] = { '[', 'S', 'D', 'K', '+' }; - System::Collections::Generic::List ^list; - - this->hLicenseList = gcnew System::Collections::Generic::List; - this->hLicenseList->Clear(); - - fseek( fp, 0, SEEK_END ); - const u32 filesize = ftell( fp ); - - list = MasterEditorTWL::patternMatch( fp, pattern, 5 ); - if( list == nullptr ) - { - return ECSrlResult::NOERROR; // ƒ‰ƒCƒZƒ“ƒX‚ª‚È‚¢ê‡‚à‘¶Ý‚·‚é‚Ì‚ÅOK‚Æ‚·‚é - } - for each( u32 item in list ) - { - char buf[ LICENSE_LEN_MAX + 1 ]; // '\0'‚Ì•ª‚¾‚¯‘½‚߂ɂƂÁ‚Ä‚¨‚­ - u32 offset = item + 5; // "[SDK+"‚̌ォ‚烊[ƒh‚·‚é - u32 len = ((filesize - offset) < LICENSE_LEN_MAX)?(filesize - offset):LICENSE_LEN_MAX; - - // "(”z•zŒ³):(ƒ‰ƒCƒuƒ‰ƒŠ–¼)]"‚ð—]•ª‚È•”•ª‚ðŠÜ‚߂ĂЂƂ܂¸ƒoƒbƒtƒ@‚ÉŠi”[ - fseek( fp, offset, SEEK_SET ); - if( len != fread( buf, 1, len, fp ) ) - { - return ECSrlResult::ERROR; - } - buf[ len ] = '\0'; // Œã‚Ìstrlen‚̬Œ÷‚ð•ÛØ‚·‚邽‚ß - - // "(”z•zŒ³):(ƒ‰ƒCƒuƒ‰ƒŠ–¼)]"‚ðŽæ‚èo‚µ‚Ä‚©‚ç(”z•zŒ³)‚Æ(ƒ‰ƒCƒuƒ‰ƒŠ–¼)‚É•ªŠ„ - System::Text::UTF8Encoding^ utf8 = gcnew System::Text::UTF8Encoding( true ); // char->String•ÏŠ·‚É•K—v - System::String ^str = gcnew System::String( buf, 0, strlen(buf), utf8 ); // ’Tõ‚â•ªŠ„‚ÍStringƒƒ\ƒbƒh‚É—pˆÓ‚³‚ê‚Ä‚¢‚é - str = (str->Split( ']' ))[0]; // ']'‚æ‚è‚à‘O‚ðŽæ‚èo‚· - cli::array ^spl = str->Split( ':' ); // (”z•zŒ³):(ƒ‰ƒCƒuƒ‰ƒŠ–¼)‚𕪊„‚·‚é - - if( spl->Length >= 2 ) // ”O‚Ì‚½‚ß - { - if( !spl[1]->StartsWith("BACKUP") && !spl[1]->StartsWith("SSL") && !spl[1]->StartsWith("CPS") ) - { - this->hLicenseList->Add( gcnew RCLicense( spl[0], spl[1] ) ); - } - //System::Diagnostics::Debug::WriteLine( "license " + spl[0] + " " + spl[1] ); - } - } - return ECSrlResult::NOERROR; -} //RCSrl::searchLicenses - -// -// MRC -// -ECSrlResult RCSrl::mrc( FILE *fp ) -{ - this->hErrorList = gcnew System::Collections::Generic::List; - this->hWarnList = gcnew System::Collections::Generic::List; - - this->hErrorList->Clear(); - this->hWarnList->Clear(); - -#ifdef METWL_WHETHER_MRC - ECSrlResult result; - result = this->mrcNTR( fp ); - if( result != ECSrlResult::NOERROR ) - { - return result; - } - result = this->mrcTWL( fp ); - if( result != ECSrlResult::NOERROR ) - { - return result; - } -#endif - return ECSrlResult::NOERROR; -} - -// NTRŒÝŠ·MRC -ECSrlResult RCSrl::mrcNTR( FILE *fp ) -{ - System::Int32 i; - System::Boolean result; - - // ROMƒwƒbƒ_‚̃`ƒFƒbƒN - - // •¶ŽšƒR[ƒhƒ`ƒFƒbƒN - result = true; - for( i=0; i < TITLE_NAME_MAX; i++ ) - { - char c = this->pRomHeader->s.title_name[i]; - if( ((c < 0x20) || (0x5f < c)) && (c != 0x00) ) - { - result = false; - } - } - if( !result ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒ\ƒtƒgƒ^ƒCƒgƒ‹", 0x0, 0xb, "Žg—p•s‰Â‚ÌASCIIƒR[ƒh‚ªŽg—p‚³‚ê‚Ä‚¢‚Ü‚·B", - "Game Title", "Unusable ASCII code is used.", false, true ) ); - } - - result = true; - for( i=0; i < GAME_CODE_MAX; i++ ) - { - char c = this->pRomHeader->s.game_code[i]; - if( (c < 0x20) || (0x5f < c) ) - { - result = false; - } - } - if( !result ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒCƒjƒVƒƒƒ‹ƒR[ƒh", 0xc, 0xf, "Žg—p•s‰Â‚ÌASCIIƒR[ƒh‚ªŽg—p‚³‚ê‚Ä‚¢‚Ü‚·B", - "Game Code", "Unusable ASCII code is used.", false, true ) ); - } - if( memcmp( this->pRomHeader->s.game_code, "NTRJ", GAME_CODE_MAX ) == 0 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒCƒjƒVƒƒƒ‹ƒR[ƒh", 0xc, 0xf, "SDKƒfƒtƒHƒ‹ƒg‚̃R[ƒh(NTRJ)‚ªŽg—p‚³‚ê‚Ä‚¢‚Ü‚·B", - "Game Code", "SDK default code(NTRJ) is used.", false, true ) ); - } - - result = true; - for( i=0; i < MAKER_CODE_MAX; i++ ) - { - char c = this->pRomHeader->s.maker_code[i]; - if( ((c < 0x20) || (0x5f < c)) && (c != 0x00) ) - { - result = false; - } - } - if( !result ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒ[ƒJ[ƒR[ƒh", 0x10, 0x11, "Žg—p•s‰Â‚ÌASCIIƒR[ƒh‚ªŽg—p‚³‚ê‚Ä‚¢‚Ü‚·B", - "Maker Code", "Unusable ASCII code is used.", false, true ) ); - } - - // ’lƒ`ƒFƒbƒN - - if( this->pRomHeader->s.rom_type != 0x00 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒfƒoƒCƒXƒ^ƒCƒv", 0x13, 0x13, "•s³‚È’l‚Å‚·B00h‚ðݒ肵‚Ä‚­‚¾‚³‚¢B", - "Device Type", "Invalid data. Please set 00h.", false, true ) ); - } - - u8 romver = this->pRomHeader->s.rom_version; - if( ((romver < 0x00) || (0x09 < romver)) && (romver != 0xE0) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒŠƒ}ƒXƒ^[ƒo[ƒWƒ‡ƒ“", 0x1e, 0x1e, "•s³‚È’l‚Å‚·B³Ž®”łłÍ01h-09h‚Ì‚¢‚¸‚ê‚©‚Ì’lAŽ–‘O”łłÍE0h‚Å‚·B", - "Release Ver.", "Invalid data. Please set either one of 01h-09h(Regular ver.), or E0h(Preliminary ver.)", false, true ) ); - } - if( this->pRomHeader->s.banner_offset == 0 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒoƒi[ƒIƒtƒZƒbƒg", 0x68, 0x6b, "ƒoƒi[ƒf[ƒ^‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñB", - "Banner Offset.", "Banner data is not set.", false, true ) ); - } - if( this->pRomHeader->s.rom_valid_size == 0 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ROMŽÀŒøƒTƒCƒY", 0x80, 0x83, "’l‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñB", - "ROM Valid Size.", "Data is not set.", false, true ) ); - } - - // CRC - u16 crc; - // ƒZƒLƒ…ƒA—̈æ - { - // ƒZƒLƒ…ƒA—̈æ‚ÍROMƒwƒbƒ_ŠO - u8 *secures; - s32 secure_size = SECURE_AREA_END - this->pRomHeader->s.main_rom_offset; - if (secure_size > SECURE_AREA_SIZE) - { - secure_size = SECURE_AREA_SIZE; - } - if (secure_size <= 0) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒZƒLƒ…ƒA—̈æCRC", 0x15e, 0x15f, "ƒZƒLƒ…ƒA—̈æ‚̃AƒhƒŒƒXŽw’肪•s³‚Å‚·B", - "Secure Area CRC.", "Illegal address of secure area.", false, true ) ); - } - secures = new u8[secure_size]; // never return if not allocated - fseek( fp, (u32)this->pRomHeader->s.main_rom_offset, SEEK_SET ); - if( secure_size != fread( secures, 1, secure_size, fp ) ) - { - delete []secures; - return ECSrlResult::ERROR_FILE_READ; - } - crc = calcCRC(CRC16_INIT_VALUE, (u8 *)secures, secure_size); - delete []secures; - if( crc != this->pRomHeader->s.secure_area_crc16 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒZƒLƒ…ƒA—̈æCRC", 0x07c, 0x07d, "ŒvŽZŒ‹‰Ê‚ƈê’v‚µ‚Ü‚¹‚ñBƒZƒLƒ…ƒA—̈悪‰ü‚´‚ñ‚³‚ꂽ‰Â”\«‚ª‚ ‚è‚Ü‚·B", - "Secure Area CRC.", "Calclated CRC is different from Registered one.", false, true ) ); - } - } - - // ƒƒS—̈æ - crc = 0xcf56; - if( crc != this->pRomHeader->s.nintendo_logo_crc16 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒLƒƒƒ‰ƒNƒ^[ƒf[ƒ^CRC", 0x15c, 0x15d, "ŒvŽZŒ‹‰Ê‚ƈê’v‚µ‚Ü‚¹‚ñBƒLƒƒƒ‰ƒNƒ^[ƒf[ƒ^‚ª‰ü‚´‚ñ‚³‚ꂽ‰Â”\«‚ª‚ ‚è‚Ü‚·B", - "Charactor Data CRC.", "Calclated CRC is different from Registered one.", false, true ) ); - } - - // ƒwƒbƒ_CRC - crc = calcCRC( CRC16_INIT_VALUE, (u8*)this->pRomHeader, CALC_CRC16_SIZE ); - if( crc != this->pRomHeader->s.header_crc16 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ROMƒwƒbƒ_CRC", 0x15e, 0x15f, "ŒvŽZŒ‹‰Ê‚ƈê’v‚µ‚Ü‚¹‚ñBROMƒwƒbƒ_‚ª‰ü‚´‚ñ‚³‚ꂽ‰Â”\«‚ª‚ ‚è‚Ü‚·B", - "ROM Header CRC.", "Calclated CRC is different from Registered one.", false, true ) ); - } - - // —\–ñ—̈æ - System::Boolean bRsv = true; - for( i=0; i < 8; i++ ) - { - if( this->pRomHeader->s.ctrl_reserved_B[i] != 0 ) - { - bRsv = false; - break; - } - } - if( !bRsv ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ROMî•ñ—\–ñ—̈æ", 0x078, 0x07f, "•s³‚È’l‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B‚±‚̗̈æ‚ð‚·‚×‚Ä0‚Å–„‚߂Ă­‚¾‚³‚¢B", - "Reserved Area for ROM Info.", "Invalid data is included. Please set 0 into this area.", false, true ) ); - } - bRsv = true; - for( i=0; i < 32; i++ ) - { - if( this->pRomHeader->s.reserved_C[i] != 0 ) - { - bRsv = false; - break; - } - } - if( !bRsv ) - { - this->hErrorList->Add( gcnew RCMrcError( - "—\–ñ—̈æC", 0x078, 0x07f, "•s³‚È’l‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B‚±‚̗̈æ‚ð‚·‚×‚Ä0‚Å–„‚߂Ă­‚¾‚³‚¢B", - "Reserved Area C", "Invalid data is included. Please set 0 into this area.", false, true ) ); - } - - // ROMƒwƒbƒ_ˆÈŠO‚̗̈æ‚̃`ƒFƒbƒN (ƒtƒ@ƒCƒ‹‚©‚ç“K‹XƒŠ[ƒh‚·‚é) - - // ƒVƒXƒeƒ€ƒR[ƒ‹ƒ‰ƒCƒuƒ‰ƒŠ - u8 syscall[32]; - u32 offset = this->pRomHeader->s.main_rom_offset; - fseek( fp, offset, SEEK_SET ); - if( 32 != fread( syscall, 1, 32, fp ) ) - { - return ECSrlResult::ERROR_FILE_READ; - } - for( i=0; i < 32; i++ ) - { - if( syscall[i] != 0x00 ) - break; - } - if( i == 32 ) // ‘S•”0 - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒVƒXƒeƒ€ƒR[ƒ‹ƒ‰ƒCƒuƒ‰ƒŠ", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, "SDKƒfƒtƒHƒ‹ƒg‚Å‚·B", - "System-Call Library", "This Library is SDK default one.", false, true ) ); - } - return ECSrlResult::NOERROR; -} // mrcNTR() - -// TWLê—p -ECSrlResult RCSrl::mrcTWL( FILE *fp ) -{ - System::Int32 i; - - // ROMƒwƒbƒ_‚̃`ƒFƒbƒN (NTRŒÝŠ·—̈æ) - -#ifdef METWL_WHETHER_PLATFORM_CHECK - // ƒvƒ‰ƒbƒgƒtƒH[ƒ€‚̃`ƒFƒbƒN - if( (this->pRomHeader->s.platform_code != PLATFORM_CODE_TWL_HYBLID) && - (this->pRomHeader->s.platform_code != PLATFORM_CODE_TWL_LIMITED) && - (this->pRomHeader->s.enable_signature == 0) ) - { - return ECSrlResult::ERROR_PLATFORM; - } -#endif - - // ’lƒ`ƒFƒbƒN - - fseek( fp, 0, SEEK_END ); - u32 filesize = ftell(fp); // ŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY(’PˆÊMbit) - u32 romsize = 1 << (this->pRomHeader->s.rom_size); // ROM—e—Ê - if( *(this->hIsMediaNand) == false ) // ƒJ[ƒhƒAƒvƒŠ‚̂Ƃ«‚݂̂̃`ƒFƒbƒN - { - if( (romsize*1024*1024/8) < filesize ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒfƒoƒCƒX—e—Ê", 0x14, 0x14, "ŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY‚æ‚è‚ଂ³‚¢’l‚ªŽw’肳‚ê‚Ä‚¢‚Ü‚·B", - "Device Capacity", "Setting data is less than the actual file size.", false, true ) ); - } - else if( filesize < (romsize*1024*1024/8) ) - { - this->hWarnList->Add( gcnew RCMrcError( // Œx - "ƒfƒoƒCƒX—e—Ê", 0x14, 0x14, "ŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY‚É”ä‚ׂ˳‘ʂ̂ ‚é’l‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚·B", - "Device Capacity", "Setting data is larger than the actual file size.", false, true ) ); - } - if( (romsize < METWL_ROMSIZE_MIN) || (METWL_ROMSIZE_MAX < romsize) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒfƒoƒCƒX—e—Ê", 0x14, 0x14, "Žw’è‰Â”\‚È—e—ʂł͂ ‚è‚Ü‚¹‚ñB", - "Device Capacity", "Invalid capacity.", false, true ) ); - } - if( (filesize % 2) != 0 ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, "’†“r”¼’[‚È’l‚Å‚·B’Êí‚Å‚Í2‚ׂ̂«æ‚Ì’l‚Å‚·B", - "Actual File Size", "Invalid size. This size is usually power of 2.", false, true ) ); - } - // 1GbitˆÈã‚̂Ƃ«‚ÌÅI—̈æ - this->mrcPadding( fp ); - - // ƒZƒOƒƒ“ƒg3‚ÌCRC - u16 crcseg3; - BOOL crcret = getSeg3CRCInFp( fp, &crcseg3 ); - if( !crcret || (crcseg3 != METWL_SEG3_CRC) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒZƒOƒƒ“ƒg3CRC", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "ƒZƒOƒƒ“ƒg3—̈æ‚ÉŒë‚肪‚ ‚è‚Ü‚·B", - "System-Call Library", "This Library is SDK default one.", false, true ) ); - } - } //if( *(this->hIsNAND) == false ) - else // NANDƒAƒvƒŠ‚̂Ƃ«‚݂̂̃`ƒFƒbƒN - { - if( (romsize < METWL_ROMSIZE_MIN_NAND) || (METWL_ROMSIZE_MAX_NAND < romsize) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒfƒoƒCƒX—e—Ê", 0x14, 0x14, "NANDƒAƒvƒŠ‚ɑ΂µ‚ÄŽw’è‰Â”\‚È—e—ʂł͂ ‚è‚Ü‚¹‚ñB", - "Device Capacity", "Invalid capacity.", false, true ) ); - } - u32 allsizeMB = filesize + this->pRomHeader->s.public_save_data_size + this->pRomHeader->s.private_save_data_size; - if( allsizeMB > METWL_ALLSIZE_MAX_NAND ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "ROMƒf[ƒ^‚ÌŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY‚ÆPublicƒZ[ƒuƒf[ƒ^‚¨‚æ‚ÑPrivateƒZ[ƒuƒf[ƒ^‚̃TƒCƒY‚Ì‘˜a‚ª32MByte‚ð’´‚¦‚Ä‚¢‚Ü‚·B", - "Actual File Size", - "The sum of this size, the public save data size and private save data size exceed 32MByte.", false, true ) ); - } - } - - if( this->pRomHeader->s.warning_no_spec_rom_speed != 0 ) - { - this->hWarnList->Add( gcnew RCMrcError( - "”ƒtƒ‰ƒO", 0x1f, 0x1f, "rsfƒtƒ@ƒCƒ‹‚ÅROMSpeedType‚ªÝ’肳‚ê‚Ä‚¢‚Ü‚¹‚ñB", - "Setting Flags", "In a RSF file, the item \"ROMSpeedType\" is not set.", false, true ) ); - } - if( (this->pRomHeader->s.game_cmd_param & CARD_LATENCY_MASK) != CARD_1TROM_GAME_LATENCY ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ROMƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x60, 0x67, "TWL‚ł̓}ƒXƒNROM‚Í—pˆÓ‚³‚ê‚Ä‚¢‚Ü‚¹‚ñBƒƒ“ƒ^ƒCƒ€PROMÝ’è‚É‚µ‚Ä‚­‚¾‚³‚¢B", - "ROM Control Info.", "Mask ROM can be set. Please set One-time PROM.", false, true ) ); - } - - // —\–ñ—̈æ - System::Boolean bReserved = true; - for( i=0; i < 7; i++ ) - { - if( this->pRomHeader->s.reserved_A[i] != 0 ) - { - bReserved = false; - break; - } - } - if( !bReserved ) - { - this->hErrorList->Add( gcnew RCMrcError( - "—\–ñ—̈æA", 0x015, 0x01b, "•s³‚È’l‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B‚±‚̗̈æ‚ð‚·‚×‚Ä0‚Å–„‚߂Ă­‚¾‚³‚¢B", - "Reserved Area A", "Invalid data is included. Please set 0 into this area.", false, true ) ); - } - bReserved = true; - for( i=0; i < 39; i++ ) - { - if( this->pRomHeader->s.reserved_B[i] != 0 ) - { - bReserved = false; - break; - } - } - if( !bReserved ) - { - this->hErrorList->Add( gcnew RCMrcError( - "—\–ñ—̈æB", 0x099, 0x0bf, "•s³‚È’l‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B‚±‚̗̈æ‚ð‚·‚×‚Ä0‚Å–„‚߂Ă­‚¾‚³‚¢B", - "Reserved Area B", "Invalid data is included. Please set 0 into this area.", false, true ) ); - } - - // ROMƒwƒbƒ_‚̃`ƒFƒbƒN (TWLê—p—̈æ) - - // ’lƒ`ƒFƒbƒN - { - u32 idH; - u8 idL[4]; - int apptype; - const int appUser = 0; - const int appSystem = 1; - const int appSecure = 2; - const int appLauncher = 3; - System::String ^appstrJ = gcnew System::String(""); - System::String ^appstrE = gcnew System::String(""); - - idH = this->pRomHeader->s.titleID_Hi; - memcpy( idL, &(this->pRomHeader->s.titleID_Lo[0]), 4 ); - - if( (idL[3]=='H') && (idL[2]=='N') && (idL[1]=='A') ) // ƒ‰ƒ“ƒ`ƒƒƒAƒvƒŠ‚©‚Ç‚¤‚©‚ÍTitleID_Lo‚Ì’l‚ÅŒˆ’è - { - apptype = appLauncher; - appstrJ = "ƒ‰ƒ“ƒ`ƒƒ[ƒAƒvƒŠ"; - appstrE = "Launcher-App."; - } - else if( idH & TITLE_ID_HI_SECURE_FLAG_MASK ) // —§‚Á‚Ä‚½‚çƒZƒLƒ…ƒAƒAƒvƒŠ - { - apptype = appSecure; - appstrJ = "ƒZƒLƒ…ƒAƒAƒvƒŠ"; - appstrE = "Secure-App."; - } - else if( (idH & TITLE_ID_HI_APP_TYPE_MASK) == 1 ) // —§‚Á‚Ä‚½‚çƒVƒXƒeƒ€ƒAƒvƒŠ - { - apptype = appSystem; - appstrJ = "ƒVƒXƒeƒ€ƒAƒvƒŠ"; - appstrE = "System-App."; - } - else if( (idH & TITLE_ID_HI_APP_TYPE_MASK) == 0 ) // Žc‚é‚̓†[ƒUƒAƒvƒŠ - { - apptype = appUser; - appstrJ = "ƒ†[ƒUƒAƒvƒŠ"; - appstrE = "User-App."; - } - else - { - apptype = -1; - } - - if( apptype < 0 ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒAƒvƒŠŽí•Ê", 0x230, 0x237, "•s³‚È’l‚Å‚·B", - "Application Type", "Illigal type.", false, true ) ); - } - - System::Boolean bApp = false; -#ifdef METWL_VER_APPTYPE_LAUNCHER - if( apptype == appLauncher ) - { - bApp = true; - } - else -#endif //#ifdef METWL_VER_APPTYPE_LAUNCHER -#ifdef METWL_VER_APPTYPE_SECURE - if( apptype == appSecure ) - { - bApp = true; - } - else -#endif //#ifdef METWL_VER_APPTYPE_SECURE -#ifdef METWL_VER_APPTYPE_SYSTEM - if( apptype == appSystem ) - { - bApp = true; - } - else -#endif //#ifdef METWL_VER_APPTYPE_SYSTEM -#ifdef METWL_VER_APPTYPE_USER - if( apptype == appUser ) - { - bApp = true; - } -#endif //#ifdef METWL_VER_APPTYPE_USER - - if( !bApp ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒAƒvƒŠŽí•Ê", 0x230, 0x237, "‚±‚ÌROMƒf[ƒ^‚Í" + appstrJ + "‚Å‚·B–{ƒvƒƒOƒ‰ƒ€‚ł͔ñ‘Ήž‚Å‚·B", - "Application Type", "This ROM is " + appstrE + " which is unsurpported by this editor.", false, true ) ); - } - - } // ƒAƒvƒŠŽí•ʂ̃`ƒFƒbƒN - - if( (this->pRomHeader->s.access_control.game_card_on != 0) && - (this->pRomHeader->s.access_control.game_card_nitro_mode != 0) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x1b4, 0x1b7, "ƒQ[ƒ€ƒJ[ƒh“dŒ¹Ý’è‚Ƀm[ƒ}ƒ‹ƒ‚[ƒh‚ÆNTRƒ‚[ƒh‚Ì—¼•û‚ðÝ’è‚·‚邱‚Ƃ͂ł«‚Ü‚¹‚ñB", - "Access Control Info.", "Game card power setting is either normal mode or NTR mode.", false, true ) ); - } - if( ((this->pRomHeader->s.titleID_Hi & TITLE_ID_HI_MEDIA_MASK) == 0) && // ƒJ[ƒhƒAƒvƒŠ - ((this->pRomHeader->s.access_control.game_card_on != 0) || (this->pRomHeader->s.access_control.game_card_nitro_mode != 0)) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x1b4, 0x1b7, "ƒQ[ƒ€ƒJ[ƒh—pƒ\ƒtƒg‚ɑ΂µ‚ăQ[ƒ€ƒJ[ƒh“dŒ¹Ý’è‚ð‚·‚é‚±‚Ƃ͂ł«‚Ü‚¹‚ñB", - "Access Control Info.", "Game card power setting is not for Game Card Soft.", false, true ) ); - } - if( this->pRomHeader->s.access_control.shared2_file == 0 ) - { - if( (this->pRomHeader->s.shared2_file0_size != 0) || (this->pRomHeader->s.shared2_file1_size != 0) || - (this->pRomHeader->s.shared2_file2_size != 0) || (this->pRomHeader->s.shared2_file3_size != 0) || - (this->pRomHeader->s.shared2_file4_size != 0) || (this->pRomHeader->s.shared2_file5_size != 0) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x1b4, 0x1b7, "Shared2ƒtƒ@ƒCƒ‹‚̃TƒCƒY‚ªÝ’肳‚ê‚Ä‚¢‚é‚É‚à‚©‚©‚í‚炸•sŽg—pÝ’è‚ɂȂÁ‚Ä‚¢‚Ü‚·B", - "Access Control Info.", "Sizes of shared2 files is setting, but using them is not enabled.", false, true ) ); - } - } - - if( (*this->hIsWiFiIcon == true) && (*this->hIsWirelessIcon == true) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒAƒCƒRƒ“•\ަƒtƒ‰ƒO", 0x1bf, 0x1bf, - "ƒƒCƒ„ƒŒƒX’ÊMƒAƒCƒRƒ“‚ÆWi-Fi’ÊMƒAƒCƒRƒ“‚Í“¯Žž‚É•\ަ‚Å‚«‚Ü‚¹‚ñBÝ’è‚𖳎‹‚µ‚ēǂݞ‚݂܂·B", - "Icon Displaying", - "Icon displayed on menu is either Wireless Icon or Wi-Fi Icon. This setting was ignored in reading.", - true, true ) ); // C³‰Â”\ - } - - if( *(this->hIsSCFGAccess) == true ) - { - this->hWarnList->Add( gcnew RCMrcError( - "SCFGÝ’è", 0x1b8, 0x1bb, "SCFGƒŒƒWƒXƒ^‚ÖƒAƒNƒZƒX‰Â”\‚ɂȂÁ‚Ä‚¢‚Ü‚·B", - "SCFG Setting", "In this setting, SCFG register is accessible.", false, true ) ); - } - - if( (this->pRomHeader->s.titleID_Lo[0] != this->pRomHeader->s.game_code[3]) || - (this->pRomHeader->s.titleID_Lo[1] != this->pRomHeader->s.game_code[2]) || - (this->pRomHeader->s.titleID_Lo[2] != this->pRomHeader->s.game_code[1]) || - (this->pRomHeader->s.titleID_Lo[3] != this->pRomHeader->s.game_code[0]) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒ^ƒCƒgƒ‹ID", 0x230, 0x233, "‰ºˆÊ4ƒoƒCƒg‚ªƒCƒjƒVƒƒƒ‹ƒR[ƒh‚ƈê’v‚µ‚Ü‚¹‚ñB", - "Title ID", "Lower 4 bytes don't match ones of Game Code.", false, true ) ); - } - - bReserved = true; - for( i=0; i < (0x2f0 - 0x240); i++ ) - { - if( this->pRomHeader->s.reserved_ltd_F[i] != 0 ) - { - bReserved = false; - break; - } - } - if( !bReserved ) - { - this->hErrorList->Add( gcnew RCMrcError( - "—\–ñ—̈æF", 0x240, 0x2ef, "•s³‚È’l‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B‚±‚̗̈æ‚ð‚·‚×‚Ä0‚Å–„‚߂Ă­‚¾‚³‚¢B", - "Reserved Area F", "Invalid data is included. Please set 0 into this area.", false, true ) ); - } - - bReserved = true; - for( i=0; i < (0xf80 - 0x378); i++ ) - { - u8 *p = (u8*)this->pRomHeader; - if( p[ 0x378 + i ] != 0 ) - { - bReserved = false; - break; - } - } - if( !bReserved ) - { - this->hErrorList->Add( gcnew RCMrcError( - "—\–ñ—̈æD", 0x378, 0xf7f, "•s³‚È’l‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B‚±‚̗̈æ‚ð‚·‚×‚Ä0‚Å–„‚߂Ă­‚¾‚³‚¢B", - "Reserved Area D", "Invalid data is included. Please set 0 into this area.", false, true ) ); - } - - // ROMƒwƒbƒ_ˆÈŠO‚̗̈æ‚̃`ƒFƒbƒN - - if( *this->hIsOldDevEncrypt && *this->hHasDSDLPlaySign ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒNƒ[ƒ“ƒu[ƒg–¼", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "SDK‚ªƒNƒ[ƒ“ƒu[ƒg‚ɑΉž‚µ‚Ä‚¢‚È‚¢‚½‚ßAROMo‚µ‚É‚æ‚Á‚ăf[ƒ^‚É–µ‚‚ª¶‚¶‚Ü‚·B”C“V“°‘‹Œû‚É‚²‘Š’k‚­‚¾‚³‚¢B", - "Clone-Boot Signature", - "Since SDK used by this ROM is not support for making Clone-Boot ROM, Mastering ROM will be error. Please contact nintendo, sorry.", - false, true ) ); - } - - ECSrlResult pctl = this->mrcTWLParentalControl(); - if( pctl != ECSrlResult::NOERROR ) - { - return pctl; - } - - this->mrcBanner( fp ); - - // ’ljÁƒ`ƒFƒbƒN - if( *(this->hMrcSpecialList->hIsCheck) == true ) - { - // SDKƒo[ƒWƒ‡ƒ“ - System::Boolean match = true; - for each( RCSDKVersion ^sdk in this->hSDKList ) - { - if( sdk->IsStatic && (sdk->Code != *(this->hMrcSpecialList->hSDKVer) ) ) - { - match = false; - } - } - if( !match ) - { - this->hWarnList->Add( gcnew RCMrcError( - "SDKƒo[ƒWƒ‡ƒ“", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, "–{ƒvƒƒOƒ‰ƒ€‚É“o˜^‚³‚ê‚Ä‚¢‚éƒo[ƒWƒ‡ƒ“î•ñ‚ƈê’v‚µ‚Ü‚¹‚ñB", - "SDK Version", "The data doesn't match one registered in this program.", false, true ) ); - } - - // EULAƒo[ƒWƒ‡ƒ“ - if( *(this->hEULAVersion) != *(this->hMrcSpecialList->hEULAVer) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "EULA ƒo[ƒWƒ‡ƒ“", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, "–{ƒvƒƒOƒ‰ƒ€‚É“o˜^‚³‚ê‚Ä‚¢‚éƒo[ƒWƒ‡ƒ“î•ñ‚ƈê’v‚µ‚Ü‚¹‚ñB", - "EULA Version", "The data doesn't match one registered in this program.", false, true ) ); - } - - // Shared2ƒtƒ@ƒCƒ‹ƒTƒCƒY - for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ ) - { - if( *(this->hShared2SizeArray[i]) > 0 ) // 0‚Í–¢Žg—p‚ð•\‚·‚̂Ń`ƒFƒbƒN‚µ‚È‚¢ - { - if( *(this->hShared2SizeArray[i]) != *(this->hMrcSpecialList->hShared2SizeArray[i]) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "Shared2ƒtƒ@ƒCƒ‹" + i.ToString(), METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "–{ƒvƒƒOƒ‰ƒ€‚É“o˜^‚³‚ê‚Ä‚¢‚éƒtƒ@ƒCƒ‹ƒTƒCƒYî•ñ‚ƈê’v‚µ‚Ü‚¹‚ñB", - "Shared2 file" + i.ToString(), "The size doesn't match one registered in this program.", false, true ) ); - } - } - } - } //if( *(this->hMrcSpecialList->hIsCheck) ) - - return ECSrlResult::NOERROR; -} // mrcTWL() - -// PCTLê—p -ECSrlResult RCSrl::mrcTWLParentalControl(void) -{ - // ƒŠ[ƒWƒ‡ƒ“‚ª³í‚© - u32 region = this->pRomHeader->s.card_region_bitmap; - if( !this->mrcRegion( region ) ) - { - return ECSrlResult::NOERROR; // ‚±‚êˆÈãƒ`ƒFƒbƒN‚µ‚È‚¢ - } - - // ƒŠ[ƒWƒ‡ƒ“‚Ɋ܂܂ê‚Ä‚¢‚é’c‘Ì/ŠÜ‚Ü‚ê‚Ä‚¢‚È‚¢’c‘Ì‚ÌÝ’è‚ðƒ`ƒFƒbƒN - this->mrcRegionOrganization( region ); - - return ECSrlResult::NOERROR; -} //mrcParentalControl() - -// PCTLƒ`ƒFƒbƒN‚̈ꕔ ƒŠ[ƒWƒ‡ƒ“‚ª³í‚©ƒ`ƒFƒbƒN -System::Boolean RCSrl::mrcRegion( System::UInt32 region ) -{ - System::Boolean bRegionResult = true; // ƒŠ[ƒWƒ‡ƒ“ݒ肪³í‚Å‚ ‚é‚© - if( (region != METWL_MASK_REGION_JAPAN) && (region != METWL_MASK_REGION_AMERICA) && - (region != METWL_MASK_REGION_EUROPE) && (region != METWL_MASK_REGION_AUSTRALIA) && - (region != (METWL_MASK_REGION_EUROPE | METWL_MASK_REGION_AUSTRALIA)) ) - { -#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER) - if( region != METWL_MASK_REGION_ALL ) // ƒI[ƒ‹ƒŠ[ƒWƒ‡ƒ“‚ð‹–‚· - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒJ[ƒhƒŠ[ƒWƒ‡ƒ“", 0x1b0, 0x1b3, "ŽdŒü’n‚Ì‘g‚݇‚킹‚ª•s³‚Å‚·B–{ƒc[ƒ‹‚ð—p‚¢‚ÄC³‚Å‚«‚Ü‚·B", - "Card Region", "Illigal Region. This tool can modify this information.", true, true ) ); - bRegionResult = false; - } -#else - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒJ[ƒhƒŠ[ƒWƒ‡ƒ“", 0x1b0, 0x1b3, "ŽdŒü’n‚Ì‘g‚݇‚킹‚ª•s³‚Å‚·B–{ƒc[ƒ‹‚ð—p‚¢‚ÄC³‚µ‚Ä‚­‚¾‚³‚¢B", - "Card Region", "Illigal Region. Please modify this information using this tool.", true, true ) ); - bRegionResult = false; - } -#endif - } - // ƒŠ[ƒWƒ‡ƒ“‚ª•s³‚̂Ƃ«‚·‚ׂĂÌPCTLî•ñ‚ðƒNƒŠƒA(ROMƒwƒbƒ_‚ɂ͉e‹¿‚µ‚È‚¢) - if( !bRegionResult ) - { - int i; - for( i=0; i < PARENTAL_CONTROL_INFO_SIZE; i++ ) - { - this->clearParentalControl( i ); - } - this->hWarnList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x2f0, 0x2ff, - "ŽdŒü’n‚Ìݒ肪•s³‚Ì‚½‚ßAROMƒf[ƒ^“à‚Ì‚·‚ׂẴŒ[ƒeƒBƒ“ƒO’c‘Ì‚Ìî•ñ‚𖳎‹‚µ‚ēǂݞ‚݂܂µ‚½B–{ƒc[ƒ‹‚ð—p‚¢‚ÄC³‚µ‚Ä‚­‚¾‚³‚¢B", - "Parental Control", - "Illigal region. In reading, therefore, settings for all rating organizations are ignored. Please set this infomation using this tool.", - true, true ) ); - } - return bRegionResult; -} - -// PCTLƒ`ƒFƒbƒN‚̈ꕔ ƒŠ[ƒWƒ‡ƒ“‚Ɋ܂܂ê‚é’c‘Ì/ŠÜ‚Ü‚ê‚È‚¢’c‘Ì‚ÌÝ’è‚ðƒ`ƒFƒbƒN -void RCSrl::mrcRegionOrganization( System::UInt32 region ) -{ - // •\ަ—p‚Ì’c‘̃‰ƒxƒ‹ - cli::array ^ognArray = gcnew cli::array(PARENTAL_CONTROL_INFO_SIZE); - System::Int32 i; - for( i=0; i < PARENTAL_CONTROL_INFO_SIZE; i++ ) - { - switch(i) - { - case OS_TWL_PCTL_OGN_CERO: - ognArray[i] = gcnew System::String( "CERO: " ); - break; - case OS_TWL_PCTL_OGN_ESRB: - ognArray[i] = gcnew System::String( "ESRB: " ); - break; - case OS_TWL_PCTL_OGN_USK: - ognArray[i] = gcnew System::String( "USK: " ); - break; - case OS_TWL_PCTL_OGN_PEGI_GEN: - ognArray[i] = gcnew System::String( "PEGI(General): " ); - break; - case OS_TWL_PCTL_OGN_PEGI_PRT: - ognArray[i] = gcnew System::String( "PEGI(Portugal): " ); - break; - case OS_TWL_PCTL_OGN_PEGI_BBFC: - ognArray[i] = gcnew System::String( "PEGI and BBFC: " ); - break; - case OS_TWL_PCTL_OGN_OFLC: - ognArray[i] = gcnew System::String( "OFLC: " ); - break; - } - } - - // ƒŠ[ƒWƒ‡ƒ“‚Ɋ܂܂ê‚é’c‘̂Ɗ܂܂ê‚È‚¢’c‘Ì‚ðƒŠƒXƒg‰»‚·‚é - System::Collections::Generic::List ^inList = gcnew System::Collections::Generic::List(); - inList->Clear(); - System::Collections::Generic::List ^exList = gcnew System::Collections::Generic::List(); - exList->Clear(); - - switch( region ) - { - case METWL_MASK_REGION_JAPAN: - inList->Add( OS_TWL_PCTL_OGN_CERO ); // ŠÜ‚Ü‚ê‚郊ƒXƒg - exList->Add( OS_TWL_PCTL_OGN_ESRB ); // ŠÜ‚Ü‚ê‚È‚¢ƒŠƒXƒg - exList->Add( OS_TWL_PCTL_OGN_USK ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_GEN ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_PRT ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_BBFC ); - exList->Add( OS_TWL_PCTL_OGN_OFLC ); - break; - - case METWL_MASK_REGION_AMERICA: - exList->Add( OS_TWL_PCTL_OGN_CERO ); - inList->Add( OS_TWL_PCTL_OGN_ESRB ); - exList->Add( OS_TWL_PCTL_OGN_USK ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_GEN ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_PRT ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_BBFC ); - exList->Add( OS_TWL_PCTL_OGN_OFLC ); - break; - - case METWL_MASK_REGION_EUROPE: - exList->Add( OS_TWL_PCTL_OGN_CERO ); - exList->Add( OS_TWL_PCTL_OGN_ESRB ); - inList->Add( OS_TWL_PCTL_OGN_USK ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_GEN ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_PRT ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_BBFC ); - exList->Add( OS_TWL_PCTL_OGN_OFLC ); - break; - - case METWL_MASK_REGION_AUSTRALIA: - exList->Add( OS_TWL_PCTL_OGN_CERO ); - exList->Add( OS_TWL_PCTL_OGN_ESRB ); - exList->Add( OS_TWL_PCTL_OGN_USK ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_GEN ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_PRT ); - exList->Add( OS_TWL_PCTL_OGN_PEGI_BBFC ); - inList->Add( OS_TWL_PCTL_OGN_OFLC ); - break; - - case (METWL_MASK_REGION_EUROPE|METWL_MASK_REGION_AUSTRALIA): - exList->Add( OS_TWL_PCTL_OGN_CERO ); - exList->Add( OS_TWL_PCTL_OGN_ESRB ); - inList->Add( OS_TWL_PCTL_OGN_USK ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_GEN ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_PRT ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_BBFC ); - inList->Add( OS_TWL_PCTL_OGN_OFLC ); - break; - -#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER) - case METWL_MASK_REGION_ALL: - inList->Add( OS_TWL_PCTL_OGN_CERO ); - inList->Add( OS_TWL_PCTL_OGN_ESRB ); - inList->Add( OS_TWL_PCTL_OGN_USK ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_GEN ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_PRT ); - inList->Add( OS_TWL_PCTL_OGN_PEGI_BBFC ); - inList->Add( OS_TWL_PCTL_OGN_OFLC ); - break; -#endif //#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER) - } - - // ƒŠ[ƒWƒ‡ƒ“‚Ɋ܂܂ê‚é’c‘Ì‚Ìî•ñ‚ª³‚µ‚¢‚©’²‚ׂé - for each ( System::Byte ogn in inList ) - { - this->mrcRating( ogn ); - } - - // ƒŠ[ƒWƒ‡ƒ“‚Ɋ܂܂ê‚È‚¢’c‘Ì‚Ìî•ñ‚Í–³Ž‹‚·‚é - for each ( System::Byte ogn in exList ) - { - this->clearParentalControl( ogn ); - } -} //mrcRegion - -// ƒŒ[ƒeƒBƒ“ƒO’l‚ª³í‚©‚Ç‚¤‚©ƒ`ƒFƒbƒN -void RCSrl::mrcRating( System::Byte ogn ) -{ - System::String ^warnDisableJ = gcnew System::String( "§ŒÀ‚ª–³Œø‚Å‚ ‚é‚É‚à‚©‚©‚í‚炸ƒŒ[ƒeƒBƒ“ƒO‚ªÝ’肳‚ê‚Ä‚¢‚½‚ßAƒŒ[ƒeƒBƒ“ƒO‚𖳎‹‚µ‚ēǂݞ‚݂܂µ‚½B–{ƒc[ƒ‹‚ð—p‚¢‚ÄC³‚µ‚Ä‚­‚¾‚³‚¢B" ); - System::String ^warnDisableE = gcnew System::String( "Rating can't be set when control isn't enable. rating setting is ignored. Please set this infomation using this tool." ); - System::String ^warnIllegalJ = gcnew System::String( "ƒŒ[ƒeƒBƒ“ƒOî•ñ‚ª•s³‚Å‚ ‚邽‚ßA–³Ž‹‚µ‚ēǂݞ‚݂܂µ‚½B–{ƒc[ƒ‹‚ð—p‚¢‚ÄC³‚µ‚Ä‚­‚¾‚³‚¢B" ); - System::String ^warnIllegalE = gcnew System::String( "Illegal rating. rating setting is ignored. Please set this information using this tool." ); - System::String ^warnPendingJ = gcnew System::String( "Rating Pending‚ªŽw’肳‚ê‚Ä‚¢‚Ü‚·B‚±‚ÌŽw’è‚ÆƒŒ[ƒeƒBƒ“ƒO’l‚Í“¯Žž‚ÉÝ’è‚Å‚«‚È‚¢‚½‚ßAƒŒ[ƒeƒBƒ“ƒO’l‚𖳎‹‚µ‚ēǂݞ‚݂܂µ‚½B" ); - System::String ^warnPendingE = gcnew System::String( "Rating Pending is setting. It is exclusive a rating age. The age is ignored." ); - - cli::array ^ognArray = gcnew cli::array(PARENTAL_CONTROL_INFO_SIZE); - System::Int32 i; - for( i=0; i < PARENTAL_CONTROL_INFO_SIZE; i++ ) - { - switch(i) - { - case OS_TWL_PCTL_OGN_CERO: - ognArray[i] = gcnew System::String( "CERO: " ); - break; - case OS_TWL_PCTL_OGN_ESRB: - ognArray[i] = gcnew System::String( "ESRB: " ); - break; - case OS_TWL_PCTL_OGN_USK: - ognArray[i] = gcnew System::String( "USK: " ); - break; - case OS_TWL_PCTL_OGN_PEGI_GEN: - ognArray[i] = gcnew System::String( "PEGI(General): " ); - break; - case OS_TWL_PCTL_OGN_PEGI_PRT: - ognArray[i] = gcnew System::String( "PEGI(Portugal): " ); - break; - case OS_TWL_PCTL_OGN_PEGI_BBFC: - ognArray[i] = gcnew System::String( "PEGI and BBFC: " ); - break; - case OS_TWL_PCTL_OGN_OFLC: - ognArray[i] = gcnew System::String( "OFLC: " ); - break; - } - } - - if( *(this->hArrayParentalEffect[ ogn ]) == false ) - { - if( *this->hArrayParentalAlways[ ogn ] || (*this->hArrayParentalRating[ ogn ] != 0 ) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x2f0, 0x2ff, ognArray[ ogn ] + warnDisableJ, - "Parental Control", ognArray[ ogn ] + warnDisableE, true, true ) ); - this->clearParentalControl( ogn ); - } - } - else - { - // ŠÔˆá‚Á‚Ä‚¢‚½‚ç"–¢R¸"‚ª•Ô‚Á‚Ä‚­‚é - System::String ^str = - MasterEditorTWL::transRatingToString( ogn, true, *(this->hArrayParentalRating[ogn]), false ); - - if( *(this->hArrayParentalAlways[ogn]) == false ) - { - // RP‚ª—§‚Á‚Ä‚¢‚È‚¢‚Æ‚«ƒŒ[ƒeƒBƒ“ƒO’l‚ªÝ’肳‚ê‚Ä‚¢‚È‚©‚Á‚½‚çƒ_ƒ - if( (str != nullptr) && str->Equals( L"–¢R¸" ) ) - { - this->hWarnList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x2f0, 0x2ff, ognArray[ ogn ] + warnIllegalJ, - "Parental Control", ognArray[ ogn ] + warnIllegalE, true, true ) ); - this->clearParentalControl( ogn ); - } - } - else - { - // RP‚ª—§‚Á‚Ä‚¢‚½‚ç–ⓚ–³—p‚ÉŒx - this->hWarnList->Add( gcnew RCMrcError( - "ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹î•ñ", 0x2f0, 0x2ff, ognArray[ ogn ] + warnPendingJ, - "Parental Control", ognArray[ ogn ] + warnPendingE, true, true ) ); - this->clearParentalControl( ogn ); - } - } -} //mrcRating() - -// ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹‚̃NƒŠƒA -void RCSrl::clearParentalControl( System::Byte ogn ) -{ - this->hArrayParentalRating[ ogn ] = gcnew System::Byte( 0x00 ); - this->hArrayParentalEffect[ ogn ] = gcnew System::Boolean( false ); - this->hArrayParentalAlways[ ogn ] = gcnew System::Boolean( false ); -} - -// ƒpƒfƒBƒ“ƒO‚̃`ƒFƒbƒN -void RCSrl::mrcPadding(FILE *fp) -{ - u32 romsize = 1 << (this->pRomHeader->s.rom_size); // ROM—e—Ê - u32 padsize = 0; // ’PˆÊ‚ÍByte - System::String ^padstrJ = gcnew System::String(""); - System::String ^padstrE = gcnew System::String(""); - System::String ^romstr = gcnew System::String(""); - - switch( romsize ) - { - case 1024: - padsize = 0x00280000; // 20Mbit = 2.5MB - padstrJ = "ÅI20Mbit"; - padstrE = "Last 20Mbit"; - romstr = "1Gbit"; - break; - case 2048: - padsize = 0x00500000; // 40Mbit = 5MB - padstrJ = "ÅI40Mbit"; - padstrE = "Last 40Mbit"; - romstr = "2Gbit"; - break; - case 4096: - padsize = 0x00A60000; // 83Mbit = 10.375MB - padstrJ = "ÅI83Mbit"; - padstrE = "Last 83Mbit"; - romstr = "4Gbit"; - break; - default: - padsize = 0; - break; - } - if( padsize == 0 ) - { - return; - } - - fseek( fp, 0, SEEK_END ); - u32 filesize = ftell(fp); // ŽÀƒtƒ@ƒCƒ‹ƒTƒCƒY(’PˆÊMbit) - u32 offset = ((romsize / 8) * 1024 * 1024) - padsize; - if( (offset + padsize) > filesize ) - { - this->hErrorList->Add( gcnew RCMrcError( - padstrJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "“Ç‚Ýo‚·‚±‚Æ‚ª‚Å‚«‚Ü‚¹‚ñ‚Å‚µ‚½B", - padstrE, "This area couldn't be read", false, true ) ); - return; - } - - u8 *buf = new u8[ padsize ]; - fseek( fp, offset, SEEK_SET ); - if( padsize != fread( buf, 1, padsize, fp ) ) - { - this->hErrorList->Add( gcnew RCMrcError( - padstrJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "“Ç‚Ýo‚·‚±‚Æ‚ª‚Å‚«‚Ü‚¹‚ñ‚Å‚µ‚½B", - padstrE, "This area couldn't be read", false, true ) ); - delete []buf; - return; - } - - System::Boolean bResult = true; - u32 i; - for( i=0; i < padsize; i++ ) - { - if( buf[i] != 0xff ) - { - bResult = false; - } - } - if( !bResult ) - { - this->hErrorList->Add( gcnew RCMrcError( - padstrJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "FFhˆÈŠO‚Ì’l‚ªŠi”[‚³‚ê‚Ä‚¢‚Ü‚·B " + romstr + " ROM‚Ì—e—ʧŒÀ‚ªŽç‚ç‚ê‚Ä‚¢‚Ü‚¹‚ñB", - padstrE, - "This area includes illegai data. " + romstr + " Volume constraint is violated.", - false, true ) ); - } - delete []buf; -} - -// ƒoƒi[ -void RCSrl::mrcBanner(FILE *fp) -{ - u8 map[ 0x10000 ]; - u32 i; - - // Žg—p‰Â”\‚È•¶Žš‚̃}ƒbƒv‚ð‚‚­‚é - // •¶ŽšƒR[ƒh‚ðƒCƒ“ƒfƒbƒNƒX‚Æ‚µ‚ÄŽg—p‰Â”\‚È‚ç 1 ‚ª“ü‚é - // ‚»‚¤‚łȂ¢‚È‚ç 0 ‚ª“ü‚é - for( i=0; i < 0x10000; i++ ) - { - map[i] = 0; - } - for( i=2; ; i+=2 ) // 0ŒÂ–Ú‚Ì—v‘f‚̓}ƒWƒbƒNƒR[ƒh‚Ȃ̂Ŋ܂߂Ȃ¢ - { - u16 index = (u16)gBannerFont[i+1]; - index = (index << 8) + gBannerFont[i]; - if( index == 0xFEFF ) - { - break; - } - map[ index ] = 1; - } - map[ 0x0000 ] = 1; // 0x0000‚Í‹–‚³‚ê‚é - - // ƒoƒi[‚ð“ǂݞ‚Þ - u32 size = this->pRomHeader->s.banner_size; - u8 *banner = new u8[size]; - System::Diagnostics::Debug::WriteLine( "size: " + size.ToString("X") ); - fseek( fp, this->pRomHeader->s.banner_offset, SEEK_SET ); - if( size != fread( banner, 1, size, fp ) ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒoƒi[ƒtƒ@ƒCƒ‹", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "“Ç‚Ýo‚·‚±‚Æ‚ª‚Å‚«‚Ü‚¹‚ñ‚Å‚µ‚½B", - "Banner File", - "The file can't be read.", - false, true ) ); - } - - // ƒoƒi[‚ÌŠe•¶Žš‚ªƒ}ƒbƒv‚É“o˜^‚³‚ê‚Ä‚¢‚é‚©ƒ`ƒFƒbƒN - System::Boolean bResult = true; - u32 start = 0x240; - u32 end = (size < 0x1240)?(size):(0x1240); // NTRŒÝŠ·—̈æ‚܂ł̂Ƃ«‚ÍTWLŠg’£—̈æ‚ðƒT[ƒ`‚µ‚È‚¢ - for( i=0x240; i < end; i+=2 ) - { - u16 index = banner[i+1]; - u16 indexbak = index; - index = (index << 8) + banner[i]; - if( map[ index ] == 0 ) - { - System::Diagnostics::Debug::WriteLine( i.ToString("X") + ":" + index.ToString("X") + ":" + indexbak.ToString("X") ); - bResult = false; - break; - } - } - if( !bResult ) - { - this->hErrorList->Add( gcnew RCMrcError( - "ƒoƒi[ƒtƒ@ƒCƒ‹", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, - "Žg—p•s‰Â”\‚È•¶ŽšƒZƒbƒg‚ªŽg—p‚³‚ê‚Ä‚¢‚Ü‚·B", - "Banner File", - "A set of illegal charactor code is used.", - false, true ) ); - } - delete []banner; -} - -// ƒoƒi[‚Æ‚µ‚ÄŽg—p‰Â”\‚ȃtƒHƒ“ƒgƒŠƒXƒg(u16ƒŠƒgƒ‹ƒGƒ“ƒfƒBƒAƒ“) -const u8 gBannerFont[] = -{ - 0xff, 0xfe, 0x20, 0x00, 0x21, 0x00, 0x22, 0x00, 0x23, 0x00, 0x24, 0x00, 0x25, 0x00, 0x26, 0x00, - 0x27, 0x00, 0x28, 0x00, 0x29, 0x00, 0x2a, 0x00, 0x2b, 0x00, 0x2c, 0x00, 0x2d, 0x00, 0x2e, 0x00, - 0x2f, 0x00, 0x30, 0x00, 0x31, 0x00, 0x32, 0x00, 0x33, 0x00, 0x34, 0x00, 0x35, 0x00, 0x36, 0x00, - 0x37, 0x00, 0x38, 0x00, 0x39, 0x00, 0x3a, 0x00, 0x3b, 0x00, 0x3c, 0x00, 0x3d, 0x00, 0x3e, 0x00, - 0x3f, 0x00, 0x40, 0x00, 0x41, 0x00, 0x42, 0x00, 0x43, 0x00, 0x44, 0x00, 0x45, 0x00, 0x46, 0x00, - 0x47, 0x00, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, - 0x4f, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, - 0x57, 0x00, 0x58, 0x00, 0x59, 0x00, 0x5a, 0x00, 0x5b, 0x00, 0x5c, 0x00, 0x5d, 0x00, 0x5e, 0x00, - 0x5f, 0x00, 0x60, 0x00, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00, 0x64, 0x00, 0x65, 0x00, 0x66, 0x00, - 0x67, 0x00, 0x68, 0x00, 0x69, 0x00, 0x6a, 0x00, 0x6b, 0x00, 0x6c, 0x00, 0x6d, 0x00, 0x6e, 0x00, - 0x6f, 0x00, 0x70, 0x00, 0x71, 0x00, 0x72, 0x00, 0x73, 0x00, 0x74, 0x00, 0x75, 0x00, 0x76, 0x00, - 0x77, 0x00, 0x78, 0x00, 0x79, 0x00, 0x7a, 0x00, 0x7b, 0x00, 0x7c, 0x00, 0x7d, 0x00, 0x7e, 0x00, - 0x7f, 0x00, 0xac, 0x20, 0x1a, 0x20, 0x1e, 0x20, 0x26, 0x20, 0xc6, 0x02, 0x52, 0x01, 0x18, 0x20, - 0x19, 0x20, 0x1c, 0x20, 0x1d, 0x20, 0x22, 0x20, 0xdc, 0x02, 0x22, 0x21, 0x3a, 0x20, 0x53, 0x01, - 0xa1, 0x00, 0xa2, 0x00, 0xa3, 0x00, 0xa8, 0x00, 0xa9, 0x00, 0xae, 0x00, 0xb7, 0x00, 0xbf, 0x00, - 0xc0, 0x00, 0xc1, 0x00, 0xc2, 0x00, 0xc3, 0x00, 0xc4, 0x00, 0xc5, 0x00, 0xc6, 0x00, 0xc7, 0x00, - 0xc8, 0x00, 0xc9, 0x00, 0xca, 0x00, 0xcb, 0x00, 0xcc, 0x00, 0xcd, 0x00, 0xce, 0x00, 0xcf, 0x00, - 0xd0, 0x00, 0xd1, 0x00, 0xd2, 0x00, 0xd3, 0x00, 0xd4, 0x00, 0xd5, 0x00, 0xd6, 0x00, 0xd8, 0x00, - 0xd9, 0x00, 0xda, 0x00, 0xdb, 0x00, 0xdc, 0x00, 0xdd, 0x00, 0xdf, 0x00, 0xe0, 0x00, 0xe1, 0x00, - 0xe2, 0x00, 0xe3, 0x00, 0xe4, 0x00, 0xe5, 0x00, 0xe6, 0x00, 0xe7, 0x00, 0xe8, 0x00, 0xe9, 0x00, - 0xea, 0x00, 0xeb, 0x00, 0xec, 0x00, 0xed, 0x00, 0xee, 0x00, 0xef, 0x00, 0xf0, 0x00, 0xf1, 0x00, - 0xf2, 0x00, 0xf3, 0x00, 0xf4, 0x00, 0xf5, 0x00, 0xf6, 0x00, 0xf7, 0x00, 0xf8, 0x00, 0xf9, 0x00, - 0xfa, 0x00, 0xfb, 0x00, 0xfc, 0x00, 0xfd, 0x00, 0x00, 0x30, 0x01, 0x30, 0x02, 0x30, 0x0c, 0xff, - 0x0e, 0xff, 0xfb, 0x30, 0x3a, 0x00, 0x3b, 0x00, 0x1f, 0xff, 0x01, 0xff, 0xfc, 0x30, 0x41, 0x30, - 0x42, 0x30, 0x43, 0x30, 0x44, 0x30, 0x45, 0x30, 0x46, 0x30, 0x47, 0x30, 0x48, 0x30, 0x49, 0x30, - 0x4a, 0x30, 0x4b, 0x30, 0x4c, 0x30, 0x4d, 0x30, 0x4e, 0x30, 0x4f, 0x30, 0x50, 0x30, 0x51, 0x30, - 0x52, 0x30, 0x53, 0x30, 0x54, 0x30, 0x55, 0x30, 0x56, 0x30, 0x57, 0x30, 0x58, 0x30, 0x59, 0x30, - 0x5a, 0x30, 0x5b, 0x30, 0x5c, 0x30, 0x5d, 0x30, 0x5e, 0x30, 0x5f, 0x30, 0x60, 0x30, 0x61, 0x30, - 0x62, 0x30, 0x63, 0x30, 0x64, 0x30, 0x65, 0x30, 0x66, 0x30, 0x67, 0x30, 0x68, 0x30, 0x69, 0x30, - 0x6a, 0x30, 0x6b, 0x30, 0x6c, 0x30, 0x6d, 0x30, 0x6e, 0x30, 0x6f, 0x30, 0x70, 0x30, 0x71, 0x30, - 0x72, 0x30, 0x73, 0x30, 0x74, 0x30, 0x75, 0x30, 0x76, 0x30, 0x77, 0x30, 0x78, 0x30, 0x79, 0x30, - 0x7a, 0x30, 0x7b, 0x30, 0x7c, 0x30, 0x7d, 0x30, 0x7e, 0x30, 0x7f, 0x30, 0x80, 0x30, 0x81, 0x30, - 0x82, 0x30, 0x83, 0x30, 0x84, 0x30, 0x85, 0x30, 0x86, 0x30, 0x87, 0x30, 0x88, 0x30, 0x89, 0x30, - 0x8a, 0x30, 0x8b, 0x30, 0x8c, 0x30, 0x8d, 0x30, 0x8e, 0x30, 0x8f, 0x30, 0x90, 0x30, 0x91, 0x30, - 0x92, 0x30, 0x93, 0x30, 0x9b, 0x30, 0x9c, 0x30, 0x9d, 0x30, 0x9e, 0x30, 0xa1, 0x30, 0xa2, 0x30, - 0xa3, 0x30, 0xa4, 0x30, 0xa5, 0x30, 0xa6, 0x30, 0xa7, 0x30, 0xa8, 0x30, 0xa9, 0x30, 0xaa, 0x30, - 0xab, 0x30, 0xac, 0x30, 0xad, 0x30, 0xae, 0x30, 0xaf, 0x30, 0xb0, 0x30, 0xb1, 0x30, 0xb2, 0x30, - 0xb3, 0x30, 0xb4, 0x30, 0xb5, 0x30, 0xb6, 0x30, 0xb7, 0x30, 0xb8, 0x30, 0xb9, 0x30, 0xba, 0x30, - 0xbb, 0x30, 0xbc, 0x30, 0xbd, 0x30, 0xbe, 0x30, 0xbf, 0x30, 0xc0, 0x30, 0xc1, 0x30, 0xc2, 0x30, - 0xc3, 0x30, 0xc4, 0x30, 0xc5, 0x30, 0xc6, 0x30, 0xc7, 0x30, 0xc8, 0x30, 0xc9, 0x30, 0xca, 0x30, - 0xcb, 0x30, 0xcc, 0x30, 0xcd, 0x30, 0xce, 0x30, 0xcf, 0x30, 0xd0, 0x30, 0xd1, 0x30, 0xd2, 0x30, - 0xd3, 0x30, 0xd4, 0x30, 0xd5, 0x30, 0xd6, 0x30, 0xd7, 0x30, 0xd8, 0x30, 0xd9, 0x30, 0xda, 0x30, - 0xdb, 0x30, 0xdc, 0x30, 0xdd, 0x30, 0xde, 0x30, 0xdf, 0x30, 0xe0, 0x30, 0xe1, 0x30, 0xe2, 0x30, - 0xe3, 0x30, 0xe4, 0x30, 0xe5, 0x30, 0xe6, 0x30, 0xe7, 0x30, 0xe8, 0x30, 0xe9, 0x30, 0xea, 0x30, - 0xeb, 0x30, 0xec, 0x30, 0xed, 0x30, 0xee, 0x30, 0xef, 0x30, 0xf0, 0x30, 0xf1, 0x30, 0xf2, 0x30, - 0xf3, 0x30, 0xf4, 0x30, 0xf5, 0x30, 0xf6, 0x30, 0x01, 0x30, 0x02, 0x30, 0x0c, 0xff, 0x0e, 0xff, - 0xfb, 0x30, 0x1a, 0xff, 0x1b, 0xff, 0x1f, 0xff, 0x01, 0xff, 0x9b, 0x30, 0x9c, 0x30, 0xb4, 0x00, - 0x40, 0xff, 0x3e, 0xff, 0xe3, 0xff, 0x3f, 0xff, 0x05, 0x30, 0xfc, 0x30, 0x15, 0x20, 0x10, 0x20, - 0x0f, 0xff, 0x3c, 0xff, 0x5e, 0xff, 0x5c, 0xff, 0x26, 0x20, 0x18, 0x20, 0x19, 0x20, 0x1c, 0x20, - 0x1d, 0x20, 0x08, 0xff, 0x09, 0xff, 0x14, 0x30, 0x15, 0x30, 0x3b, 0xff, 0x3d, 0xff, 0x5b, 0xff, - 0x5d, 0xff, 0x08, 0x30, 0x09, 0x30, 0x0c, 0x30, 0x0d, 0x30, 0x0b, 0xff, 0x0d, 0xff, 0xb1, 0x00, - 0xd7, 0x00, 0xf7, 0x00, 0x1d, 0xff, 0x1e, 0x22, 0x34, 0x22, 0xb0, 0x00, 0x32, 0x20, 0x33, 0x20, - 0x06, 0xff, 0x06, 0x26, 0x05, 0x26, 0xcb, 0x25, 0xcf, 0x25, 0xce, 0x25, 0xc7, 0x25, 0xc6, 0x25, - 0xa1, 0x25, 0xa0, 0x25, 0xb3, 0x25, 0xb2, 0x25, 0xbd, 0x25, 0xbc, 0x25, 0x3b, 0x20, 0x12, 0x30, - 0x92, 0x21, 0x90, 0x21, 0x91, 0x21, 0x93, 0x21, 0x6f, 0x26, 0x6d, 0x26, 0x6a, 0x26, 0x0a, 0x00, - 0xff, 0xfe, // I‚í‚è‚ð•\‚·ˆÓ–¡‚Å0xFEFF‚ðÅŒã‚ɂ‚¯‚é -}; diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/srl.h b/build/tools/MasterEditorTWL/MasterEditorTWL/srl.h deleted file mode 100644 index 822eb23d..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/srl.h +++ /dev/null @@ -1,380 +0,0 @@ -#pragma once - -// ROMƒf[ƒ^(SRL)ƒNƒ‰ƒX‚ÆŠÖ˜AƒNƒ‰ƒX‚Ì錾 - -#include -#include "common.h" -#include -#include -#include - -namespace MasterEditorTWL -{ - // ------------------------------------------------------------------- - // Type : enum class - // Name : ECSrlResult - // - // Description : RCSrlƒNƒ‰ƒX‚Ì‘€ì‚ł̃Gƒ‰[‚ð錾 - // ------------------------------------------------------------------- - enum class ECSrlResult - { - NOERROR = 0, - // ƒGƒ‰[“Á’肵‚È‚­‚Ä‚àŒ´ˆö‚ª‚í‚©‚邯‚«‚̕Ԃè’l - // (ƒGƒ‰[‚ª¶‚¶‚é‰Â”\«‚Ì‚ ‚é‰ÓŠ‚ª1‚ etc.) - ERROR, - // ƒtƒ@ƒCƒ‹‘€ì‚ł̃Gƒ‰[ - ERROR_FILE_OPEN, - ERROR_FILE_READ, - ERROR_FILE_WRITE, - // –¼‚ł̃Gƒ‰[ - ERROR_SIGN_ENCRYPT, // –¼‚Å‚«‚È‚¢ - ERROR_SIGN_DECRYPT, // –¼‰ðœ‚Å‚«‚È‚¢ - ERROR_SIGN_VERIFY, // –¼‰ðœ‚µ‚½Œã‚̃_ƒCƒWƒFƒXƒg‚ª‡‚í‚È‚¢ - // CRCŽZo‚ł̃Gƒ‰[ - ERROR_SIGN_CRC, - // SDKƒo[ƒWƒ‡ƒ“Žæ“¾‚ł̃Gƒ‰[ - ERROR_SDK, - // ƒvƒ‰ƒbƒgƒtƒH[ƒ€‚ªNTRê—p or •s³ƒoƒCƒiƒŠ - ERROR_PLATFORM, - }; - - // ------------------------------------------------------------------- - // Type : ref class - // Name : RCSDKVersion - // - // Description : RCSrlƒNƒ‰ƒX‚ÉŽ‚½‚¹‚éSDKƒo[ƒWƒ‡ƒ“î•ñƒNƒ‰ƒX - // - // Role : \‘¢‘̂Ƃµ‚ăf[ƒ^‚ð‚܂Ƃ߂è‚­ - // ------------------------------------------------------------------- - ref class RCSDKVersion - { - private: - System::String ^hVersion; - System::UInt32 ^hCode; - System::Boolean ^hIsStatic; - private: - RCSDKVersion(){} // ••‚¶‚é - public: - RCSDKVersion( System::String ^ver, System::UInt32 code, System::Boolean isStatic ) // ¶¬Žž‚ɂ̂݃tƒB[ƒ‹ƒh‚ðÝ’è‰Â”\ - { - if( ver == nullptr ) - this->hVersion = gcnew System::String(""); // NULLŽQƃoƒO‚ð”ð‚¯‚é - else - this->hVersion = ver; - this->hCode = gcnew System::UInt32( code ); - this->hIsStatic = gcnew System::Boolean( isStatic ); - } - public: - property System::String ^Version // ¶¬Œã‚ɂ̓tƒB[ƒ‹ƒh‚ÍRead Only - { - System::String^ get(){ return this->hVersion; } - } - public: - property System::Boolean IsStatic - { - System::Boolean get(){ return *(this->hIsStatic); } - } - public: - property System::UInt32 Code - { - System::UInt32 get(){ return *(this->hCode); } - } - }; - - // ------------------------------------------------------------------- - // Type : ref class - // Name : RCLicense - // - // Description : RCSrlƒNƒ‰ƒX‚ÉŽ‚½‚¹‚郉ƒCƒZƒ“ƒXî•ñƒNƒ‰ƒX - // - // Role : \‘¢‘̂Ƃµ‚ăf[ƒ^‚ð‚܂Ƃ߂è‚­ - // ------------------------------------------------------------------- - ref class RCLicense - { - private: - System::String ^hPublisher; - System::String ^hName; - private: - RCLicense(){} // ••‚¶‚é - public: - RCLicense( System::String ^pub, System::String ^name ) // ¶¬Žž‚ɂ̂݃tƒB[ƒ‹ƒh‚ðÝ’è‰Â”\ - { - if( pub == nullptr ) - this->hPublisher = gcnew System::String(""); - else - this->hPublisher = pub; - - if( name == nullptr ) - this->hName = gcnew System::String(""); - else - this->hName = name; - } - public: - property System::String ^Name // ¶¬Œã‚ɂ̓tƒB[ƒ‹ƒh‚ÍRead Only - { - System::String^ get(){ return this->hName; } - } - public: - property System::String ^Publisher - { - System::String^ get(){ return this->hPublisher; } - } - }; - - // ------------------------------------------------------------------- - // Type : ref class - // Name : RCMrcError - // - // Description : RCSrlƒNƒ‰ƒX‚ÉŽ‚½‚¹‚éMRCƒGƒ‰[î•ñƒNƒ‰ƒX - // - // Role : \‘¢‘̂Ƃµ‚ăf[ƒ^‚ð‚܂Ƃ߂è‚­ - // ------------------------------------------------------------------- - public ref class RCMrcError - { - private: - System::String ^hName; // €–Ú–¼ - System::UInt32 ^hBegin; // ŠJŽnƒAƒhƒŒƒX - System::UInt32 ^hEnd; // I—¹ƒAƒhƒŒƒX - System::String ^hMsg; // ƒGƒ‰[ƒƒbƒZ[ƒW - System::String ^hNameE; // ‰pŒê”Å - System::String ^hMsgE; - System::Boolean ^hEnableModify; // ƒ}ƒXƒ^ƒGƒfƒBƒ^‚ÅC³‰Â”\‚©‚Ç‚¤‚© - System::Boolean ^hAffectRom; // •ÏX‚·‚邯SRL(ROMƒoƒCƒiƒŠ)‚ª•ÏX‚³‚ê‚é‚© - private: - RCMrcError(){} // ••‚¶‚é - public: - RCMrcError( - System::String ^name, System::UInt32 beg, System::UInt32 end, System::String ^msg, - System::String ^nameE, System::String ^msgE, System::Boolean enableModify, System::Boolean affectRom ) - { - if( name == nullptr ) - this->hName = gcnew System::String(""); - else - this->hName = name; - - if( nameE == nullptr ) - this->hNameE = gcnew System::String(""); - else - this->hNameE = nameE; - - this->hBegin = gcnew System::UInt32( beg ); - this->hEnd = gcnew System::UInt32( end ); - - if( msg == nullptr ) - this->hMsg = gcnew System::String(""); - else - this->hMsg = msg; - - if( msgE == nullptr ) - this->hMsgE = gcnew System::String(""); - else - this->hMsgE = msgE; - - this->hEnableModify = gcnew System::Boolean( enableModify ); - this->hAffectRom = gcnew System::Boolean( affectRom ); - } - public: - property System::Boolean EnableModify - { - System::Boolean get(){ return *(this->hEnableModify); } // Read Only - } - property System::Boolean AffectRom - { - System::Boolean get(){ return *(this->hAffectRom); } - } - public: - // gridView‚Ì•\ަŒ`Ž®‚É‚ ‚킹‚é - cli::array^ getAll( System::Boolean isJapanese ) - { - if( (*this->hBegin == METWL_ERRLIST_NORANGE) && (*this->hEnd == METWL_ERRLIST_NORANGE) ) - { - if( isJapanese ) - return (gcnew array{this->hName, "-", "-", this->hMsg}); - else - return (gcnew array{this->hNameE, "-", "-", this->hMsgE}); - } - - if( isJapanese ) - return (gcnew array{this->hName, this->hBegin->ToString("X04")+"h", this->hEnd->ToString("X04")+"h", this->hMsg}); - else - return (gcnew array{this->hNameE, this->hBegin->ToString("X04")+"h", this->hEnd->ToString("X04")+"h", this->hMsgE}); - } - }; - - // ------------------------------------------------------------------- - // Type : ref class - // Name : RCMrcSpecialList - // - // Description : MRC‚̒ljÁƒGƒ‰[€–ÚƒNƒ‰ƒX - // - // Role : \‘¢‘̂Ƃµ‚ăf[ƒ^‚ð‚܂Ƃ߂è‚­ - // ------------------------------------------------------------------- - ref class RCMrcSpecialList - { - public: - property System::Boolean ^hIsCheck; - property System::UInt32 ^hSDKVer; - property System::Byte ^hEULAVer; - property cli::array ^hShared2SizeArray; - public: - RCMrcSpecialList() - { - this->hIsCheck = gcnew System::Boolean( false ); - this->hSDKVer = gcnew System::UInt32( 0 ); - this->hEULAVer = gcnew System::Byte( 0 ); - this->hShared2SizeArray = gcnew cli::array(METWL_NUMOF_SHARED2FILES); // ƒtƒ@ƒCƒ‹ƒTƒCƒY‚Ì”‚ɇ‚킹‚é - System::Int32 i; - for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ ) - { - this->hShared2SizeArray[i] = gcnew System::UInt32( 0 ); - } - } - }; - - // ------------------------------------------------------------------- - // Type : ref class - // Name : RCSrl - // - // Description : ROMƒf[ƒ^(SRL)‚ÌÝ’èî•ñƒNƒ‰ƒX - // - // Role : ROMƒf[ƒ^‚̃tƒ@ƒCƒ‹“üo—ÍE“à•”î•ñ‚ÌXV - // ------------------------------------------------------------------- - ref class RCSrl - { - // field - private: - // ROMƒwƒbƒ_ - ROM_Header *pRomHeader; - - public: - // (GUI‚É•\ަ‚³‚ê‚é)ROMƒwƒbƒ_ŒÅ—Lî•ñ - - // NTRŒÝŠ·î•ñ ReadOnly - property System::String ^hTitleName; - property System::String ^hGameCode; - property System::String ^hMakerCode; - property System::String ^hPlatform; - property System::String ^hRomSize; - property System::Byte ^hRomVersion; - property System::UInt16 ^hHeaderCRC; - property System::String ^hLatency; // MROM/1TROM/Illegal - - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹ - property cli::array ^hArrayParentalRating; // Še’c‘̂ł̧ŒÀ”N—î - property cli::array ^hArrayParentalEffect; // §ŒÀ—LŒøƒtƒ‰ƒO - property cli::array ^hArrayParentalAlways; // §ŒÀ‹­§—LŒøƒtƒ‰ƒO - - // TWLê—pî•ñ ˆê•”•ÒW‰Â”\ - property System::UInt32 ^hNormalRomOffset; - property System::UInt32 ^hKeyTableRomOffset; - property System::Byte ^hEULAVersion; // •ÒW‰Â”\ - property System::String ^hTitleIDLo; - property System::UInt32 ^hTitleIDHi; - property System::Boolean ^hIsAppLauncher; // TitleIDLo‚©‚ç‚í‚©‚éƒAƒvƒŠŽí•Ê - property System::Boolean ^hIsAppUser; // TitleIDHi‚©‚ç‚í‚©‚éƒAƒvƒŠŽí•Ê - property System::Boolean ^hIsAppSystem; // - property System::Boolean ^hIsAppSecure; // - property System::Boolean ^hIsLaunch; // - property System::Boolean ^hIsMediaNand; // - property System::Boolean ^hIsDataOnly; // - property System::UInt16 ^hPublisherCode; // - property System::UInt32 ^hPublicSize; - property System::UInt32 ^hPrivateSize; - property System::Boolean ^hIsNormalJump; - property System::Boolean ^hIsTmpJump; - property System::Boolean ^hHasDSDLPlaySign; // ROMƒwƒbƒ_ŠO‚ÌSRL‚©‚ç‚í‚©‚é–¼‚Ì—L–³ - property System::Boolean ^hIsOldDevEncrypt; // ‹ŒŠJ”­—pˆÃ†ƒtƒ‰ƒO‚ª—§‚Á‚Ä‚¢‚é - property System::Boolean ^hIsSCFGAccess; // SCFGƒŒƒWƒXƒ^‚ðƒƒbƒN‚µ‚Ä‚¢‚é - - // TWLŠg’£ƒtƒ‰ƒO ˆê•”•ÒW‰Â”\ - property System::Boolean ^hIsCodecTWL; - property System::Boolean ^hIsEULA; // •ÒW‰Â”\ - property System::Boolean ^hIsSubBanner; - property System::Boolean ^hIsWiFiIcon; // •ÒW‰Â”\ - property System::Boolean ^hIsWirelessIcon; // •ÒW‰Â”\ - property System::Boolean ^hIsWL; - - // TWLƒAƒNƒZƒXƒRƒ“ƒgƒ[ƒ‹ Read Only - property System::Boolean ^hIsCommonClientKey; - property System::Boolean ^hIsAesSlotBForES; - property System::Boolean ^hIsAesSlotCForNAM; - property System::Boolean ^hIsSD; - property System::Boolean ^hIsNAND; - property System::Boolean ^hIsGameCardOn; - property System::Boolean ^hIsShared2; - property System::Boolean ^hIsAesSlotBForJpegEnc; - property System::Boolean ^hIsGameCardNitro; - property System::Boolean ^hIsAesSlotAForSSL; - property System::Boolean ^hIsCommonClientKeyForDebugger; - - // Shared2ƒtƒ@ƒCƒ‹ƒTƒCƒY Read Only - property cli::array ^hShared2SizeArray; - - // ƒJ[ƒhƒŠ[ƒWƒ‡ƒ“ Read Only - property System::Boolean ^hIsRegionJapan; - property System::Boolean ^hIsRegionAmerica; - property System::Boolean ^hIsRegionEurope; - property System::Boolean ^hIsRegionAustralia; - - // SDKƒo[ƒWƒ‡ƒ“‚ÆŽg—pƒ‰ƒCƒuƒ‰ƒŠ‚ÌƒŠƒXƒg - property System::Collections::Generic::List ^hSDKList; - property System::Collections::Generic::List ^hLicenseList; - - // MRC‹@”\‚Ń`ƒFƒbƒN‚³‚ꂽƒGƒ‰[î•ñ‚ÌƒŠƒXƒg - property System::Collections::Generic::List ^hErrorList; - property System::Collections::Generic::List ^hWarnList; - - // MRC’ljÁ€–Ú - property RCMrcSpecialList ^hMrcSpecialList; - - // constructor and destructor - public: - RCSrl(); - ~RCSrl(); - - // method - public: - - // - // ROMƒwƒbƒ_‚̃tƒ@ƒCƒ‹“üo—Í - // - // @arg [in/out] “üo—̓tƒ@ƒCƒ‹–¼ - // - ECSrlResult readFromFile ( System::String ^filename ); - ECSrlResult writeToFile( System::String ^filename ); - - // internal method - private: - // ROMŒÅ—Lî•ñ‚ÆROMƒwƒbƒ_‚ÌÝ’è - ECSrlResult setRomInfo(void); // ROMƒwƒbƒ_‚©‚çŽæ“¾‚µ‚½ROMŒÅ—Lî•ñ‚ðƒtƒB[ƒ‹ƒh‚É”½‰f‚³‚¹‚é - ECSrlResult setRomHeader(void); // ROMƒwƒbƒ_‚ÉROMŒÅ—Lî•ñƒtƒB[ƒ‹ƒh‚Ì’l‚𔽉f‚³‚¹‚é - - // ROMƒwƒbƒ_‚ÌXV - ECSrlResult calcRomHeaderCRC(void); // ROMƒwƒbƒ_‚ÌCRC‚ðÄŒvŽZ - ECSrlResult signRomHeader(void); // ROMƒwƒbƒ_XVŒã‚ÌÄ–¼ - ECSrlResult decryptRomHeader(void); // ROMƒwƒbƒ_‚Ì–¼‚ðŠO‚· - - // SRLƒoƒCƒiƒŠ‚©‚ç“ÁŽê‚ÈÝ’è‚𒲂ׂé - ECSrlResult hasDSDLPlaySign( FILE *fp ); - // DSƒ_ƒEƒ“ƒ[ƒh–¼‚ªSRL‚ÉŠi”[‚³‚ê‚Ä‚¢‚é‚©’²‚ׂé - // @arg [in] “ü—̓tƒ@ƒCƒ‹‚ÌFP (->SRL“ǂݞ‚ÝŽž‚ÉŽÀs‚³‚ê‚é‚ׂ«)] - ECSrlResult searchSDKVersion( FILE *fp ); // SDKƒo[ƒWƒ‡ƒ“‚ðŽæ“¾‚·‚é - ECSrlResult searchLicenses( FILE *fp ); // Žg—pƒ‰ƒCƒZƒ“ƒX‚ðŽæ“¾‚·‚é - - // MRC(Master ROM Checker)‹@”\ - ECSrlResult mrc( FILE *fp ); - ECSrlResult mrcNTR( FILE *fp ); - ECSrlResult mrcTWL( FILE *fp ); - ECSrlResult mrcTWLParentalControl(void); - System::Boolean mrcRegion( System::UInt32 region ); // @ret ƒŠ[ƒWƒ‡ƒ“‚ª³‚µ‚¢‚©‚Ç‚¤‚© - void mrcRegionOrganization( System::UInt32 region ); - void mrcRating( System::Byte ogn ); - void mrcPadding( FILE *fp ); - void mrcBanner( FILE *fp ); - - // utility - void clearParentalControl( System::Byte ogn ); - - }; // end of ref class RCSrl - -} // end of namespace MasterEditorTWL diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/stdafx.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/stdafx.cpp deleted file mode 100644 index 5fa2061c..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/stdafx.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// stdafx.cpp : •W€ƒCƒ“ƒNƒ‹[ƒh MasterEditorTWL.pch ‚݂̂ð -// ŠÜ‚Þƒ\[ƒX ƒtƒ@ƒCƒ‹‚ÍAƒvƒŠƒRƒ“ƒpƒCƒ‹Ï‚݃wƒbƒ_[‚ɂȂè‚Ü‚·B -// stdafx.obj ‚ɂ̓vƒŠƒRƒ“ƒpƒCƒ‹Ï‚ÝŒ^î•ñ‚ªŠÜ‚Ü‚ê‚Ü‚·B - -#include "stdafx.h" - - diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/stdafx.h b/build/tools/MasterEditorTWL/MasterEditorTWL/stdafx.h deleted file mode 100644 index 6c1fb4be..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/stdafx.h +++ /dev/null @@ -1,6 +0,0 @@ -// stdafx.h : •W€‚̃VƒXƒeƒ€ ƒCƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹‚̃Cƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹A‚Ü‚½‚Í -// ŽQƉñ”‚ª‘½‚­A‚©‚‚ ‚Ü‚è•ÏX‚³‚ê‚È‚¢AƒvƒƒWƒFƒNƒgê—p‚̃Cƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹ -// ‚ð‹Lq‚µ‚Ü‚·B -#pragma once - -// TODO: ƒvƒƒOƒ‰ƒ€‚É•K—v‚ȒljÁƒwƒbƒ_[‚ð‚±‚±‚ÅŽQÆ‚µ‚Ä‚­‚¾‚³‚¢B diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/utility.cpp b/build/tools/MasterEditorTWL/MasterEditorTWL/utility.cpp deleted file mode 100644 index 1decb2da..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/utility.cpp +++ /dev/null @@ -1,518 +0,0 @@ -// utility.h ‚ÌŽÀ‘• - -#include "stdafx.h" -#include -#include "common.h" -#include "utility.h" -#include -#include -#include -#include -#include - -// -// String ‚ð char ”z—ñ‚ÉŠi”[ -// -// @arg [out] Ši”[æ -// @arg [in] Ši”[Œ³ -// @arg [in] •¶Žš—ñ’· -// @arg [in] —]‚è‚ð–„‚ß‚é padding -// -void MasterEditorTWL::setStringToChars( char *pDst, System::String ^hSrc, - const System::Int32 nMax, const System::SByte pad ) -{ - System::Int32 i; - - memset( pDst, pad, nMax ); - for( i=0; (i < hSrc->Length) && (i < nMax); i++ ) - { - pDst[i] = (char)hSrc[i]; - } -} - -// -// ROMƒwƒbƒ_’†‚ÌROM—e—ÊÝ’èƒoƒCƒg‚©‚çROM—e—Ê‚ð•\‚·•¶Žš—ñ‚ðŽæ“¾ -// -// @arg [in] ROM—e—ÊÝ’èƒoƒCƒg -// -// @ret •¶Žš—ñ(’PˆÊ‚‚«) -// -System::String^ MasterEditorTWL::transRomSizeToString( System::Byte ^byte ) -{ - System::UInt32 size; - System::String ^unit; - - // RomSize = 2^(byte) [Mbit] - size = 1 << *(byte); - - if(size >= 1024) - { - unit = gcnew System::String("Gbit"); - size = size / 1024; - } - else - { - unit = gcnew System::String("Mbit"); - } - return (size.ToString() + unit); -} - -// -// ƒTƒCƒY‚©‚ç’PˆÊ‚‚«‚Ì•¶Žš—ñ‚ðŽæ“¾ -// -// @arg [in] ƒoƒCƒg” -// -// @ret •¶Žš—ñ(’PˆÊ‚‚«) -// -System::String^ MasterEditorTWL::transSizeToString( System::UInt32 ^size ) -{ - if( size == nullptr ) - { - return (gcnew System::String("")); - } - - System::UInt32 val = *size; - - // Byte’PˆÊ - if( val == 0 ) - { - return val.ToString(); - } - if( val < 1024 ) - { - return (val.ToString() + " Byte"); - } - - // KB’PˆÊ‚ɕϊ· - if( (val % 1024) != 0 ) - { - return (val.ToString() + " Byte"); // ’[”‚̂Ƃ«‚Í’PˆÊ•ÏŠ·‚µ‚È‚¢ - } - val = val / 1024; - if( val < 1024 ) - { - return (val.ToString() + " KB"); - } - - // MB’PˆÊ‚ɕϊ· - if( (val % 1024) != 0 ) - { - return (val.ToString() + " KB"); - } - val = val / 1024; - if( val < 1024) - { - return (val.ToString() + " MB"); - } - - // GB’PˆÊ‚ɕϊ· - if( (val % 1024) != 0 ) - { - return (val.ToString() + " MB"); - } - val = val / 1024; - return (val.ToString() + " GB"); -} - -// -// ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹‚̃Œ[ƒeƒBƒ“ƒO’l‚©‚ç•¶Žš—ñ‚ðŽæ“¾ -// -// @arg [in] ’c‘Ì -// @arg [in] —LŒøƒtƒ‰ƒO(0ΈÈã‚©–¢R¸‚©‚ð”»’è‚·‚邽‚߂Ɏg—p‚·‚é) -// @arg [in] ƒŒ[ƒeƒBƒ“ƒO’l -// @arg [in] ‰pŒêƒtƒ‰ƒO -// -// @ret ƒŒ[ƒeƒBƒ“ƒO‚Ì•¶Žš—ñ(’c‘Ì‚ª‚¨‚©‚µ‚¢‚Æ‚«nullptr) -// -System::String^ MasterEditorTWL::transRatingToString( System::Byte ogn, System::Boolean enable, System::Byte rating, System::Boolean english ) -{ - cli::array< System::String^ > ^list; - System::Int32 index; - System::String ^str; - - if( ogn == OS_TWL_PCTL_OGN_CERO ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{ 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"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"A (‘S”N—î)", L"B (12ΈÈã)", L"C (15ΈÈã)", L"D (17ΈÈã)", L"Z (18ΈÈã)", L"–¢R¸"}; - } - - switch( rating ) - { - case 0: - if( enable ) // ‘S”N—î‚©–¢R¸‚©”»’è - 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; - } - str = list[ index ]; - } - - else if( ogn == OS_TWL_PCTL_OGN_ESRB ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{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"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"EC (3ΈÈã)", L"E (6ΈÈã)", L"E10+ (10ΈÈã)", L"T (13ΈÈã)", L"M (17ΈÈã)", L"–¢R¸"}; - } - - switch( rating ) - { - 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‚̓fƒtƒHƒ‹ƒg’l‚Ȃ̂ŃGƒ‰[ƒƒbƒZ[ƒW‚ðo‚³‚È‚¢(Ž©“®“I‚É–¢R¸ˆµ‚¢) - default: - index = 5; - break; - } - str = list[ index ]; - } - - else if( ogn == OS_TWL_PCTL_OGN_USK ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{L"All ages", L"aged 6 or older", L"aged 12 or older", L"aged 16 or older", - L"Inadequent for young", L"Unexamined"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"”N—î§ŒÀ‚È‚µ", L"6ΈÈã", L"12ΈÈã", L"16ΈÈã", L"­”N‚ɂ͕s“KØ", L"–¢R¸"}; - } - - switch( rating ) - { - case 0: - if( enable ) - 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; - } - str = list[ index ]; - } - - else if( ogn == OS_TWL_PCTL_OGN_PEGI_GEN ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{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"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"3ΈÈã", L"7ΈÈã", L"12ΈÈã", L"16ΈÈã", L"18ΈÈã", L"–¢R¸"}; - } - - switch( rating ) - { - 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; - } - str = list[ index ]; - } - - else if( ogn == OS_TWL_PCTL_OGN_PEGI_PRT ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{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"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"4ΈÈã", L"6ΈÈã", L"12ΈÈã", L"16ΈÈã", L"18ΈÈã", L"–¢R¸"}; - } - - switch( rating ) - { - 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; - } - str = list[ index ]; - } - - else if( ogn == OS_TWL_PCTL_OGN_PEGI_BBFC ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{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"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"3ΈÈã", L"4ΈÈã„§", L"7ΈÈã", L"8ΈÈã„§", - L"12ΈÈã", L"15ΈÈã", L"16ΈÈã", L"18ΈÈã", L"–¢R¸"}; - } - switch( rating ) - { - 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; - } - str = list[ index ]; - } - - else if( ogn == OS_TWL_PCTL_OGN_OFLC ) - { - if( english ) - { - list = gcnew cli::array< System::String^ >{L"G", L"PG", L"M", L"MA15+", L"Unexamined"}; - } - else - { - list = gcnew cli::array< System::String^ >{L"G", L"PG", L"M", L"MA15+", L"–¢R¸"}; - } - - switch( rating ) - { - case 0: - if( enable ) - 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; - } - str = list[ index ]; - } - - else - { - str = nullptr; - } - - return str; -} // MasterEditorTWL::transRatingToString - -// -// ƒoƒCƒg—ñ‚É“Á’è‚̃pƒ^[ƒ“‚ªŠÜ‚Ü‚ê‚é‚©‚Ç‚¤‚©ƒ}ƒbƒ`ƒ“ƒO‚·‚é -// -// @arg [in] ƒeƒLƒXƒg -// [in] ƒeƒLƒXƒg‚Ì’·‚³ -// [in] ƒpƒ^[ƒ“ -// [in] ƒpƒ^[ƒ“‚Ì’·‚³ -// [in] ƒeƒLƒXƒg‚ÌI’[‚܂Œ²‚ׂ½Žž“_‚ŃeƒLƒXƒg‚ª“r’†‚܂Ń}ƒbƒ`‚µ‚Ä‚¢‚½ê‡‚ð¬Œ÷‚Ƃ݂Ȃ·‚© -// -// @ret ƒ}ƒbƒ`‚µ‚½ƒeƒLƒXƒg‚̃IƒtƒZƒbƒg‚ðƒŠƒXƒg‚ŕԂ·B -// -System::Collections::Generic::List^ MasterEditorTWL::patternMatch( - const u8 *text, const u32 textLen, const u8 *pattern, const u32 patternLen, const System::Boolean enableLast ) -{ - // ‚ЂƂ܂¸ƒVƒ“ƒvƒ‹‚È•û–@‚ÅŽÀ‘•‚·‚é - u32 first; - u32 len; - System::Collections::Generic::List ^list = gcnew System::Collections::Generic::List(); - list->Clear(); - - // ƒpƒ^[ƒ“‚ð1•¶Žš‚¸‚‚¸‚炵‚È‚ª‚çƒ}ƒbƒ`ƒ“ƒO - for( first=0; first < textLen; first++ ) - { - len = (patternLen < (textLen-first))?patternLen:(textLen-first); // ÅŒã‚̂ق¤‚Í“r’†‚܂łµ‚©ƒ}ƒbƒ`ƒ“ƒO‚µ‚È‚¢ - if( *(text+first) == pattern[0] ) // ‚‘¬‰»‚Ì‚½‚ßʼn‚Ì•¶Žš‚ªˆê’v‚µ‚½‚Æ‚«‚̂ݑS•¶ƒ}ƒbƒ`ƒ“ƒO - { - if( memcmp( text+first, pattern, len ) == 0 ) - { - if( (enableLast == true) ) - { - list->Add( first ); - } - else if( len == patternLen ) // Š®‘Sˆê’v‚µ‚È‚¢‚ƃ_ƒ - { - list->Add( first ); - } - } - } - } - return list; -} // MasterEditorTWL::patternMatch - -// -// ƒtƒ@ƒCƒ‹‚ɃoƒCƒg—ñ‚̃pƒ^[ƒ“‚ªŠÜ‚Ü‚ê‚é‚©‚Ç‚¤‚©ƒ}ƒbƒ`ƒ“ƒO‚·‚é -// -// @arg [in] ƒ}ƒbƒ`‘ÎۂƂȂéƒtƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ -// @arg [in] ƒpƒ^[ƒ“ -// @arg [in] ƒpƒ^[ƒ“‚Ì’·‚³(PATTERN_MATCH_LEN_MAXˆÈ‰º‚łȂ¯‚ê‚΂Ȃç‚È‚¢) -// -// @ret ƒ}ƒbƒ`‚µ‚½ƒeƒLƒXƒg‚̃IƒtƒZƒbƒg‚ðƒŠƒXƒg‚ŕԂ·B -// ÅŒã‚܂Ń}ƒbƒ`‚µ‚½ê‡‚̂ݬŒ÷‚µ‚½‚Ƃ݂Ȃ·B -// -#define PATTERN_MATCH_LEN_MAX (10*1024) -System::Collections::Generic::List^ MasterEditorTWL::patternMatch( FILE *fp, const u8 *pattern, const u32 patternLen ) -{ - u8 text[ 2 * PATTERN_MATCH_LEN_MAX ]; // ƒoƒbƒtƒ@‚ÌØ‚ê–Ú‚ð’Tõ‚·‚邽‚ß‘½‚߂ɓǂݞ‚Þ‚Ì‚ÅÅ‘å‚Ńpƒ^[ƒ“‚Ì2”{‚¾‚¯ƒoƒbƒtƒ@‚ª•K—v‚ɂȂé - u32 cur; - u32 filesize; - u32 len; - u32 extra; - System::Collections::Generic::List ^tmplist; - System::Collections::Generic::List ^list = gcnew System::Collections::Generic::List; - list->Clear(); - - if( patternLen > PATTERN_MATCH_LEN_MAX ) - return nullptr; - - fseek( fp, 0, SEEK_END ); - filesize = ftell( fp ); - - cur = 0; - while( cur < filesize ) - { - // ƒoƒbƒtƒ@‚ÌØ‚ê–ڂ𒲂ׂ½‚¢‚½‚ߎÀÛ‚É‚Í(ƒpƒ^[ƒ“‚Ì’·‚³-1)‚¾‚¯‘½‚߂ɃŠ[ƒh‚·‚é - len = ((filesize - cur) < PATTERN_MATCH_LEN_MAX)?(filesize - cur):PATTERN_MATCH_LEN_MAX; - extra = (len <= PATTERN_MATCH_LEN_MAX)?0:(patternLen-1); // ÅŒã‚܂ł¢‚Á‚½‚Æ‚«‚ɂ͗]•ª‚ɃŠ[ƒh‚µ‚Ă͂¢‚¯‚È‚¢ - fseek( fp, cur, SEEK_SET ); - u32 readlen = fread( text, 1, len + extra, fp ); - if( (len + extra) != readlen ) - { - //System::Diagnostics::Debug::WriteLine( "actual len = " + readlen.ToString() ); - //System::Diagnostics::Debug::WriteLine( "expect len = " + (len + extra).ToString() ); - return nullptr; - } - - // ƒeƒLƒXƒgI’[‚É“r’†‚܂Ń}ƒbƒ`ƒ“ƒO‚µ‚½‚Æ‚«‚ÍŽ¸”s‚Ƃ݂Ȃ· - tmplist = MasterEditorTWL::patternMatch( text, len+extra, pattern, patternLen, false ); - if( tmplist != nullptr ) - { - for each( u32 tmpval in tmplist ) - { - list->Add( tmpval + cur ); // ŽÀۂ̃IƒtƒZƒbƒg‚̓tƒ@ƒCƒ‹ƒIƒtƒZƒbƒg‚ð‰Á‚¦‚½’l - } - } - - // ŽŸ‚ÌSEEKˆÊ’u:‘½‚߂ɃŠ[ƒh‚µ‚½‚Í‚¸‚ç‚· - cur += len; - } - return list; -} - -// -// XML‚̃‹[ƒgƒm[ƒh‚©‚çŽw’肵‚½–¼‘O‚̃^ƒO‚ðŒŸõ‚µ‚ĕԂ· -// -// @arg [in] XML‚̃‹[ƒgƒm[ƒh -// @arg [in] ƒ^ƒO–¼ -// -// @ret ŒŸõ‚Ń}ƒbƒ`‚µ‚½‚Æ‚«ƒm[ƒh‚ð•Ô‚·B‚È‚¢‚Æ‚«‚Í nullptrB -// ‚½‚¾‚µAʼn‚Ƀ}ƒbƒ`‚µ‚½‚à‚̂̂ݕԂ· -// -System::Xml::XmlNode^ MasterEditorTWL::searchXmlNode( System::Xml::XmlElement ^root, System::String ^tag ) -{ - System::Xml::XmlNodeList ^list = root->GetElementsByTagName( tag ); - System::Xml::XmlNode ^item = nullptr; - if( list != nullptr ) - { - item = list->Item(0); - } - return item; -} - -// -// ƒ^ƒO‚ðŒŸõ‚µ‚Ä‚»‚̃eƒLƒXƒg‚ªŽw’肵‚½ƒeƒLƒXƒg‚ƈê’v‚·‚é‚©’²‚ׂé -// -// @arg [in] XML‚̃‹[ƒgƒm[ƒh -// @arg [in] ƒ^ƒO–¼ -// @arg [in] ’l -// -// @ret ˆê’v‚·‚邯‚«trueBˆê’v‚µ‚È‚¢‚Æ‚«Aƒ^ƒO‚ª‘¶Ý‚µ‚È‚¢‚Æ‚«‚ÍfalseB -// -System::Boolean MasterEditorTWL::isXmlEqual( System::Xml::XmlElement ^root, System::String ^tag, System::String ^val ) -{ - System::Xml::XmlNode ^item = MasterEditorTWL::searchXmlNode( root, tag ); - if( (item != nullptr) && (item->FirstChild != nullptr) && (item->FirstChild->Value->Equals( val )) ) - { - return true; - } - return false; -} - -// -// ƒ^ƒO‚ðŒŸõ‚µ‚Ä‚»‚̃eƒLƒXƒg‚ð•Ô‚· -// -// @arg [in] XML‚̃‹[ƒgƒm[ƒh -// @arg [in] ƒ^ƒO‚ÌXPath -// -// @ret ƒeƒLƒXƒg‚ª‘¶Ý‚·‚邯‚«‚»‚̃eƒLƒXƒg‚ð•Ô‚·B‘¶Ý‚µ‚È‚¢‚Æ‚«nullptrB -// -System::String^ MasterEditorTWL::getXPathText( System::Xml::XmlElement ^root, System::String ^xpath ) -{ - System::Xml::XmlNode ^tmp = root->SelectSingleNode( xpath ); - if( tmp && tmp->FirstChild && tmp->FirstChild->Value ) - { - return tmp->FirstChild->Value; - } - return nullptr; -} - -// -// XML‚Ƀ^ƒO‚ð’ljÁ‚·‚é -// -// @arg [in] XMLƒhƒLƒ…ƒƒ“ƒg -// @arg [in] eƒm[ƒh -// @arg [in] ƒ^ƒO–¼ -// @arg [in] ƒeƒLƒXƒg -// -void MasterEditorTWL::appendXmlTag( System::Xml::XmlDocument ^doc, System::Xml::XmlElement ^parent, - System::String ^tag, System::String ^text ) -{ - if( System::String::IsNullOrEmpty( text ) ) - return; - - System::Xml::XmlElement ^node = doc->CreateElement( tag ); - node->AppendChild( doc->CreateTextNode( text ) ); - parent->AppendChild( node ); -} diff --git a/build/tools/MasterEditorTWL/MasterEditorTWL/utility.h b/build/tools/MasterEditorTWL/MasterEditorTWL/utility.h deleted file mode 100644 index 6ac9b0f0..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWL/utility.h +++ /dev/null @@ -1,125 +0,0 @@ -#pragma once - -// ‹¤—pƒ‰ƒCƒuƒ‰ƒŠEƒNƒ‰ƒX‚Ì錾 - -#include -#include -#include - -namespace MasterEditorTWL -{ - - // ------------------------------------------------------------------- - // functions - // ------------------------------------------------------------------- - - // - // String ‚ð char ”z—ñ‚ÉŠi”[ - // - // @arg [out] Ši”[æ - // @arg [in] Ši”[Œ³ - // @arg [in] •¶Žš—ñ’· - // @arg [in] —]‚è‚ð–„‚ß‚é padding - // - void setStringToChars( char *pDst, System::String ^hSrc, const System::Int32 nMax, const System::SByte pad ); - - // - // ROMƒwƒbƒ_’†‚ÌROM—e—ÊÝ’èƒoƒCƒg‚©‚çROM—e—Ê‚ð•\‚·•¶Žš—ñ‚ðŽæ“¾ - // - // @arg [in] ROM—e—ÊÝ’èƒoƒCƒg - // - // @ret •¶Žš—ñ(’PˆÊ‚‚«) - // - System::String^ transRomSizeToString( System::Byte ^byte ); - - // - // ƒTƒCƒY‚©‚ç’PˆÊ‚‚«‚Ì•¶Žš—ñ‚ðŽæ“¾ - // - // @arg [in] ƒoƒCƒg” - // - // @ret •¶Žš—ñ(’PˆÊ‚‚«) - // - System::String^ transSizeToString( System::UInt32 ^size ); - - // - // ƒyƒAƒŒƒ“ƒ^ƒ‹ƒRƒ“ƒgƒ[ƒ‹‚̃Œ[ƒeƒBƒ“ƒO’l‚©‚ç•¶Žš—ñ‚ðŽæ“¾ - // - // @arg [in] ’c‘Ì - // @arg [in] —LŒøƒtƒ‰ƒO(0ΈÈã‚©–¢R¸‚©‚ð”»’è‚·‚邽‚߂Ɏg—p‚·‚é) - // @arg [in] ƒŒ[ƒeƒBƒ“ƒO’l - // @arg [in] ‰pŒêƒtƒ‰ƒO - // - // @ret ƒŒ[ƒeƒBƒ“ƒO‚Ì•¶Žš—ñ(’c‘Ì‚ª‚¨‚©‚µ‚¢‚Æ‚«nullptr) - // - System::String^ transRatingToString( System::Byte ogn, System::Boolean enable, System::Byte rating, System::Boolean english ); - - // - // ƒoƒCƒg—ñ‚É“Á’è‚̃pƒ^[ƒ“‚ªŠÜ‚Ü‚ê‚é‚©‚Ç‚¤‚©ƒ}ƒbƒ`ƒ“ƒO‚·‚é - // - // @arg [in] ƒeƒLƒXƒg - // [in] ƒeƒLƒXƒg‚Ì’·‚³ - // [in] ƒpƒ^[ƒ“ - // [in] ƒpƒ^[ƒ“‚Ì’·‚³ - // [in] ƒeƒLƒXƒg‚ÌI’[‚܂Œ²‚ׂ½Žž“_‚ŃeƒLƒXƒg‚ª“r’†‚܂Ń}ƒbƒ`‚µ‚Ä‚¢‚½ê‡‚ð¬Œ÷‚Ƃ݂Ȃ·‚© - // - // @ret ƒ}ƒbƒ`‚µ‚½ƒeƒLƒXƒg‚̃Cƒ“ƒfƒbƒNƒX‚ðƒŠƒXƒg‚ŕԂ·B - // - System::Collections::Generic::List^ patternMatch( - const u8 *text, const u32 textLen, const u8 *pattern, const u32 patternLen, const System::Boolean enableLast ); - - // - // ƒtƒ@ƒCƒ‹‚ɃoƒCƒg—ñ‚̃pƒ^[ƒ“‚ªŠÜ‚Ü‚ê‚é‚©‚Ç‚¤‚©ƒ}ƒbƒ`ƒ“ƒO‚·‚é - // - // @arg [in] ƒ}ƒbƒ`‘ÎۂƂȂéƒtƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - // @arg [in] ƒpƒ^[ƒ“ - // @arg [in] ƒpƒ^[ƒ“‚Ì’·‚³ - // - // @ret ƒ}ƒbƒ`‚µ‚½ƒeƒLƒXƒg‚̃Cƒ“ƒfƒbƒNƒX‚ðƒŠƒXƒg‚ŕԂ·B - // ÅŒã‚܂Ń}ƒbƒ`‚µ‚½ê‡‚̂ݬŒ÷‚µ‚½‚Ƃ݂Ȃ·B - // - System::Collections::Generic::List^ patternMatch( FILE *fp, const u8 *pattern, const u32 patternLen ); - - // - // XML‚̃‹[ƒgƒm[ƒh‚©‚çŽw’肵‚½–¼‘O‚̃^ƒO‚ðŒŸõ‚µ‚ĕԂ· - // - // @arg [in] XML‚̃‹[ƒgƒm[ƒh - // @arg [in] ƒ^ƒO–¼ - // - // @ret ŒŸõ‚Ń}ƒbƒ`‚µ‚½‚Æ‚«ƒm[ƒh‚ð•Ô‚·B‚È‚¢‚Æ‚«‚Í nullptrB - // ‚½‚¾‚µAʼn‚Ƀ}ƒbƒ`‚µ‚½‚à‚̂̂ݕԂ· - // - System::Xml::XmlNode^ searchXmlNode( System::Xml::XmlElement ^root, System::String ^tag ); - - // - // ƒ^ƒO‚ðŒŸõ‚µ‚Ä‚»‚̃eƒLƒXƒg‚ªŽw’肵‚½ƒeƒLƒXƒg‚ƈê’v‚·‚é‚©’²‚ׂé - // - // @arg [in] XML‚̃‹[ƒgƒm[ƒh - // @arg [in] ƒ^ƒO–¼ - // @arg [in] ’l - // - // @ret ˆê’v‚·‚邯‚«trueBˆê’v‚µ‚È‚¢‚Æ‚«Aƒ^ƒO‚ª‘¶Ý‚µ‚È‚¢‚Æ‚«‚ÍfalseB - // - System::Boolean isXmlEqual( System::Xml::XmlElement ^root, System::String ^tag, System::String ^val ); - - // - // ƒ^ƒO‚ðŒŸõ‚µ‚Ä‚»‚̃eƒLƒXƒg‚ð•Ô‚· - // - // @arg [in] XML‚̃‹[ƒgƒm[ƒh - // @arg [in] ƒ^ƒO‚ÌXPath - // - // @ret ƒeƒLƒXƒg‚ª‘¶Ý‚·‚邯‚«‚»‚̃eƒLƒXƒg‚ð•Ô‚·B‘¶Ý‚µ‚È‚¢‚Æ‚«nullptrB - // - System::String^ getXPathText( System::Xml::XmlElement ^root, System::String ^xpath ); - - // - // XML‚Ƀ^ƒO‚ð’ljÁ‚·‚é - // - // @arg [in] XMLƒhƒLƒ…ƒƒ“ƒg - // @arg [in] eƒm[ƒh - // @arg [in] ƒ^ƒO–¼ - // @arg [in] ƒeƒLƒXƒg - // - void appendXmlTag( System::Xml::XmlDocument ^doc, System::Xml::XmlElement ^parent, - System::String ^tag, System::String ^text ); - -} // end of namespace MasterEditorTWL diff --git a/build/tools/MasterEditorTWL/MasterEditorTWLSetup/MasterEditorTWLSetup.vdproj b/build/tools/MasterEditorTWL/MasterEditorTWLSetup/MasterEditorTWLSetup.vdproj deleted file mode 100644 index 2f2a5540..00000000 --- a/build/tools/MasterEditorTWL/MasterEditorTWLSetup/MasterEditorTWLSetup.vdproj +++ /dev/null @@ -1,820 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:MasterEditorTWLSetup" -"LanguageId" = "3:1041" -"CodePage" = "3:932" -"UILanguageId" = "3:1041" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_23206E985D4D45889DEAA959C37C4BC9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7746D2D347F0423FB46FA2300F6158A4" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A3417E9C9F294832AE49B5BDAF95E373" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\MasterEditorTWLSetup.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Net.Framework.2.0" - { - "Name" = "8:.NET Framework 2.0 (x86)" - "ProductCode" = "8:Microsoft.Net.Framework.2.0" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows インストーラ 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\MasterEditorTWLSetup.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Net.Framework.2.0" - { - "Name" = "8:.NET Framework 2.0 (x86)" - "ProductCode" = "8:Microsoft.Net.Framework.2.0" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows インストーラ 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_6924DDEBAA3847838D980F2E7456B5FF" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "Version" = "8:2.0.50727" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=76617" - } - } - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_23206E985D4D45889DEAA959C37C4BC9" - { - "SourcePath" = "8:..\\resource\\sheet_templete.xml" - "TargetName" = "8:sheet_templete.xml" - "Tag" = "8:" - "Folder" = "8:_99EFE6B595C5432FB4712560C9D29AE5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A3417E9C9F294832AE49B5BDAF95E373" - { - "SourcePath" = "8:..\\resource\\ini.xml" - "TargetName" = "8:ini.xml" - "Tag" = "8:" - "Folder" = "8:_99EFE6B595C5432FB4712560C9D29AE5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_511CA14EE892474E9A4F78537CA4FD5F" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_DB36135A1FB84606BA18105F8B898FB2" - { - "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_1494B8B199184797B9C812877A4DFB7F" - { - "Name" = "8:bin" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_B23854B2049F4A97BCD9477AFCDBE7EB" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_99EFE6B595C5432FB4712560C9D29AE5" - { - "Name" = "8:resource" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_640331DE98B247AD89E624136F7BF429" - "Folders" - { - } - } - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_F871EA43D66E4C2C868D277F17AE8F52" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1041" - "RequiresElevation" = "11:FALSE" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:MasterEditorTWL" - "ProductCode" = "8:{B12B5AFF-26D1-47B5-85B6-1E2A7B5106F5}" - "PackageCode" = "8:{ABE560BA-10B0-4620-A9B1-EC5700EBDDEE}" - "UpgradeCode" = "8:{CE22C209-7AE1-4F58-8F6B-6D044BA2A118}" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:FALSE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.0" - "Manufacturer" = "8:nintendo" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:MasterEditorTWLSetup" - "Subject" = "8:" - "ARPCONTACT" = "8:nintendo" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_DE3525327D5741C8B8F00223FB033E80" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_064E90E490674DEEA974094B5467A386" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_E41443B9DF754797AA265044ED843A52" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_2BC1D936E6DC45A7A1BD166F48CE31C3" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_1E9C816FBE5C44DC8A2649DF40760892" - { - "Name" = "8:MasterEditorTWL" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_7746D2D347F0423FB46FA2300F6158A4" - "Folder" = "8:_511CA14EE892474E9A4F78537CA4FD5F" - "WorkingFolder" = "8:_1494B8B199184797B9C812877A4DFB7F" - "Icon" = "8:" - "Feature" = "8:" - } - } - "UserInterface" - { - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_4CCE54AD98074A3BBD623BDEC20B9752" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_75F92E28CF004D259861A9FED348A478" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_03D0563E96ED4290A1F39B1089754E46" - { - "Sequence" = "3:200" - "DisplayName" = "8:インストール フォルダ" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "InstallAllUsersVisible" - { - "Name" = "8:InstallAllUsersVisible" - "DisplayName" = "8:#1059" - "Description" = "8:#1159" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_15934606B52D491287A665833C86963C" - { - "Sequence" = "3:100" - "DisplayName" = "8:よã†ã“ã" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_C16356A19FD541E68225C5E34F2ACBD1" - { - "Sequence" = "3:300" - "DisplayName" = "8:インストールã®ç¢ºèª" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_84553AE7657346C0BEFFACC6DEE8BA3E" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_46AE50DF1B9A458FA932AB9BDEB8C097" - { - "Sequence" = "3:100" - "DisplayName" = "8:進行状æ³" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_856D1D3282D44811B9EEF57A521CB8A0" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0E61C8F6C89747558C33BD69BACE7158" - { - "Sequence" = "3:300" - "DisplayName" = "8:インストールã®ç¢ºèª" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_43EBFD558AA44619A26A25D5AE33C315" - { - "Sequence" = "3:100" - "DisplayName" = "8:よã†ã“ã" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_D4B799BD07FD4AE5890E6319153B8CCF" - { - "Sequence" = "3:200" - "DisplayName" = "8:インストール フォルダ" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_95CC2394B4924E52BEF9CC6A51AA8BBF" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_F7EC3CF49FA04B88A1CBE0B6963F0875" - { - "Sequence" = "3:100" - "DisplayName" = "8:完了" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_A8FC0955E1E54111A186CB9467EF1132" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_28866486C3004ECAAF88E207A435EF0D" - { - "Sequence" = "3:100" - "DisplayName" = "8:完了" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_DAB148986A654428A42E413FD4B68E8F" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_61716D98ACBB4CBCB78E425A1C6A4E53" - { - "Sequence" = "3:100" - "DisplayName" = "8:進行状æ³" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_E0E8980863E24B64A2A4D12136B5027B" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_7746D2D347F0423FB46FA2300F6158A4" - { - "SourcePath" = "8:..\\Release\\MasterEditorTWL.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1494B8B199184797B9C812877A4DFB7F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - } -} diff --git a/build/tools/MasterEditorTWL/TWL-MasterROM_Submission_Sheet_080729A.xls b/build/tools/MasterEditorTWL/TWL-MasterROM_Submission_Sheet_080729A.xls deleted file mode 100644 index 2ec59661..00000000 Binary files a/build/tools/MasterEditorTWL/TWL-MasterROM_Submission_Sheet_080729A.xls and /dev/null differ diff --git a/build/tools/MasterEditorTWL/resource/ini.xml b/build/tools/MasterEditorTWL/resource/ini.xml deleted file mode 100644 index 04e9ae14..00000000 --- a/build/tools/MasterEditorTWL/resource/ini.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - w - Sheet - OFF - - 5 - 0 - 20200 - - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - - diff --git a/build/tools/MasterEditorTWL/resource/sheet_templete.xml b/build/tools/MasterEditorTWL/resource/sheet_templete.xml deleted file mode 100644 index bd6fedf5..00000000 --- a/build/tools/MasterEditorTWL/resource/sheet_templete.xml +++ /dev/null @@ -1,11791 +0,0 @@ - - - - - ニンテンドーDS マスターROMæå‡ºç¢ºèªæ›¸ã€€ï¼ˆ2005-00å·ï¼‰ - Osamu Kurokawa - nishikawa_takeshi - 2008-09-08T11:08:56Z - 2004-08-25T05:17:34Z - 2008-09-08T09:49:23Z - Nintendo Co.,Ltd. - 11.9999 - - - 14625 - 19335 - 1260 - 195 - - False - False - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - テイシュツカクニンショãƒãƒ³ã‚¬ãƒ„ã‚«ãƒãƒ³ãƒ‹ãƒ³ãƒ†ãƒ³ãƒ‰ãƒ¼TWLマスターROMæå‡ºç¢ºèªæ›¸ï¼ˆ2008å¹´9月8日版) - - - ã‚»ã‚¤ãƒ’ãƒ³ã‚¸ãƒ§ã‚¦ãƒ›ã‚¦â—†è£½å“æƒ…å ± - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - セイヒンメイ製å“å - TagProductName - - - セイヒン製å“コード - TWL - - TagProductCode1 - - - TagProductCode2 - (JPN) - - - カイガイãƒãƒ³ã‚¦ãƒ ãƒ¨ãƒ†ã‚¤ãƒ•ã‚¯æµ·å¤–ç‰ˆã®æœ‰ç„¡ (予定もå«ã‚€) - TagReleaseForeign - セイヒンメイ製å“å - TagProductNameForeign - - - セイヒン製å“コード - TWL - - TagProductCode1Foreign - - - TagProductCode2Foreign - - - カイシャジョウホウ◆会社情報1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - キシャメイ貴社åï¼éƒ¨ç½²å - TagCompany1 - - - ãµã‚ŠãŒãª - TagFurigana1 - ã‚¤ãƒ³å° - TEL - TagTel1 - - - ã‚´ã‚·ãƒ¡ã‚¤ã”æ°å - TagPerson1 - FAX - TagFax1 - - - E-Mail - TagMail1 - NTSC ユーザーID - TagNTSC1 - - - カイシャジョウホウ◆会社情報2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - キシャメイブショメイ貴社åï¼éƒ¨ç½²å - TagCompany2 - - - ãµã‚ŠãŒãª - TagFurigana2 - ã‚¤ãƒ³å° - TEL - TagTel2 - - - ã‚´ã‚·ãƒ¡ã‚¤ã”æ°å - TagPerson2 - FAX - TagFax2 - - - E-Mail - TagMail2 - NTSC ユーザーID - TagNTSC2 - - - テイシュツジョウホウ◆æå‡ºæƒ…å ± - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - テイシュツビæå‡ºæ—¥ - TagSubmitYear - ãƒãƒ³å¹´ - TagSubmitMonth - ツキ月 - TagSubmitDay - ãƒ‹ãƒæ—¥ - ホウホウ方法 - TagSubmitWay - - - ãƒãƒ„ãƒã‚¤ãƒ¨ãƒ†ã‚¤ãƒ“発売予定日 - TagReleaseYear - ãƒãƒ³å¹´ - TagReleaseMonth - ゲツ月 - TagReleaseDay - ãƒ‹ãƒæ—¥ - ヨウト用途 - TagUsage - - - ジョウホウ◆マスターデータ情報 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - メイマスターファイルå - TagSrlFilename - CRC - TagCRC - イニシャルコード - TagGameCode - - - - メーカーコード - TagMakerCode - メイゲームå - TagTitleName0 - TagTitleName1 - TagTitleName2 - TagTitleName3 - TagTitleName4 - TagTitleName5 - TagTitleName6 - TagTitleName7 - TagTitleName8 - TagTitleName9 - TagTitleName10 - TagTitleName11 - - - - リマスターãƒãƒ¼ã‚¸ãƒ§ãƒ³ - TagRomVersion - テイシュツæå‡ºãƒãƒ¼ã‚¸ãƒ§ãƒ³ - TagSubmitVersion - プラットフォーム - TagPlatform - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - セッテイROMタイプ設定 - TagLatency - ヨウリョウROMå®¹é‡ - TagRomSize - ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—メモリ - TagBackupMemory - - - - Title ID High - TagTitleIDHi - TitleID Low - TagTitleIDLo - メディア - TagMedia - - - - シュベツアプリ種別 - TagAppType - タジョウホウãã®ä»–アプリ情報 - TagAppTypeOther - - - - リョウイキTWLノーマル領域ROMオフセット - TagNormalRomOffset - センヨウリョウイキTWL専用領域ROMオフセット - TagKeyTableRomOffset - - - Publicセーブデータサイズ - TagPublicSize - Privateセーブデータサイズ - TagPrivateSize - - - ツウシンヒョウジWiFi通信アイコン表示 - TagIsWiFiIcon - ツウシンヒョウジDSワイヤレス通信アイコï¾è¡¨ç¤º - TagIsWirelessIcon - ヨウショメイユウコウNTRホワイトリストï¾ï½ªï½¯ï½¸ç”¨ç½²å有効 - TagIsWL - - - Codec NTR/TWLモード - TagIsCodec - ユウコウサブãƒãƒŠãƒ¼ãƒ•ァイル有効 - TagIsSubBanner - ドウイEULAåŒæ„ - TagIsEULA - - - - ã‚­ãƒ§ã‚«ãƒŽãƒ¼ãƒžãƒ«ã‚¸ãƒ£ãƒ³ãƒ—è¨±å¯ - TagIsNormalJump - キョカtmpã‚¸ãƒ£ãƒ³ãƒ—è¨±å¯ - TagIsTmpJump - ドウイEULAåŒæ„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ - TagEULAVersion - - - - カードリージョン - Japan - TagIsRegionJapan - America - TagIsRegionAmerica - Europe - TagIsRegionEurope - Australia - TagIsRegionAustralia - - - - ジョウホウ◆アクセスコントロール情報 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SDカード - TagIsSD - NANDフラッシュ - TagIsNAND - シヨウSharedファイル使用 - TagIsShared2 - ãƒ‡ãƒ³ã‚²ãƒ³ã‚²ãƒ¼ãƒ ã‚«ãƒ¼ãƒ‰é›»æº - TagIsGameCardOn - - - ã‚¿ãã®ä»– - TagAccessOther - - - â—†Share2ファイルサイズ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - File0 - TagShared2Size0 - File1 - TagShared2Size1 - File2 - TagShared2Size2 - File3 - TagShared2Size3 - File4 - TagShared2Size4 - File5 - TagShared2Size5 - - - ◆ペアレンタルコントロール - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ダンタイ団体 - ユウコウ有効 - RP - アタイレーティング値 - ダンタイ団体 - ユウコウ有効 - RP - アタイレーティング値 - - - CERO - TagEnableCERO - TagAlwaysCERO - TagRatingCERO - TagRatingCEROStr - ESRB - TagEnableESRB - TagAlwaysESRB - TagRatingESRB - TagRatingESRBStr - - - USK - TagEnableUSK - TagAlwaysUSK - TagRatingUSK - TagRatingUSKStr - PEGI(Gen.) - TagEnablePEGI - TagAlwaysPEGI - TagRatingPEGI - TagRatingPEGIStr - - - PEGI(Prt.) - TagEnablePEGIPRT - TagAlwaysPEGIPRT - TagRatingPEGIPRT - TagRatingPEGIPRTStr - PEGI+BBFC - TagEnablePEGIBBFC - TagAlwaysPEGIBBFC - TagRatingPEGIBBFC - TagRatingPEGIBBFCStr - - - OFLC - TagEnableOFLC - TagAlwaysOFLC - TagRatingOFLC - TagRatingOFLCStr - - - - - - - - シヨウ◆使用SDK/ライブラリ - - - SDK - TagSDK - - - ライブラリ - TagLibrary - - - - ビコウ◆備考 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TagCaption - ニンテンドウウケツケイン任天堂å—ä»˜å° - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-