diff --git a/build/tools/MasterEditor/SheetCheckerTWL/Debug/SheetCheckerTWL.ilk b/build/tools/MasterEditor/SheetCheckerTWL/Debug/SheetCheckerTWL.ilk deleted file mode 100644 index e69de29..0000000 diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.ncb b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.ncb deleted file mode 100644 index 1c50b3d..0000000 Binary files a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.ncb and /dev/null differ diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.sln b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.sln deleted file mode 100644 index cbba24e..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.sln +++ /dev/null @@ -1,24 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SheetCheckerTWL", "SheetCheckerTWL\SheetCheckerTWL.vcproj", "{426F4BD7-3EEB-421A-87AB-697DF71DFB47}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "SheetCheckerTWL_Setup", "SheetCheckerTWL_Setup\SheetCheckerTWL_Setup.vdproj", "{2D7B860A-1D29-4519-9DA0-40267611BFB8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {426F4BD7-3EEB-421A-87AB-697DF71DFB47}.Debug|Win32.ActiveCfg = Debug|Win32 - {426F4BD7-3EEB-421A-87AB-697DF71DFB47}.Debug|Win32.Build.0 = Debug|Win32 - {426F4BD7-3EEB-421A-87AB-697DF71DFB47}.Release|Win32.ActiveCfg = Release|Win32 - {426F4BD7-3EEB-421A-87AB-697DF71DFB47}.Release|Win32.Build.0 = Release|Win32 - {2D7B860A-1D29-4519-9DA0-40267611BFB8}.Debug|Win32.ActiveCfg = Debug - {2D7B860A-1D29-4519-9DA0-40267611BFB8}.Release|Win32.ActiveCfg = Release - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.suo b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.suo deleted file mode 100644 index 4b79f20..0000000 Binary files a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL.suo and /dev/null differ diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/AssemblyInfo.cpp b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/AssemblyInfo.cpp deleted file mode 100644 index 841b355..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/AssemblyInfo.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "stdafx.h" - -using namespace System; -using namespace System::Reflection; -using namespace System::Runtime::CompilerServices; -using namespace System::Runtime::InteropServices; -using namespace System::Security::Permissions; - -// -// ƒAƒZƒ“ƒuƒŠ‚ÉŠÖ‚·‚éˆê”Êî•ñ‚͈ȉº‚Ì‘®«ƒZƒbƒg‚ð‚Æ‚¨‚µ‚ħŒä‚³‚ê‚Ü‚·B -// ƒAƒZƒ“ƒuƒŠ‚ÉŠÖ˜A•t‚¯‚ç‚ê‚Ä‚¢‚éî•ñ‚ð•ÏX‚·‚é‚É‚ÍA -// ‚±‚ê‚ç‚Ì‘®«’l‚ð•ÏX‚µ‚Ä‚­‚¾‚³‚¢B -// -[assembly:AssemblyTitleAttribute("SheetCheckerTWL")]; -[assembly:AssemblyDescriptionAttribute("")]; -[assembly:AssemblyConfigurationAttribute("")]; -[assembly:AssemblyCompanyAttribute("”C“V“°Š”Ž®‰ïŽÐ")]; -[assembly:AssemblyProductAttribute("SheetCheckerTWL")]; -[assembly:AssemblyCopyrightAttribute("Copyright (c) ”C“V“°Š”Ž®‰ïŽÐ 2008")]; -[assembly:AssemblyTrademarkAttribute("")]; -[assembly:AssemblyCultureAttribute("")]; - -// -// ƒAƒZƒ“ƒuƒŠ‚̃o[ƒWƒ‡ƒ“î•ñ‚ÍAˆÈ‰º‚Ì 4 ‚‚̒l‚Å\¬‚³‚ê‚Ä‚¢‚Ü‚·: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// ‚·‚ׂĂ̒l‚ðŽw’è‚·‚é‚©A‰º‚̂悤‚É '*' ‚ðŽg‚Á‚ÄƒŠƒrƒWƒ‡ƒ“‚¨‚æ‚уrƒ‹ƒh”Ô†‚ð -// Šù’è’l‚É‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚·: - -[assembly:AssemblyVersionAttribute("1.0.*")]; - -[assembly:ComVisible(false)]; - -[assembly:CLSCompliantAttribute(true)]; - -[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/Debug/BuildLog.htm b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/Debug/BuildLog.htm deleted file mode 100644 index 5a4673d..0000000 Binary files a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/Debug/BuildLog.htm and /dev/null differ diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/ReadMe.txt b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/ReadMe.txt deleted file mode 100644 index 169b620..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/ReadMe.txt +++ /dev/null @@ -1,29 +0,0 @@ -=============================================================================== - ƒAƒvƒŠƒP[ƒVƒ‡ƒ“ : SheetCheckerTWL ƒvƒƒWƒFƒNƒg‚ÌŠT—v -=============================================================================== - -‚±‚Ì SheetCheckerTWL ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ÍAAppWizard ‚É‚æ‚Á‚Ä쬂³‚ê‚Ü‚µ‚½B - -‚±‚̃tƒ@ƒCƒ‹‚É‚ÍASheetCheckerTWL ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ð\¬‚·‚éŠeƒtƒ@ƒCƒ‹‚Ì -“à—e‚ÌŠT—ª‚ª‹Lq‚³‚ê‚Ä‚¢‚Ü‚·B - -SheetCheckerTWL.vcproj - ‚±‚ê‚ÍAƒAƒvƒŠƒP[ƒVƒ‡ƒ“ ƒEƒBƒU[ƒh‚Ŷ¬‚³‚ê‚é VC++ ƒvƒƒWƒFƒNƒg‚̃ƒCƒ“‚Ì - ƒvƒƒWƒFƒNƒg ƒtƒ@ƒCƒ‹‚Å‚·B - ƒtƒ@ƒCƒ‹‚𶬂µ‚½ Visual C++ ‚̃o[ƒWƒ‡ƒ“î•ñ‚ÆAƒAƒvƒŠƒP[ƒVƒ‡ƒ“ ƒEƒBƒU[ - ƒh‚Å‘I‘ð‚µ‚½ƒvƒ‰ƒbƒgƒtƒH[ƒ€A\¬A‚¨‚æ‚уvƒƒWƒFƒNƒg‚Ì‹@”\‚ÉŠÖ‚·‚éî•ñ‚ª - ‹Lq‚³‚ê‚Ä‚¢‚Ü‚·B - -SheetCheckerTWL.cpp - ‚±‚ê‚ÍAƒƒCƒ“‚̃AƒvƒŠƒP[ƒVƒ‡ƒ“ ƒ\[ƒX ƒtƒ@ƒCƒ‹‚Å‚·B - -AssemblyInfo.cpp - ƒAƒZƒ“ƒuƒŠ ƒƒ^ƒf[ƒ^‚ð•ÏX‚·‚邽‚߂̃JƒXƒ^ƒ€‘®«‚ªŠÜ‚Ü‚ê‚Ä‚¢‚Ü‚·B - -/////////////////////////////////////////////////////////////////////////////// -‚»‚Ì‘¼‚̃ƒ‚ : - -AppWizard ‚Å‚ÍA"TODO:" ‚ðŽg—p‚µ‚ÄAƒ†[ƒU[‚ª’ljÁ‚Ü‚½‚̓JƒXƒ^ƒ}ƒCƒY‚·‚éƒ\[ƒX -•”•ª‚ðŽ¦‚µ‚Ü‚·B - -/////////////////////////////////////////////////////////////////////////////// diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/Release/BuildLog.htm b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/Release/BuildLog.htm deleted file mode 100644 index a55b518..0000000 Binary files a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/Release/BuildLog.htm and /dev/null differ diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.cpp b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.cpp deleted file mode 100644 index 03028a2..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.cpp +++ /dev/null @@ -1,343 +0,0 @@ -// SheetCheckerTWL.cpp : ƒƒCƒ“ ƒvƒƒWƒFƒNƒg ƒtƒ@ƒCƒ‹‚Å‚·B - -#include "stdafx.h" -#include "SheetCheckerTWL.h" -#include "crc_whole.h" -#include -#include -#include - -using namespace System; - -// ------------------------------------------------------------------ -// 錾 -// ------------------------------------------------------------------ - -System::Int32 parseOption( array ^args, SheetCheckerContext ^context ); -System::Boolean readRomHeader( System::String ^srlfile, ROM_Header *rh ); -System::Boolean readSheet( System::String ^sheetfile, SheetItem ^item ); -System::String^ getXPathText( System::Xml::XmlElement ^root, System::String ^xpath ); -void printResult( SheetCheckerContext ^context, ROM_Header *rh, SheetItem ^item, - System::String ^srlfile, System::String ^sheetfile, System::UInt16 srlcrc ); - - -// ------------------------------------------------------------------ -// –{‘Ì -// ------------------------------------------------------------------ - -int main(array ^args) -{ - SheetCheckerContext ^hContext = gcnew SheetCheckerContext; - ROM_Header rh; - memset( (void*)&rh, 0, sizeof(ROM_Header) ); - SheetItem ^hItem = gcnew SheetItem; - - // getopt - int argc = parseOption( args, hContext ); - - // ˆø”ˆ— - if( argc != 2 ) - { - hContext->ErrorCode = SheetCheckerError::ERROR_ARG; - printResult( hContext, &rh, hItem, nullptr, nullptr, 0 ); - return -1; - } - System::String ^hSrlFile = args[0]; - System::String ^hSheetFile = args[1]; - - // ROMƒwƒbƒ_‚̓ǂݞ‚Ý - if( !readRomHeader( hSrlFile, &rh ) ) - { - hContext->ErrorCode = SheetCheckerError::ERROR_READ_SRL; - printResult( hContext, &rh, hItem, hSrlFile, hSheetFile, 0 ); - return -1; - } - System::UInt16 crc; - getWholeCRCInFile( hSrlFile, &crc ); - - // ’ñoŠm”F‘‚̓ǂݞ‚Ý - if( !readSheet( hSheetFile, hItem ) ) - { - hContext->ErrorCode = SheetCheckerError::ERROR_READ_SHEET; - printResult( hContext, &rh, hItem, hSrlFile, hSheetFile, crc ); - return -1; - } - - // ˆê’v”»’è - if( memcmp( rh.s.game_code, hItem->GameCode, 4 ) != 0 ) - { - hContext->ErrorCode = SheetCheckerError::ERROR_VERIFY_GAME_CODE; - } - else if( rh.s.rom_version != hItem->RomVersion ) - { - hContext->ErrorCode = SheetCheckerError::ERROR_VERIFY_ROM_VERSION; - } - else if( crc != hItem->FileCRC ) - { - hContext->ErrorCode = SheetCheckerError::ERROR_VERIFY_CRC; - } - - // Œ‹‰Ê•\ަ - printResult( hContext, &rh, hItem, hSrlFile, hSheetFile, crc ); - - return 0; -} - -// ------------------------------------------------------------------ -// Œ‹‰Ê•\ަ -// ------------------------------------------------------------------ - -void printResult( SheetCheckerContext ^context, ROM_Header *rh, SheetItem ^item, - System::String ^srlfile, System::String ^sheetfile, System::UInt16 srlcrc ) -{ - System::UInt16 tadver = item->RomVersion; - tadver = (tadver << 8) | item->SubmitVersion; - - // ’Êí‚Ì•\ަ - if( !context->bSubmitVersion && !context->bResult && !context->bTadVersion ) - { - Console::WriteLine( "" ); - Console::WriteLine( "SRL: " + srlfile ); - Console::WriteLine( "Sheet: " + sheetfile ); - Console::WriteLine( "" ); - - printf( " SRL Sheet\n" ); - printf( "---------------------------------------\n" ); - printf( "InitialCode: %c%c%c%c %c%c%c%c\n", - rh->s.game_code[0], rh->s.game_code[1], rh->s.game_code[2], rh->s.game_code[3], - item->GameCode[0], item->GameCode[1], item->GameCode[2], item->GameCode[3] ); - printf( "RemasterVersion: %02X %02X\n", rh->s.rom_version, item->RomVersion ); - printf( "File CRC: %04X %04X\n", srlcrc, item->FileCRC ); - printf( "---------------------------------------\n" ); - printf( "SubmitVersion: - %d (%02X)\n", item->SubmitVersion, item->SubmitVersion ); - if( item->Media->Equals("NAND") ) - { - printf( "TAD Version: %d (%04X)\n", tadver, tadver ); - } - printf( "---------------------------------------\n" ); - printf( "Result: " ); - if( context->ErrorCode == SheetCheckerError::NOERROR ) - { - printf( "OK\n" ); - } - else - { - printf( "NG (%d)\n", context->ErrorCode ); - } - } - - // ƒIƒvƒVƒ‡ƒ“‚̂Ƃ«‚Ì•\ަ - if( context->bSubmitVersion ) - { - if( context->ErrorCode == SheetCheckerError::NOERROR ) - { - printf( "%d\n", item->SubmitVersion ); - } - else - { - printf( "%d\n", context->ErrorCode ); // ƒGƒ‰[‚̂Ƃ«‚̓Gƒ‰[ƒR[ƒh - } - } - if( context->bTadVersion ) - { - if( !item->Media->Equals("NAND") ) - { - context->ErrorCode = SheetCheckerError::ERROR_ARG; - } - if( context->ErrorCode == SheetCheckerError::NOERROR ) - { - printf( "%d\n", tadver ); - } - else - { - printf( "%d\n", context->ErrorCode ); - } - } - if( context->bResult ) - { - printf( "%d\n", context->ErrorCode ); - } -} - - -// ------------------------------------------------------------------ -// ROMƒwƒbƒ_‚̓ǂݞ‚Ý -// ------------------------------------------------------------------ - -System::Boolean readRomHeader( System::String ^srlfile, ROM_Header *rh ) -{ - FILE *fp = NULL; - const char *pchFilename = - (const char*)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi( srlfile ).ToPointer(); - - // ƒtƒ@ƒCƒ‹‚ðŠJ‚¢‚ÄROMƒwƒbƒ_‚̂ݓǂÝo‚· - if( fopen_s( &fp, pchFilename, "rb" ) != NULL ) - { - return false; - } - (void)fseek( fp, 0, SEEK_SET ); // ROMƒwƒbƒ_‚Ísrl‚Ìæ“ª‚©‚ç - - // 1ƒoƒCƒg‚ðsizeof(~)‚¾‚¯ƒŠ[ƒh (‹t‚¾‚ƕԂè’l‚ªsizeof(~)‚ɂȂç‚È‚¢‚̂ŒˆÓ) - if( fread( (void*)rh, 1, sizeof(ROM_Header), fp ) != sizeof(ROM_Header) ) - { - fclose( fp ); - return false; - } - fclose( fp ); - return true; -} - -// ------------------------------------------------------------------ -// ’ñoŠm”F‘‚̓ǂݞ‚Ý -// ------------------------------------------------------------------ - -System::Boolean readSheet( System::String ^sheetfile, SheetItem ^item ) -{ - // XSL‚É‚æ‚Á‚ÄXML•ÏŠ· - System::String ^tmpfile = ".\\temp" + System::DateTime::Now.ToString("yyyyMMddHHmmss") + ".xml"; - System::Xml::Xsl::XslCompiledTransform ^xslt = gcnew System::Xml::Xsl::XslCompiledTransform; - System::String ^xslpath = System::IO::Path::GetDirectoryName( System::Reflection::Assembly::GetEntryAssembly()->Location ) - + "\\extract_sheet.xsl"; - try - { - //Console::WriteLine( "xslpath: " + xslpath ); - xslt->Load( xslpath ); - xslt->Transform( sheetfile, tmpfile ); - } - catch( System::Exception ^ex ) - { - (void)ex; - //Console::WriteLine( "XSLT Error" ); - return false; - } - // •ÏŠ·‚µ‚½XML‚ð“ǂݞ‚Ý - System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument; - try - { - doc->Load( tmpfile ); - } - catch( System::Exception ^ex ) - { - (void)ex; - //Console::WriteLine( "Load error" ); - return false; - } - - // XML‚©‚çƒf[ƒ^‚ð’Šo - System::Xml::XmlElement ^root = doc->DocumentElement; - System::String ^text; - try - { - item->Media = getXPathText( root, "/Sheet/Media" ); - - text = getXPathText( root, "/Sheet/GameCode" ); - char code[4]; - int i; - for(i=0; i<4; i++ ) - { - code[i] = (char)text[i]; - } - item->GameCode = code; // ‘ã“ü‚µ‚½‚çƒRƒs[‚·‚邿‚¤‚É property ‚ð’è‹`‚µ‚Ä‚¢‚é - - text = getXPathText( root, "/Sheet/RomVersion" ); - if( text->Contains( "(" ) ) // Ž–‘O”ł̂Ƃ«‚É‚Í"(Ž–‘O”Å)"‚ª“ü‚é - { - text = text->Remove( text->IndexOf("(") ); - } - text = text->Trim(); - item->RomVersion = System::Byte::Parse( text, System::Globalization::NumberStyles::AllowHexSpecifier ); - - text = getXPathText( root, "/Sheet/CRC" ); - if( text->Contains( "0x" ) ) - { - text = text->Substring( text->IndexOf("x")+1 ); - } - item->FileCRC = System::UInt16::Parse( text, System::Globalization::NumberStyles::AllowHexSpecifier ); - - text = getXPathText( root, "/Sheet/SubmitVersion" ); - char c = (char)text[0]; - if( ('G' <= c) && (c <= 'Z') ) // F‚æ‚èã‚ÍG..Z‚Å•\Œ»‚³‚ê‚Ä‚¢‚­(‰Â”\«‚ ‚è) - { - item->SubmitVersion = c - 'G' + 16; - } - else if( ('g' <= c) && (c <= 'z') ) - { - item->SubmitVersion = c - 'g' + 16; - } - else - { - item->SubmitVersion = System::Byte::Parse( text, System::Globalization::NumberStyles::AllowHexSpecifier ); - } - } - catch( System::Exception ^ex ) - { - (void)ex; - return false; - } - - // ’†ŠÔƒtƒ@ƒCƒ‹‚ðíœ - if( System::IO::File::Exists( tmpfile ) ) - { - System::IO::File::Delete( tmpfile ); - } - return true; -} - -// ------------------------------------------------------------------ -// getopt -// ------------------------------------------------------------------ - -// @ret ƒIƒvƒVƒ‡ƒ“‚𜂢‚½‚Æ‚«‚Ìargc -System::Int32 parseOption( array ^args, SheetCheckerContext ^context ) -{ - System::Collections::Generic::List ^indexList - = gcnew System::Collections::Generic::List; - - int numopt = 0; - int i; - for( i=0; i < args->Length; i++ ) - { - if( args[i]->StartsWith( "-s" ) ) - { - context->bSubmitVersion = true; - numopt++; - } - else if( args[i]->StartsWith( "-r" ) ) - { - context->bResult = true; - numopt++; - } - else if( args[i]->StartsWith( "-t" ) ) - { - context->bTadVersion = true; - numopt++; - } - else if( !args[i]->StartsWith( "-" ) ) // ƒIƒvƒVƒ‡ƒ“‚łȂ¢ˆø”‚Ìindex‚ð‹L˜^ - { - indexList->Add(i); - } - } - i=0; - for each( System::Int32 index in indexList ) // ƒIƒvƒVƒ‡ƒ“‚łȂ¢ˆø”‚ð‘O‚ɂ‚߂Ă¢‚­ - { - args[i] = args[index]; - i++; - } - return (args->Length - numopt); -} - -// ------------------------------------------------------------------ -// XMLƒ^ƒOŒŸõ -// ------------------------------------------------------------------ - -// @ret ƒeƒLƒXƒg‚ª‘¶Ý‚·‚邯‚«‚»‚̃eƒLƒXƒg‚ð•Ô‚·B‘¶Ý‚µ‚È‚¢‚Æ‚«nullptrB -System::String^ 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; -} - diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.h b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.h deleted file mode 100644 index 11ba604..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.h +++ /dev/null @@ -1,115 +0,0 @@ -#pragma once - -#include -#include - -// ------------------------------------------------------------------ -// \‘¢‘Ì -// ------------------------------------------------------------------ - -// ƒGƒ‰[ƒR[ƒh -enum class SheetCheckerError -{ - NOERROR = 0, - ERROR_VERIFY_CRC = -1, - ERROR_VERIFY_GAME_CODE = -2, - ERROR_VERIFY_ROM_VERSION = -3, - ERROR_READ_SRL = -8, - ERROR_READ_SHEET = -9, - ERROR_ARG = -10, -}; - -// ŽÀsContext -ref class SheetCheckerContext -{ -private: - System::Boolean ^hbSubmitVersion; // ƒIƒvƒVƒ‡ƒ“ƒtƒ‰ƒO - System::Boolean ^hbResult; - System::Boolean ^hbTadVersion; - SheetCheckerError ^hErrorCode; // ƒGƒ‰[î•ñ -public: - SheetCheckerContext() - { - this->hbSubmitVersion = gcnew System::Boolean(false); - this->hbResult = gcnew System::Boolean(false); - this->hbTadVersion = gcnew System::Boolean(false); - this->hErrorCode = gcnew SheetCheckerError( SheetCheckerError::NOERROR ); - } - property System::Boolean bSubmitVersion - { - void set( System::Boolean flg ){ this->hbSubmitVersion = gcnew System::Boolean(flg); } - System::Boolean get(){ return *this->hbSubmitVersion; } - }; - property System::Boolean bResult - { - void set( System::Boolean flg ){ this->hbResult = gcnew System::Boolean(flg); } - System::Boolean get(){ return *this->hbResult; } - }; - property System::Boolean bTadVersion - { - void set( System::Boolean flg ){ this->hbTadVersion = gcnew System::Boolean(flg); } - System::Boolean get(){ return *this->hbTadVersion; } - }; - property SheetCheckerError ErrorCode - { - void set( SheetCheckerError code ){ this->hErrorCode = gcnew SheetCheckerError(code); } - SheetCheckerError get(){ return *this->hErrorCode; } - }; -}; - -// ’ñoŠm”F‘“à‚Ìî•ñ -ref class SheetItem -{ -private: - char *pGameCode; - System::Byte ^hRomVersion; - System::UInt16 ^hFileCRC; - System::Byte ^hSubmitVersion; -public: - System::String ^hMedia; -public: - SheetItem() - { - this->pGameCode = new char[4]; - std::memset( this->pGameCode, 0, 4 ); - this->hRomVersion = gcnew System::Byte(0xFF); - this->hFileCRC = gcnew System::UInt16(0); - this->hSubmitVersion = gcnew System::Byte(0xFF); - this->hMedia = gcnew System::String(""); - } - ~SheetItem() - { - delete []this->pGameCode; - } - property char* GameCode - { - void set( char* p ){ memcpy( this->pGameCode, p, 4 ); } - char* get(){ return this->pGameCode; } - } - property System::Byte RomVersion - { - void set( System::Byte v ){ *this->hRomVersion = v; } - System::Byte get(){ return *this->hRomVersion; } - } - property System::UInt16 FileCRC - { - void set( System::UInt16 v ){ *this->hFileCRC = v; } - System::UInt16 get(){ return *this->hFileCRC; } - } - property System::Byte SubmitVersion - { - void set( System::Byte v ){ *this->hSubmitVersion = v; } - System::Byte get(){ return *this->hSubmitVersion; } - } - property System::String ^Media - { - void set( System::String ^str ) - { - if( str != nullptr ) - this->hMedia = System::String::Copy(str); - else - this->hMedia = gcnew System::String(""); - } - System::String^ get(){ return System::String::Copy( this->hMedia ); } - } -}; diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.vcproj b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.vcproj deleted file mode 100644 index a23ebc0..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.vcproj +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.vcproj.RED.nishikawa_takeshi.user b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.vcproj.RED.nishikawa_takeshi.user deleted file mode 100644 index 7963a7f..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/SheetCheckerTWL.vcproj.RED.nishikawa_takeshi.user +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/app.ico b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/app.ico deleted file mode 100644 index 3a5525f..0000000 Binary files a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/app.ico and /dev/null differ diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/app.rc b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/app.rc deleted file mode 100644 index 2ad8e34..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/app.rc +++ /dev/null @@ -1,63 +0,0 @@ -// Microsoft Visual C++ ‚Ŷ¬‚³‚ꂽƒŠƒ\[ƒX ƒXƒNƒŠƒvƒg‚Å‚·B -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// ‰pŒê (•Ä‘) ƒŠƒ\[ƒX - - -///////////////////////////////////////////////////////////////////////////// -// -// ƒAƒCƒRƒ“ -// - -// ʼn‚É”z’u‚³‚ꂽƒAƒCƒRƒ“A‚Ü‚½‚Í ID ’l‚ªÅ‚à’á‚¢ƒAƒCƒRƒ“‚ªAƒAƒvƒŠƒP[ƒVƒ‡ƒ“ ƒAƒCƒRƒ“‚ɂȂè‚Ü‚·B - -LANGUAGE 17, 1 -#pragma code_page(932) -1 ICON "app.ico" - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" - "\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\0" -END - -#endif // APSTUDIO_INVOKED - -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE 3 ƒŠƒ\[ƒX‚©‚綬‚³‚ê‚Ü‚µ‚½B -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // APSTUDIO_INVOKED ‚łȂ¢ê‡ - diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/crc_whole.BAK b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/crc_whole.BAK deleted file mode 100644 index a984cf5..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/crc_whole.BAK +++ /dev/null @@ -1,185 +0,0 @@ -// crc_whole.h ‚ÌŽÀ‘• - -#include "stdafx.h" -#include -#include "common.h" -#include "crc_whole.h" -#include -#include - -#define CRCPOLY 0x1021 -#define BUFLEN 0x1000 - -namespace MasterEditorTWL -{ - u16 crc_table[0x100]; - - /*---------------------------------------------------------------------------- - ŠÖ”–¼ - inittable - initialize table - - Œ`Ž® - static void inittable(unsigned short *table); - - ‰ðà - CRCŽZo‚ð‚‘¬‰»‚·‚邽‚߂̎Qƃe[ƒuƒ‹‚ð쬂·‚éB - ----------------------------------------------------------------------------*/ - static void inittable(unsigned short *table) - { - unsigned short i, j, r; - - for(i = 0; i < 0x100; i++) { - r = i << 8; - for(j = 0; j < 8; j++) { - if(r & 0x8000U) - r = (r << 1) ^ CRCPOLY; - else - r <<= 1; - } - *table++ = r; - } - } - - /*============================================================================* - CRCŒvŽZ - »•i‹Zp•”‚ÌCRCƒe[ƒuƒ‹‚ðŽg‚Á‚½CRCŒvŽZŠÖ” - - ‹ô”ƒoƒCƒg‚ƊoƒCƒg‚ð“ü‚ê‘Ö‚¦‚Ä‚©‚çŒvŽZ‚·‚éB - *============================================================================*/ - static u16 newGetCRC - ( - u16 start, // CRC‰Šú’li—ÝÏ’lj - u16 *datap, // ƒf[ƒ^‚Ìæ“ª‚ðŽw‚·ƒ|ƒCƒ“ƒ^A’†“‡‚³‚ñ‚̂ƈႢAu8 - u32 size // ƒoƒCƒg’PˆÊ‚ł̃f[ƒ^ƒTƒCƒY - ) - { - u32 i; - u16 crc; - u8* byte; - - crc = start; - byte = (u8 *)datap; - - for (i=0; i> 8) ^ byte1]; - crc = (crc << 8) ^ crc_table[(crc >> 8) ^ byte0]; - } - - return crc; - } - - /*---------------------------------------------------------------------------* - - Name: getSeg3CRCInFp - - Description: Segment3(0x3000-0x3fff)‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ - BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC ) - { - u16 crc; - u16 data[ 0x1000 / 2 ]; // 64KƒoƒCƒg(512Kƒrƒbƒg) - - if( !fp ) - { - return FALSE; - } - - // CRCƒe[ƒuƒ‹‰Šú‰»i»•i‹Zp•”‚̃R[ƒhj - inittable(crc_table); - - // 0x3000 ‚©‚ç 0x3fff ‚Ü‚Å‚Ì CRC ‚ð‚Æ‚é - fseek( fp, 0x3000, SEEK_SET ); - fread( (void*)data, sizeof(data), 1, fp ); - crc = newGetCRC( 0, data, sizeof(data) ); - *pCRC = crc; - - return TRUE; - } - - /*---------------------------------------------------------------------------* - - Name: getWholeCRCInFp - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ - BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC ) - { - u32 file_size; - u16 crc; - u32 i; - u16 data[ 0x1000 / 2 ]; // 64KƒoƒCƒg(512Kƒrƒbƒg) - - if( !fp ) - { - return FALSE; - } - - // ƒtƒ@ƒCƒ‹ƒTƒCƒYƒ`ƒFƒbƒN - fseek( fp, 0, SEEK_END ); - file_size = ftell( fp ); - - // CRCƒe[ƒuƒ‹‰Šú‰»i»•i‹Zp•”‚̃R[ƒhj - inittable(crc_table); - - // ƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC ‚ð‚Æ‚é - fseek( fp, 0, SEEK_SET ); - crc = 0; - for ( i=0; i -#include - -#define CRCPOLY 0x1021 -#define BUFLEN 0x1000 - -u16 crc_table[0x100]; - -/*---------------------------------------------------------------------------- - ŠÖ”–¼ - inittable - initialize table - - Œ`Ž® - static void inittable(unsigned short *table); - - ‰ðà - CRCŽZo‚ð‚‘¬‰»‚·‚邽‚߂̎Qƃe[ƒuƒ‹‚ð쬂·‚éB -----------------------------------------------------------------------------*/ -static void inittable(unsigned short *table) -{ - unsigned short i, j, r; - - for(i = 0; i < 0x100; i++) { - r = i << 8; - for(j = 0; j < 8; j++) { - if(r & 0x8000U) - r = (r << 1) ^ CRCPOLY; - else - r <<= 1; - } - *table++ = r; - } -} - -/*============================================================================* - CRCŒvŽZ - »•i‹Zp•”‚ÌCRCƒe[ƒuƒ‹‚ðŽg‚Á‚½CRCŒvŽZŠÖ” - - ‹ô”ƒoƒCƒg‚ƊoƒCƒg‚ð“ü‚ê‘Ö‚¦‚Ä‚©‚çŒvŽZ‚·‚éB - *============================================================================*/ -static u16 newGetCRC - ( - u16 start, // CRC‰Šú’li—ÝÏ’lj - u16 *datap, // ƒf[ƒ^‚Ìæ“ª‚ðŽw‚·ƒ|ƒCƒ“ƒ^A’†“‡‚³‚ñ‚̂ƈႢAu8 - u32 size // ƒoƒCƒg’PˆÊ‚ł̃f[ƒ^ƒTƒCƒY - ) -{ - u32 i; - u16 crc; - u8* byte; - - crc = start; - byte = (u8 *)datap; - - for (i=0; i> 8) ^ byte1]; - crc = (crc << 8) ^ crc_table[(crc >> 8) ^ byte0]; - } - - return crc; -} - -/*---------------------------------------------------------------------------* - - Name: getSeg3CRCInFp - - Description: Segment3(0x3000-0x3fff)‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ -BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC ) -{ - u16 crc; - u16 data[ 0x1000 / 2 ]; // 64KƒoƒCƒg(512Kƒrƒbƒg) - - if( !fp ) - { - return FALSE; - } - - // CRCƒe[ƒuƒ‹‰Šú‰»i»•i‹Zp•”‚̃R[ƒhj - inittable(crc_table); - - // 0x3000 ‚©‚ç 0x3fff ‚Ü‚Å‚Ì CRC ‚ð‚Æ‚é - fseek( fp, 0x3000, SEEK_SET ); - fread( (void*)data, sizeof(data), 1, fp ); - crc = newGetCRC( 0, data, sizeof(data) ); - *pCRC = crc; - - return TRUE; -} - -/*---------------------------------------------------------------------------* - - Name: getWholeCRCInFp - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ -BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC ) -{ - u32 file_size; - u16 crc; - u32 i; - u16 data[ 0x1000 / 2 ]; // 64KƒoƒCƒg(512Kƒrƒbƒg) - - if( !fp ) - { - return FALSE; - } - - // ƒtƒ@ƒCƒ‹ƒTƒCƒYƒ`ƒFƒbƒN - fseek( fp, 0, SEEK_END ); - file_size = ftell( fp ); - - // CRCƒe[ƒuƒ‹‰Šú‰»i»•i‹Zp•”‚̃R[ƒhj - inittable(crc_table); - - // ƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC ‚ð‚Æ‚é - fseek( fp, 0, SEEK_SET ); - crc = 0; - for ( i=0; i -#include - -/*---------------------------------------------------------------------------* - - Name: getSeg3CRCInFp - - Description: Segment3(0x3000-0x3fff)‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ -BOOL getSeg3CRCInFp( FILE *fp, u16 *pCRC ); - -/*---------------------------------------------------------------------------* - - Name: getWholeCRCInFp - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹‚̃tƒ@ƒCƒ‹ƒ|ƒCƒ“ƒ^ - [out] CRCŠi”[æ - - Return: ¬Œ÷‚È‚çTRUE. - - *---------------------------------------------------------------------------*/ -BOOL getWholeCRCInFp( FILE *fp, u16 *pCRC ); - -/*---------------------------------------------------------------------------* - - Name: getWholeCRCInFile - - Description: srlƒtƒ@ƒCƒ‹‘S‘Ì‚ÌCRC‚ðŽZo - - Arguments: [in] srlƒtƒ@ƒCƒ‹–¼(ŒÄ‚Ño‚µ‘O‚ɕ‚¶‚Ä‚¨‚­‚±‚Æ) - [out] CRCŠi”[æ - - Return: None. - - *---------------------------------------------------------------------------*/ -BOOL getWholeCRCInFile( System::String ^filename, u16 *pCRC ); - diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/resource.h b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/resource.h deleted file mode 100644 index 1f2251c..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/resource.h +++ /dev/null @@ -1,3 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by app.rc diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/stdafx.cpp b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/stdafx.cpp deleted file mode 100644 index 325ceb4..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/stdafx.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// stdafx.cpp : •W€ƒCƒ“ƒNƒ‹[ƒh SheetCheckerTWL.pch ‚݂̂ð -// ŠÜ‚Þƒ\[ƒX ƒtƒ@ƒCƒ‹‚ÍAƒvƒŠƒRƒ“ƒpƒCƒ‹Ï‚݃wƒbƒ_[‚ɂȂè‚Ü‚·B -// stdafx.obj ‚ɂ̓vƒŠƒRƒ“ƒpƒCƒ‹Ï‚ÝŒ^î•ñ‚ªŠÜ‚Ü‚ê‚Ü‚·B - -#include "stdafx.h" - - diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/stdafx.h b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/stdafx.h deleted file mode 100644 index d0e2c99..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL/stdafx.h +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.h : •W€‚̃VƒXƒeƒ€ ƒCƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹‚̃Cƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹A‚Ü‚½‚Í -// ŽQƉñ”‚ª‘½‚­A‚©‚‚ ‚Ü‚è•ÏX‚³‚ê‚È‚¢AƒvƒƒWƒFƒNƒgê—p‚̃Cƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹ -// ‚ð‹Lq‚µ‚Ü‚·B -// - -#pragma once - -// TODO: ƒvƒƒOƒ‰ƒ€‚É•K—v‚ȒljÁƒwƒbƒ_[‚ð‚±‚±‚ÅŽQÆ‚µ‚Ä‚­‚¾‚³‚¢B diff --git a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL_Setup/SheetCheckerTWL_Setup.vdproj b/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL_Setup/SheetCheckerTWL_Setup.vdproj deleted file mode 100644 index 0c562e3..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/SheetCheckerTWL_Setup/SheetCheckerTWL_Setup.vdproj +++ /dev/null @@ -1,804 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:SheetCheckerTWL_Setup" -"LanguageId" = "3:1041" -"CodePage" = "3:932" -"UILanguageId" = "3:1041" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_28AEC9B44C6A496CAC798DE176782757" - "OwnerKey" = "8:_7EA6C452688D458CB8D7A9FD80D8A12F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4B4CA748E58D452FA66FB1EC9312CCA7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7EA6C452688D458CB8D7A9FD80D8A12F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_87C9E6F56CF848E191AADE5E55F0BFB2" - "OwnerKey" = "8:_28AEC9B44C6A496CAC798DE176782757" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_7EA6C452688D458CB8D7A9FD80D8A12F" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\SheetCheckerTWL_Setup.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\\SheetCheckerTWL_Setup.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}:_275FA7A8646C4F62914A2FC8A25207E6" - { - "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}:_4B4CA748E58D452FA66FB1EC9312CCA7" - { - "SourcePath" = "8:..\\extract_sheet.xsl" - "TargetName" = "8:extract_sheet.xsl" - "Tag" = "8:" - "Folder" = "8:_AA91A66096B740B5B6C31155FF0A5E08" - "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" - { - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_AA91A66096B740B5B6C31155FF0A5E08" - { - "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_B9CF6AF8705E44238268FFF09EDAA6F7" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_CC3276889D254EF1B24800480CE5872D" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1041" - "RequiresElevation" = "11:FALSE" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:SheetCheckerTWL" - "ProductCode" = "8:{94D1CE54-68B9-412D-85E8-FD8A51BE0659}" - "PackageCode" = "8:{8182CDF9-DB4C-4744-AFAF-6B612EED0FAD}" - "UpgradeCode" = "8:{2B5B3BC8-18E9-4729-81CC-00BCEEFCF5FF}" - "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:SheetCheckerTWL_Setup" - "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}:_9E049ED5057D403486E570413CD12525" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_3FC09B60C63A40B790F2EA2BD3A8FF7D" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_22772B373BF34E038A904AEE76DC2E8D" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_8A8A67529C8C4B06BC06361E5DB5F44A" - { - "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" - { - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_2619EE0A7B21424D96116254772CEC95" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3D8E5F5AFC6B423A8D712B7271E2BCC9" - { - "Sequence" = "3:100" - "DisplayName" = "8:よã†ã“ã" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_6AF2C7DC431A4ED6A3FF0BA5E3D09262" - { - "Sequence" = "3:300" - "DisplayName" = "8:インストールã®ç¢ºèª" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B99542E33E73410ABA310067CC523D21" - { - "Sequence" = "3:200" - "DisplayName" = "8:インストール フォルダ" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_369CF58D4F8D4D9BBF396369D057BDAD" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4AA74BFDB1CB4D9788E4C7FFE17FB05E" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_D1661F6F963D4A22BEE94CE2E8B698CA" - { - "Sequence" = "3:100" - "DisplayName" = "8:完了" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_59EA03536965433C831FAB21F6FD0A1A" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_EB2754D3B6D443BE819211C3229241EC" - { - "Sequence" = "3:100" - "DisplayName" = "8:進行状æ³" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_778D23487D0C4574B25E80BF03DB3526" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_1CF9D372D3C647F3BB7B26893F3A4BF2" - { - "Sequence" = "3:100" - "DisplayName" = "8:完了" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_C573A291AE8742878E845A40ABB37B27" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FEF9AC50FC93462696295E9313A4A8C6" - { - "Sequence" = "3:100" - "DisplayName" = "8:進行状æ³" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_C694C3E8376648AEA5A6E830B2655FDF" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_2320E3B400CB4C2891EFBC2E8147D275" - { - "Sequence" = "3:100" - "DisplayName" = "8:よã†ã“ã" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_41D45D8CDB6B425388B86A602E894FDF" - { - "Sequence" = "3:200" - "DisplayName" = "8:インストール フォルダ" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "InstallAllUsersVisible" - { - "Name" = "8:InstallAllUsersVisible" - "DisplayName" = "8:#1059" - "Description" = "8:#1159" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FED5E0EA82714FD3A118651EE425A858" - { - "Sequence" = "3:300" - "DisplayName" = "8:インストールã®ç¢ºèª" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_D48C6A40D2224BD49C5E9867810DAD92" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - } - "MergeModule" - { - "{CEE29DC0-9FBA-4B99-8D47-5BC643D9B626}:_28AEC9B44C6A496CAC798DE176782757" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:TRUE" - "SourcePath" = "8:policy_9_0_Microsoft_VC90_CRT_x86.msm" - "Properties" - { - } - "LanguageId" = "3:0" - "Exclude" = "11:FALSE" - "Folder" = "8:" - "Feature" = "8:" - "IsolateTo" = "8:" - } - "{CEE29DC0-9FBA-4B99-8D47-5BC643D9B626}:_87C9E6F56CF848E191AADE5E55F0BFB2" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:TRUE" - "SourcePath" = "8:microsoft_vc90_crt_x86.msm" - "Properties" - { - } - "LanguageId" = "3:0" - "Exclude" = "11:FALSE" - "Folder" = "8:" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_7EA6C452688D458CB8D7A9FD80D8A12F" - { - "SourcePath" = "8:..\\Release\\SheetCheckerTWL.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_AA91A66096B740B5B6C31155FF0A5E08" - "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:{426F4BD7-3EEB-421A-87AB-697DF71DFB47}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - } -} diff --git a/build/tools/MasterEditor/SheetCheckerTWL/extract_sheet.xsl b/build/tools/MasterEditor/SheetCheckerTWL/extract_sheet.xsl deleted file mode 100644 index 2952996..0000000 --- a/build/tools/MasterEditor/SheetCheckerTWL/extract_sheet.xsl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -