マスタエディタ一味を別のツリー(TwlTools)に移行するため、削除。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2662 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-11-07 07:05:52 +00:00
parent 9ba7fa5859
commit 57b161a9cf
157 changed files with 0 additions and 86814 deletions

View File

@ -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

View File

@ -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;
//
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
//
[assembly:AssemblyTitleAttribute("MasterEditorTWL")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("任天堂株式会社")];
[assembly:AssemblyProductAttribute("MasterEditorTWL")];
[assembly:AssemblyCopyrightAttribute("Copyright (c) 任天堂株式会社 2008")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];
//
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
// 既定値にすることができます:
[assembly:AssemblyVersionAttribute("1.1.*")];
[assembly:ComVisible(false)];
[assembly:CLSCompliantAttribute(true)];
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

File diff suppressed because it is too large Load Diff

View File

@ -1,859 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labPlatform.Size" type="System.Drawing.Size, System.Drawing">
<value>73, 12</value>
</data>
<data name="labPlatform.Text" xml:space="preserve">
<value>プラットフォーム</value>
</data>
<data name="labRomSize.Size" type="System.Drawing.Size, System.Drawing">
<value>54, 12</value>
</data>
<data name="labRomSize.Text" xml:space="preserve">
<value>ROM容量</value>
</data>
<data name="labRomType.Size" type="System.Drawing.Size, System.Drawing">
<value>80, 12</value>
</data>
<data name="labRomType.Text" xml:space="preserve">
<value>ROMタイプ設定</value>
</data>
<data name="labMakerCode.Size" type="System.Drawing.Size, System.Drawing">
<value>59, 12</value>
</data>
<data name="labMakerCode.Text" xml:space="preserve">
<value>メーカコード</value>
</data>
<data name="labGameCode.Size" type="System.Drawing.Size, System.Drawing">
<value>78, 12</value>
</data>
<data name="labGameCode.Text" xml:space="preserve">
<value>イニシャルコード</value>
</data>
<data name="labTitleName.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
</data>
<data name="labTitleName.Text" xml:space="preserve">
<value>ソフトタイトル</value>
</data>
<data name="labRemasterVer.Size" type="System.Drawing.Size, System.Drawing">
<value>93, 12</value>
</data>
<data name="labRemasterVer.Text" xml:space="preserve">
<value>リマスターバージョン</value>
</data>
<data name="gboxSrl.Text" xml:space="preserve">
<value>ROMデータ情報</value>
</data>
<data name="labBackup.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 12</value>
</data>
<data name="labBackup.Text" xml:space="preserve">
<value>バックアップメモリ</value>
</data>
<data name="combBackup.Items7" xml:space="preserve">
<value>なし</value>
</data>
<data name="combBackup.Items8" xml:space="preserve">
<value>その他</value>
</data>
<data name="labRomCRC.Size" type="System.Drawing.Size, System.Drawing">
<value>63, 12</value>
</data>
<data name="labRomCRC.Text" xml:space="preserve">
<value>全体のCRC</value>
</data>
<data name="labHeaderCRC.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 12</value>
</data>
<data name="labHeaderCRC.Text" xml:space="preserve">
<value>ヘッダCRC</value>
</data>
<data name="gboxCRC.Text" xml:space="preserve">
<value>ヘッダCRC</value>
</data>
<data name="labCaption.Size" type="System.Drawing.Size, System.Drawing">
<value>241, 12</value>
</data>
<data name="labCaption.Text" xml:space="preserve">
<value>備考欄 - その他連絡事項があればご記入ください</value>
</data>
<data name="combOFLC.Items4" xml:space="preserve">
<value>審査中</value>
</data>
<data name="combPEGI_BBFC.Items" xml:space="preserve">
<value>年齢制限なし(全年齢)</value>
</data>
<data name="combPEGI_BBFC.Items1" xml:space="preserve">
<value>3歳以上</value>
</data>
<data name="combPEGI_BBFC.Items2" xml:space="preserve">
<value>4歳以上推奨</value>
</data>
<data name="combPEGI_BBFC.Items3" xml:space="preserve">
<value>7歳以上</value>
</data>
<data name="combPEGI_BBFC.Items4" xml:space="preserve">
<value>8歳以上推奨</value>
</data>
<data name="combPEGI_BBFC.Items5" xml:space="preserve">
<value>12歳以上</value>
</data>
<data name="combPEGI_BBFC.Items6" xml:space="preserve">
<value>15歳以上</value>
</data>
<data name="combPEGI_BBFC.Items7" xml:space="preserve">
<value>16歳以上</value>
</data>
<data name="combPEGI_BBFC.Items8" xml:space="preserve">
<value>18歳以上</value>
</data>
<data name="combPEGI_BBFC.Items9" xml:space="preserve">
<value>審査中</value>
</data>
<data name="combPEGI_PRT.Items" xml:space="preserve">
<value>年齢制限なし(全年齢)</value>
</data>
<data name="combPEGI_PRT.Items1" xml:space="preserve">
<value>4歳以上</value>
</data>
<data name="combPEGI_PRT.Items2" xml:space="preserve">
<value>6歳以上</value>
</data>
<data name="combPEGI_PRT.Items3" xml:space="preserve">
<value>12歳以上</value>
</data>
<data name="combPEGI_PRT.Items4" xml:space="preserve">
<value>16歳以上</value>
</data>
<data name="combPEGI_PRT.Items5" xml:space="preserve">
<value>18歳以上</value>
</data>
<data name="combPEGI_PRT.Items6" xml:space="preserve">
<value>審査中</value>
</data>
<data name="combPEGI.Items" xml:space="preserve">
<value>年齢制限なし(全年齢)</value>
</data>
<data name="combPEGI.Items1" xml:space="preserve">
<value>3歳以上</value>
</data>
<data name="combPEGI.Items2" xml:space="preserve">
<value>7歳以上</value>
</data>
<data name="combPEGI.Items3" xml:space="preserve">
<value>12歳以上</value>
</data>
<data name="combPEGI.Items4" xml:space="preserve">
<value>16歳以上</value>
</data>
<data name="combPEGI.Items5" xml:space="preserve">
<value>18歳以上</value>
</data>
<data name="combPEGI.Items6" xml:space="preserve">
<value>審査中</value>
</data>
<data name="combUSK.Items" xml:space="preserve">
<value>年齢制限なし</value>
</data>
<data name="combUSK.Items1" xml:space="preserve">
<value>6歳以上</value>
</data>
<data name="combUSK.Items2" xml:space="preserve">
<value>12歳以上</value>
</data>
<data name="combUSK.Items3" xml:space="preserve">
<value>16歳以上</value>
</data>
<data name="combUSK.Items4" xml:space="preserve">
<value>青少年には不適切</value>
</data>
<data name="combUSK.Items5" xml:space="preserve">
<value>審査中</value>
</data>
<data name="combESRB.Items" xml:space="preserve">
<value>年齢制限なし(全年齢)</value>
</data>
<data name="combESRB.Items1" xml:space="preserve">
<value>EC (3歳以上)</value>
</data>
<data name="combESRB.Items2" xml:space="preserve">
<value>E (6歳以上)</value>
</data>
<data name="combESRB.Items3" xml:space="preserve">
<value>E10+ (10歳以上)</value>
</data>
<data name="combESRB.Items4" xml:space="preserve">
<value>T (13歳以上)</value>
</data>
<data name="combESRB.Items5" xml:space="preserve">
<value>M (17歳以上)</value>
</data>
<data name="combESRB.Items6" xml:space="preserve">
<value>審査中</value>
</data>
<data name="combCERO.Items" xml:space="preserve">
<value>A (全年齢)</value>
</data>
<data name="combCERO.Items1" xml:space="preserve">
<value>B (12歳以上)</value>
</data>
<data name="combCERO.Items2" xml:space="preserve">
<value>C (15歳以上)</value>
</data>
<data name="combCERO.Items3" xml:space="preserve">
<value>D (17歳以上)</value>
</data>
<data name="combCERO.Items4" xml:space="preserve">
<value>Z (18歳以上)</value>
</data>
<data name="combCERO.Items5" xml:space="preserve">
<value>審査中</value>
</data>
<data name="labParentalRating.Size" type="System.Drawing.Size, System.Drawing">
<value>82, 12</value>
</data>
<data name="labParentalRating.Text" xml:space="preserve">
<value>レーティング情報</value>
</data>
<data name="labRegion.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 12</value>
</data>
<data name="labRegion.Text" xml:space="preserve">
<value>リージョン</value>
</data>
<data name="cboxIsEULA.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 16</value>
</data>
<data name="cboxIsEULA.Text" xml:space="preserve">
<value>EULAへの同意を必要とする</value>
</data>
<data name="combRegion.Items" xml:space="preserve">
<value>日本のみ</value>
</data>
<data name="combRegion.Items1" xml:space="preserve">
<value>米国のみ</value>
</data>
<data name="combRegion.Items2" xml:space="preserve">
<value>欧州のみ</value>
</data>
<data name="combRegion.Items3" xml:space="preserve">
<value>豪州のみ</value>
</data>
<data name="combRegion.Items4" xml:space="preserve">
<value>欧州および豪州</value>
</data>
<data name="cboxIsInputPerson2.Size" type="System.Drawing.Size, System.Drawing">
<value>150, 16</value>
</data>
<data name="cboxIsInputPerson2.Text" xml:space="preserve">
<value>担当者2を入力する(任意)</value>
</data>
<data name="labArbit4.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 12</value>
</data>
<data name="labArbit4.Text" xml:space="preserve">
<value>(任意)</value>
</data>
<data name="labArbit3.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 12</value>
</data>
<data name="labArbit3.Text" xml:space="preserve">
<value>(任意)</value>
</data>
<data name="labDepart2.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 12</value>
</data>
<data name="labDepart2.Text" xml:space="preserve">
<value>部署名</value>
</data>
<data name="labFurigana2.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 12</value>
</data>
<data name="labFurigana2.Text" xml:space="preserve">
<value>(ふりがな)</value>
</data>
<data name="labPerson2.Size" type="System.Drawing.Size, System.Drawing">
<value>38, 12</value>
</data>
<data name="labPerson2.Text" xml:space="preserve">
<value>ご氏名</value>
</data>
<data name="labCompany2.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 12</value>
</data>
<data name="labCompany2.Text" xml:space="preserve">
<value>貴社名</value>
</data>
<data name="gboxPerson2.Text" xml:space="preserve">
<value>担当者2</value>
</data>
<data name="labArbit2.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 12</value>
</data>
<data name="labArbit2.Text" xml:space="preserve">
<value>(任意)</value>
</data>
<data name="labArbit1.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 12</value>
</data>
<data name="labArbit1.Text" xml:space="preserve">
<value>(任意)</value>
</data>
<data name="labDepart1.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 12</value>
</data>
<data name="labDepart1.Text" xml:space="preserve">
<value>部署名</value>
</data>
<data name="labFurigana1.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 12</value>
</data>
<data name="labFurigana1.Text" xml:space="preserve">
<value>(ふりがな)</value>
</data>
<data name="labPerson1.Size" type="System.Drawing.Size, System.Drawing">
<value>38, 12</value>
</data>
<data name="labPerson1.Text" xml:space="preserve">
<value>ご氏名</value>
</data>
<data name="labCompany1.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 12</value>
</data>
<data name="labCompany1.Text" xml:space="preserve">
<value>貴社名</value>
</data>
<data name="gboxPerson1.Text" xml:space="preserve">
<value>担当者1</value>
</data>
<data name="rUsageOther.Size" type="System.Drawing.Size, System.Drawing">
<value>54, 16</value>
</data>
<data name="rUsageOther.Text" xml:space="preserve">
<value>その他</value>
</data>
<data name="rUsageDst.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 16</value>
</data>
<data name="rUsageDst.Text" xml:space="preserve">
<value>データ配信用</value>
</data>
<data name="rUsageSample.Size" type="System.Drawing.Size, System.Drawing">
<value>71, 16</value>
</data>
<data name="rUsageSample.Text" xml:space="preserve">
<value>試遊台用</value>
</data>
<data name="rUsageSale.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 16</value>
</data>
<data name="rUsageSale.Text" xml:space="preserve">
<value>一般販売用</value>
</data>
<data name="gboxUsage.Text" xml:space="preserve">
<value>目的</value>
</data>
<data name="rSubmitHand.Size" type="System.Drawing.Size, System.Drawing">
<value>56, 16</value>
</data>
<data name="rSubmitHand.Text" xml:space="preserve">
<value>手渡し</value>
</data>
<data name="rSubmitPost.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 16</value>
</data>
<data name="rSubmitPost.Text" xml:space="preserve">
<value>郵送</value>
</data>
<data name="gboxSubmitWay.Text" xml:space="preserve">
<value>提出方法</value>
</data>
<data name="labSubmiteDate.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
</data>
<data name="labSubmiteDate.Text" xml:space="preserve">
<value>書類提出日</value>
</data>
<data name="labReleaseDate.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
</data>
<data name="labReleaseDate.Text" xml:space="preserve">
<value>発売予定日</value>
</data>
<data name="labProductCode.Size" type="System.Drawing.Size, System.Drawing">
<value>56, 12</value>
</data>
<data name="labProductCode.Text" xml:space="preserve">
<value>製品コード</value>
</data>
<data name="labProductName.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 12</value>
</data>
<data name="labProductName.Text" xml:space="preserve">
<value>製品名</value>
</data>
<data name="labCapSubmitVer.Size" type="System.Drawing.Size, System.Drawing">
<value>233, 12</value>
</data>
<data name="labCapSubmitVer.Text" xml:space="preserve">
<value>* リマスターバージョンが上がると再び0からカウント</value>
</data>
<data name="labSubmitVer.Size" type="System.Drawing.Size, System.Drawing">
<value>74, 12</value>
</data>
<data name="labSubmitVer.Text" xml:space="preserve">
<value>提出バージョン</value>
</data>
<data name="labMultiForeign1.Size" type="System.Drawing.Size, System.Drawing">
<value>101, 12</value>
</data>
<data name="labMultiForeign1.Text" xml:space="preserve">
<value>(複数ある場合のみ)</value>
</data>
<data name="cboxReleaseForeign.Size" type="System.Drawing.Size, System.Drawing">
<value>144, 16</value>
</data>
<data name="cboxReleaseForeign.Text" xml:space="preserve">
<value>海外版を発売する(予定)</value>
</data>
<data name="labProductNameForeign.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 12</value>
</data>
<data name="labProductNameForeign.Text" xml:space="preserve">
<value>製品名</value>
</data>
<data name="labProductCodeForeign.Size" type="System.Drawing.Size, System.Drawing">
<value>56, 12</value>
</data>
<data name="labProductCodeForeign.Text" xml:space="preserve">
<value>製品コード</value>
</data>
<data name="cboxIsShared2.Size" type="System.Drawing.Size, System.Drawing">
<value>123, 16</value>
</data>
<data name="cboxIsShared2.Text" xml:space="preserve">
<value>Shared2ファイル使用</value>
</data>
<data name="gboxShared2Size.Text" xml:space="preserve">
<value>Shared2ファイルサイズ</value>
</data>
<data name="labLib.Size" type="System.Drawing.Size, System.Drawing">
<value>70, 12</value>
</data>
<data name="labLib.Text" xml:space="preserve">
<value>使用ライブラリ</value>
</data>
<data name="labSDK.Size" type="System.Drawing.Size, System.Drawing">
<value>72, 12</value>
</data>
<data name="labSDK.Text" xml:space="preserve">
<value>SDKバージョン</value>
</data>
<data name="labNormalRomOffset.Size" type="System.Drawing.Size, System.Drawing">
<value>155, 12</value>
</data>
<data name="labNormalRomOffset.Text" xml:space="preserve">
<value>TWLーマル領域ROMオフセット</value>
</data>
<data name="labKeyTableRomOffset.Size" type="System.Drawing.Size, System.Drawing">
<value>142, 12</value>
</data>
<data name="labKeyTableRomOffset.Text" xml:space="preserve">
<value>TWL専用領域ROMオフセット</value>
</data>
<data name="gboxTWLExInfo.Text" xml:space="preserve">
<value>TWL拡張情報</value>
</data>
<data name="cboxIsSubBanner.Size" type="System.Drawing.Size, System.Drawing">
<value>131, 16</value>
</data>
<data name="cboxIsSubBanner.Text" xml:space="preserve">
<value>サブバナーファイル有効</value>
</data>
<data name="cboxIsWL.Size" type="System.Drawing.Size, System.Drawing">
<value>155, 16</value>
</data>
<data name="cboxIsWL.Text" xml:space="preserve">
<value>NTRホワイトリスト署名有効</value>
</data>
<data name="cboxIsNormalJump.Size" type="System.Drawing.Size, System.Drawing">
<value>121, 16</value>
</data>
<data name="cboxIsNormalJump.Text" xml:space="preserve">
<value>ノーマルジャンプ許可</value>
</data>
<data name="cboxIsTmpJump.Size" type="System.Drawing.Size, System.Drawing">
<value>103, 16</value>
</data>
<data name="cboxIsTmpJump.Text" xml:space="preserve">
<value>tmpジャンプ許可</value>
</data>
<data name="labAccessOther.Size" type="System.Drawing.Size, System.Drawing">
<value>36, 12</value>
</data>
<data name="labAccessOther.Text" xml:space="preserve">
<value>その他</value>
</data>
<data name="labIsGameCardOn.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 12</value>
</data>
<data name="labIsGameCardOn.Text" xml:space="preserve">
<value>ゲームカード電源</value>
</data>
<data name="cboxIsNAND.Size" type="System.Drawing.Size, System.Drawing">
<value>121, 16</value>
</data>
<data name="cboxIsNAND.Text" xml:space="preserve">
<value>NANDフラッシュメモリ</value>
</data>
<data name="cboxIsSD.Text" xml:space="preserve">
<value>SDカード</value>
</data>
<data name="gboxAccess.Text" xml:space="preserve">
<value>アクセスコントロール情報</value>
</data>
<data name="labCaptionEx.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 12</value>
</data>
<data name="labCaptionEx.Text" xml:space="preserve">
<value>特記事項</value>
</data>
<data name="gboxProd.Text" xml:space="preserve">
<value>ROM提出情報</value>
</data>
<data name="stripItemOpenRom.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 22</value>
</data>
<data name="stripItemOpenRom.Text" xml:space="preserve">
<value>ROMデータを開く</value>
</data>
<data name="stripItemSepFile1.Size" type="System.Drawing.Size, System.Drawing">
<value>208, 6</value>
</data>
<data name="stripItemSaveTemp.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 22</value>
</data>
<data name="stripItemSaveTemp.Text" xml:space="preserve">
<value>提出情報を一時保存する</value>
</data>
<data name="stripItemLoadTemp.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 22</value>
</data>
<data name="stripItemLoadTemp.Text" xml:space="preserve">
<value>一時保存した提出情報を開く</value>
</data>
<data name="stripFile.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 20</value>
</data>
<data name="stripFile.Text" xml:space="preserve">
<value>ファイル</value>
</data>
<data name="stripItemSheet.Size" type="System.Drawing.Size, System.Drawing">
<value>280, 22</value>
</data>
<data name="stripItemSheet.Text" xml:space="preserve">
<value>提出データ一式を作成する</value>
</data>
<data name="stripItemSepMaster1.Size" type="System.Drawing.Size, System.Drawing">
<value>277, 6</value>
</data>
<data name="stripItemMasterRom.Size" type="System.Drawing.Size, System.Drawing">
<value>280, 22</value>
</data>
<data name="stripItemMasterRom.Text" xml:space="preserve">
<value>マスターROMのみを作成する</value>
</data>
<data name="stripItemMiddlewareXml.Size" type="System.Drawing.Size, System.Drawing">
<value>280, 22</value>
</data>
<data name="stripItemMiddlewareXml.Text" xml:space="preserve">
<value>ミドルウェアリストのみを作成する(XML形式)</value>
</data>
<data name="stripItemMiddlewareHtml.Size" type="System.Drawing.Size, System.Drawing">
<value>280, 22</value>
</data>
<data name="stripItemMiddlewareHtml.Text" xml:space="preserve">
<value>ミドルウェアリストのみを作成する(HTML形式)</value>
</data>
<data name="stripMaster.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 20</value>
</data>
<data name="stripMaster.Text" xml:space="preserve">
<value>マスター</value>
</data>
<data name="tboxGuideRomInfo.Text" xml:space="preserve">
<value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。</value>
</data>
<data name="tabRomInfo.Text" xml:space="preserve">
<value>ROM基本情報(確認用)</value>
</data>
<data name="tboxGuideTWLInfo.Text" xml:space="preserve">
<value>このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。</value>
</data>
<data name="gboxExFlags.Text" xml:space="preserve">
<value>TWL拡張諸フラグ</value>
</data>
<data name="tabTWLInfo.Text" xml:space="preserve">
<value>TWL拡張情報(確認用)</value>
</data>
<data name="cboxIsUGC.Size" type="System.Drawing.Size, System.Drawing">
<value>210, 16</value>
</data>
<data name="cboxIsUGC.Text" xml:space="preserve">
<value>UGC(User Generated Contents)対応</value>
</data>
<data name="cboxIsPhotoEx.Size" type="System.Drawing.Size, System.Drawing">
<value>96, 16</value>
</data>
<data name="cboxIsPhotoEx.Text" xml:space="preserve">
<value>写真交換対応</value>
</data>
<data name="gboxOtherSpec.Text" xml:space="preserve">
<value>その他ROM仕様</value>
</data>
<data name="butSetBack.Text" xml:space="preserve">
<value>読み込み時の設定に戻す</value>
</data>
<data name="tboxGuideRomEditInfo.Text" xml:space="preserve">
<value>このタブの各項目への入力は提出確認書およびマスターROMの作成のために必要です。&lt;newline&gt;これらの情報はマスターROMの作成時にROM内登録データとして登録されます(「その他ROM仕様」を除く)。</value>
</data>
<data name="gboxParental.Text" xml:space="preserve">
<value>リージョンとレーティング情報</value>
</data>
<data name="rIsNoIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>144, 16</value>
</data>
<data name="rIsNoIcon.Text" xml:space="preserve">
<value>通信アイコンを表示しない</value>
</data>
<data name="rIsWiFiIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>134, 16</value>
</data>
<data name="rIsWiFiIcon.Text" xml:space="preserve">
<value>Wi-Fi通信アイコン表示</value>
</data>
<data name="rIsWirelessIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>167, 16</value>
</data>
<data name="rIsWirelessIcon.Text" xml:space="preserve">
<value>DSワイヤレス通信アイコン表示</value>
</data>
<data name="gboxIcon.Text" xml:space="preserve">
<value>メニュー上での通信アイコン表示</value>
</data>
<data name="gboxEULA.Text" xml:space="preserve">
<value>EULA(利用規約)</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve">
<value>ROM登録情報(編集可)</value>
</data>
<data name="labProductNameLimit.Text" xml:space="preserve">
<value>(30文字以内)</value>
</data>
<data name="tboxGuideSubmitInfo.Text" xml:space="preserve">
<value>このタブの情報は提出確認書の作成に必要です。入力してください。</value>
</data>
<data name="labProductNameLimitForeign.Text" xml:space="preserve">
<value>(30文字以内)</value>
</data>
<data name="labMultiForeign2.Size" type="System.Drawing.Size, System.Drawing">
<value>101, 12</value>
</data>
<data name="labMultiForeign2.Text" xml:space="preserve">
<value>(複数ある場合のみ)</value>
</data>
<data name="gboxForeign.Text" xml:space="preserve">
<value>海外版</value>
</data>
<data name="tabSubmitInfo.Text" xml:space="preserve">
<value>提出情報(編集可)</value>
</data>
<data name="tboxGuideCompanyInfo.Text" xml:space="preserve">
<value>このタブの情報は提出確認書の作成に必要です。入力してください。</value>
</data>
<data name="tabCompanyInfo.Text" xml:space="preserve">
<value>会社情報(編集可)</value>
</data>
<data name="tboxGuideErrorInfo.Text" xml:space="preserve">
<value>このタブには読み込んだROMデータの問題と本プログラムでの入力ミスが列挙されます。&lt;newline&gt;赤文字の項目は、本プログラムで修正不可です。ROMデータ作成時の設定をご確認ください。&lt;newline&gt;青文字の項目は、本プログラムで修正できますが、修正がマスターROMに反映されます。&lt;newline&gt;黒文字の項目は、提出確認書にのみ反映され、マスターROMには反映されません。</value>
</data>
<data name="rErrorCurrent.Size" type="System.Drawing.Size, System.Drawing">
<value>114, 16</value>
</data>
<data name="rErrorCurrent.Text" xml:space="preserve">
<value>現在の入力を反映</value>
</data>
<data name="rErrorReading.Size" type="System.Drawing.Size, System.Drawing">
<value>134, 16</value>
</data>
<data name="rErrorReading.Text" xml:space="preserve">
<value>ROMデータ読み込み時</value>
</data>
<data name="gboxErrorTiming.Text" xml:space="preserve">
<value>いつの情報を表示するか</value>
</data>
<data name="labWarn.Size" type="System.Drawing.Size, System.Drawing">
<value>339, 12</value>
</data>
<data name="labWarn.Text" xml:space="preserve">
<value>警告(修正は必須ではありませんが情報に誤りがないかご確認ください。)</value>
</data>
<data name="labError.Size" type="System.Drawing.Size, System.Drawing">
<value>137, 12</value>
</data>
<data name="labError.Text" xml:space="preserve">
<value>エラー(必ず修正してください)</value>
</data>
<data name="colWarnName.HeaderText" xml:space="preserve">
<value>項目名</value>
</data>
<data name="colWarnBegin.HeaderText" xml:space="preserve">
<value>開始</value>
</data>
<data name="colWarnEnd.HeaderText" xml:space="preserve">
<value>終了</value>
</data>
<data name="colWarnCause.HeaderText" xml:space="preserve">
<value>要因</value>
</data>
<data name="colErrorName.HeaderText" xml:space="preserve">
<value>項目名</value>
</data>
<data name="colErrorBegin.HeaderText" xml:space="preserve">
<value>開始</value>
</data>
<data name="colErrorEnd.HeaderText" xml:space="preserve">
<value>終了</value>
</data>
<data name="colErrorCause.HeaderText" xml:space="preserve">
<value>要因</value>
</data>
<data name="tabErrorInfo.Text" xml:space="preserve">
<value>エラー情報(確認用)</value>
</data>
<data name="labFile.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 12</value>
</data>
<data name="labFile.Text" xml:space="preserve">
<value>ROMデータファイル</value>
</data>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
#include "StdAfx.h"
#include "FormError.h"

View File

@ -1,377 +0,0 @@
#pragma once
#include <apptype.h>
#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 {
/// <summary>
/// FormError の概要
///
/// 警告: このクラスの名前を変更する場合、このクラスが依存するすべての .resx ファイルに関連付けられた
/// マネージ リソース コンパイラ ツールに対して 'Resource File Name' プロパティを
/// 変更する必要があります。この変更を行わないと、
/// デザイナと、このフォームに関連付けられたローカライズ済みリソースとが、
/// 正しく相互に利用できなくなります。
/// </summary>
public ref class FormError : public System::Windows::Forms::Form
{
public:
FormError(void)
{
InitializeComponent();
//
//TODO: ここにコンストラクタ コードを追加します
//
}
protected:
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
~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:
/// <summary>
/// 必要なデザイナ変数です。
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
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<System::ComponentModel::ISupportInitialize^ >(this->gridError))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(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"開始";
this->colErrorBegin->Name = L"colErrorBegin";
this->colErrorBegin->ReadOnly = true;
this->colErrorBegin->Width = 60;
//
// colErrorEnd
//
this->colErrorEnd->HeaderText = L"終了";
this->colErrorEnd->Name = L"colErrorEnd";
this->colErrorEnd->ReadOnly = true;
this->colErrorEnd->Width = 60;
//
// colErrorCause
//
this->colErrorCause->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colErrorCause->HeaderText = L"要因";
this->colErrorCause->Name = L"colErrorCause";
this->colErrorCause->ReadOnly = true;
//
// 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"エラー(必ず修正してください)";
//
// 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"開始";
this->colWarnBegin->Name = L"colWarnBegin";
this->colWarnBegin->ReadOnly = true;
this->colWarnBegin->Width = 60;
//
// colWarnEnd
//
this->colWarnEnd->HeaderText = L"終了";
this->colWarnEnd->Name = L"colWarnEnd";
this->colWarnEnd->ReadOnly = true;
this->colWarnEnd->Width = 60;
//
// colWarnCause
//
this->colWarnCause->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colWarnCause->HeaderText = L"要因";
this->colWarnCause->Name = L"colWarnCause";
this->colWarnCause->ReadOnly = true;
//
// 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"警告(修正は必須ではありませんが情報に誤りがないかご確認ください)";
//
// 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<System::ComponentModel::ISupportInitialize^ >(this->gridError))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridWarn))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
// --------------------------------------------------------
// エラー情報の登録
// --------------------------------------------------------
public:
void setGridError( System::Collections::Generic::List<RCMrcError ^> ^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<RCMrcError ^> ^list, System::Boolean isJapanese )
{
this->gridWarn->Rows->Clear();
if( list != nullptr )
{
for each( RCMrcError ^err in list )
{
this->gridWarn->Rows->Add( err->getAll( isJapanese ) );
}
}
}
// --------------------------------------------------------
// エラー情報の重ね合わせ
// --------------------------------------------------------
public:
void overloadGridError(
System::Collections::Generic::List<RCMrcError ^> ^listLo,
System::Collections::Generic::List<RCMrcError ^> ^listHi, System::Boolean isJapanese )
{
// listLoの修正可能な情報をlistHiで上書きする(listHiは修正可能な情報のみであることが前提)
this->gridError->Rows->Clear();
if( listLo != nullptr )
{
for each( RCMrcError ^err in listLo )
{
if( !err->EnableModify ) // 修正可能な情報は表示しない
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<RCMrcError ^> ^listLo,
System::Collections::Generic::List<RCMrcError ^> ^listHi, System::Boolean isJapanese )
{
// listLoの修正可能な情報をlistHiで上書きする(listHiは修正可能な情報のみであることが前提)
this->gridWarn->Rows->Clear();
if( listLo != nullptr )
{
for each( RCMrcError ^err in listLo )
{
if( !err->EnableModify ) // 修正可能な情報は表示しない
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( "エラー(必ず修正してください。)" );
this->colErrorName->HeaderText = gcnew System::String( "項目名" );
this->colErrorBegin->HeaderText = gcnew System::String( "開始" );
this->colErrorEnd->HeaderText = gcnew System::String( "終了" );
this->colErrorCause->HeaderText = gcnew System::String( "要因" );
this->labWarn->Text = gcnew System::String( "警告(修正は必須ではありませんが情報に誤りがないかご確認ください。)" );
this->colWarnName->HeaderText = gcnew System::String( "項目名" );
this->colWarnBegin->HeaderText = gcnew System::String( "開始" );
this->colWarnEnd->HeaderText = gcnew System::String( "終了" );
this->colWarnCause->HeaderText = gcnew System::String( "要因" );
this->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();
}
};
}

View File

@ -1,144 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colErrorName.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colErrorBegin.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colErrorEnd.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colErrorCause.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colWarnName.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colWarnBegin.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colWarnEnd.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colWarnCause.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -1,366 +0,0 @@
// ----------------------------------------------
// マスタ書類情報(SRL影響なし)をフォームから取得
// ----------------------------------------------
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
void Form1::setDeliverableProperties(void)
{
// 提出情報
this->hDeliv->hProductName = this->tboxProductName->Text;
this->hDeliv->hProductCode1 = this->tboxProductCode1->Text;
this->hDeliv->hProductCode2 = this->tboxProductCode2->Text;
this->hDeliv->hReleaseForeign = gcnew System::Boolean( this->cboxReleaseForeign->Checked );
if( this->cboxReleaseForeign->Checked == true )
{
this->hDeliv->hProductNameForeign = this->tboxProductNameForeign->Text;
this->hDeliv->hProductCode1Foreign = this->tboxProductCode1Foreign->Text;
this->hDeliv->hProductCode2Foreign = gcnew System::String("");
this->hDeliv->hProductCode2Foreign = this->tboxProductCode2Foreign1->Text;
if( !System::String::IsNullOrEmpty( this->tboxProductCode2Foreign2->Text ) )
{
this->hDeliv->hProductCode2Foreign += ("/" + this->tboxProductCode2Foreign2->Text);
}
if( !System::String::IsNullOrEmpty( this->tboxProductCode2Foreign3->Text ) )
{
this->hDeliv->hProductCode2Foreign += ("/" + this->tboxProductCode2Foreign3->Text);
}
}
else
{
this->hDeliv->hProductNameForeign = nullptr;
this->hDeliv->hProductCode1Foreign = nullptr;
this->hDeliv->hProductCode2Foreign = nullptr;
}
this->hDeliv->hReleaseYear = gcnew System::Int32( this->dateRelease->Value.Year );
this->hDeliv->hReleaseMonth = gcnew System::Int32( this->dateRelease->Value.Month );
this->hDeliv->hReleaseDay = gcnew System::Int32( this->dateRelease->Value.Day );
this->hDeliv->hSubmitYear = gcnew System::Int32( this->dateSubmit->Value.Year );
this->hDeliv->hSubmitMonth = gcnew System::Int32( this->dateSubmit->Value.Month );
this->hDeliv->hSubmitDay = gcnew System::Int32( this->dateSubmit->Value.Day );
this->hDeliv->hSubmitVersion = gcnew System::Int32( System::Decimal::ToInt32( this->numSubmitVersion->Value ) );
// SDK
this->hDeliv->hSDK = nullptr;
if( this->hSrl->hSDKList )
{
for each( RCSDKVersion ^sdk in this->hSrl->hSDKList ) // 書類には ARM9 static のバージョン情報を記入する
{
if( sdk->IsStatic )
this->hDeliv->hSDK = sdk->Version;
}
}
if( this->hDeliv->hSDK == nullptr )
{
this->hDeliv->hSDK = gcnew System::String( "" );
}
// 提出方法
if( this->rSubmitPost->Checked == true )
{
this->hDeliv->hSubmitWay = this->rSubmitPost->Text;
}
else
{
this->hDeliv->hSubmitWay = this->rSubmitHand->Text;
}
// 用途
if( this->rUsageSale->Checked == true )
{
this->hDeliv->hUsage = this->rUsageSale->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageSample->Checked == true )
{
this->hDeliv->hUsage = this->rUsageSample->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageDst->Checked == true )
{
this->hDeliv->hUsage = this->rUsageDst->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageOther->Checked == true )
{
this->hDeliv->hUsage = this->rUsageOther->Text;
this->hDeliv->hUsageOther = this->tboxUsageOther->Text;
}
// 会社情報
this->hDeliv->hCompany1 = this->tboxCompany1->Text + " " + this->tboxDepart1->Text;
this->hDeliv->hPerson1 = this->tboxPerson1->Text;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hFurigana1 = this->tboxFurigana1->Text;
}
else
{
this->hDeliv->hFurigana1 = nullptr;
}
this->hDeliv->hTel1 = this->tboxTel1->Text;
this->hDeliv->hFax1 = this->tboxFax1->Text;
this->hDeliv->hMail1 = this->tboxMail1->Text;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hNTSC1 = this->tboxNTSC1->Text;
}
else
{
this->hDeliv->hNTSC1 = nullptr;
}
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;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hNTSC2 = this->tboxNTSC2->Text;
}
else
{
this->hDeliv->hNTSC2 = nullptr;
}
}
else
{
this->hDeliv->hCompany2 = nullptr;
this->hDeliv->hPerson2 = nullptr;
this->hDeliv->hFurigana2 = nullptr;
this->hDeliv->hTel2 = nullptr;
this->hDeliv->hFax2 = nullptr;
this->hDeliv->hMail2 = nullptr;
this->hDeliv->hNTSC2 = nullptr;
}
// 備考
System::String ^tmp = this->tboxCaption->Text->Replace( " ", "" );
if( this->tboxCaption->Text->Equals("") || tmp->Equals("") ) // スペースのみの文字列は含めない
{
this->hDeliv->hCaption = nullptr;
}
else
{
this->hDeliv->hCaption = this->tboxCaption->Text;
}
// 備考欄に特殊な設定を追記
tmp = this->tboxCaptionEx->Text->Replace( " ", "" );
if( !(this->tboxCaptionEx->Text->Equals("")) && !(tmp->Equals("")) )
{
this->hDeliv->hCaption += ("(" + this->tboxCaptionEx->Text + ")");
}
// 特殊なアプリ種別
this->hDeliv->hAppTypeOther = this->tboxAppTypeOther->Text;
if( this->hDeliv->hAppTypeOther != nullptr )
{
this->hDeliv->hAppTypeOther->Replace("\r\n","");
}
// 一部のROM情報を登録
if( this->combBackup->SelectedIndex != (this->combBackup->Items->Count - 1) )
{
if( this->combBackup->SelectedIndex > 0 )
{
this->hDeliv->hBackupMemory = this->combBackup->SelectedItem->ToString();
}
else
{
this->hDeliv->hBackupMemory = gcnew System::String("");
}
}
else
{
this->hDeliv->hBackupMemory = this->tboxBackupOther->Text;
}
// SRL情報を文字列で登録
if( this->combRegion->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hRegion = gcnew System::String("不明");
else
this->hDeliv->hRegion = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hRegion = dynamic_cast<System::String^>(this->combRegion->SelectedItem);
}
if( this->combCERO->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hCERO = gcnew System::String("不可");
else
this->hDeliv->hCERO = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hCERO = dynamic_cast<System::String^>(this->combCERO->SelectedItem);
}
if( this->combESRB->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hESRB = gcnew System::String("不可");
else
this->hDeliv->hESRB = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hESRB = dynamic_cast<System::String^>(this->combESRB->SelectedItem);
}
if( this->combUSK->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hUSK = gcnew System::String("不可");
else
this->hDeliv->hUSK = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hUSK = dynamic_cast<System::String^>(this->combUSK->SelectedItem);
}
if( this->combPEGI->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hPEGI = gcnew System::String("不可");
else
this->hDeliv->hPEGI = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hPEGI = dynamic_cast<System::String^>(this->combPEGI->SelectedItem);
}
if( this->combPEGI_PRT->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hPEGI_PRT = gcnew System::String("不可");
else
this->hDeliv->hPEGI_PRT = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hPEGI_PRT = dynamic_cast<System::String^>(this->combPEGI_PRT->SelectedItem);
}
if( this->combPEGI_BBFC->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hPEGI_BBFC = gcnew System::String("不可");
else
this->hDeliv->hPEGI_BBFC = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hPEGI_BBFC = dynamic_cast<System::String^>(this->combPEGI_BBFC->SelectedItem);
}
if( this->combOFLC->SelectedIndex < 0 )
{
if( this->stripItemJapanese->Checked == true )
this->hDeliv->hOFLC = gcnew System::String("不可");
else
this->hDeliv->hOFLC = gcnew System::String("Undefined");
}
else
{
this->hDeliv->hOFLC = dynamic_cast<System::String^>(this->combOFLC->SelectedItem);
}
// SRLには登録されないROM仕様
this->hDeliv->hIsUGC = System::Boolean( this->cboxIsUGC->Checked );
this->hDeliv->hIsPhotoEx = System::Boolean( this->cboxIsPhotoEx->Checked );
}
// ----------------------------------------------
// マスタ書類情報(SRL影響なし)のフォームチェック
// ----------------------------------------------
System::Boolean Form1::checkDeliverableForms(void)
{
// 不正な場合はダイアログで注意してreturn
// 提出情報
this->checkTextForm( this->tboxProductName->Text, LANG_PRODUCT_NAME_J, LANG_PRODUCT_NAME_E, false ); // SRL作成には問題のないエラー
this->checkTextForm( this->tboxProductCode1->Text, LANG_PRODUCT_CODE_J, LANG_PRODUCT_CODE_E, false );
this->checkTextForm( this->tboxProductCode2->Text, LANG_PRODUCT_CODE_J, LANG_PRODUCT_CODE_E, false );
if( this->cboxReleaseForeign->Checked == true )
{
this->checkTextForm( this->tboxProductNameForeign->Text, LANG_PRODUCT_NAME_F_J, LANG_PRODUCT_NAME_F_E, false );
this->checkTextForm( this->tboxProductCode1Foreign->Text, LANG_PRODUCT_CODE_F_J, LANG_PRODUCT_CODE_F_E, false );
this->checkTextForm( this->tboxProductCode2Foreign1->Text, LANG_PRODUCT_CODE_F_J, LANG_PRODUCT_CODE_F_E, false );
}
if( this->rUsageOther->Checked == true )
{
this->checkTextForm( this->tboxUsageOther->Text, LANG_USAGE_J, LANG_USAGE_E, false );
}
// 会社情報
this->checkTextForm( this->tboxPerson1->Text, LANG_PERSON_J, LANG_PERSON_E, false );
this->checkTextForm( this->tboxCompany1->Text, LANG_COMPANY_J, LANG_COMPANY_E, false );
this->checkTextForm( this->tboxDepart1->Text, LANG_DEPART_J, LANG_DEPART_E, false );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxFurigana1->Text, LANG_FURIGANA_J, LANG_FURIGANA_J, false );
}
this->checkTextForm( this->tboxTel1->Text, LANG_TEL_J, LANG_TEL_E, false );
//this->checkTextForm( this->tboxFax1->Text, LANG_FAX_J, LANG_FAX_E, false );
this->checkTextForm( this->tboxMail1->Text, LANG_MAIL_J, LANG_MAIL_E, false );
//if( this->stripItemJapanese->Checked == true )
//{
// this->checkTextForm( this->tboxNTSC1->Text, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, false );
//}
if( this->cboxIsInputPerson2->Checked == true )
{
this->checkTextForm( this->tboxPerson2->Text, LANG_PERSON_J, LANG_PERSON_E, false );
this->checkTextForm( this->tboxCompany2->Text, LANG_COMPANY_J, LANG_COMPANY_E, false );
this->checkTextForm( this->tboxDepart2->Text, LANG_DEPART_J, LANG_DEPART_E, false );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxFurigana2->Text, LANG_FURIGANA_J, LANG_FURIGANA_J, false );
}
this->checkTextForm( this->tboxTel2->Text, LANG_TEL_J, LANG_TEL_E, false );
//this->checkTextForm( this->tboxFax2->Text, LANG_FAX_J, LANG_FAX_E, false );
this->checkTextForm( this->tboxMail2->Text, LANG_MAIL_J, LANG_MAIL_E, false );
//if( this->stripItemJapanese->Checked == true )
//{
// this->checkTextForm( this->tboxNTSC2->Text, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, false );
//}
}
// 一部のROM情報(SRLバイナリに反映されない情報)をここでチェックする
this->checkBoxIndex( this->combBackup, LANG_BACKUP_J, LANG_BACKUP_E, false );
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->checkTextForm( this->tboxBackupOther->Text, LANG_BACKUP_J, LANG_BACKUP_E, false );
}
// ひととおりエラー登録をした後で
// 書類上のエラー(SRLバイナリには影響しない)が存在するかチェック
return this->isValidOnlyDeliverable();
}
// end of file

View File

@ -1,363 +0,0 @@
// ----------------------------------------------
// ファイルのR/W
// ----------------------------------------------
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
// 設定ファイルの読み込み
void Form1::loadInit(void)
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
// xmlファイルの読み込み
try
{
doc->Load( "../resource/ini.xml" );
}
catch( System::IO::FileNotFoundException ^s )
{
(void)s;
this->errMsg( "設定ファイルが見つかりません。", "Setting file is not found." );
return;
}
catch( System::Exception ^s )
{
(void)s;
this->errMsg( "設定ファイルを開くことができませんでした。", "Setting file can't be opened." );
return;
}
// <init>タグ : ルート
System::Xml::XmlElement ^root = doc->DocumentElement;
// <rw>タグ
System::Boolean bReadOnly = MasterEditorTWL::isXmlEqual( root, "rw", "r" );
this->hIsReadOnly = System::Boolean( bReadOnly );
if( bReadOnly )
{
this->readOnly();
}
// <lang>タグ
if( MasterEditorTWL::isXmlEqual( root, "lang", "E" ) )
{
this->stripItemEnglish->Checked = true;
this->stripItemJapanese->Checked = false;
this->changeEnglish();
}
// <output>タグ
System::Boolean bXML = MasterEditorTWL::isXmlEqual( root, "output", "XML" );
// <spcheck>タグ
System::Boolean bCheck = MasterEditorTWL::isXmlEqual( root, "spcheck", "ON" );
if( bCheck ) // チェックするときのみ追加チェック項目を設定
{
// チェックするかどうか
this->hSrl->hMrcSpecialList->hIsCheck = gcnew System::Boolean( true );
// SDK
try
{
u32 major = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/sdk/major" ) );
u32 minor = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/sdk/minor" ) );
u32 relstep = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/sdk/relstep" ) );
u32 sdkver = (major << 24) | (minor << 16) | (relstep & 0xFFFF);
this->hSrl->hMrcSpecialList->hSDKVer = gcnew System::UInt32( sdkver );
}
catch ( System::Exception ^ex )
{
(void)ex;
this->errMsg( "設定ファイル中のSDKバージョンが読み込めませんでした。バージョンは0とみなされます。",
"SDK ver. can't be read from setting file. Therefore it is set by 0." );
this->hSrl->hMrcSpecialList->hSDKVer = gcnew System::UInt32( 0 );
}
// Shared2File
try
{
System::Int32 i;
for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ )
{
u32 size = System::UInt32::Parse( MasterEditorTWL::getXPathText( root, "/init/shared2/size" + i.ToString() ) );
this->hSrl->hMrcSpecialList->hShared2SizeArray[i] = gcnew System::UInt32( size );
}
}
catch ( System::Exception ^ex )
{
(void)ex;
this->errMsg( "設定ファイル中のShared2ファイルサイズが読み込めませんでした。サイズはすべて0とみなされます。",
"One of shared2 file sizes can't be read from setting file. Therefore they are set by 0." );
System::Int32 i;
for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ )
{
this->hSrl->hMrcSpecialList->hShared2SizeArray[i] = gcnew System::UInt32( 0 );
}
}
} //if( bCheck )
if( bReadOnly || bXML | bCheck )
{
System::String ^msgJ = gcnew System::String("[動作モード]");
System::String ^msgE = gcnew System::String("[Processing Mode]");
if( bReadOnly )
{
msgJ += "\nリードオンリーモード";
msgE += "\nRead Only Mode";
}
if( bXML )
{
msgJ += "\nXML出力モード";
msgE += "\nXML Output Mode";
}
if( bCheck )
{
msgJ += "\n追加チェックモード";
msgE += "\nExtra Check Mode";
}
this->sucMsg( msgJ, msgE );
}
} // loadInit()
// SRLのオープン
System::Void Form1::loadSrl( System::String ^filename )
{
ECSrlResult result = this->hSrl->readFromFile( filename );
if( result != ECSrlResult::NOERROR )
{
switch( result )
{
case ECSrlResult::ERROR_PLATFORM:
this->errMsg( "本ツールはTWL用です。NTR専用ROMなどのTWL非対応ROMを読み込むことはできません。",
"This tool can only read TWL ROM. This can't read an other data e.g. NTR limited ROM." );
break;
case ECSrlResult::ERROR_SIGN_DECRYPT:
case ECSrlResult::ERROR_SIGN_VERIFY:
this->errMsg( "不正なROMデータです。TWL対応/専用ROMでないかROMデータが改ざんされている可能性があります。",
"Illegal ROM data. It is not for TWL ROM, or is altered illegally." );
break;
default:
this->errMsg( "ROMデータファイルの読み込みに失敗しました。\n再度ROMデータを読み込ませてください。",
"Reading the ROM data file failed. \nPlease read a ROM data file again, with \"Open a ROM data file\"" );
break;
}
return;
}
this->tboxFile->Text = filename;
// GUIにROM情報を格納
this->setSrlForms();
if( *(this->hIsReadOnly) )
{
this->readOnly(); // リードオンリーモードのときフォームをEnableにする
}
// SRLに登録されないROM仕様のフォーム情報も戻るボタンで読み込み時の状態に戻したいが
// 読み込み時の状態をSRLに保存しておけないので退避しておく
this->saveOtherForms();
// 全体のCRCを算出
u16 crc;
if( !getWholeCRCInFile( filename, &crc ) )
{
this->errMsg( "ROMデータのCRC計算に失敗しました。ROMデータの読み込みはキャンセルされました。",
"Calculating CRC of the ROM data failed. Therefore reading ROM data is canceled." );
return;
}
System::UInt16 ^hcrc = gcnew System::UInt16( crc );
this->tboxWholeCRC->Clear();
this->tboxWholeCRC->AppendText( "0x" );
this->tboxWholeCRC->AppendText( hcrc->ToString("X") );
// 読み込み時エラーを登録する
this->rErrorReading->Checked = true;
this->setGridError();
this->setGridWarn();
//if( this->hSrl->hErrorList->Count > 0 )
//{
// this->errMsg( "ROMデータにエラーがあります。「エラー情報」タブをご確認ください。",
// "ROM data include error. Please look the tab \"Setting Error\"." );
// return;
//}
return;
} // loadSrl()
// SRLの保存
System::Boolean Form1::saveSrl( System::String ^filename )
{
// コピーしたファイルにROMヘッダを上書き
if( !this->saveSrlCore( filename ) )
{
return false;
}
// 再リード
this->loadSrl( filename );
return true;
} // saveSrl()
// SRLの保存
System::Boolean Form1::saveSrlCore( System::String ^filename )
{
// ROM情報をフォームから取得してSRLバイナリに反映させる
this->setSrlProperties();
// ファイルをコピー
if( !(filename->Equals( this->tboxFile->Text )) )
{
System::IO::File::Copy( this->tboxFile->Text, filename, true );
}
// コピーしたファイルにROMヘッダを上書き
if( this->hSrl->writeToFile( filename ) != ECSrlResult::NOERROR )
{
return false;
}
return true;
}
// ミドルウェアリストの作成
System::Void Form1::makeMiddlewareListXml(System::Xml::XmlDocument^ doc)
{
System::Xml::XmlElement ^root = doc->CreateElement( "twl-master-editor" );
System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly();
root->SetAttribute( "version", this->getVersion() );
doc->AppendChild( root );
// ゲーム情報
System::Xml::XmlElement ^game = doc->CreateElement( "game" );
root->AppendChild( game );
if( System::String::IsNullOrEmpty( this->tboxProductName->Text ) )
{
MasterEditorTWL::appendXmlTag( doc, game, "product-name", this->tboxTitleName->Text ); // 製品名が未入力のときはソフトタイトルで代用
}
else
{
MasterEditorTWL::appendXmlTag( doc, game, "product-name", this->tboxProductName->Text );
}
MasterEditorTWL::appendXmlTag( doc, game, "title-name", this->tboxTitleName->Text );
MasterEditorTWL::appendXmlTag( doc, game, "game-code", this->tboxGameCode->Text );
MasterEditorTWL::appendXmlTag( doc, game, "rom-version", this->tboxRemasterVer->Text );
MasterEditorTWL::appendXmlTag( doc, game, "submit-version", System::Decimal::ToByte(this->numSubmitVersion->Value).ToString("X") );
// ミドルウェアリスト
System::Xml::XmlElement ^midlist = doc->CreateElement( "middleware-list" );
root->AppendChild( midlist );
if( this->hSrl->hLicenseList != nullptr )
{
for each( RCLicense ^lic in this->hSrl->hLicenseList )
{
System::Xml::XmlElement ^mid = doc->CreateElement( "middleware" );
MasterEditorTWL::appendXmlTag( doc, mid, "publisher", lic->Publisher );
MasterEditorTWL::appendXmlTag( doc, mid, "name", lic->Name );
midlist->AppendChild( mid );
}
}
}
// ミドルウェアリストの保存
System::Boolean Form1::saveMiddlewareListXml( System::String ^filename )
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
doc->AppendChild( doc->CreateXmlDeclaration("1.0","UTF-8",nullptr) );
this->makeMiddlewareListXml( doc );
try
{
doc->Save( filename );
}
catch ( System::Exception ^ex )
{
(void)ex;
return false;
}
return true;
}
// ミドルウェアリストの保存
System::Boolean Form1::saveMiddlewareListXmlEmbeddedXsl( System::String ^filename )
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
doc->AppendChild( doc->CreateXmlDeclaration("1.0","UTF-8",nullptr) );
// XSLを埋め込むための宣言たち
System::Xml::XmlProcessingInstruction ^proc = doc->CreateProcessingInstruction( "xml-stylesheet", "type='text/xml' href='#stylesheet'" );
doc->AppendChild( proc );
System::Xml::XmlDocumentType ^doctype = doc->CreateDocumentType( "twl-master-editor", nullptr, nullptr, "<!ATTLIST xsl:stylesheet id ID #REQUIRED>" );
doc->AppendChild( doctype );
this->makeMiddlewareListXml( doc );
// 埋め込みスタイルシート
System::Xml::XmlDocument ^xsl = gcnew System::Xml::XmlDocument();
System::Xml::XmlElement ^root = doc->DocumentElement;
try
{
xsl->Load("../resource/middleware_e.xsl");
root->AppendChild( doc->ImportNode(xsl->DocumentElement, true) );
}
catch ( System::Exception ^ex )
{
(void)ex;
return false;
}
try
{
doc->Save( filename );
}
catch ( System::Exception ^ex )
{
(void)ex;
return false;
}
return true;
}
// ミドルウェアリストの保存(XML->HTML変換)
System::Boolean Form1::saveMiddlewareListHtml( System::String ^filename )
{
System::Xml::Xsl::XslCompiledTransform ^xslt = gcnew System::Xml::Xsl::XslCompiledTransform;
System::String ^tmpxml = gcnew System::String( "middleware-tmp.xml" );
if( !saveMiddlewareListXml(tmpxml) )
{
return false;
}
try
{
xslt->Load("../resource/middleware.xsl");
xslt->Transform( tmpxml, filename );
}
catch (System::Exception ^s)
{
(void)s;
System::IO::File::Delete( tmpxml );
return false;
}
System::IO::File::Delete( tmpxml );
return true;
}

View File

@ -1,392 +0,0 @@
// ----------------------------------------------
// 日英両対応
// ----------------------------------------------
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
// 日本語版と英語版でテキストボックスの文字列制限が変わる
void Form1::changeMaxLength( System::Windows::Forms::TextBox ^tbox, System::Int32 maxlen )
{
if( tbox->Text->Length > maxlen )
tbox->Text = "";
tbox->MaxLength = maxlen;
}
// 日本語版への切り替え
void Form1::changeJapanese(void)
{
// 入力文字数制限を変更する
this->changeMaxLength( this->tboxCompany1, 25 );
this->changeMaxLength( this->tboxDepart1, 25 );
this->changeMaxLength( this->tboxPerson1, 15 );
this->changeLanguage( "ja" );
// 特殊な設定用のテキストボックスの表記を変更
this->setSrlFormsCaptionEx();
// 複数行表示の改行を挿入
this->tboxGuideRomEditInfo->Text = this->tboxGuideRomEditInfo->Text->Replace( "<newline>", "\r\n" );
this->tboxGuideErrorInfo->Text = this->tboxGuideErrorInfo->Text->Replace( "<newline>", "\r\n" );
}
// 英語版への切り替え
void Form1::changeEnglish(void)
{
this->changeMaxLength( this->tboxCompany1, 40 );
this->changeMaxLength( this->tboxDepart1, 40 );
this->changeMaxLength( this->tboxPerson1, 30 );
this->changeLanguage( "en" );
this->setSrlFormsCaptionEx();
this->tboxGuideRomEditInfo->Text = this->tboxGuideRomEditInfo->Text->Replace( "<newline>", "\r\n" );
this->tboxGuideErrorInfo->Text = this->tboxGuideErrorInfo->Text->Replace( "<newline>", "\r\n" );
}
// 言語リソース切り替え
void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
{
int index;
System::Threading::Thread::CurrentThread->CurrentUICulture = gcnew System::Globalization::CultureInfo(langname,true);
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
resources->ApplyResources(this->tboxFile, L"tboxFile");
resources->ApplyResources(this->gboxSrl, L"gboxSrl");
resources->ApplyResources(this->tboxRemasterVer, L"tboxRemasterVer");
resources->ApplyResources(this->tboxRomSize, L"tboxRomSize");
resources->ApplyResources(this->tboxPlatform, L"tboxPlatform");
resources->ApplyResources(this->labPlatform, L"labPlatform");
resources->ApplyResources(this->tboxRomLatency, L"tboxRomLatency");
resources->ApplyResources(this->labRomSize, L"labRomSize");
resources->ApplyResources(this->labRomType, L"labRomType");
resources->ApplyResources(this->tboxMakerCode, L"tboxMakerCode");
resources->ApplyResources(this->cboxRemasterVerE, L"cboxRemasterVerE");
resources->ApplyResources(this->labMakerCode, L"labMakerCode");
resources->ApplyResources(this->labGameCode, L"labGameCode");
resources->ApplyResources(this->tboxGameCode, L"tboxGameCode");
resources->ApplyResources(this->labTitleName, L"labTitleName");
resources->ApplyResources(this->labRemasterVer, L"labRemasterVer");
resources->ApplyResources(this->tboxTitleName, L"tboxTitleName");
resources->ApplyResources(this->labBackup, L"labBackup");
index = this->combBackup->SelectedIndex;
this->combBackup->Items->Clear();
resources->ApplyResources(this->combBackup, L"combBackup");
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {resources->GetString(L"combBackup.Items"), resources->GetString(L"combBackup.Items1"),
resources->GetString(L"combBackup.Items2"), resources->GetString(L"combBackup.Items3"), resources->GetString(L"combBackup.Items4"),
resources->GetString(L"combBackup.Items5"), resources->GetString(L"combBackup.Items6"), resources->GetString(L"combBackup.Items7"),
resources->GetString(L"combBackup.Items8")});
this->combBackup->SelectedIndex = index;
resources->ApplyResources(this->tboxBackupOther, L"tboxBackupOther");
resources->ApplyResources(this->gboxCRC, L"gboxCRC");
resources->ApplyResources(this->labRomCRC, L"labRomCRC");
resources->ApplyResources(this->labHeaderCRC, L"labHeaderCRC");
resources->ApplyResources(this->tboxHeaderCRC, L"tboxHeaderCRC");
resources->ApplyResources(this->tboxWholeCRC, L"tboxWholeCRC");
resources->ApplyResources(this->labCaption, L"labCaption");
resources->ApplyResources(this->tboxCaption, L"tboxCaption");
resources->ApplyResources(this->labOFLC, L"labOFLC");
resources->ApplyResources(this->labPEGI_BBFC, L"labPEGI_BBFC");
resources->ApplyResources(this->labPEGI_PRT, L"labPEGI_PRT");
resources->ApplyResources(this->labPEGI, L"labPEGI");
resources->ApplyResources(this->labUSK, L"labUSK");
resources->ApplyResources(this->labESRB, L"labESRB");
resources->ApplyResources(this->labCERO, L"labCERO");
resources->ApplyResources(this->combOFLC, L"combOFLC");
index = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {resources->GetString(L"combOFLC.Items"), resources->GetString(L"combOFLC.Items1"),
resources->GetString(L"combOFLC.Items2"), resources->GetString(L"combOFLC.Items3"), resources->GetString(L"combOFLC.Items4")});
this->combOFLC->SelectedIndex = index;
resources->ApplyResources(this->combPEGI_BBFC, L"combPEGI_BBFC");
index = this->combPEGI_BBFC->SelectedIndex;
this->combPEGI_BBFC->Items->Clear();
this->combPEGI_BBFC->Items->AddRange(gcnew cli::array< System::Object^ >(10) {resources->GetString(L"combPEGI_BBFC.Items"),
resources->GetString(L"combPEGI_BBFC.Items1"), resources->GetString(L"combPEGI_BBFC.Items2"), resources->GetString(L"combPEGI_BBFC.Items3"),
resources->GetString(L"combPEGI_BBFC.Items4"), resources->GetString(L"combPEGI_BBFC.Items5"), resources->GetString(L"combPEGI_BBFC.Items6"),
resources->GetString(L"combPEGI_BBFC.Items7"), resources->GetString(L"combPEGI_BBFC.Items8"), resources->GetString(L"combPEGI_BBFC.Items9")});
this->combPEGI_BBFC->SelectedIndex = index;
resources->ApplyResources(this->combPEGI_PRT, L"combPEGI_PRT");
index = this->combPEGI_PRT->SelectedIndex;
this->combPEGI_PRT->Items->Clear();
this->combPEGI_PRT->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combPEGI_PRT.Items"),
resources->GetString(L"combPEGI_PRT.Items1"), resources->GetString(L"combPEGI_PRT.Items2"), resources->GetString(L"combPEGI_PRT.Items3"),
resources->GetString(L"combPEGI_PRT.Items4"), resources->GetString(L"combPEGI_PRT.Items5"), resources->GetString(L"combPEGI_PRT.Items6")});
this->combPEGI_PRT->SelectedIndex = index;
resources->ApplyResources(this->combPEGI, L"combPEGI");
index = this->combPEGI->SelectedIndex;
this->combPEGI->Items->Clear();
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combPEGI.Items"), resources->GetString(L"combPEGI.Items1"),
resources->GetString(L"combPEGI.Items2"), resources->GetString(L"combPEGI.Items3"), resources->GetString(L"combPEGI.Items4"),
resources->GetString(L"combPEGI.Items5"), resources->GetString(L"combPEGI.Items6")});
this->combPEGI->SelectedIndex = index;
resources->ApplyResources(this->combUSK, L"combUSK");
index = this->combUSK->SelectedIndex;
this->combUSK->Items->Clear();
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {resources->GetString(L"combUSK.Items"), resources->GetString(L"combUSK.Items1"),
resources->GetString(L"combUSK.Items2"), resources->GetString(L"combUSK.Items3"), resources->GetString(L"combUSK.Items4"), resources->GetString(L"combUSK.Items5")});
this->combUSK->SelectedIndex = index;
resources->ApplyResources(this->combESRB, L"combESRB");
index = this->combESRB->SelectedIndex;
this->combESRB->Items->Clear();
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combESRB.Items"), resources->GetString(L"combESRB.Items1"),
resources->GetString(L"combESRB.Items2"), resources->GetString(L"combESRB.Items3"), resources->GetString(L"combESRB.Items4"),
resources->GetString(L"combESRB.Items5"), resources->GetString(L"combESRB.Items6")});
this->combESRB->SelectedIndex = index;
resources->ApplyResources(this->combCERO, L"combCERO");
index = this->combCERO->SelectedIndex;
this->combCERO->Items->Clear();
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6) {resources->GetString(L"combCERO.Items"), resources->GetString(L"combCERO.Items1"),
resources->GetString(L"combCERO.Items2"), resources->GetString(L"combCERO.Items3"), resources->GetString(L"combCERO.Items4"),
resources->GetString(L"combCERO.Items5")});
this->combCERO->SelectedIndex = index;
resources->ApplyResources(this->labParentalRating, L"labParentalRating");
resources->ApplyResources(this->labRegion, L"labRegion");
resources->ApplyResources(this->cboxIsEULA, L"cboxIsEULA");
resources->ApplyResources(this->combRegion, L"combRegion");
index = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5) {resources->GetString(L"combRegion.Items"), resources->GetString(L"combRegion.Items1"),
resources->GetString(L"combRegion.Items2"), resources->GetString(L"combRegion.Items3"), resources->GetString(L"combRegion.Items4")});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( langname->Equals( "ja" ) )
{
this->combRegion->Items->Add( gcnew System::String( L"全リージョン" ) );
}
else
{
this->combRegion->Items->Add( gcnew System::String( L"All Region" ) );
}
#endif
this->combRegion->SelectedIndex = index;
resources->ApplyResources(this->cboxIsInputPerson2, L"cboxIsInputPerson2");
resources->ApplyResources(this->gboxPerson2, L"gboxPerson2");
resources->ApplyResources(this->labArbit4, L"labArbit4");
resources->ApplyResources(this->labArbit3, L"labArbit3");
resources->ApplyResources(this->labNTSC2Sur, L"labNTSC2Sur");
resources->ApplyResources(this->tboxNTSC2, L"tboxNTSC2");
resources->ApplyResources(this->labFax2, L"labFax2");
resources->ApplyResources(this->labNTSC2Pre, L"labNTSC2Pre");
resources->ApplyResources(this->tboxFax2, L"tboxFax2");
resources->ApplyResources(this->tboxMail2, L"tboxMail2");
resources->ApplyResources(this->tboxTel2, L"tboxTel2");
resources->ApplyResources(this->tboxFurigana2, L"tboxFurigana2");
resources->ApplyResources(this->tboxPerson2, L"tboxPerson2");
resources->ApplyResources(this->tboxDepart2, L"tboxDepart2");
resources->ApplyResources(this->labDepart2, L"labDepart2");
resources->ApplyResources(this->tboxCompany2, L"tboxCompany2");
resources->ApplyResources(this->labMail2, L"labMail2");
resources->ApplyResources(this->labTel2, L"labTel2");
resources->ApplyResources(this->labFurigana2, L"labFurigana2");
resources->ApplyResources(this->labPerson2, L"labPerson2");
resources->ApplyResources(this->labCompany2, L"labCompany2");
resources->ApplyResources(this->gboxPerson1, L"gboxPerson1");
resources->ApplyResources(this->labArbit2, L"labArbit2");
resources->ApplyResources(this->labArbit1, L"labArbit1");
resources->ApplyResources(this->labNTSC1Sur, L"labNTSC1Sur");
resources->ApplyResources(this->labFax1, L"labFax1");
resources->ApplyResources(this->labNTSC1Pre, L"labNTSC1Pre");
resources->ApplyResources(this->tboxNTSC1, L"tboxNTSC1");
resources->ApplyResources(this->tboxFax1, L"tboxFax1");
resources->ApplyResources(this->tboxMail1, L"tboxMail1");
resources->ApplyResources(this->tboxTel1, L"tboxTel1");
resources->ApplyResources(this->tboxFurigana1, L"tboxFurigana1");
resources->ApplyResources(this->tboxPerson1, L"tboxPerson1");
resources->ApplyResources(this->tboxDepart1, L"tboxDepart1");
resources->ApplyResources(this->labDepart1, L"labDepart1");
resources->ApplyResources(this->tboxCompany1, L"tboxCompany1");
resources->ApplyResources(this->labMail1, L"labMail1");
resources->ApplyResources(this->labTel1, L"labTel1");
resources->ApplyResources(this->labFurigana1, L"labFurigana1");
resources->ApplyResources(this->labPerson1, L"labPerson1");
resources->ApplyResources(this->labCompany1, L"labCompany1");
resources->ApplyResources(this->tboxProductCode2, L"tboxProductCode2");
resources->ApplyResources(this->tboxProductCode1, L"tboxProductCode1");
resources->ApplyResources(this->tboxProductName, L"tboxProductName");
resources->ApplyResources(this->labProductCode2, L"labProductCode2");
resources->ApplyResources(this->labProductCode1, L"labProductCode1");
resources->ApplyResources(this->dateSubmit, L"dateSubmit");
resources->ApplyResources(this->dateRelease, L"dateRelease");
resources->ApplyResources(this->gboxUsage, L"gboxUsage");
resources->ApplyResources(this->tboxUsageOther, L"tboxUsageOther");
resources->ApplyResources(this->rUsageOther, L"rUsageOther");
resources->ApplyResources(this->rUsageDst, L"rUsageDst");
resources->ApplyResources(this->rUsageSample, L"rUsageSample");
resources->ApplyResources(this->rUsageSale, L"rUsageSale");
resources->ApplyResources(this->gboxSubmitWay, L"gboxSubmitWay");
resources->ApplyResources(this->rSubmitHand, L"rSubmitHand");
resources->ApplyResources(this->rSubmitPost, L"rSubmitPost");
resources->ApplyResources(this->labSubmiteDate, L"labSubmiteDate");
resources->ApplyResources(this->labReleaseDate, L"labReleaseDate");
resources->ApplyResources(this->labProductCode, L"labProductCode");
resources->ApplyResources(this->labProductName, L"labProductName");
resources->ApplyResources(this->labCapSubmitVer, L"labCapSubmitVer");
resources->ApplyResources(this->numSubmitVersion, L"numSubmitVersion");
resources->ApplyResources(this->labSubmitVer, L"labSubmitVer");
resources->ApplyResources(this->labMultiForeign1, L"labMultiForeign1");
resources->ApplyResources(this->tboxProductCode2Foreign3, L"tboxProductCode2Foreign3");
resources->ApplyResources(this->tboxProductCode2Foreign2, L"tboxProductCode2Foreign2");
resources->ApplyResources(this->labProductCode2Foreign, L"labProductCode2Foreign");
resources->ApplyResources(this->cboxReleaseForeign, L"cboxReleaseForeign");
resources->ApplyResources(this->labProductNameForeign, L"labProductNameForeign");
resources->ApplyResources(this->tboxProductNameForeign, L"tboxProductNameForeign");
resources->ApplyResources(this->labProductCode1Foreign, L"labProductCode1Foreign");
resources->ApplyResources(this->tboxProductCode1Foreign, L"tboxProductCode1Foreign");
resources->ApplyResources(this->labProductCodeForeign, L"labProductCodeForeign");
resources->ApplyResources(this->tboxProductCode2Foreign1, L"tboxProductCode2Foreign1");
resources->ApplyResources(this->gboxShared2Size, L"gboxShared2Size");
resources->ApplyResources(this->labShared2Size5, L"labShared2Size5");
resources->ApplyResources(this->labShared2Size4, L"labShared2Size4");
resources->ApplyResources(this->labShared2Size3, L"labShared2Size3");
resources->ApplyResources(this->labShared2Size2, L"labShared2Size2");
resources->ApplyResources(this->labShared2Size1, L"labShared2Size1");
resources->ApplyResources(this->labShared2Size0, L"labShared2Size0");
resources->ApplyResources(this->tboxShared2Size5, L"tboxShared2Size5");
resources->ApplyResources(this->tboxShared2Size4, L"tboxShared2Size4");
resources->ApplyResources(this->tboxShared2Size3, L"tboxShared2Size3");
resources->ApplyResources(this->tboxShared2Size2, L"tboxShared2Size2");
resources->ApplyResources(this->tboxShared2Size1, L"tboxShared2Size1");
resources->ApplyResources(this->tboxShared2Size0, L"tboxShared2Size0");
resources->ApplyResources(this->cboxIsShared2, L"cboxIsShared2");
resources->ApplyResources(this->labLib, L"labLib");
resources->ApplyResources(this->tboxSDK, L"tboxSDK");
resources->ApplyResources(this->labSDK, L"labSDK");
resources->ApplyResources(this->gboxTWLExInfo, L"gboxTWLExInfo");
resources->ApplyResources(this->labByte1, L"labByte1");
resources->ApplyResources(this->labHex4, L"labHex4");
resources->ApplyResources(this->labHex3, L"labHex3");
resources->ApplyResources(this->tboxIsCodec, L"tboxIsCodec");
resources->ApplyResources(this->labIsCodec, L"labIsCodec");
resources->ApplyResources(this->labNormalRomOffset, L"labNormalRomOffset");
resources->ApplyResources(this->tboxNormalRomOffset, L"tboxNormalRomOffset");
resources->ApplyResources(this->labKeyTableRomOffset, L"labKeyTableRomOffset");
resources->ApplyResources(this->tboxPrivateSize, L"tboxPrivateSize");
resources->ApplyResources(this->labPrivateSize, L"labPrivateSize");
resources->ApplyResources(this->tboxKeyTableRomOffset, L"tboxKeyTableRomOffset");
resources->ApplyResources(this->labPublicSize, L"labPublicSize");
resources->ApplyResources(this->tboxPublicSize, L"tboxPublicSize");
resources->ApplyResources(this->cboxIsSubBanner, L"cboxIsSubBanner");
resources->ApplyResources(this->cboxIsWL, L"cboxIsWL");
resources->ApplyResources(this->cboxIsNormalJump, L"cboxIsNormalJump");
resources->ApplyResources(this->cboxIsTmpJump, L"cboxIsTmpJump");
resources->ApplyResources(this->gboxAccess, L"gboxAccess");
resources->ApplyResources(this->labAccessOther, L"labAccessOther");
resources->ApplyResources(this->tboxAccessOther, L"tboxAccessOther");
resources->ApplyResources(this->tboxIsGameCardOn, L"tboxIsGameCardOn");
resources->ApplyResources(this->labIsGameCardOn, L"labIsGameCardOn");
resources->ApplyResources(this->cboxIsNAND, L"cboxIsNAND");
resources->ApplyResources(this->cboxIsSD, L"cboxIsSD");
resources->ApplyResources(this->gboxTitleID, L"gboxTitleID");
resources->ApplyResources(this->labAppType, L"labAppType");
resources->ApplyResources(this->labMedia, L"labMedia");
resources->ApplyResources(this->tboxAppType, L"tboxAppType");
resources->ApplyResources(this->tboxMedia, L"tboxMedia");
resources->ApplyResources(this->labHex2, L"labHex2");
resources->ApplyResources(this->tboxTitleIDLo, L"tboxTitleIDLo");
resources->ApplyResources(this->labTitleIDLo, L"labTitleIDLo");
resources->ApplyResources(this->labTitleIDHi, L"labTitleIDHi");
resources->ApplyResources(this->tboxTitleIDHi, L"tboxTitleIDHi");
resources->ApplyResources(this->tboxAppTypeOther, L"tboxAppTypeOther");
resources->ApplyResources(this->labAppTypeOther, L"labAppTypeOther");
resources->ApplyResources(this->labCaptionEx, L"labCaptionEx");
resources->ApplyResources(this->tboxCaptionEx, L"tboxCaptionEx");
resources->ApplyResources(this->gboxProd, L"gboxProd");
resources->ApplyResources(this->menuStripAbove, L"menuStripAbove");
resources->ApplyResources(this->stripFile, L"stripFile");
resources->ApplyResources(this->stripItemOpenRom, L"stripItemOpenRom");
resources->ApplyResources(this->stripItemSepFile1, L"stripItemSepFile1");
resources->ApplyResources(this->stripItemSaveTemp, L"stripItemSaveTemp");
resources->ApplyResources(this->stripItemLoadTemp, L"stripItemLoadTemp");
resources->ApplyResources(this->stripMaster, L"stripMaster");
resources->ApplyResources(this->stripItemSheet, L"stripItemSheet");
resources->ApplyResources(this->stripItemSepMaster1, L"stripItemSepMaster1");
resources->ApplyResources(this->stripItemMasterRom, L"stripItemMasterRom");
resources->ApplyResources(this->stripItemMiddlewareXml, L"stripItemMiddlewareXml");
resources->ApplyResources(this->stripItemMiddlewareHtml, L"stripItemMiddlewareHtml");
resources->ApplyResources(this->stripLang, L"stripLang");
resources->ApplyResources(this->stripItemEnglish, L"stripItemEnglish");
resources->ApplyResources(this->stripItemJapanese, L"stripItemJapanese");
resources->ApplyResources(this->tabMain, L"tabMain");
resources->ApplyResources(this->tabRomInfo, L"tabRomInfo");
resources->ApplyResources(this->gridLibrary, L"gridLibrary");
resources->ApplyResources(this->colLibPublisher, L"colLibPublisher");
resources->ApplyResources(this->colLibName, L"colLibName");
resources->ApplyResources(this->tboxGuideRomInfo, L"tboxGuideRomInfo");
resources->ApplyResources(this->tabTWLInfo, L"tabTWLInfo");
resources->ApplyResources(this->tboxGuideTWLInfo, L"tboxGuideTWLInfo");
resources->ApplyResources(this->gboxExFlags, L"gboxExFlags");
resources->ApplyResources(this->tabRomEditInfo, L"tabRomEditInfo");
resources->ApplyResources(this->gboxOtherSpec, L"gboxOtherSpec");
resources->ApplyResources(this->cboxIsUGC, L"cboxIsUGC");
resources->ApplyResources(this->cboxIsPhotoEx, L"cboxIsPhotoEx");
resources->ApplyResources(this->butSetBack, L"butSetBack");
resources->ApplyResources(this->tboxGuideRomEditInfo, L"tboxGuideRomEditInfo");
resources->ApplyResources(this->gboxParental, L"gboxParental");
resources->ApplyResources(this->gboxIcon, L"gboxIcon");
resources->ApplyResources(this->rIsNoIcon, L"rIsNoIcon");
resources->ApplyResources(this->rIsWiFiIcon, L"rIsWiFiIcon");
resources->ApplyResources(this->rIsWirelessIcon, L"rIsWirelessIcon");
resources->ApplyResources(this->gboxEULA, L"gboxEULA");
resources->ApplyResources(this->tabSubmitInfo, L"tabSubmitInfo");
resources->ApplyResources(this->labProductNameLimit, L"labProductNameLimit");
resources->ApplyResources(this->tboxGuideSubmitInfo, L"tboxGuideSubmitInfo");
resources->ApplyResources(this->gboxForeign, L"gboxForeign");
resources->ApplyResources(this->labProductNameLimitForeign, L"labProductNameLimitForeign");
resources->ApplyResources(this->labMultiForeign2, L"labMultiForeign2");
resources->ApplyResources(this->tabCompanyInfo, L"tabCompanyInfo");
resources->ApplyResources(this->tboxGuideCompanyInfo, L"tboxGuideCompanyInfo");
resources->ApplyResources(this->tabErrorInfo, L"tabErrorInfo");
resources->ApplyResources(this->tboxGuideErrorInfo, L"tboxGuideErrorInfo");
resources->ApplyResources(this->gboxErrorTiming, L"gboxErrorTiming");
resources->ApplyResources(this->rErrorCurrent, L"rErrorCurrent");
resources->ApplyResources(this->rErrorReading, L"rErrorReading");
resources->ApplyResources(this->labWarn, L"labWarn");
resources->ApplyResources(this->labError, L"labError");
resources->ApplyResources(this->gridWarn, L"gridWarn");
resources->ApplyResources(this->gridError, L"gridError");
resources->ApplyResources(this->labFile, L"labFile");
resources->ApplyResources(this->labAssemblyVersion, L"labAssemblyVersion");
resources->ApplyResources(this->colErrorName, L"colErrorName");
resources->ApplyResources(this->colErrorBegin, L"colErrorBegin");
resources->ApplyResources(this->colErrorEnd, L"colErrorEnd");
resources->ApplyResources(this->colErrorCause, L"colErrorCause");
resources->ApplyResources(this->colWarnName, L"colWarnName");
resources->ApplyResources(this->colWarnBegin, L"colWarnBegin");
resources->ApplyResources(this->colWarnEnd, L"colWarnEnd");
resources->ApplyResources(this->colWarnCause, L"colWarnCause");
resources->ApplyResources(this, L"$this");
}
// end of file

View File

@ -1,267 +0,0 @@
// ---------------------------------------------------------------------
// リージョンとペアレンタルコントロール設定
// ---------------------------------------------------------------------
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
// ---------------------------------------------------------------------
// リージョン設定は複雑なので別に切り出す
// ---------------------------------------------------------------------
// フォーム入力をSRLに反映させる
void Form1::setRegionSrlPropaties(void)
{
this->hSrl->hIsRegionJapan = gcnew System::Boolean(false);
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(false);
this->hSrl->hIsRegionEurope = gcnew System::Boolean(false);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(false);
switch( this->combRegion->SelectedIndex )
{
case 0:
this->hSrl->hIsRegionJapan = gcnew System::Boolean(true);
break;
case 1:
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(true);
break;
case 2:
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
break;
case 3:
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
case 4:
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
this->hSrl->hIsRegionJapan = gcnew System::Boolean(true);
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(true);
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
#endif //defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
default:
break;
}
}
// ---------------------------------------------------------------------
// ペアレンタルコントロール設定は複雑なので別に切り出す
// ---------------------------------------------------------------------
// SRL情報をフォームに反映させる
void Form1::setRegionForms(void)
{
System::Boolean isJapan = *(this->hSrl->hIsRegionJapan); // リージョン
System::Boolean isAmerica = *(this->hSrl->hIsRegionAmerica);
System::Boolean isEurope = *(this->hSrl->hIsRegionEurope);
System::Boolean isAustralia = *(this->hSrl->hIsRegionAustralia);
System::Int32 index;
if( isJapan && !isAmerica && !isEurope && !isAustralia )
index = 0;
else if( !isJapan && isAmerica && !isEurope && !isAustralia )
index = 1;
else if( !isJapan && !isAmerica && isEurope && !isAustralia )
index = 2;
else if( !isJapan && !isAmerica && !isEurope && isAustralia )
index = 3;
else if( !isJapan && !isAmerica && isEurope && isAustralia )
index = 4;
else
index = -1; // 不正
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( isJapan && isAmerica && isEurope && isAustralia )
index = 5;
#endif
this->combRegion->SelectedIndex = index;
this->maskParentalForms(); // ペアレンタルコントロール用フォームの表示/非表示切り替え
}
// フォーム入力をSRLに反映させる
void Form1::setParentalSrlProperties(void)
{
// 各団体のフォーム入力を反映
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_CERO ] = this->combCERO->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_ESRB ] = this->combESRB->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_USK ] = this->combUSK->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_GEN ] = this->combPEGI->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_PRT ] = this->combPEGI_PRT->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_BBFC ] = this->combPEGI_BBFC->SelectedIndex;
this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_OFLC ] = this->combOFLC->SelectedIndex;
} //setParentalSrlProperties()
// SRL内のペアレンタルコントロール情報を抜き出してフォームに反映させる
void Form1::setParentalForms(void)
{
// 各団体のコンボボックスのインデックスを設定
this->combCERO->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_CERO ];
this->combESRB->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_ESRB ];
this->combUSK->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_USK ];
this->combPEGI->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_GEN ];
this->combPEGI_PRT->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_PRT ];
this->combPEGI_BBFC->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_PEGI_BBFC ];
this->combOFLC->SelectedIndex = this->hSrl->hArrayParentalIndex[ OS_TWL_PCTL_OGN_OFLC ];
} //setParentalForms()
// リージョン情報からペアレンタルコントロールの編集可能団体をマスクする
void Form1::maskParentalForms(void)
{
this->enableParental( this->combCERO, this->labCERO, nullptr );
this->enableParental( this->combESRB, this->labESRB, nullptr );
this->enableParental( this->combUSK, this->labUSK, nullptr );
this->enableParental( this->combPEGI, this->labPEGI, nullptr );
this->enableParental( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->enableParental( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->enableParental( this->combOFLC, this->labOFLC, nullptr );
switch( this->combRegion->SelectedIndex )
{
case 0:
// 日本
this->enableParental( this->combCERO, this->labCERO, nullptr );
this->disableParental( this->combESRB, this->labESRB, nullptr );
this->disableParental( this->combUSK, this->labUSK, nullptr );
this->disableParental( this->combPEGI, this->labPEGI, nullptr );
this->disableParental( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->disableParental( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->disableParental( this->combOFLC, this->labOFLC, nullptr );
break;
case 1:
// 米国
this->disableParental( this->combCERO, this->labCERO, nullptr );
this->enableParental( this->combESRB, this->labESRB, nullptr );
this->disableParental( this->combUSK, this->labUSK, nullptr );
this->disableParental( this->combPEGI, this->labPEGI, nullptr );
this->disableParental( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->disableParental( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->disableParental( this->combOFLC, this->labOFLC, nullptr );
break;
case 2:
// 欧州
this->disableParental( this->combCERO, this->labCERO, nullptr );
this->disableParental( this->combESRB, this->labESRB, nullptr );
this->enableParental( this->combUSK, this->labUSK, nullptr );
this->enableParental( this->combPEGI, this->labPEGI, nullptr );
this->enableParental( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->enableParental( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->disableParental( this->combOFLC, this->labOFLC, nullptr );
break;
case 3:
// 豪州
this->disableParental( this->combCERO, this->labCERO, nullptr );
this->disableParental( this->combESRB, this->labESRB, nullptr );
this->disableParental( this->combUSK, this->labUSK, nullptr );
this->disableParental( this->combPEGI, this->labPEGI, nullptr );
this->disableParental( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->disableParental( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->enableParental( this->combOFLC, this->labOFLC, nullptr );
break;
case 4:
// 欧州と豪州
this->disableParental( this->combCERO, this->labCERO, nullptr );
this->disableParental( this->combESRB, this->labESRB, nullptr );
this->enableParental( this->combUSK, this->labUSK, nullptr );
this->enableParental( this->combPEGI, this->labPEGI, nullptr );
this->enableParental( this->combPEGI_PRT, this->labPEGI_PRT, nullptr );
this->enableParental( this->combPEGI_BBFC, this->labPEGI_BBFC, nullptr );
this->enableParental( this->combOFLC, this->labOFLC, nullptr );
break;
// 全リージョンのときは何もdisableにしない
default:
break;
}
} //maskParentalForms()
// ペアレンタルコントロール関連のフォーム入力が正しいか書き込み前チェック
void Form1::checkParentalForms( System::Boolean inRegion, System::Windows::Forms::ComboBox ^comb, System::String ^msg )
{
// リージョンに含まれていないとき: 0クリアが保証されるのでチェック必要なし
if( !inRegion )
return;
// 設定されていないときエラー
if( (comb->SelectedIndex < 0) || (comb->SelectedIndex >= comb->Items->Count) )
{
this->hErrorList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": レーティングを選択してください。",
"Parental Control",
msg + ": Rating Pending is setting. When rating age is examined, Please submit again.", true, true ) );
}
// 審査中のとき警告
if( comb->SelectedIndex == (comb->Items->Count - 1) )
{
this->hWarnList->Add( gcnew RCMrcError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": 審査中指定がされています。審査が決まりしだい、再提出してください。",
"Parental Control", msg + ": Save ROM data as Game soft which needs rating examinination.", true, true ) );
}
} //checkParentalForms()
// ペアレンタルコントロール情報をクリアする
void Form1::clearParental( System::Windows::Forms::ComboBox ^comb )
{
comb->SelectedIndex = -1; // 空白にする
}
// ペアレンタルコントロール情報を編集できるようにする
void Form1::enableParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::Label ^lab1,
System::Windows::Forms::Label ^lab2 )
{
comb->Enabled = true;
comb->Visible = true;
lab1->Visible = true;
if( lab2 != nullptr )
{
lab2->Visible = true;
}
}
// ペアレンタルコントロール情報を編集できなくする
void Form1::disableParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::Label ^lab1,
System::Windows::Forms::Label ^lab2 )
{
this->clearParental( comb );
comb->Enabled = false;
comb->Visible = false;
lab1->Visible = false;
if( lab2 != nullptr )
{
lab2->Visible = false;
}
}
// end of file

View File

@ -1,327 +0,0 @@
// ----------------------------------------------
// フォームとSRL内情報とのデータのやりとり
// ----------------------------------------------
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
// ROM情報をフォームから取得してSRLクラスのプロパティに反映させる
// (ROMヘッダへの反映やCRCと署名の再計算をしない)
void Form1::setSrlProperties(void)
{
// ROMヘッダの[0,0x160)の領域はRead Onlyで変更しない
// TWL拡張領域のいくつかの情報をROMヘッダに反映させる
this->hSrl->hIsEULA = this->cboxIsEULA->Checked;
this->hSrl->hIsWiFiIcon = this->rIsWiFiIcon->Checked;
this->hSrl->hIsWirelessIcon = this->rIsWirelessIcon->Checked;
// リージョン
this->setRegionSrlPropaties();
// ペアレンタルコントロール
this->setParentalSrlProperties();
} //setSrlProperties()
// SRLのROM情報をフォームに反映させる(ファイルが読み込まれていることが前提)
void Form1::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;
this->tboxRemasterVer->Text = this->hSrl->hRomVersion->ToString("X2");
if( *(this->hSrl->hRomVersion) == 0xE0 )
{
this->cboxRemasterVerE->Checked = true;
}
else
{
this->cboxRemasterVerE->Checked = false;
}
this->tboxHeaderCRC->Clear();
this->tboxHeaderCRC->AppendText( "0x" );
this->tboxHeaderCRC->AppendText( this->hSrl->hHeaderCRC->ToString("X") );
if( this->hSrl->hPlatform == nullptr )
{
this->errMsg( "プラットホーム指定が不正です。ROMデータのビルド設定を見直してください。",
"Illegal Platform: Please check build settings of the ROM data.");
}
// TWL拡張情報
this->tboxTitleIDLo->Text = this->hSrl->hTitleIDLo;
this->tboxTitleIDHi->Text = this->hSrl->hTitleIDHi->ToString("X8");
this->tboxNormalRomOffset->Text = this->hSrl->hNormalRomOffset->ToString("X8");
this->tboxKeyTableRomOffset->Text = this->hSrl->hKeyTableRomOffset->ToString("X8");
this->tboxPublicSize->Text = MasterEditorTWL::transSizeToString( this->hSrl->hPublicSize );
this->tboxPrivateSize->Text = MasterEditorTWL::transSizeToString( this->hSrl->hPrivateSize );
this->cboxIsNormalJump->Checked = *(this->hSrl->hIsNormalJump);
this->cboxIsTmpJump->Checked = *(this->hSrl->hIsTmpJump);
this->cboxIsSubBanner->Checked = *(this->hSrl->hIsSubBanner);
this->cboxIsWL->Checked = *(this->hSrl->hIsWL);
if( *(this->hSrl->hIsCodecTWL) == true )
{
this->tboxIsCodec->Text = gcnew System::String( "TWL" );
}
else
{
this->tboxIsCodec->Text = gcnew System::String( "NTR" );
}
this->cboxIsSD->Checked = *(this->hSrl->hIsSD);
this->cboxIsNAND->Checked = *(this->hSrl->hIsNAND);
if( *(this->hSrl->hIsGameCardNitro) == true )
{
this->tboxIsGameCardOn->Text = gcnew System::String( "ON(NTR)" );
}
else if( *(this->hSrl->hIsGameCardOn) == true )
{
this->tboxIsGameCardOn->Text = gcnew System::String( "ON(normal)" );
}
else
{
this->tboxIsGameCardOn->Text = gcnew System::String( "OFF" );
}
this->cboxIsShared2->Checked = *(this->hSrl->hIsShared2);
this->tboxShared2Size0->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[0] );
this->tboxShared2Size1->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[1] );
this->tboxShared2Size2->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[2] );
this->tboxShared2Size3->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[3] );
this->tboxShared2Size4->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[4] );
this->tboxShared2Size5->Text = MasterEditorTWL::transSizeToString( this->hSrl->hShared2SizeArray[5] );
// アプリ種別
if( *this->hSrl->hIsMediaNand )
{
this->tboxMedia->Text = gcnew System::String( "NAND" );
}
else
{
this->tboxMedia->Text = gcnew System::String( "Game Card" );
}
if( *(this->hSrl->hIsAppLauncher) == true )
{
this->tboxAppType->Text = gcnew System::String( "Launcher" );
}
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 ^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(Jpeg Launcher).\r\n";
}
if( *(this->hSrl->hIsAesSlotBForJpegEncUser) == true )
{
acc += "AES-SlotB(Jpeg User).\r\n";
}
if( *(this->hSrl->hIsAesSlotAForSSL) == true )
{
acc += "AES-SlotA(SSL).\r\n";
}
if( *(this->hSrl->hIsCommonClientKeyForDebugger) == true )
{
acc += "commonClientKey(Debug).\r\n";
}
this->tboxAccessOther->Text = acc;
// 特殊な設定をテキストボックスに反映
this->setSrlFormsCaptionEx();
// SDKバージョンとライブラリ
this->tboxSDK->Clear();
if( this->hSrl->hSDKList != nullptr )
{
for each( RCSDKVersion ^ver in this->hSrl->hSDKList )
{
if( ver->IsStatic )
this->tboxSDK->Text += ver->Version + " (main static)\r\n";
else
this->tboxSDK->Text += ver->Version + "\r\n";
}
}
this->gridLibrary->Rows->Clear();
if( this->hSrl->hLicenseList != nullptr )
{
for each( RCLicense ^lic in this->hSrl->hLicenseList )
{
this->gridLibrary->Rows->Add( gcnew cli::array<System::Object^>{lic->Publisher, lic->Name} );
if( lic->Publisher->Equals( "NINTENDO" ) && lic->Name->Equals( "DEBUG" ) )
{
System::Int32 last = this->gridLibrary->Rows->Count - 2; // 追加直後の行
this->gridLibrary->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red;
}
}
}
// 編集可能情報
this->cboxIsEULA->Checked = *(this->hSrl->hIsEULA);
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->setRegionForms();
this->setParentalForms(); // ペアレンタルコントロール関連
} // setSrlForms()
// SRLの特殊な設定をフォームにセットする(言語切り替えで表示を変えたいので独立させる)
void Form1::setSrlFormsCaptionEx()
{
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) )
{
return;
}
System::String ^appother = gcnew System::String("");
if( *(this->hSrl->hIsLaunch) == false )
{
if( this->stripItemJapanese->Checked == true )
appother += "ランチャー非表示.\r\n";
else
appother += "Not Display On the Launcher.\r\n";
}
if( *(this->hSrl->hIsDataOnly) == true )
{
if( this->stripItemJapanese->Checked == true )
appother += "データ専用.\r\n";
else
appother += "Data Only.\r\n";
}
this->tboxAppTypeOther->Text = appother;
this->tboxCaptionEx->Clear();
if( (this->hSrl->hHasDSDLPlaySign != nullptr) && (*(this->hSrl->hHasDSDLPlaySign) == true) )
{
if( this->stripItemJapanese->Checked == true )
this->tboxCaptionEx->Text += gcnew System::String( "DSクローンブート対応.\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レジスタアクセス可能.\r\n" );
else
this->tboxCaptionEx->Text += gcnew System::String( "SDFC Register Accessible.\r\n" );
}
} // setSrlFormsCaptionEx()
// フォームの入力をチェックする
System::Boolean Form1::checkSrlForms(void)
{
// リージョン
if( this->checkBoxIndex( this->combRegion, LANG_REGION_J, LANG_REGION_E, true ) == false )
return false;
// リージョンを決める
System::Boolean bJapan = false;
System::Boolean bAmerica = false;
System::Boolean bEurope = false;
System::Boolean bAustralia = false;
switch( this->combRegion->SelectedIndex )
{
case 0:
bJapan = true;
break;
case 1:
bAmerica = true;
break;
case 2:
bEurope = true;
break;
case 3:
bAustralia = true;
break;
case 4:
bEurope = true;
bAustralia = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
bJapan = true;
bAmerica = true;
bEurope = true;
bAustralia = true;
break;
#endif
default:
break;
}
// ペアレンタルコントロール
this->checkParentalForms( bJapan, this->combCERO, this->labCERO->Text );
this->checkParentalForms( bAmerica, this->combESRB, this->labESRB->Text );
this->checkParentalForms( bEurope, this->combUSK, this->labUSK->Text );
this->checkParentalForms( bEurope, this->combPEGI, this->labPEGI->Text );
this->checkParentalForms( bEurope, this->combPEGI_PRT, this->labPEGI_PRT->Text );
this->checkParentalForms( bEurope, this->combPEGI_BBFC, this->labPEGI_BBFC->Text );
this->checkParentalForms( bAustralia, this->combOFLC, this->labOFLC->Text );
// ひととおりエラー登録をした後で
// SRLバイナリに影響を与えるエラーが存在するかチェック
#ifdef METWL_LIGHT_CHECK
return this->isValidAffectRomModified();
#else
return this->isValidAffectRom();
#endif
} // checkSrlForms()
// end of file

View File

@ -1,388 +0,0 @@
// ----------------------------------------------
// 一時ファイルの取り扱い
// ----------------------------------------------
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
// 一時保存
System::Void Form1::saveTmp( System::String ^filename )
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
doc->AppendChild( doc->CreateXmlDeclaration("1.0","UTF-8",nullptr) );
System::Xml::XmlElement ^root = doc->CreateElement( "MasterEditorTWL" );
doc->AppendChild( root );
// SRLのパス
MasterEditorTWL::appendXmlTag( doc, root, "Srl", this->tboxFile->Text );
// 言語
MasterEditorTWL::appendXmlTag( doc, root, "Lang", (this->stripItemJapanese->Checked)?"J":"E" );
// フォーム
System::Xml::XmlElement ^form = doc->CreateElement( "Form" );
root->AppendChild( form );
MasterEditorTWL::appendXmlTag( doc, form, "ProductName", this->tboxProductName->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode1", this->tboxProductCode1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2", this->tboxProductCode2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductNameForeign", this->tboxProductNameForeign->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode1Foreign", this->tboxProductCode1Foreign->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2Foreign1", this->tboxProductCode2Foreign1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2Foreign2", this->tboxProductCode2Foreign2->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ProductCode2Foreign3", this->tboxProductCode2Foreign3->Text );
MasterEditorTWL::appendXmlTag( doc, form, "SubmitVersion", this->numSubmitVersion->Value.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "Backup", this->combBackup->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "BackupOther", this->tboxBackupOther->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ReleaseForeign", (this->cboxReleaseForeign->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "Remarks", this->tboxCaption->Text );
MasterEditorTWL::appendXmlTag( doc, form, "SubmitWay", (this->rSubmitHand->Checked)?"Hand":"Mail" );
if( this->rUsageSale->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Sale" );
else if( this->rUsageSample->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Sample" );
else if( this->rUsageDst->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Dst" );
else if( this->rUsageOther->Checked )
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Other" );
MasterEditorTWL::appendXmlTag( doc, form, "PurposeOther", this->tboxUsageOther->Text );
MasterEditorTWL::appendXmlTag( doc, form, "ReleaseDate", this->dateRelease->Value.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "SubmitDate", this->dateSubmit->Value.ToString() );
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, "Region", this->combRegion->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingCERO", this->combCERO->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingESRB", this->combESRB->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingUSK", this->combUSK->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI", this->combPEGI->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI_PRT", this->combPEGI_PRT->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI_BBFC", this->combPEGI_BBFC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingOFLC", this->combOFLC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "IsUGC", (this->cboxIsUGC->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "IsPhotoEx", (this->cboxIsPhotoEx->Checked)?"Y":"N" );
try
{
doc->Save( filename );
}
catch( System::Exception ^ex )
{
(void)ex;
this->errMsg( "一時情報の保存に失敗しました。", "Saving a temporary file failed." );
}
} //saveTmp()
// 一時ファイルの読み出し
void Form1::loadTmp( System::String ^filename )
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument;
try
{
doc->Load( filename );
}
catch( System::Exception ^ex )
{
(void)ex;
this->errMsg( "一時情報の読み込みに失敗しました。", "Loading a temporary file failed." );
}
System::Xml::XmlElement ^root = doc->DocumentElement;
System::String ^text;
// SRL
text = MasterEditorTWL::getXPathText( root, "/MasterEditorTWL/Srl" );
if( !System::String::IsNullOrEmpty(text) ) // SRLファイル名がないときはスルー
{
this->loadSrl(text);
}
// 言語
text = MasterEditorTWL::getXPathText( root, "/MasterEditorTWL/Lang" );
if( !System::String::IsNullOrEmpty(text) && text->Equals("E") )
{
this->stripItemEnglish->Checked = true;
this->stripItemJapanese->Checked = false;
this->changeEnglish();
}
else
{
this->stripItemEnglish->Checked = false;
this->stripItemJapanese->Checked = true;
this->changeJapanese();
}
// フォーム
this->parseTmp( root, "/MasterEditorTWL/Form/ProductName", this->tboxProductName );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode1", this->tboxProductCode1 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2", this->tboxProductCode2 );
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitVersion", this->numSubmitVersion );
this->parseTmp( root, "/MasterEditorTWL/Form/Backup", this->combBackup );
this->parseTmp( root, "/MasterEditorTWL/Form/ReleaseDate", this->dateRelease );
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitDate", this->dateSubmit );
this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Clear();
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->parseTmp( root, "/MasterEditorTWL/Form/BackupOther", this->tboxBackupOther );
this->tboxBackupOther->Enabled = true;
}
cli::array<System::Windows::Forms::RadioButton^> ^rbuts;
cli::array<System::String^> ^strs;
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rSubmitHand, this->rSubmitPost};
strs = gcnew cli::array<System::String^>{"Hand","Mail"};
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitWay", rbuts, strs );
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rUsageSale, this->rUsageSample, this->rUsageDst, this->rUsageOther};
strs = gcnew cli::array<System::String^>{"Sale","Sample","Dst","Other"};
this->parseTmp( root, "/MasterEditorTWL/Form/Purpose", rbuts, strs );
this->tboxUsageOther->Enabled = false;
this->tboxUsageOther->Clear();
if( this->rUsageOther->Checked )
{
this->tboxUsageOther->Enabled = true;
this->parseTmp( root, "/MasterEditorTWL/Form/PurposeOther", this->tboxUsageOther );
}
this->parseTmp( root, "/MasterEditorTWL/Form/ReleaseForeign", this->cboxReleaseForeign );
this->tboxProductNameForeign->Enabled = false;
this->tboxProductCode1Foreign->Enabled = false;
this->tboxProductCode2Foreign1->Enabled = false;
this->tboxProductCode2Foreign2->Enabled = false;
this->tboxProductCode2Foreign3->Enabled = false;
this->tboxProductNameForeign->Clear();
this->tboxProductCode1Foreign->Clear();
this->tboxProductCode2Foreign1->Clear();
this->tboxProductCode2Foreign2->Clear();
this->tboxProductCode2Foreign3->Clear();
if( this->cboxReleaseForeign->Checked )
{
this->tboxProductNameForeign->Enabled = true;
this->tboxProductCode1Foreign->Enabled = true;
this->tboxProductCode2Foreign1->Enabled = true;
this->tboxProductCode2Foreign2->Enabled = true;
this->tboxProductCode2Foreign3->Enabled = true;
this->parseTmp( root, "/MasterEditorTWL/Form/ProductNameForeign", this->tboxProductNameForeign );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode1Foreign", this->tboxProductCode1Foreign );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2Foreign1", this->tboxProductCode2Foreign1 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2Foreign2", this->tboxProductCode2Foreign2 );
this->parseTmp( root, "/MasterEditorTWL/Form/ProductCode2Foreign3", this->tboxProductCode2Foreign3 );
}
this->parseTmp( root, "/MasterEditorTWL/Form/Remarks", this->tboxCaption );
this->parseTmp( root, "/MasterEditorTWL/Form/Company1", this->tboxCompany1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Depart1", this->tboxDepart1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Name1", this->tboxPerson1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Furigana1", this->tboxFurigana1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Tel1", this->tboxTel1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Fax1", this->tboxFax1 );
this->parseTmp( root, "/MasterEditorTWL/Form/Mail1", this->tboxMail1 );
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC1", this->tboxNTSC1 );
this->parseTmp( root, "/MasterEditorTWL/Form/InputPerson2", this->cboxIsInputPerson2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Company2", this->tboxCompany2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Depart2", this->tboxDepart2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Name2", this->tboxPerson2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Furigana2", this->tboxFurigana2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Tel2", this->tboxTel2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Fax2", this->tboxFax2 );
this->parseTmp( root, "/MasterEditorTWL/Form/Mail2", this->tboxMail2 );
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC2", this->tboxNTSC2 );
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rIsWirelessIcon, this->rIsWiFiIcon, this->rIsNoIcon};
strs = gcnew cli::array<System::String^>{"Wireless","WiFi","None"};
this->parseTmp( root, "/MasterEditorTWL/Form/DisplayIcon", rbuts, strs );
this->parseTmp( root, "/MasterEditorTWL/Form/IsEULA", this->cboxIsEULA );
this->parseTmp( root, "/MasterEditorTWL/Form/Region", this->combRegion );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingCERO", this->combCERO );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingESRB", this->combESRB );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingUSK", this->combUSK );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI", this->combPEGI );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI_PRT", this->combPEGI_PRT );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI_BBFC", this->combPEGI_BBFC );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingOFLC", this->combOFLC );
this->parseTmp( root, "/MasterEditorTWL/Form/IsUGC", this->cboxIsUGC );
this->parseTmp( root, "/MasterEditorTWL/Form/IsPhotoEx", this->cboxIsPhotoEx );
this->maskParentalForms(); // ペアレンタルコントロール情報をリージョンに合わせる
} //loadTmp()
// 一時保存情報をフォーム情報に変換
System::Boolean Form1::parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::ComboBox ^comb )
{
// コンボボックスの保存情報 - インデックスの範囲に含まれるか調べる(含まれない場合は-1)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
try
{
System::Int32 index = System::Int32::Parse( text ); // テキストにはインデックスが保存されている
if( (0 <= index) && (index < comb->Items->Count) )
{
comb->SelectedIndex = index;
return true;
}
else
{
comb->SelectedIndex = -1;
return false;
}
}
catch ( System::Exception ^ex ) // 改ざんされていたとき
{
(void)ex;
comb->SelectedIndex = -1;
return false;
}
return false;
}
System::Boolean Form1::parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::NumericUpDown ^num )
{
// テキストボックスの保存情報 - そのまま代入(ただし最大を超える場合は0にする)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
try
{
System::Int32 val = System::Int32::Parse( text ); // テキストには値が保存されている
if( (0 <= val) && (val <= num->Maximum) )
{
num->Value = val;
return true;
}
else
{
num->Value = 0;
return false;
}
}
catch ( System::Exception ^ex ) // 改ざんされていたとき
{
(void)ex;
num->Value = 0;
return false;
}
return false;
}
System::Boolean Form1::parseTmp( System::Xml::XmlElement ^root, System::String ^xpath,
cli::array<System::Windows::Forms::RadioButton^>^rbuts, cli::array<System::String ^>^textCands )
{
// ラジオボタンの保存情報 - テキスト候補に合致するか調べる(合致しない場合は先頭のラジオボタンをチェック)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
System::Int32 i;
System::Boolean bSearch = false;
for( i=0; i < rbuts->Length; i++ ) // XML中のテキストがどのラジオボタンのテキストに合致するかチェック
{
rbuts[i]->Checked = false;
if( textCands[i]->Equals( text ) )
{
rbuts[i]->Checked = true;
bSearch = true;
}
}
if( !bSearch ) // 合致しない場合は最初のラジオボタンをチェック
{
rbuts[0]->Checked = true;
}
return bSearch;
}
System::Boolean Form1::parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::CheckBox ^cbox )
{
// チェックボタンの保存情報 - Y/Nを調べる(それ以外の場合にはチェックしない)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
if( text->Equals("Y") )
cbox->Checked = true;
else
cbox->Checked = false; // 不正な値も含む
return cbox->Checked;
}
System::Boolean Form1::parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::TextBox ^tbox )
{
// テキストボックスの保存情報 - そのまま代入(ただし長さが合わない場合は空白にする)
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
if( text->Length > tbox->MaxLength )
{
tbox->Text = gcnew System::String("");
return false;
}
tbox->Text = text;
return true;
}
System::Boolean Form1::parseTmp( System::Xml::XmlElement ^root, System::String ^xpath, System::Windows::Forms::DateTimePicker ^date )
{
System::String ^text = MasterEditorTWL::getXPathText( root, xpath );
if( System::String::IsNullOrEmpty( text ) )
return false;
System::Diagnostics::Debug::WriteLine( text );
try
{
date->Value = System::DateTime::Parse( text );
}
catch( System::Exception ^ex )
{
(void)ex;
date->Value = System::DateTime::Now;
return false;
}
return true;
}

View File

@ -1,265 +0,0 @@
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
#include "Form1.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;
using namespace MasterEditorTWL;
// ----------------------------------------------
// フォームのチェック
// ----------------------------------------------
// テキスト入力がされているかチェック
System::Boolean Form1::checkTextForm( System::String ^formtext, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
System::String ^msgJ = gcnew System::String( "入力されていません。" );
System::String ^msgE = gcnew System::String( "No item is set. Please retry to input." );
System::String ^tmp = formtext->Replace( " ", "" ); // スペースのみの文字列もエラー
if( (formtext == nullptr) || formtext->Equals("") || tmp->Equals("") )
{
this->hErrorList->Add( gcnew RCMrcError( labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true, affectRom ) );
return false;
}
return true;
}
// 数値入力が正常かどうかチェック
System::Boolean Form1::checkNumRange(
System::Int32 val, System::Int32 min, System::Int32 max, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
System::String ^msgJ = gcnew System::String( "値の範囲が不正です。やり直してください。" );
System::String ^msgE = gcnew System::String( "Invalidate range of value. Please retry." );
if( (val < min) || (max < val) )
{
this->hErrorList->Add( gcnew RCMrcError( labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true, affectRom ) );
return false;
}
return true;
}
System::Boolean Form1::checkNumRange( System::String ^strval, System::Int32 min, System::Int32 max,
System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
try
{
System::Int32 i = System::Int32::Parse(strval);
return (this->checkNumRange( i, min, max, labelJ, labelE, affectRom ));
}
catch ( System::FormatException ^ex )
{
(void)ex;
return (this->checkNumRange( max+1, min, max, labelJ, labelE, affectRom )); // 必ず失敗するように max+1 を検査
}
}
// コンボボックスをチェック
System::Boolean Form1::checkBoxIndex( System::Windows::Forms::ComboBox ^box, System::String ^labelJ, System::String ^labelE, System::Boolean affectRom )
{
System::String ^msgJ = gcnew System::String( "選択されていません。" );
System::String ^msgE = gcnew System::String( "One item is not selected." );
if( box->SelectedIndex < 0 )
{
this->hErrorList->Add( gcnew RCMrcError(
labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true, affectRom ) );
}
return true;
}
// --------------------------------------------------------
// エラー情報の登録
// --------------------------------------------------------
// 読み込み時エラーの登録
void Form1::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 Form1::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 );
}
}
}
// 読み込み時に検出した修正可能エラーに現在の入力を反映
void Form1::overloadGridError( void )
{
this->gridError->Rows->Clear();
if( this->hSrl->hErrorList != nullptr )
{
for each( RCMrcError ^err in this->hSrl->hErrorList )
{
if( !err->EnableModify ) // 修正可能な情報は表示しない
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridError( err );
}
}
}
if( this->hErrorList != nullptr )
{
for each( RCMrcError ^err in this->hErrorList )
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
this->colorGridError( err );
}
}
}
void Form1::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 );
}
}
}
// セルの色を変える
void Form1::colorGridError( RCMrcError ^err )
{
if( err->AffectRom && !err->EnableModify ) // SRLに関係ありで修正不可
{
System::Int32 last = this->gridError->Rows->Count - 2; // 追加直後の行
this->gridError->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red;
}
else if( err->AffectRom && err->EnableModify ) // SRLに関係ありで修正可
{
System::Int32 last = this->gridError->Rows->Count - 2;
this->gridError->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Blue;
}
}
void Form1::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;
}
}
// まとめて更新
void Form1::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();
}
}
}
// ----------------------------------------------
// エラーカウント
// ----------------------------------------------
// SRLには関係しない書類上のエラーをチェック
System::Boolean Form1::isValidOnlyDeliverable(void)
{
System::Int32 count = 0;
// SRLクラスのエラーリストはすべてSRLに関係するのでチェックしない
// -> 入力エラーのみのチェックでよい
for each( RCMrcError ^err in this->hErrorList )
{
if( !err->AffectRom )
count++;
}
return (count == 0);
}
// SRLのバイナリに影響する項目にエラーがあるかチェック
System::Boolean Form1::isValidAffectRom(void)
{
System::Int32 count = 0;
// SRLクラスの修正不可エラーをカウント
// (修正可エラーは入力によって修正されてるかもしれないのでチェックしない)
for each( RCMrcError ^err in this->hSrl->hErrorList )
{
if( !err->EnableModify ) // すべてSRLバイナリに影響する
count++;
}
// SRLバイナリに影響するエラーの中で
// 修正可エラーがフォーム入力によって修正されているかカウント
// (エラーリストが更新されていることが前提)
for each( RCMrcError ^err in this->hErrorList )
{
if( err->AffectRom ) // 修正不可エラーは存在しない
count++;
}
return (count == 0);
}
// SRLのバイナリに影響する項目の中で修正可能なエラーだけをチェック
System::Boolean Form1::isValidAffectRomModified(void)
{
System::Int32 count = 0;
for each( RCMrcError ^err in this->hErrorList )
{
if( err->AffectRom ) // 修正不可エラーは存在しない
count++;
}
return (count == 0);
}
// end of file

View File

@ -1,18 +0,0 @@
// MasterEditorTWL.cpp : メイン プロジェクト ファイルです。
#include "stdafx.h"
#include "Form1.h"
using namespace MasterEditorTWL;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// コントロールが作成される前に、Windows XP ビジュアル効果を有効にします
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// メイン ウィンドウを作成して、実行します
Application::Run(gcnew Form1());
return 0;
}

View File

@ -1,371 +0,0 @@
<?xml version="1.0" encoding="shift_jis"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="MasterEditorTWL"
ProjectGUID="{F8A4F8F7-A3BD-4DCA-B054-5FF8A09082F5}"
RootNamespace="MasterEditorTWL"
Keyword="ManagedCProj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="C:\twlsdk\build\tools\makerom.TWL;C:\twlsdk\include;&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\user&quot;"
PreprocessorDefinitions="WIN32;_DEBUG"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libacsign_X86.a libaes_X86.a libdigest_X86.a libflags_X86.a $(NOINHERIT)"
LinkIncremental="2"
AdditionalLibraryDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\flags\lib\X86&quot;;C:\twlsdk\build\tools\makerom.TWL\digest\lib\X86;C:\twlsdk\build\tools\makerom.TWL\aes\lib\X86;C:\twlsdk\build\tools\makerom.TWL\acsign\lib\X86"
GenerateDebugInformation="true"
AssemblyDebug="1"
SubSystem="2"
EntryPointSymbol="main"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\user&quot;;C:\twlsdk\build\tools\makerom.TWL;C:\twlsdk\include"
PreprocessorDefinitions="WIN32;NDEBUG"
RuntimeLibrary="2"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libacsign_X86.a libaes_X86.a libdigest_X86.a libflags_X86.a $(NoInherit)"
LinkIncremental="1"
AdditionalLibraryDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\flags\lib\X86&quot;;C:\twlsdk\build\tools\makerom.TWL\digest\lib\X86;C:\twlsdk\build\tools\makerom.TWL\aes\lib\X86;C:\twlsdk\build\tools\makerom.TWL\acsign\lib\X86"
GenerateDebugInformation="true"
SubSystem="2"
EntryPointSymbol="main"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
<AssemblyReference
RelativePath="System.dll"
AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Data.dll"
AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Drawing.dll"
AssemblyName="System.Drawing, Version=2.0.0.0, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Windows.Forms.dll"
AssemblyName="System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.XML.dll"
AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
</References>
<Files>
<Filter
Name="ソース ファイル"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\AssemblyInfo.cpp"
>
</File>
<File
RelativePath=".\crc_whole.cpp"
>
</File>
<File
RelativePath=".\deliverable.cpp"
>
</File>
<File
RelativePath=".\Form_deliv.cpp"
>
</File>
<File
RelativePath=".\Form_file.cpp"
>
</File>
<File
RelativePath=".\Form_lang.cpp"
>
</File>
<File
RelativePath=".\Form_pctl.cpp"
>
</File>
<File
RelativePath=".\Form_srl.cpp"
>
</File>
<File
RelativePath=".\Form_tmp.cpp"
>
</File>
<File
RelativePath=".\Form_util.cpp"
>
</File>
<File
RelativePath=".\keys.cpp"
>
</File>
<File
RelativePath=".\MasterEditorTWL.cpp"
>
</File>
<File
RelativePath=".\srl.cpp"
>
</File>
<File
RelativePath=".\stdafx.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\utility.cpp"
>
</File>
</Filter>
<Filter
Name="ヘッダー ファイル"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\common.h"
>
</File>
<File
RelativePath=".\crc_whole.h"
>
</File>
<File
RelativePath=".\deliverable.h"
>
</File>
<File
RelativePath=".\Form1.h"
FileType="3"
>
<File
RelativePath=".\Form1.ja.resx"
SubType="Designer"
>
</File>
<File
RelativePath=".\Form1.resX"
SubType="Designer"
>
</File>
</File>
<File
RelativePath=".\FormError.cpp"
>
</File>
<File
RelativePath=".\FormError.h"
FileType="3"
>
<File
RelativePath=".\FormError.resx"
SubType="Designer"
>
</File>
</File>
<File
RelativePath=".\keys.h"
>
</File>
<File
RelativePath=".\lang.h"
>
</File>
<File
RelativePath=".\resource.h"
>
</File>
<File
RelativePath=".\srl.h"
>
</File>
<File
RelativePath=".\stdafx.h"
>
</File>
<File
RelativePath=".\utility.h"
>
</File>
</Filter>
<Filter
Name="リソース ファイル"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\app.ico"
>
</File>
<File
RelativePath=".\app.rc"
>
</File>
</Filter>
<File
RelativePath=".\ReadMe.txt"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="shift_jis"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="PC2355"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="PC2355"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

View File

@ -1,34 +0,0 @@
===============================================================================
アプリケーション : MasterEditorTWL プロジェクトの概要
===============================================================================
この MasterEditorTWL アプリケーションは、AppWizard によって作成されました。
このファイルには、MasterEditorTWL アプリケーションを構成する各ファイルの
内容の概略が記述されています。
MasterEditorTWL.vcproj
これは、アプリケーション ウィザードで生成される VC++ プロジェクトのメインの
プロジェクト ファイルです。
ファイルを生成した Visual C++ のバージョン情報と、アプリケーション ウィザー
ドで選択したプラットフォーム、構成、およびプロジェクトの機能に関する情報が
記述されています。
MasterEditorTWL.cpp
これは、メインのアプリケーション ソース ファイルです。
フォームを表示するコードが含まれています。
Form1.h
ユーザーのフォーム クラスの実装と、InitializeComponent() 関数が含まれています。
AssemblyInfo.cpp
アセンブリ メタデータを変更するためのカスタム属性が含まれています。
///////////////////////////////////////////////////////////////////////////////
その他の標準ファイル :
StdAfx.h, StdAfx.cpp
これらのファイルは、コンパイル済みヘッダー (PCH) ファイル MasterEditorTWL.pch
とプリコンパイル済み型ファイル StdAfx.obj をビルドするために使用します。
///////////////////////////////////////////////////////////////////////////////

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,63 +0,0 @@
// Microsoft Visual C++ で生成されたリソース スクリプトです。
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 英語 (米国) リソース
/////////////////////////////////////////////////////////////////////////////
//
// アイコン
//
// 最初に配置されたアイコン、または ID 値が最も低いアイコンが、アプリケーション アイコンになります。
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 リソースから生成されました。
//
/////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED でない場合

View File

@ -1,23 +0,0 @@
#pragma once
#define METWL_WHETHER_PLATFORM_CHECK // プラットフォームがTWL対応以外かどうかをチェックする
#define METWL_WHETHER_SIGN_DECRYPT // 署名を外してダイジェストをベリファイする
#define METWL_WHETHER_MRC // MRC機能を含めるか
#define METWL_LIGHT_CHECK // 提出条件を緩くするか
// 定数
#define METWL_ERRLIST_NORANGE 0 // エラーのアドレス範囲を指定しないことを表す特別な値
#define METWL_ROMSIZE_MIN 256 // 最小のデバイス容量 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セーブデータのサイズを含めたNANDアプリの容量制限(単位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

View File

@ -1,185 +0,0 @@
// crc_whole.h の実装
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "crc_whole.h"
#include <cstring>
#include <cstdio>
#define CRCPOLY 0x1021
#define BUFLEN 0x1000
namespace MasterEditorTWL
{
u16 crc_table[0x100];
/*----------------------------------------------------------------------------
inittable - initialize table
static void inittable(unsigned short *table);
CRC算出を高速化するための参照テーブルを作成する
----------------------------------------------------------------------------*/
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計算
CRCテーブルを使ったCRC計算関数
*============================================================================*/
static u16 newGetCRC
(
u16 start, // CRC初期値累積値
u16 *datap, // データの先頭を指すポインタ、中島さんのと違い、u8
u32 size // バイト単位でのデータサイズ
)
{
u32 i;
u16 crc;
u8* byte;
crc = start;
byte = (u8 *)datap;
for (i=0; i<size; i+=2)
{
u8 byte0, byte1;
byte0 = *byte; byte++;
byte1 = *byte; byte++;
crc = (crc << 8) ^ crc_table[(crc >> 8) ^ byte1];
crc = (crc << 8) ^ crc_table[(crc >> 8) ^ byte0];
}
return crc;
}
/*---------------------------------------------------------------------------*
Name: getSeg3CRCInFp
Description: Segment3(0x3000-0x3fff)CRCを算出
Arguments: [in] srlファイルのファイルポインタ
[out] CRC格納先
Return: TRUE.
*---------------------------------------------------------------------------*/
BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC )
{
u16 crc;
u16 data[ 0x1000 / 2 ]; // 64Kバイト(512Kビット)
if( !fp )
{
return FALSE;
}
// CRCテーブル初期化製品技術部のコード
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ファイル全体のCRCを算出
Arguments: [in] srlファイルのファイルポインタ
[out] CRC格納先
Return: TRUE.
*---------------------------------------------------------------------------*/
BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC )
{
u32 file_size;
u16 crc;
u32 i;
u16 data[ 0x1000 / 2 ]; // 64Kバイト(512Kビット)
if( !fp )
{
return FALSE;
}
// ファイルサイズチェック
fseek( fp, 0, SEEK_END );
file_size = ftell( fp );
// CRCテーブル初期化製品技術部のコード
inittable(crc_table);
// ファイル全体のCRC をとる
fseek( fp, 0, SEEK_SET );
crc = 0;
for ( i=0; i<file_size; i+=sizeof(data) )
{
fread( (void*)data, sizeof(data), 1, fp );
crc = newGetCRC( crc, data, sizeof(data) );
}
*pCRC = crc;
return TRUE;
}
/*---------------------------------------------------------------------------*
Name: getWholeCRCInFile
Description: srlファイル全体のCRCを算出
Arguments: [in] srlファイル名()
[out] CRC格納先
Return: None.
*---------------------------------------------------------------------------*/
BOOL getWholeCRCInFile( System::String ^filename, u16 *pCRC )
{
FILE* fp;
const char *pchFilename =
(const char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi( filename ).ToPointer();
fopen_s( &fp, pchFilename, "rb" );
if ( fp == NULL )
{
return FALSE;
}
getWholeCRCInFp( fp, pCRC );
fclose( fp );
return TRUE;
}
} // end of namespace MasterEditorTWL

View File

@ -1,52 +0,0 @@
#pragma once
// 署名用の鍵データの宣言
#include <twl/types.h>
#include <cstdio>
namespace MasterEditorTWL
{
/*---------------------------------------------------------------------------*
Name: getSeg3CRCInFp
Description: Segment3(0x3000-0x3fff)CRCを算出
Arguments: [in] srlファイルのファイルポインタ
[out] CRC格納先
Return: TRUE.
*---------------------------------------------------------------------------*/
BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC );
/*---------------------------------------------------------------------------*
Name: getWholeCRCInFp
Description: srlファイル全体のCRCを算出
Arguments: [in] srlファイルのファイルポインタ
[out] CRC格納先
Return: TRUE.
*---------------------------------------------------------------------------*/
BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC );
/*---------------------------------------------------------------------------*
Name: getWholeCRCInFile
Description: srlファイル全体のCRCを算出
Arguments: [in] srlファイル名()
[out] CRC格納先
Return: None.
*---------------------------------------------------------------------------*/
BOOL getWholeCRCInFile( System::String ^filename, u16 *pCRC );
} // end of namespace MasterEditorTWL

View File

@ -1,575 +0,0 @@
// deliverable.h のクラス実装
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "srl.h"
#include "deliverable.h"
#include "utility.h"
#include <cstring>
#include <cstdio>
using namespace MasterEditorTWL;
//
// RCDeliverable クラス
//
//
// 書類出力
//
// @arg [out] 出力ファイル名
// @arg [in] ROMバイナリ(SRL)固有情報
// @arg [in] ファイル全体のCRC
// @arg [in] SRLのファイル名(書類に記述するために使用)
// @arg [in] 英語フラグ
//
ECDeliverableResult RCDeliverable::writeSpreadsheet(
System::String ^hFilename, MasterEditorTWL::RCSrl ^hSrl, System::UInt16 ^hCRC, System::String ^hSrlFilename, System::Boolean english )
{
// テンプレートを読み込む
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;
// ソフトタイトル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") );
// アプリ種別
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 += "データ専用.";
}
// アクセスコントロール その他
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(Jpeg Launcher). ";
}
if( *(hSrl->hIsAesSlotBForJpegEncUser) == true )
{
access += "AES-SlotB(Jpeg User). ";
}
if( *(hSrl->hIsAesSlotAForSSL) == true )
{
access += "AES-SlotA(SSL). ";
}
if( *(hSrl->hIsCommonClientKeyForDebugger) == true )
{
access += "commonClientKey(Debug). ";
}
// 使用ライセンス
System::String ^lib = gcnew System::String("");
if( hSrl->hLicenseList != nullptr )
{
for each( RCLicense ^lic in hSrl->hLicenseList )
{
lib += "[" + lic->Publisher + " / " + lic->Name + "]. ";
}
}
// 書類テンプレートの各タグを入力情報に置き換え
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) )
{
// 提出情報
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 のときはセルが空になるので好都合
}
if( node->FirstChild->Value->Equals( "TagRomVersion" ) )
{
node->FirstChild->Value = hSrl->hRomVersion->ToString("X2");
if( *(hSrl->hRomVersion) == 0xE0 )
{
if( english )
node->FirstChild->Value += "(Preliminary ver.)";
else
node->FirstChild->Value += "(事前版)";
}
}
if( node->FirstChild->Value->Equals( "TagSubmitVersion" ) )
{
node->FirstChild->Value = this->hSubmitVersion->ToString("X");
}
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拡張情報)
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( "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;
}
// 備考
if( node->FirstChild->Value->Equals( "TagCaption" ) )
{
node->FirstChild->Value = this->hCaption;
}
// リージョン
if( node->FirstChild->Value->Equals( "TagRegion" ) )
{
node->FirstChild->Value = this->hRegion;
}
// ペアレンタルコントロール
if( node->FirstChild->Value->Equals( "TagRatingCERO" ) )
{
node->FirstChild->Value = this->hCERO;
}
if( node->FirstChild->Value->Equals( "TagRatingESRB" ) )
{
node->FirstChild->Value = this->hESRB;
}
if( node->FirstChild->Value->Equals( "TagRatingUSK" ) )
{
node->FirstChild->Value = this->hUSK;
}
if( node->FirstChild->Value->Equals( "TagRatingPEGI" ) )
{
node->FirstChild->Value = this->hPEGI;
}
if( node->FirstChild->Value->Equals( "TagRatingPEGI_PRT" ) )
{
node->FirstChild->Value = this->hPEGI_PRT;
}
if( node->FirstChild->Value->Equals( "TagRatingPEGI_BBFC" ) )
{
node->FirstChild->Value = this->hPEGI_BBFC;
}
if( node->FirstChild->Value->Equals( "TagRatingOFLC" ) )
{
node->FirstChild->Value = this->hOFLC;
}
// SRLに登録されないROM仕様
if( node->FirstChild->Value->Equals( "TagIsUGC" ) )
{
if( *(this->hIsUGC) == true )
node->FirstChild->Value = gcnew System::String("");
else
node->FirstChild->Value = nullptr;
}
if( node->FirstChild->Value->Equals( "TagIsPhotoEx" ) )
{
if( *(this->hIsPhotoEx) == true )
node->FirstChild->Value = gcnew System::String("");
else
node->FirstChild->Value = nullptr;
}
// ROM内登録データを1バイトずつ表に書き込む
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++ )
try
{
doc->Save( hFilename );
}
catch ( System::Exception ^ex )
{
(void)ex;
return ECDeliverableResult::ERROR_FILE_WRITE;
}
return ECDeliverableResult::NOERROR;
} // ECDeliverableResult RCDeliverable::writeSpreadsheet(System::String ^hFilename, MasterEditorTWL::RCSrl ^hSrl)

View File

@ -1,124 +0,0 @@
#pragma once
// 書類クラスの宣言
#include <apptype.h>
#include <twl/types.h>
#include <twl/os/common/format_rom.h>
#include <apptype.h>
#include "common.h"
#include "srl.h"
namespace MasterEditorTWL
{
// -------------------------------------------------------------------
// Type : enum class
// Name : ECDeliverableResult
//
// Description : RCDeliverable クラスの操作でのエラーを宣言
// -------------------------------------------------------------------
enum class ECDeliverableResult
{
NOERROR = 0,
// エラー特定しなくても原因がわかるときの返り値
// (エラーが生じる可能性のある箇所が1つ etc.)
ERROR,
// ファイル操作でのエラー
ERROR_FILE_OPEN,
ERROR_FILE_READ,
ERROR_FILE_WRITE,
};
// -------------------------------------------------------------------
// Type : ref class
// Name : RCDeliverable
//
// Description : 提出書類クラス
//
// Role : 提出情報の入出力
// -------------------------------------------------------------------
ref class RCDeliverable
{
// field
public:
// 提出情報
property System::String ^hProductName; // 製品名
property System::String ^hProductCode1; // 製品コード
property System::String ^hProductCode2; // 製品コード
property System::Int32 ^hReleaseYear; // 発売予定日
property System::Int32 ^hReleaseMonth;
property System::Int32 ^hReleaseDay;
property System::Int32 ^hSubmitYear; // 提出日
property System::Int32 ^hSubmitMonth;
property System::Int32 ^hSubmitDay;
property System::String ^hSubmitWay; // 提出方法
property System::String ^hUsage; // 用途
property System::String ^hUsageOther; // その他の用途
property System::Int32 ^hSubmitVersion; // 提出バージョン
property System::String ^hSDK; // SDKバージョン
property System::Boolean ^hReleaseForeign; // 海外版の予定
property System::String ^hProductNameForeign;
property System::String ^hProductCode1Foreign;
property System::String ^hProductCode2Foreign;
// 会社情報
// 担当者(1人目)
property System::String ^hCompany1; // 会社名
property System::String ^hPerson1; // 名前
property System::String ^hFurigana1; // ふりがな
property System::String ^hTel1; // 電話番号
property System::String ^hFax1; // FAX番号
property System::String ^hMail1; // メアド
property System::String ^hNTSC1; // NTSC User ID
// 担当者(2人目)
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;
// 備考
property System::String ^hCaption;
// ROMヘッダ不記載のROMバイナリ(SRL)固有情報
property System::String ^hBackupMemory; // バックアップメモリの種別
// SRL情報の一部を文字列で持っておく
property System::String ^hRegion;
property System::String ^hCERO;
property System::String ^hESRB;
property System::String ^hUSK;
property System::String ^hPEGI;
property System::String ^hPEGI_PRT;
property System::String ^hPEGI_BBFC;
property System::String ^hOFLC;
property System::String ^hAppTypeOther; // 特記事項
// SRLには登録されないROM仕様
property System::Boolean ^hIsUGC;
property System::Boolean ^hIsPhotoEx;
// constructor and destructor
public:
// method
public:
//
// 書類出力
//
// @arg [out] 出力ファイル名
// @arg [in] ROMバイナリ(SRL)固有情報
// @arg [in] ファイル全体のCRC
// @arg [in] SRLのファイル名(書類に記述するために使用)
// @arg [in] 英語フラグ
//
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

View File

@ -1,251 +0,0 @@
// 署名用の鍵データ from makerom.TWL
#include "stdafx.h"
#include <twl/types.h>
#include <apptype.h>
#include "common.h"
#include "keys.h"
namespace MasterEditorTWL
{
#ifdef METWL_VER_APPTYPE_USER
// 開発機用ROMヘッダ署名公開鍵
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,
};
// 開発機用アプリROMヘッダ署名秘密鍵
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
// 開発用システムアプリ ROMヘッダ署名用公開鍵
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,
};
// 開発用システムアプリ ROMヘッダ署名用秘密鍵
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
// 開発用ショップアプリ ROMヘッダ署名用公開鍵
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,
};
// 開発用ショップアプリ ROMヘッダ署名用秘密鍵
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
// 開発用システムアプリ ROMヘッダ署名用公開鍵
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,
};
// 開発用システムアプリ ROMヘッダ署名用秘密鍵
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

View File

@ -1,29 +0,0 @@
#pragma once
// 署名用の鍵データの宣言
#include <twl/types.h>
#include <apptype.h>
namespace MasterEditorTWL
{
// 開発機用ROMヘッダ署名鍵
#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

View File

@ -1,106 +0,0 @@
#pragma once
// 量が多いのでひとまず入力ありの項目のみ
#define LANG_PRODUCT_NAME_J ("製品名")
#define LANG_PRODUCT_LIMIT_J ("(30文字以内)")
#define LANG_PRODUCT_CODE_J ("製品コード")
#define LANG_RELEASE_DATE_J ("発売予定日")
#define LANG_SUBMIT_DATE_J ("書類提出日")
#define LANG_SUBMIT_WAY_J ("提出方法")
#define LANG_SUBMIT_POST_J ("郵送")
#define LANG_SUBMIT_HAND_J ("手渡し")
#define LANG_USAGE_J ("用途")
#define LANG_USAGE_SALE_J ("一般販売用")
#define LANG_USAGE_SAMPLE_J ("試遊台用")
#define LANG_USAGE_DST_J ("データ配信用")
#define LANG_USAGE_OTHER_J ("その他")
#define LANG_BACKUP_J ("バックアップメモリ")
#define LANG_SUBMIT_VER_J ("提出バージョン")
#define LANG_SUBMIT_VER_CAP_J ("* リマスターバージョンが上がると再び0からカウント")
#define LANG_F_J ("海外版")
#define LANG_PRODUCT_NAME_F_J ("製品名")
#define LANG_PRODUCT_CODE_F_J ("製品コード")
#define LANG_RELEASE_F_J ("海外版を発売する(予定)")
#define LANG_MULTI_F_J ("(複数ある場合のみ)")
#define LANG_CAPTION_J ("備考欄 - その他連絡事項があればご記入ください")
#define LANG_PERSON_1_J ("担当者1")
#define LANG_PERSON_2_J ("担当者2")
#define LANG_INPUT_PERSON_2_J ("担当者2を入力する")
#define LANG_COMPANY_J ("貴社名")
#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_BOX_EULA_J ("EULA(利用規約)")
#define LANG_EULA_J ("EULAへの同意を必要とする")
#define LANG_EULA_VER_J ("EULA同意バージョン")
#define LANG_ICON_J ("メニュー上でのアイコン表示")
#define LANG_WIRELESS_ICON_J ("DSワイヤレス通信アイコン表示")
#define LANG_WIFI_ICON_J ("Wi-Fi通信アイコン表示")
#define LANG_NO_ICON_J ("アイコンを表示しない")
#define LANG_REGION_PCTL_J ("リージョンとリージョン情報")
#define LANG_REGION_J ("リージョン")
#define LANG_PCTL_RATING_J ("レーティング年齢")
#define LANG_PCTL_ENABLE_J ("制限を有効")
#define LANG_PCTL_ALWAYS_J ("審査中")
#define LANG_OTHER_SPEC_J ("その他ROM仕様")
#define LANG_UGC_J ("UGC(User Generated Contents)対応")
#define LANG_PHOTO_EX_J ("写真交換対応")
#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_BOX_EULA_E ("EULA")
#define LANG_EULA_E ("Require EULA Agreement")
#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 ("Region and Rating Information")
#define LANG_REGION_E ("Region")
#define LANG_PCTL_RATING_E ("Rating Information")
#define LANG_PCTL_ENABLE_E ("Enable Control")
#define LANG_PCTL_ALWAYS_E ("Rating Pending")
#define LANG_OTHER_SPEC_E ("Other ROM Spec.")
#define LANG_UGC_E ("UGC(User Generated Contents) Support")
#define LANG_PHOTO_EX_E ("Photo Exchange Support")

View File

@ -1,3 +0,0 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by app.rc

File diff suppressed because it is too large Load Diff

View File

@ -1,393 +0,0 @@
#pragma once
// ROMデータ(SRL)クラスと関連クラスの宣言
#include <apptype.h>
#include "common.h"
#include <twl/types.h>
#include <twl/os/common/format_rom.h>
#include <twl/os/common/ownerInfoEx.h>
namespace MasterEditorTWL
{
// -------------------------------------------------------------------
// Type : enum class
// Name : ECSrlResult
//
// Description : RCSrlクラスの操作でのエラーを宣言
// -------------------------------------------------------------------
enum class ECSrlResult
{
NOERROR = 0,
// エラー特定しなくても原因がわかるときの返り値
// (エラーが生じる可能性のある箇所が1つ etc.)
ERROR,
// ファイル操作でのエラー
ERROR_FILE_OPEN,
ERROR_FILE_READ,
ERROR_FILE_WRITE,
// 署名でのエラー
ERROR_SIGN_ENCRYPT, // 署名できない
ERROR_SIGN_DECRYPT, // 署名解除できない
ERROR_SIGN_VERIFY, // 署名解除した後のダイジェストが合わない
// CRC算出でのエラー
ERROR_SIGN_CRC,
// SDKバージョン取得でのエラー
ERROR_SDK,
// プラットフォームがNTR専用 or 不正バイナリ
ERROR_PLATFORM,
};
// -------------------------------------------------------------------
// Type : enum class
// Name : ECAppType
//
// Description : RCSrlクラスのアプリ種別を宣言
// -------------------------------------------------------------------
enum class ECAppType
{
USER = 0,
SYSTEM,
SECURE,
LAUNCHER,
ILLEGAL, // 不定
};
// -------------------------------------------------------------------
// Type : ref class
// Name : RCSDKVersion
//
// Description : RCSrlクラスに持たせるSDKバージョン情報クラス
//
// Role : 構造体としてデータをまとめておく
// -------------------------------------------------------------------
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 ) // 生成時にのみフィールドを設定可能
{
if( ver == nullptr )
this->hVersion = gcnew System::String(""); // NULL参照バグを避ける
else
this->hVersion = ver;
this->hCode = gcnew System::UInt32( code );
this->hIsStatic = gcnew System::Boolean( isStatic );
}
public:
property System::String ^Version // 生成後にはフィールドは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クラスに持たせるライセンス情報クラス
//
// Role : 構造体としてデータをまとめておく
// -------------------------------------------------------------------
ref class RCLicense
{
private:
System::String ^hPublisher;
System::String ^hName;
private:
RCLicense(){} // 封じる
public:
RCLicense( System::String ^pub, System::String ^name ) // 生成時にのみフィールドを設定可能
{
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 // 生成後にはフィールドは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クラスに持たせるMRCエラー情報クラス
//
// Role : 構造体としてデータをまとめておく
// -------------------------------------------------------------------
public ref class RCMrcError
{
private:
System::String ^hName; // 項目名
System::UInt32 ^hBegin; // 開始アドレス
System::UInt32 ^hEnd; // 終了アドレス
System::String ^hMsg; // エラーメッセージ
System::String ^hNameE; // 英語版
System::String ^hMsgE;
System::Boolean ^hEnableModify; // マスタエディタで修正可能かどうか
System::Boolean ^hAffectRom; // 変更するとSRL(ROMバイナリ)が変更されるか
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<System::Object^>^ getAll( System::Boolean isJapanese )
{
if( (*this->hBegin == METWL_ERRLIST_NORANGE) && (*this->hEnd == METWL_ERRLIST_NORANGE) )
{
if( isJapanese )
return (gcnew array<System::Object^>{this->hName, "-", "-", this->hMsg});
else
return (gcnew array<System::Object^>{this->hNameE, "-", "-", this->hMsgE});
}
if( isJapanese )
return (gcnew array<System::Object^>{this->hName, this->hBegin->ToString("X04")+"h", this->hEnd->ToString("X04")+"h", this->hMsg});
else
return (gcnew array<System::Object^>{this->hNameE, this->hBegin->ToString("X04")+"h", this->hEnd->ToString("X04")+"h", this->hMsgE});
}
};
// -------------------------------------------------------------------
// Type : ref class
// Name : RCMrcSpecialList
//
// Description : MRCの追加エラー項目クラス
//
// Role : 構造体としてデータをまとめておく
// -------------------------------------------------------------------
ref class RCMrcSpecialList
{
public:
property System::Boolean ^hIsCheck;
property System::UInt32 ^hSDKVer;
property System::Byte ^hEULAVer;
property cli::array<System::UInt32^> ^hShared2SizeArray;
public:
RCMrcSpecialList()
{
this->hIsCheck = gcnew System::Boolean( false );
this->hSDKVer = gcnew System::UInt32( 0 );
this->hShared2SizeArray = gcnew cli::array<System::UInt32^>(METWL_NUMOF_SHARED2FILES); // ファイルサイズの数に合わせる
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データ(SRL)の設定情報クラス
//
// Role : ROMデータのファイル入出力・内部情報の更新
// -------------------------------------------------------------------
ref class RCSrl
{
// field
private:
// ROMヘッダ
ROM_Header *pRomHeader;
public:
// (GUIに表示される)ROMヘッダ固有情報
// 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
// ペアレンタルコントロール
property cli::array<System::Int32> ^hArrayParentalIndex; // 表示用のコンボボックスのインデックス
// TWL専用情報 一部編集可能
property System::UInt32 ^hNormalRomOffset;
property System::UInt32 ^hKeyTableRomOffset;
property System::String ^hTitleIDLo;
property System::UInt32 ^hTitleIDHi;
property System::Boolean ^hIsAppLauncher; // TitleIDLoからわかるアプリ種別
property System::Boolean ^hIsAppUser; // TitleIDHiからわかるアプリ種別
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ヘッダ外のSRLからわかる署名の有無
property System::Boolean ^hIsOldDevEncrypt; // 旧開発用暗号フラグが立っている
property System::Boolean ^hIsSCFGAccess; // SCFGレジスタをロックしている
// TWL拡張フラグ 一部編集可能
property System::Boolean ^hIsCodecTWL;
property System::Boolean ^hIsEULA; // 編集可能
property System::Boolean ^hIsSubBanner;
property System::Boolean ^hIsWiFiIcon; // 編集可能
property System::Boolean ^hIsWirelessIcon; // 編集可能
property System::Boolean ^hIsWL;
// TWLアクセスコントロール 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 ^hIsAesSlotBForJpegEncUser;
property System::Boolean ^hIsGameCardNitro;
property System::Boolean ^hIsAesSlotAForSSL;
property System::Boolean ^hIsCommonClientKeyForDebugger;
// Shared2ファイルサイズ Read Only
property cli::array<System::UInt32^> ^hShared2SizeArray;
// カードリージョン Read Only
property System::Boolean ^hIsRegionJapan;
property System::Boolean ^hIsRegionAmerica;
property System::Boolean ^hIsRegionEurope;
property System::Boolean ^hIsRegionAustralia;
// SDKバージョンと使用ライブラリのリスト
property System::Collections::Generic::List<RCSDKVersion^> ^hSDKList;
property System::Collections::Generic::List<RCLicense^> ^hLicenseList;
// MRC機能でチェックされたエラー情報のリスト
property System::Collections::Generic::List<RCMrcError^> ^hErrorList;
property System::Collections::Generic::List<RCMrcError^> ^hWarnList;
property System::Collections::Generic::List<RCMrcError^> ^hParentalErrorList; // ペアレンタルコントロールのチェックはsetと同時に行なう
// MRC追加項目
property RCMrcSpecialList ^hMrcSpecialList;
// constructor and destructor
public:
RCSrl();
~RCSrl();
// method
public:
//
// ROMヘッダのファイル入出力
//
// @arg [in/out] 入出力ファイル名
//
ECSrlResult readFromFile ( System::String ^filename );
ECSrlResult writeToFile( System::String ^filename );
// internal method
private:
// ROM固有情報とROMヘッダの設定
ECSrlResult setRomInfo(void); // ROMヘッダから取得したROM固有情報をフィールドに反映させる
ECSrlResult setRomHeader(void); // ROMヘッダにROM固有情報フィールドの値を反映させる
// ペアレンタルコントロールの設定
void setParentalControlInfo(void);
void setOneRatingOrgInfo( int ogn );
void setParentalControlHeader(void);
// ROMヘッダの更新
ECSrlResult calcRomHeaderCRC(void); // ROMヘッダのCRCを再計算
ECSrlResult signRomHeader(void); // ROMヘッダ更新後の再署名
ECSrlResult decryptRomHeader(void); // ROMヘッダの署名を外す
// SRLバイナリから特殊な設定を調べる
ECSrlResult hasDSDLPlaySign( FILE *fp );
// DSダウンロード署名がSRLに格納されているか調べる
// @arg [in] 入力ファイルのFP (->SRL読み込み時に実行されるべき)]
ECSrlResult searchSDKVersion( FILE *fp ); // SDKバージョンを取得する
ECSrlResult searchLicenses( FILE *fp ); // 使用ライセンスを取得する
ECAppType selectAppType(void);
// MRC(Master ROM Checker)機能
ECSrlResult mrc( FILE *fp );
ECSrlResult mrcNTR( FILE *fp );
ECSrlResult mrcTWL( FILE *fp );
void mrcPadding( FILE *fp );
void mrcBanner( FILE *fp );
void mrcReservedArea( FILE *fp );
}; // end of ref class RCSrl
} // end of namespace MasterEditorTWL

View File

@ -1,7 +0,0 @@
// stdafx.cpp : 標準インクルード MasterEditorTWL.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"

View File

@ -1,6 +0,0 @@
// stdafx.h : 標準のシステム インクルード ファイルのインクルード ファイル、または
// 参照回数が多く、かつあまり変更されない、プロジェクト専用のインクルード ファイル
// を記述します。
#pragma once
// TODO: プログラムに必要な追加ヘッダーをここで参照してください。

View File

@ -1,384 +0,0 @@
// utility.h の実装
#include "stdafx.h"
#include <apptype.h>
#include "common.h"
#include "utility.h"
#include <cstring>
#include <cstdio>
#include <twl/types.h>
#include <twl/os/common/format_rom.h>
#include <twl/os/common/ownerInfoEx.h>
//
// String を char 配列に格納
//
// @arg [out] 格納先
// @arg [in] 格納元
// @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ヘッダ中のROM容量設定バイトからROM容量を表す文字列を取得
//
// @arg [in] ROM容量設定バイト
//
// @ret 文字列(単位つき)
//
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);
}
//
// サイズから単位つきの文字列を取得
//
// @arg [in] バイト数
//
// @ret 文字列(単位つき)
//
System::String^ MasterEditorTWL::transSizeToString( System::UInt32 ^size )
{
if( size == nullptr )
{
return (gcnew System::String(""));
}
System::UInt32 val = *size;
// Byte単位
if( val == 0 )
{
return val.ToString();
}
if( val < 1024 )
{
return (val.ToString() + " Byte");
}
// KB単位に変換
if( (val % 1024) != 0 )
{
return (val.ToString() + " Byte"); // 端数のときは単位変換しない
}
val = val / 1024;
if( val < 1024 )
{
return (val.ToString() + " KB");
}
// MB単位に変換
if( (val % 1024) != 0 )
{
return (val.ToString() + " KB");
}
val = val / 1024;
if( val < 1024)
{
return (val.ToString() + " MB");
}
// GB単位に変換
if( (val % 1024) != 0 )
{
return (val.ToString() + " MB");
}
val = val / 1024;
return (val.ToString() + " GB");
}
// 設定可能なインデックスのリストを取得する
cli::array<System::Byte>^ MasterEditorTWL::getOgnRatingAges( int ogn )
{
cli::array<System::Byte> ^ages = gcnew cli::array<System::Byte>{0};
if( ogn == OS_TWL_PCTL_OGN_CERO )
{
ages = gcnew cli::array<System::Byte>{0,12,15,17,18};
}
else if( ogn == OS_TWL_PCTL_OGN_ESRB )
{
ages = gcnew cli::array<System::Byte>{0,3,6,10,13,17};
}
else if( ogn == OS_TWL_PCTL_OGN_USK )
{
ages = gcnew cli::array<System::Byte>{0,6,12,16,18};
}
else if( ogn == OS_TWL_PCTL_OGN_PEGI_GEN )
{
ages = gcnew cli::array<System::Byte>{0,3,7,12,16,18};
}
else if( ogn == OS_TWL_PCTL_OGN_PEGI_PRT )
{
ages = gcnew cli::array<System::Byte>{0,4,6,12,16,18};
}
else if( ogn == OS_TWL_PCTL_OGN_PEGI_BBFC )
{
ages = gcnew cli::array<System::Byte>{0,3,4,7,8,12,15,16,18};
}
else if( ogn == OS_TWL_PCTL_OGN_OFLC )
{
ages = gcnew cli::array<System::Byte>{0,7,14,15};
}
return ages;
}
// 設定可能なインデックスのリストを取得する
System::String^ MasterEditorTWL::getOgnName( int ogn )
{
System::String ^name = gcnew System::String("");
if( ogn == OS_TWL_PCTL_OGN_CERO )
{
name = gcnew System::String("CERO");
}
else if( ogn == OS_TWL_PCTL_OGN_ESRB )
{
name = gcnew System::String("ESRB");
}
else if( ogn == OS_TWL_PCTL_OGN_USK )
{
name = gcnew System::String("USK");
}
else if( ogn == OS_TWL_PCTL_OGN_PEGI_GEN )
{
name = gcnew System::String("PEGI(General)");
}
else if( ogn == OS_TWL_PCTL_OGN_PEGI_PRT )
{
name = gcnew System::String("PEGI(Portugal)");
}
else if( ogn == OS_TWL_PCTL_OGN_PEGI_BBFC )
{
name = gcnew System::String("PEGI and BBFC");
}
else if( ogn == OS_TWL_PCTL_OGN_OFLC )
{
name = gcnew System::String("OFLC");
}
return name;
}
//
// バイト列に特定のパターンが含まれるかどうかマッチングする
//
// @arg [in] テキスト
// [in] テキストの長さ
// [in] パターン
// [in] パターンの長さ
// [in] テキストの終端まで調べた時点でテキストが途中までマッチしていた場合を成功とみなすか
//
// @ret マッチしたテキストのオフセットをリストで返す。
//
System::Collections::Generic::List<u32>^ MasterEditorTWL::patternMatch(
const u8 *text, const u32 textLen, const u8 *pattern, const u32 patternLen, const System::Boolean enableLast )
{
// ひとまずシンプルな方法で実装する
u32 first;
u32 len;
System::Collections::Generic::List<u32> ^list = gcnew System::Collections::Generic::List<u32>();
list->Clear();
// パターンを1文字ずつずらしながらマッチング
for( first=0; first < textLen; first++ )
{
len = (patternLen < (textLen-first))?patternLen:(textLen-first); // 最後のほうは途中までしかマッチングしない
if( *(text+first) == pattern[0] ) // 高速化のため最初の文字が一致したときのみ全文マッチング
{
if( memcmp( text+first, pattern, len ) == 0 )
{
if( (enableLast == true) )
{
list->Add( first );
}
else if( len == patternLen ) // 完全一致しないとダメ
{
list->Add( first );
}
}
}
}
return list;
} // MasterEditorTWL::patternMatch
//
// ファイルにバイト列のパターンが含まれるかどうかマッチングする
//
// @arg [in] マッチ対象となるファイルポインタ
// @arg [in] パターン
// @arg [in] パターンの長さ(PATTERN_MATCH_LEN_MAX以下でなければならない)
//
// @ret マッチしたテキストのオフセットをリストで返す。
// 最後までマッチした場合のみ成功したとみなす。
//
#define PATTERN_MATCH_LEN_MAX (10*1024)
System::Collections::Generic::List<u32>^ MasterEditorTWL::patternMatch( FILE *fp, const u8 *pattern, const u32 patternLen )
{
u8 text[ 2 * PATTERN_MATCH_LEN_MAX ]; // バッファの切れ目を探索するため多めに読み込むので最大でパターンの2倍だけバッファが必要になる
u32 cur;
u32 filesize;
u32 len;
u32 extra;
System::Collections::Generic::List<u32> ^tmplist;
System::Collections::Generic::List<u32> ^list = gcnew System::Collections::Generic::List<u32>;
list->Clear();
if( patternLen > PATTERN_MATCH_LEN_MAX )
return nullptr;
fseek( fp, 0, SEEK_END );
filesize = ftell( fp );
cur = 0;
while( cur < filesize )
{
// バッファの切れ目を調べたいため実際には(パターンの長さ-1)だけ多めにリードする
len = ((filesize - cur) < PATTERN_MATCH_LEN_MAX)?(filesize - cur):PATTERN_MATCH_LEN_MAX;
extra = (len <= PATTERN_MATCH_LEN_MAX)?0:(patternLen-1); // 最後までいったときには余分にリードしてはいけない
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;
}
// テキスト終端に途中までマッチングしたときは失敗とみなす
tmplist = MasterEditorTWL::patternMatch( text, len+extra, pattern, patternLen, false );
if( tmplist != nullptr )
{
for each( u32 tmpval in tmplist )
{
list->Add( tmpval + cur ); // 実際のオフセットはファイルオフセットを加えた値
}
}
// 次のSEEK位置:多めにリードしたはずらす
cur += len;
}
return list;
}
//
// XMLのルートードから指定した名前のタグを検索して返す
//
// @arg [in] XMLのルートード
// @arg [in] タグ名
//
// @ret 検索でマッチしたときノードを返す。ないときは nullptr。
// ただし、最初にマッチしたもののみ返す
//
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;
}
//
// タグを検索してそのテキストが指定したテキストと一致するか調べる
//
// @arg [in] XMLのルートード
// @arg [in] タグ名
// @arg [in] 値
//
// @ret 一致するときtrue。一致しないとき、タグが存在しないときはfalse。
//
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;
}
//
// タグを検索してそのテキストを返す
//
// @arg [in] XMLのルートード
// @arg [in] タグのXPath
//
// @ret テキストが存在するときそのテキストを返す。存在しないときnullptr。
//
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にタグを追加する
//
// @arg [in] XMLドキュメント
// @arg [in] 親ノード
// @arg [in] タグ名
// @arg [in] テキスト
//
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 );
}
//
// ビット数をカウントする
//
// @arg [in] 値
//
// @ret ビット数
//
u32 MasterEditorTWL::countBits( const u32 val )
{
// 分割統治法:隣り合うかたまりごとにビット数をカウントしていく
u32 n = val;
n = ((n>>1) & 0x55555555) + (n & 0x55555555);
n = ((n>>2) & 0x33333333) + (n & 0x33333333);
n = ((n>>4) & 0x0f0f0f0f) + (n & 0x0f0f0f0f);
n = ((n>>8) & 0x00ff00ff) + (n & 0x00ff00ff);
n = (n>>16) + (n & 0x0000ffff);
return n;
}

View File

@ -1,136 +0,0 @@
#pragma once
// 共用ライブラリ・クラスの宣言
#include <twl/types.h>
#include <cstring>
#include <cstdio>
namespace MasterEditorTWL
{
// -------------------------------------------------------------------
// functions
// -------------------------------------------------------------------
//
// String を char 配列に格納
//
// @arg [out] 格納先
// @arg [in] 格納元
// @arg [in] 文字列長
// @arg [in] 余りを埋める padding
//
void setStringToChars( char *pDst, System::String ^hSrc, const System::Int32 nMax, const System::SByte pad );
//
// ROMヘッダ中のROM容量設定バイトからROM容量を表す文字列を取得
//
// @arg [in] ROM容量設定バイト
//
// @ret 文字列(単位つき)
//
System::String^ transRomSizeToString( System::Byte ^byte );
//
// サイズから単位つきの文字列を取得
//
// @arg [in] バイト数
//
// @ret 文字列(単位つき)
//
System::String^ transSizeToString( System::UInt32 ^size );
//
// ペアレンタルコントロールの各団体の設定可能年齢を取得する
//
// @arg [in] 団体
//
cli::array<System::Byte>^ getOgnRatingAges( int ogn );
//
// ペアレンタルコントロールの各団体の団体名を取得する
//
// @arg [in] 団体
//
System::String^ getOgnName( int ogn );
//
// バイト列に特定のパターンが含まれるかどうかマッチングする
//
// @arg [in] テキスト
// [in] テキストの長さ
// [in] パターン
// [in] パターンの長さ
// [in] テキストの終端まで調べた時点でテキストが途中までマッチしていた場合を成功とみなすか
//
// @ret マッチしたテキストのインデックスをリストで返す。
//
System::Collections::Generic::List<u32>^ patternMatch(
const u8 *text, const u32 textLen, const u8 *pattern, const u32 patternLen, const System::Boolean enableLast );
//
// ファイルにバイト列のパターンが含まれるかどうかマッチングする
//
// @arg [in] マッチ対象となるファイルポインタ
// @arg [in] パターン
// @arg [in] パターンの長さ
//
// @ret マッチしたテキストのインデックスをリストで返す。
// 最後までマッチした場合のみ成功したとみなす。
//
System::Collections::Generic::List<u32>^ patternMatch( FILE *fp, const u8 *pattern, const u32 patternLen );
//
// XMLのルートードから指定した名前のタグを検索して返す
//
// @arg [in] XMLのルートード
// @arg [in] タグ名
//
// @ret 検索でマッチしたときノードを返す。ないときは nullptr。
// ただし、最初にマッチしたもののみ返す
//
System::Xml::XmlNode^ searchXmlNode( System::Xml::XmlElement ^root, System::String ^tag );
//
// タグを検索してそのテキストが指定したテキストと一致するか調べる
//
// @arg [in] XMLのルートード
// @arg [in] タグ名
// @arg [in] 値
//
// @ret 一致するときtrue。一致しないとき、タグが存在しないときはfalse。
//
System::Boolean isXmlEqual( System::Xml::XmlElement ^root, System::String ^tag, System::String ^val );
//
// タグを検索してそのテキストを返す
//
// @arg [in] XMLのルートード
// @arg [in] タグのXPath
//
// @ret テキストが存在するときそのテキストを返す。存在しないときnullptr。
//
System::String^ getXPathText( System::Xml::XmlElement ^root, System::String ^xpath );
//
// XMLにタグを追加する
//
// @arg [in] XMLドキュメント
// @arg [in] 親ノード
// @arg [in] タグ名
// @arg [in] テキスト
//
void appendXmlTag( System::Xml::XmlDocument ^doc, System::Xml::XmlElement ^parent,
System::String ^tag, System::String ^text );
//
// ビット数をカウントする
//
// @arg [in] 値
//
// @ret ビット数
//
u32 countBits( const u32 val );
} // end of namespace MasterEditorTWL

View File

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResourceTransition", "ResourceTransition\ResourceTransition.vcproj", "{A8AE9F94-E10F-4962-B5F7-059FEA220583}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A8AE9F94-E10F-4962-B5F7-059FEA220583}.Debug|Win32.ActiveCfg = Debug|Win32
{A8AE9F94-E10F-4962-B5F7-059FEA220583}.Debug|Win32.Build.0 = Debug|Win32
{A8AE9F94-E10F-4962-B5F7-059FEA220583}.Release|Win32.ActiveCfg = Release|Win32
{A8AE9F94-E10F-4962-B5F7-059FEA220583}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -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;
//
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
//
[assembly:AssemblyTitleAttribute("ResourceTransition")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("任天堂株式会社")];
[assembly:AssemblyProductAttribute("ResourceTransition")];
[assembly:AssemblyCopyrightAttribute("Copyright (c) 任天堂株式会社 2008")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];
//
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
// 既定値にすることができます:
[assembly:AssemblyVersionAttribute("1.0.*")];
[assembly:ComVisible(false)];
[assembly:CLSCompliantAttribute(true)];
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

View File

@ -1,29 +0,0 @@
===============================================================================
アプリケーション : ResourceTransition プロジェクトの概要
===============================================================================
この ResourceTransition アプリケーションは、AppWizard によって作成されました。
このファイルには、ResourceTransition アプリケーションを構成する各ファイルの
内容の概略が記述されています。
ResourceTransition.vcproj
これは、アプリケーション ウィザードで生成される VC++ プロジェクトのメインの
プロジェクト ファイルです。
ファイルを生成した Visual C++ のバージョン情報と、アプリケーション ウィザー
ドで選択したプラットフォーム、構成、およびプロジェクトの機能に関する情報が
記述されています。
ResourceTransition.cpp
これは、メインのアプリケーション ソース ファイルです。
AssemblyInfo.cpp
アセンブリ メタデータを変更するためのカスタム属性が含まれています。
///////////////////////////////////////////////////////////////////////////////
その他のメモ :
AppWizard では、"TODO:" を使用して、ユーザーが追加またはカスタマイズするソース
部分を示します。
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,55 +0,0 @@
// ResourceTransition.cpp : メイン プロジェクト ファイルです。
#include "stdafx.h"
using namespace System;
#define ROOT_PATH "..\\"
int main(array<System::String ^> ^args)
{
// 作業ルートを引数からゲット
System::String ^root;
if( (args->Length <= 0) || (System::String::IsNullOrEmpty( args[0] )) )
{
root = gcnew System::String(ROOT_PATH); // ない場合はデフォルト
}
else
{
root = args[0];
if( !root->EndsWith( "\\" ) )
{
root += "\\";
}
}
Console::WriteLine( "Root path: " + root );
// 新しいフォルダ/jp/言語リソース.dll を jp/ に移す(コピー)
try
{
if( System::IO::File::Exists( root + "新しいフォルダ\\ja\\MasterEditorTWL.resources.dll" ) )
{
Console::WriteLine( "File Exists." );
if( !System::IO::Directory::Exists( root + "ja" ) )
{
System::IO::Directory::CreateDirectory( root + "ja" );
Console::WriteLine( "Create New Directory." );
}
System::IO::File::Copy( root + "新しいフォルダ\\ja\\MasterEditorTWL.resources.dll",
root + "ja\\MasterEditorTWL.resources.dll", true ); // 上書き
Console::WriteLine( "Copy Resource DLL." );
}
else
{
Console::WriteLine( "No File Exists." );
}
}
catch( System::Exception ^ex )
{
Console::WriteLine( "error: " + ex->Message );
}
//Console::ReadKey();
return 0;
}

View File

@ -1,248 +0,0 @@
<?xml version="1.0" encoding="shift_jis"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="ResourceTransition"
ProjectGUID="{A8AE9F94-E10F-4962-B5F7-059FEA220583}"
RootNamespace="ResourceTransition"
Keyword="ManagedCProj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="$(NoInherit)"
LinkIncremental="2"
GenerateDebugInformation="true"
AssemblyDebug="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG"
RuntimeLibrary="2"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="$(NoInherit)"
LinkIncremental="1"
GenerateDebugInformation="true"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
<AssemblyReference
RelativePath="System.dll"
AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Data.dll"
AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.XML.dll"
AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
</References>
<Files>
<Filter
Name="ソース ファイル"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\AssemblyInfo.cpp"
>
</File>
<File
RelativePath=".\ResourceTransition.cpp"
>
</File>
<File
RelativePath=".\stdafx.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="ヘッダー ファイル"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\resource.h"
>
</File>
<File
RelativePath=".\stdafx.h"
>
</File>
</Filter>
<Filter
Name="リソース ファイル"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\app.ico"
>
</File>
<File
RelativePath=".\app.rc"
>
</File>
</Filter>
<File
RelativePath=".\ReadMe.txt"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="shift_jis"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="PC2355"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="PC2355"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,63 +0,0 @@
// Microsoft Visual C++ で生成されたリソース スクリプトです。
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 英語 (米国) リソース
/////////////////////////////////////////////////////////////////////////////
//
// アイコン
//
// 最初に配置されたアイコン、または ID 値が最も低いアイコンが、アプリケーション アイコンになります。
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 リソースから生成されました。
//
/////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED でない場合

View File

@ -1,3 +0,0 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by app.rc

View File

@ -1,7 +0,0 @@
// stdafx.cpp : 標準インクルード ResourceTransition.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"

View File

@ -1,8 +0,0 @@
// stdafx.h : 標準のシステム インクルード ファイルのインクルード ファイル、または
// 参照回数が多く、かつあまり変更されない、プロジェクト専用のインクルード ファイル
// を記述します。
//
#pragma once
// TODO: プログラムに必要な追加ヘッダーをここで参照してください。

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<init>
<rw>w</rw>
<lang>J</lang>
<output>Sheet</output>
<spcheck>OFF</spcheck>
<sdk>
<major>5</major>
<minor>0</minor>
<relstep>20200</relstep>
</sdk>
<shared2>
<size0>0</size0>
<size1>0</size1>
<size2>0</size2>
<size3>0</size3>
<size4>0</size4>
<size5>0</size5>
</shared2>
<reserved-list>
<reserved><begin>78</begin><end>7f</end></reserved>
<reserved><begin>160</begin><end>17f</end></reserved>
<reserved><begin>15</begin><end>1b</end></reserved>
<reserved><begin>99</begin><end>bf</end></reserved>
<reserved><begin>240</begin><end>2ef</end></reserved>
<reserved><begin>378</begin><end>39f</end></reserved>
<reserved><begin>3b4</begin><end>f7f</end></reserved>
</reserved-list>
</init>

View File

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>TWL Middleware List</title>
<style type="text/css">
body {
font-family: "verdana";
font-size: 12px;
text-align: left;
}
div.game-title {
font-size: 16px;
font-weight: bold;
}
div.game-version {
font-size: 12px;
font-weight: bold;
}
hr {
width: 700px;
margin-left: 0;
}
tr {
text-align: left;
}
th {
font-size: 12px;
background-color: #D6D3CE;
color: black;
}
th.publisher {
width: 200px;
}
th.name {
width: 500px;
}
td {
font-weight: normal;
font-size: 12px;
}
</style>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="twl-master-editor">
<xsl:apply-templates select="game" />
<hr />
<xsl:apply-templates select="middleware-list" />
<hr />
<div class="footer">
generated by MasterEditorTWL ver. <xsl:value-of select="@version" />
</div>
</xsl:template>
<xsl:template match="game">
<div class="game-title">
<xsl:value-of select="product-name" />(<xsl:value-of select="game-code" />)
</div>
<div class="game-version">
version: <xsl:value-of select="rom-version" />-<xsl:value-of select="submit-version" />
</div>
</xsl:template>
<xsl:template match="middleware-list">
<table cellspacing="0">
<tr>
<th class="publisher">Publisher</th>
<th class="name">Middleware Name</th>
</tr>
<xsl:apply-templates />
</table>
</xsl:template>
<xsl:template match="middleware">
<tr>
<td class="publisher"><xsl:value-of select="publisher" /></td>
<td class="name"><xsl:value-of select="name" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet id="stylesheet" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>TWL Middleware List</title>
<style type="text/css">
body {
font-family: "verdana";
font-size: 12px;
text-align: left;
}
div.game-title {
font-size: 16px;
font-weight: bold;
}
div.game-version {
font-size: 12px;
font-weight: bold;
}
hr {
width: 700px;
margin-left: 0;
}
tr {
text-align: left;
}
th {
font-size: 12px;
background-color: #D6D3CE;
color: black;
}
th.publisher {
width: 200px;
}
th.name {
width: 500px;
}
td {
font-weight: normal;
font-size: 12px;
}
</style>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="twl-master-editor">
<xsl:apply-templates select="game" />
<hr />
<xsl:apply-templates select="middleware-list" />
<hr />
<div class="footer">
generated by MasterEditorTWL ver. <xsl:value-of select="@version" />
</div>
</xsl:template>
<xsl:template match="game">
<div class="game-title">
<xsl:value-of select="product-name" />(<xsl:value-of select="game-code" />)
</div>
<div class="game-version">
version: <xsl:value-of select="rom-version" />-<xsl:value-of select="submit-version" />
</div>
</xsl:template>
<xsl:template match="middleware-list">
<table cellspacing="0">
<tr>
<th class="publisher">Publisher</th>
<th class="name">Middleware Name</th>
</tr>
<xsl:apply-templates />
</table>
</xsl:template>
<xsl:template match="middleware">
<tr>
<td class="publisher"><xsl:value-of select="publisher" /></td>
<td class="name"><xsl:value-of select="name" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

File diff suppressed because it is too large Load Diff

View File

@ -1,73 +0,0 @@
#! make -f
#---------------------------------------------------------------------------
# Project: TwlSDK - tools - makerom.TWL
# 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$
#---------------------------------------------------------------------------
TARGET_PLATFORM = TWL
#----------------------------------------------------------------------------
SUBDIRS =
include $(TWLSDK_ROOT)/build/buildtools/commondefs
#----------------------------------------------------------------------------
TARGET_LIB = libflags_x86.a
TARGETS = $(LIBDIR)/$(TARGET_LIB)
SRCS = flags.c
INCDIR = include \
../
OBJDIR = obj/X86
LIBDIR = lib/X86
MACROS += $(addprefix -I,$(INCDIR)) \
-DSTANDALONE \
-DOPT_32_BIT \
-DNO_SPLIT \
-DNO_FP_API \
-DNO_R_DIAG \
-DNO_STDIO_H \
-DNO_STDLIB_H
VPATH = $(SRCDIR) $(INCDIR)
OBJS = $(addprefix $(OBJDIR)/,$(SRCS:.c=.o))
#INSTALL_TARGETS = $(TARGETS)
#INSTALL_DIR = .
NEWDIRS = $(OBJDIR) $(LIBDIR)
LDIRT_CLEAN = $(OBJDIR) $(LIBDIR)
include $(TWLSDK_ROOT)/build/buildtools/modulerules.x86
#----------------------------------------------------------------------------
# build
#----------------------------------------------------------------------------
do-build: $(TARGETS)
$(TARGETS): $(OBJS)
$(AR_X86) $@ $(OBJS)
$(OBJS):%.o:
$(COMPILE_C)
$(OBJDIR)/flags.o: flags.c
#===== End of Makefile =====

View File

@ -1,21 +0,0 @@
/*---------------------------------------------------------------------------*
Project: TwlSDK - tools - makerom.TWL
File: acsign.c
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 "types.h"
BOOL DebugMode = TRUE;

View File

@ -1,35 +0,0 @@
/*---------------------------------------------------------------------------*
Project: TwlSDK - tools - makerom.TWL
File: types.h
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$
*---------------------------------------------------------------------------*/
#ifndef TYPES_H_
#define TYPES_H_
typedef enum
{
FALSE = 0,
TRUE = 1
}
BOOL;
typedef unsigned char u8;
typedef unsigned short int u16;
typedef unsigned long int u32;
typedef signed char s8;
typedef signed short int s16;
typedef signed long int s32;
#endif //TYPES_H_

View File

@ -1,7 +0,0 @@
#pragma once
// ビルドスイッチ
#define METWL_VER_APPTYPE_USER
#define METWL_VER_APPTYPE_SYSTEM
#define METWL_VER_APPTYPE_SECURE
#define METWL_VER_APPTYPE_LAUNCHER

View File

@ -1,7 +0,0 @@
#pragma once
// ビルドスイッチ
#define METWL_VER_APPTYPE_USER
#define METWL_VER_APPTYPE_SYSTEM
#define METWL_VER_APPTYPE_SECURE
//#define METWL_VER_APPTYPE_LAUNCHER

View File

@ -1,7 +0,0 @@
#pragma once
// ビルドスイッチ
#define METWL_VER_APPTYPE_USER
#define METWL_VER_APPTYPE_SYSTEM
//#define METWL_VER_APPTYPE_SECURE
//#define METWL_VER_APPTYPE_LAUNCHER

View File

@ -1,7 +0,0 @@
#pragma once
// ビルドスイッチ
#define METWL_VER_APPTYPE_USER
//#define METWL_VER_APPTYPE_SYSTEM
//#define METWL_VER_APPTYPE_SECURE
//#define METWL_VER_APPTYPE_LAUNCHER

View File

@ -1,24 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MasterEditorTWL_Launcher", "MasterEditorTWL_Launcher\MasterEditorTWL_Launcher.vcproj", "{06C5BD70-5665-4B5C-93DE-28C2786B1770}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "MasterEditorTWL_LauncherSetup", "MasterEditorTWL_LauncherSetup\MasterEditorTWL_LauncherSetup.vdproj", "{543AD9DE-3E71-4A9F-8A3A-67F3789EAB5A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{06C5BD70-5665-4B5C-93DE-28C2786B1770}.Debug|Win32.ActiveCfg = Debug|Win32
{06C5BD70-5665-4B5C-93DE-28C2786B1770}.Debug|Win32.Build.0 = Debug|Win32
{06C5BD70-5665-4B5C-93DE-28C2786B1770}.Release|Win32.ActiveCfg = Release|Win32
{06C5BD70-5665-4B5C-93DE-28C2786B1770}.Release|Win32.Build.0 = Release|Win32
{543AD9DE-3E71-4A9F-8A3A-67F3789EAB5A}.Debug|Win32.ActiveCfg = Debug
{543AD9DE-3E71-4A9F-8A3A-67F3789EAB5A}.Release|Win32.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -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;
//
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
//
[assembly:AssemblyTitleAttribute("MasterEditorTWL_Launcher")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("任天堂株式会社")];
[assembly:AssemblyProductAttribute("MasterEditorTWL_Launcher")];
[assembly:AssemblyCopyrightAttribute("Copyright (c) 任天堂株式会社 2008")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];
//
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
// 既定値にすることができます:
[assembly:AssemblyVersionAttribute("1.1.*")];
[assembly:ComVisible(false)];
[assembly:CLSCompliantAttribute(true)];
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

View File

@ -1,110 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized CLR Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the CLR Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a CLR class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -1,19 +0,0 @@
// MasterEditorTWL_Launcher.cpp : メイン プロジェクト ファイルです。
#include "stdafx.h"
#include "../../MasterEditorTWL/MasterEditorTWL/Form1.h"
//using namespace MasterEditorTWL_Launcher;
using namespace MasterEditorTWL;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// コントロールが作成される前に、Windows XP ビジュアル効果を有効にします
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// メイン ウィンドウを作成して、実行します
Application::Run(gcnew Form1());
return 0;
}

View File

@ -1,364 +0,0 @@
<?xml version="1.0" encoding="shift_jis"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="MasterEditorTWL_Launcher"
ProjectGUID="{06C5BD70-5665-4B5C-93DE-28C2786B1770}"
RootNamespace="MasterEditorTWL_Launcher"
Keyword="ManagedCProj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\launcher&quot;;C:\twlsdk\build\tools\makerom.TWL;C:\twlsdk\include"
PreprocessorDefinitions="WIN32;_DEBUG"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libacsign_X86.a libaes_X86.a libdigest_X86.a libflags_X86.a $(NoInherit)"
LinkIncremental="2"
AdditionalLibraryDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\flags\lib\X86&quot;;C:\twlsdk\build\tools\makerom.TWL\digest\lib\X86;C:\twlsdk\build\tools\makerom.TWL\aes\lib\X86;C:\twlsdk\build\tools\makerom.TWL\acsign\lib\X86"
GenerateDebugInformation="true"
AssemblyDebug="1"
SubSystem="2"
EntryPointSymbol="main"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
ManagedExtensions="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\launcher&quot;;C:\twlsdk\build\tools\makerom.TWL;C:\twlsdk\include"
PreprocessorDefinitions="WIN32;NDEBUG"
RuntimeLibrary="2"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libacsign_X86.a libaes_X86.a libdigest_X86.a libflags_X86.a $(NoInherit)"
LinkIncremental="1"
AdditionalLibraryDirectories="&quot;C:\Documents and Settings\nishikawa_takeshi\My Documents\Visual Studio 2008\Projects\MasterEditorTWL_Common\flags\lib\X86&quot;;C:\twlsdk\build\tools\makerom.TWL\digest\lib\X86;C:\twlsdk\build\tools\makerom.TWL\aes\lib\X86;C:\twlsdk\build\tools\makerom.TWL\acsign\lib\X86"
GenerateDebugInformation="true"
SubSystem="2"
EntryPointSymbol="main"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
<AssemblyReference
RelativePath="System.dll"
AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Data.dll"
AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Drawing.dll"
AssemblyName="System.Drawing, Version=2.0.0.0, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.Windows.Forms.dll"
AssemblyName="System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
<AssemblyReference
RelativePath="System.XML.dll"
AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
</References>
<Files>
<Filter
Name="ソース ファイル"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\AssemblyInfo.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\crc_whole.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\deliverable.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_deliv.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_file.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_lang.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_pctl.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_srl.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_tmp.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form_util.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\FormError.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\keys.cpp"
>
</File>
<File
RelativePath=".\MasterEditorTWL_Launcher.cpp"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\srl.cpp"
>
</File>
<File
RelativePath=".\stdafx.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\utility.cpp"
>
</File>
</Filter>
<Filter
Name="ヘッダー ファイル"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\common.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\crc_whole.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\deliverable.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form1.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\Form1.resX"
SubType="Designer"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\FormError.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\FormError.resx"
SubType="Designer"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\keys.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\lang.h"
>
</File>
<File
RelativePath=".\resource.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\srl.h"
>
</File>
<File
RelativePath=".\stdafx.h"
>
</File>
<File
RelativePath="..\..\MasterEditorTWL\MasterEditorTWL\utility.h"
>
</File>
</Filter>
<Filter
Name="リソース ファイル"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\app.ico"
>
</File>
<File
RelativePath=".\app.rc"
>
</File>
</Filter>
<File
RelativePath=".\ReadMe.txt"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="shift_jis"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="PC2355"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="PC2355"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

View File

@ -1,34 +0,0 @@
===============================================================================
アプリケーション : MasterEditorTWL_Launcher プロジェクトの概要
===============================================================================
この MasterEditorTWL_Launcher アプリケーションは、AppWizard によって作成されました。
このファイルには、MasterEditorTWL_Launcher アプリケーションを構成する各ファイルの
内容の概略が記述されています。
MasterEditorTWL_Launcher.vcproj
これは、アプリケーション ウィザードで生成される VC++ プロジェクトのメインの
プロジェクト ファイルです。
ファイルを生成した Visual C++ のバージョン情報と、アプリケーション ウィザー
ドで選択したプラットフォーム、構成、およびプロジェクトの機能に関する情報が
記述されています。
MasterEditorTWL_Launcher.cpp
これは、メインのアプリケーション ソース ファイルです。
フォームを表示するコードが含まれています。
Form1.h
ユーザーのフォーム クラスの実装と、InitializeComponent() 関数が含まれています。
AssemblyInfo.cpp
アセンブリ メタデータを変更するためのカスタム属性が含まれています。
///////////////////////////////////////////////////////////////////////////////
その他の標準ファイル :
StdAfx.h, StdAfx.cpp
これらのファイルは、コンパイル済みヘッダー (PCH) ファイル MasterEditorTWL_Launcher.pch
とプリコンパイル済み型ファイル StdAfx.obj をビルドするために使用します。
///////////////////////////////////////////////////////////////////////////////

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,63 +0,0 @@
// Microsoft Visual C++ で生成されたリソース スクリプトです。
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 英語 (米国) リソース
/////////////////////////////////////////////////////////////////////////////
//
// アイコン
//
// 最初に配置されたアイコン、または ID 値が最も低いアイコンが、アプリケーション アイコンになります。
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 リソースから生成されました。
//
/////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED でない場合

View File

@ -1,3 +0,0 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by app.rc

View File

@ -1,7 +0,0 @@
// stdafx.cpp : 標準インクルード MasterEditorTWL_Launcher.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"

View File

@ -1,6 +0,0 @@
// stdafx.h : 標準のシステム インクルード ファイルのインクルード ファイル、または
// 参照回数が多く、かつあまり変更されない、プロジェクト専用のインクルード ファイル
// を記述します。
#pragma once
// TODO: プログラムに必要な追加ヘッダーをここで参照してください。

View File

@ -1,872 +0,0 @@
"DeployProject"
{
"VSVersion" = "3:800"
"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}"
"IsWebType" = "8:FALSE"
"ProjectName" = "8:MasterEditorTWL_LauncherSetup"
"LanguageId" = "3:1041"
"CodePage" = "3:932"
"UILanguageId" = "3:1041"
"SccProjectName" = "8:"
"SccLocalPath" = "8:"
"SccAuxPath" = "8:"
"SccProvider" = "8:"
"Hierarchy"
{
"Entry"
{
"MsmKey" = "8:_105DF474F6BD4B80A2448E7CD5D2456F"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_350BA7FC558E4B1D996D25497F44E6DE"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_E70170FA22DD41F087EB2DCAC889E991"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_EFAB0EF2416543749A052C1B81BC5DBD"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_F2E0A2C0BBAD4321BF7FA0259DBBA02D"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
}
"Configurations"
{
"Debug"
{
"DisplayName" = "8:Debug"
"IsDebugOnly" = "11:TRUE"
"IsReleaseOnly" = "11:FALSE"
"OutputFilename" = "8:Debug\\MasterEditorTWL_LauncherSetup.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\\MasterEditorTWL_LauncherSetup.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}:_6349DE1E6B8E44C68BBD8F4DFB4B646C"
{
"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}:_105DF474F6BD4B80A2448E7CD5D2456F"
{
"SourcePath" = "8:..\\resource\\sheet_templete.xml"
"TargetName" = "8:sheet_templete.xml"
"Tag" = "8:"
"Folder" = "8:_E5C6F0EAFFE441699D54BEF33222C9A9"
"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}:_350BA7FC558E4B1D996D25497F44E6DE"
{
"SourcePath" = "8:..\\resource\\middleware.xsl"
"TargetName" = "8:middleware.xsl"
"Tag" = "8:"
"Folder" = "8:_E5C6F0EAFFE441699D54BEF33222C9A9"
"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}:_E70170FA22DD41F087EB2DCAC889E991"
{
"SourcePath" = "8:..\\resource\\ini.xml"
"TargetName" = "8:ini.xml"
"Tag" = "8:"
"Folder" = "8:_E5C6F0EAFFE441699D54BEF33222C9A9"
"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}:_F2E0A2C0BBAD4321BF7FA0259DBBA02D"
{
"SourcePath" = "8:..\\resource\\middleware_e.xsl"
"TargetName" = "8:middleware_e.xsl"
"Tag" = "8:"
"Folder" = "8:_E5C6F0EAFFE441699D54BEF33222C9A9"
"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}:_90EDF911DD5142409470207A797D3269"
{
"Name" = "8:#1919"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:ProgramMenuFolder"
"Folders"
{
}
}
"{3C67513D-01DD-4637-8A68-80971EB9504F}:_A10FFAC6EFC74329A7C076CFA550FC1A"
{
"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}:_81325B862BC64A5D8AA25D4B4B3AD3AE"
{
"Name" = "8:bin"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:_1B2F12669FD941F3870297FAD4FD5B13"
"Folders"
{
}
}
"{9EF0B969-E518-4E46-987F-47570745A589}:_E5C6F0EAFFE441699D54BEF33222C9A9"
{
"Name" = "8:resource"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:_46EA3A03828E43A7B9DE7743ED06E922"
"Folders"
{
}
}
}
}
"{1525181F-901A-416C-8A58-119130FE478E}:_E8021C1E1B134D48855000EDCF7721D6"
{
"Name" = "8:#1916"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:DesktopFolder"
"Folders"
{
}
}
}
"LaunchCondition"
{
}
"Locator"
{
}
"MsiBootstrapper"
{
"LangId" = "3:1041"
"RequiresElevation" = "11:FALSE"
}
"Product"
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:MasterEditorTWL_Launcher"
"ProductCode" = "8:{A7A75F1D-D787-4BE1-A893-E48D93626CE6}"
"PackageCode" = "8:{9EB91819-42BF-40E1-B505-77A511C9DB31}"
"UpgradeCode" = "8:{E2FF5573-E0A1-4B5B-9917-E5E03AB0FC1D}"
"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:MasterEditorTWL_LauncherSetup"
"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}:_E0C8155A2AB54D6BA2747922F221EB7A"
{
"Name" = "8:Software"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_B34282BC1E9A408C9B9D4AD1B8CB0E9E"
{
"Name" = "8:[Manufacturer]"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
}
"Values"
{
}
}
}
"Values"
{
}
}
}
}
"HKCU"
{
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_6ACD899E13F04BEBA7201BB1159240DD"
{
"Name" = "8:Software"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:FALSE"
"Transitive" = "11:FALSE"
"Keys"
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_1C9486E3EE70410D8B511C153A3571A2"
{
"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}:_65C30402177F4C8C8618E2EEAF68F525"
{
"Name" = "8:MasterEditorTWL_Launcher"
"Arguments" = "8:"
"Description" = "8:"
"ShowCmd" = "3:1"
"IconIndex" = "3:0"
"Transitive" = "11:FALSE"
"Target" = "8:_EFAB0EF2416543749A052C1B81BC5DBD"
"Folder" = "8:_E8021C1E1B134D48855000EDCF7721D6"
"WorkingFolder" = "8:_81325B862BC64A5D8AA25D4B4B3AD3AE"
"Icon" = "8:"
"Feature" = "8:"
}
}
"UserInterface"
{
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_433A7D47FAD649B6BED0F610D5004358"
{
"Name" = "8:#1901"
"Sequence" = "3:1"
"Attributes" = "3:2"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4C43C5360C714102ABB2F7013F9D436C"
{
"Sequence" = "3:100"
"DisplayName" = "8:進行状況"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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"
}
}
}
}
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4931E88BD1E24541A2EA70D955E8F315"
{
"Name" = "8:#1900"
"Sequence" = "3:1"
"Attributes" = "3:1"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_442DC0C36C284936B80E5A766AE0D8BA"
{
"Sequence" = "3:100"
"DisplayName" = "8:ようこそ"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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}:_A74A2A210A6E41188532EDDA811B4A2A"
{
"Sequence" = "3:300"
"DisplayName" = "8:インストールの確認"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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"
}
}
}
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DF16331A9D5F4D61846BAED8BDD71699"
{
"Sequence" = "3:200"
"DisplayName" = "8:インストール フォルダ"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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"
}
}
}
}
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4D6EDB6DCBA5455AA2B2C79B70E878C6"
{
"Name" = "8:#1901"
"Sequence" = "3:2"
"Attributes" = "3:2"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_637BF8E3C3EE4C729064B0F54005E0B8"
{
"Sequence" = "3:100"
"DisplayName" = "8:進行状況"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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"
}
}
}
}
}
"{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_67EE05138D67438793EE286AE3039640"
{
"UseDynamicProperties" = "11:FALSE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdBasicDialogs.wim"
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_74DBD33A9BF049FFBF9584B0632B5E00"
{
"Name" = "8:#1902"
"Sequence" = "3:1"
"Attributes" = "3:3"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_AFAFA40917D247C6B4D6FE820DE4DE1E"
{
"Sequence" = "3:100"
"DisplayName" = "8:完了"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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"
}
}
}
}
}
"{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_7D5D6B16C1A14D469EE87D257C966EEC"
{
"UseDynamicProperties" = "11:FALSE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\VsdUserInterface.wim"
}
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_DB348FB099F648D798FB3D8B271EB394"
{
"Name" = "8:#1900"
"Sequence" = "3:2"
"Attributes" = "3:1"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7C030A0EF8494003BC6FD819D5FC37F5"
{
"Sequence" = "3:300"
"DisplayName" = "8:インストールの確認"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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}:_D8132CFF3D8D45679CF6EA7AC9998928"
{
"Sequence" = "3:100"
"DisplayName" = "8:ようこそ"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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}:_EDFA7247BB714EAC9E7D7D28E64BA09A"
{
"Sequence" = "3:200"
"DisplayName" = "8:インストール フォルダ"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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}:_FA05CD44AF284EC39E19D5E5935E49DE"
{
"Name" = "8:#1902"
"Sequence" = "3:2"
"Attributes" = "3:3"
"Dialogs"
{
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_199700828DAB45AB84BD5061EEE97D47"
{
"Sequence" = "3:100"
"DisplayName" = "8:完了"
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:FALSE"
"SourcePath" = "8:<VsdDialogDir>\\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"
}
}
}
}
}
}
"MergeModule"
{
}
"ProjectOutput"
{
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_EFAB0EF2416543749A052C1B81BC5DBD"
{
"SourcePath" = "8:..\\Release\\MasterEditorTWL_Launcher.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_81325B862BC64A5D8AA25D4B4B3AD3AE"
"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:{06C5BD70-5665-4B5C-93DE-28C2786B1770}"
"ShowKeyOutput" = "11:TRUE"
"ExcludeFilters"
{
}
}
}
}
}

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<init>
<rw>w</rw>
<lang>J</lang>
<output>Sheet</output>
<spcheck>OFF</spcheck>
<sdk>
<major>5</major>
<minor>0</minor>
<relstep>20200</relstep>
</sdk>
<shared2>
<size0>0</size0>
<size1>0</size1>
<size2>0</size2>
<size3>0</size3>
<size4>0</size4>
<size5>0</size5>
</shared2>
<reserved-list>
<reserved><begin>78</begin><end>7f</end></reserved>
<reserved><begin>160</begin><end>17f</end></reserved>
<reserved><begin>15</begin><end>1b</end></reserved>
<reserved><begin>99</begin><end>bf</end></reserved>
<reserved><begin>240</begin><end>2ef</end></reserved>
<reserved><begin>378</begin><end>39f</end></reserved>
<reserved><begin>3b4</begin><end>f7f</end></reserved>
</reserved-list>
</init>

View File

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>TWL Middleware List</title>
<style type="text/css">
body {
font-family: "verdana";
font-size: 12px;
text-align: left;
}
div.game-title {
font-size: 16px;
font-weight: bold;
}
div.game-version {
font-size: 12px;
font-weight: bold;
}
hr {
width: 700px;
margin-left: 0;
}
tr {
text-align: left;
}
th {
font-size: 12px;
background-color: #D6D3CE;
color: black;
}
th.publisher {
width: 200px;
}
th.name {
width: 500px;
}
td {
font-weight: normal;
font-size: 12px;
}
</style>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="twl-master-editor">
<xsl:apply-templates select="game" />
<hr />
<xsl:apply-templates select="middleware-list" />
<hr />
<div class="footer">
generated by MasterEditorTWL ver. <xsl:value-of select="@version" />
</div>
</xsl:template>
<xsl:template match="game">
<div class="game-title">
<xsl:value-of select="product-name" />(<xsl:value-of select="game-code" />)
</div>
<div class="game-version">
version: <xsl:value-of select="rom-version" />-<xsl:value-of select="submit-version" />
</div>
</xsl:template>
<xsl:template match="middleware-list">
<table cellspacing="0">
<tr>
<th class="publisher">Publisher</th>
<th class="name">Middleware Name</th>
</tr>
<xsl:apply-templates />
</table>
</xsl:template>
<xsl:template match="middleware">
<tr>
<td class="publisher"><xsl:value-of select="publisher" /></td>
<td class="name"><xsl:value-of select="name" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet id="stylesheet" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>TWL Middleware List</title>
<style type="text/css">
body {
font-family: "verdana";
font-size: 12px;
text-align: left;
}
div.game-title {
font-size: 16px;
font-weight: bold;
}
div.game-version {
font-size: 12px;
font-weight: bold;
}
hr {
width: 700px;
margin-left: 0;
}
tr {
text-align: left;
}
th {
font-size: 12px;
background-color: #D6D3CE;
color: black;
}
th.publisher {
width: 200px;
}
th.name {
width: 500px;
}
td {
font-weight: normal;
font-size: 12px;
}
</style>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="twl-master-editor">
<xsl:apply-templates select="game" />
<hr />
<xsl:apply-templates select="middleware-list" />
<hr />
<div class="footer">
generated by MasterEditorTWL ver. <xsl:value-of select="@version" />
</div>
</xsl:template>
<xsl:template match="game">
<div class="game-title">
<xsl:value-of select="product-name" />(<xsl:value-of select="game-code" />)
</div>
<div class="game-version">
version: <xsl:value-of select="rom-version" />-<xsl:value-of select="submit-version" />
</div>
</xsl:template>
<xsl:template match="middleware-list">
<table cellspacing="0">
<tr>
<th class="publisher">Publisher</th>
<th class="name">Middleware Name</th>
</tr>
<xsl:apply-templates />
</table>
</xsl:template>
<xsl:template match="middleware">
<tr>
<td class="publisher"><xsl:value-of select="publisher" /></td>
<td class="name"><xsl:value-of select="name" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MasterEditorTWL_Package", "MasterEditorTWL_Package\MasterEditorTWL_Package.vcproj", "{C8DFAF5B-883E-4B51-8C00-E3CE44DD8877}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "MasterEditorTWL_PackageSetup", "MasterEditorTWL_PackageSetup\MasterEditorTWL_PackageSetup.vdproj", "{9D0ECC45-6616-45CA-BFAB-5137578EB8B5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C8DFAF5B-883E-4B51-8C00-E3CE44DD8877}.Debug|Win32.ActiveCfg = Debug|Win32
{C8DFAF5B-883E-4B51-8C00-E3CE44DD8877}.Debug|Win32.Build.0 = Debug|Win32
{C8DFAF5B-883E-4B51-8C00-E3CE44DD8877}.Release|Win32.ActiveCfg = Release|Win32
{C8DFAF5B-883E-4B51-8C00-E3CE44DD8877}.Release|Win32.Build.0 = Release|Win32
{9D0ECC45-6616-45CA-BFAB-5137578EB8B5}.Debug|Win32.ActiveCfg = Debug
{9D0ECC45-6616-45CA-BFAB-5137578EB8B5}.Release|Win32.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -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;
//
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
//
[assembly:AssemblyTitleAttribute("MasterEditorTWL_Package")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("任天堂株式会社")];
[assembly:AssemblyProductAttribute("MasterEditorTWL_Package")];
[assembly:AssemblyCopyrightAttribute("Copyright (c) 任天堂株式会社 2008")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];
//
// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
// 既定値にすることができます:
[assembly:AssemblyVersionAttribute("1.0.1.*")];
[assembly:ComVisible(false)];
[assembly:CLSCompliantAttribute(true)];
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

View File

@ -1,110 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized CLR Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the CLR Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a CLR class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -1,19 +0,0 @@
// MasterEditorTWL_Package.cpp : メイン プロジェクト ファイルです。
#include "stdafx.h"
#include "../../MasterEditorTWL/MasterEditorTWL/Form1.h"
//using namespace MasterEditorTWL_Package;
using namespace MasterEditorTWL;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// コントロールが作成される前に、Windows XP ビジュアル効果を有効にします
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// メイン ウィンドウを作成して、実行します
Application::Run(gcnew Form1());
return 0;
}

Some files were not shown because too many files have changed in this diff Show More