diff --git a/trunk/ConsoleDataMigration/documents/Readme.txt b/trunk/ConsoleDataMigration/documents/Readme.txt index 33de793..829eb99 100644 --- a/trunk/ConsoleDataMigration/documents/Readme.txt +++ b/trunk/ConsoleDataMigration/documents/Readme.txt @@ -1,14 +1,21 @@ -【ビルド環境】 -・SDK -CTR_SDK-3_3 branch r45925 + r51434 +ビルド環境 +======== -・コンパイラ -ARM C/C++ Compiler, 4.1 [Build 1049] for Nintendo +SDK +---- +CTR_SDK-3_3 branch r45925 + r51434 + r54939 -・ミドルウェア +コンパイラ +------- +ARM C/C++ Compiler, 4.1 [Build 1247] for Nintendo + +ミドルウェア +-------- QRコードエンコーダ 1.2.3 -【ビルド時の注意】 +ビルド時の注意 +------------ +### AES鍵の変更 リリース用ビルドでは開発機・量産機でAES鍵を変えるため、 量産機用ビルドの場合 @@ -21,17 +28,37 @@ QR でビルドすること。 -無線ON/OFF切り替えのため、sources/common/nwm_ExtAPI.cpp を -$HORIZON_ROOT/sources/libraries/nwm/CTR +### 自動無線ON/OFF +無線ON/OFF切り替えのため、`sources/common/nwm_ExtAPI.cpp` を +`$HORIZON_ROOT/sources/libraries/nwm/CTR` にコピーしてからnwmをリビルドする必要がある。 -【リリース時の注意】 +### NNA移行完了 +NNA移行完了のため、 +trunk r54688からactライブラリをコピーする必要がある。 +3_3 branch のcfgには無いシンボルを参照してしまうので、trunkでactライブラリをビルドする時に +`sources/common/act_ApiAdmin.cpp.patch`を当ててからビルドすること。 + +#### trunkからコピーするファイル +* $HORIZON_ROOT/include/nn/act +* $HORIZON_ROOT/include/nn/mii +* $HORIZON_ROOT/include/nn/Result.h +* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/release/libnn_act.fast.a +* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/release/libnn_act.small.a +* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/verbose/libnn_act.fast.a +* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/verbose/libnn_act.small.a + +リリース時の注意 +============= + ConsoleRestoreのReleaseビルドは、ショップ接続時などにで無限ループする不具合があるためDevelopmentビルドを使用する。 -【その他】 +その他 +===== + PC上でのgoogletestを使う場合BOM付きのUTF-8を コンパイルできるgccが必要。 cygwin 1.7.9-1 で動作確認済み。 -sources/tests/googletest/common/common.omにgtestのインストール先を指定する必要がある +`sources/tests/googletest/common/common.om`にgtestのインストール先を指定する必要がある diff --git a/trunk/ConsoleDataMigration/sources/ConsoleRestore/OMakefile b/trunk/ConsoleDataMigration/sources/ConsoleRestore/OMakefile index 84f60ba..08287bf 100644 --- a/trunk/ConsoleDataMigration/sources/ConsoleRestore/OMakefile +++ b/trunk/ConsoleDataMigration/sources/ConsoleRestore/OMakefile @@ -84,7 +84,7 @@ LIBFILES += $`(addprefix $(CTRMW_QRE_ROOT)$(DIRSEP)$(SUBDIR_LIBRARIES INSTALL_SDK_TOOL = true ROM_SPEC_FILE = $(TARGET_NAME).rsf -DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/tools/RepairTool.desc +DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/private/RepairTool.desc include $(ROOT_OMAKE)/modulerules diff --git a/trunk/ConsoleDataMigration/sources/common/act_ApiAdmin.cpp.patch b/trunk/ConsoleDataMigration/sources/common/act_ApiAdmin.cpp.patch new file mode 100644 index 0000000..ab05676 --- /dev/null +++ b/trunk/ConsoleDataMigration/sources/common/act_ApiAdmin.cpp.patch @@ -0,0 +1,56 @@ +Index: sources/libraries/act/CTR/act_ApiAdmin.cpp +=================================================================== +--- sources/libraries/act/CTR/act_ApiAdmin.cpp (revision 54688) ++++ sources/libraries/act/CTR/act_ApiAdmin.cpp (working copy) +@@ -192,6 +192,22 @@ + u32 approvalId, + bool isOffDeviceAccessEnabled) + { ++ NN_UNUSED_VAR(pAccountId); ++ NN_UNUSED_VAR(pAccountPassword); ++ NN_UNUSED_VAR(pMailAddress); ++ NN_UNUSED_VAR(isParentMailAddress); ++ NN_UNUSED_VAR(isEnabledToReceiveAds); ++ NN_UNUSED_VAR(birthday); ++ NN_UNUSED_VAR(gender); ++ NN_UNUSED_VAR(simpleAddressId); ++ NN_UNUSED_VAR(timeZone); ++ NN_UNUSED_VAR(agreedEulaInfo); ++ NN_UNUSED_VAR(agreedEulaTime); ++ NN_UNUSED_VAR(approvalId); ++ NN_UNUSED_VAR(isOffDeviceAccessEnabled); ++ nn::Result result; ++ return result; ++#if 0 + NN_ACT_RETURN_RESULT_IF_NOT_INITIALIZED_ADMIN(); + + NN_ACT_RETURN_RESULT_IF_NULL(pAccountId); +@@ -212,6 +228,7 @@ + NN_ACT_RETURN_IF_FAILED(ActAdmin::BindToNewServerAccount(event.GetHandle(), NN_ACT_SLOT_NO_CURRENT, pAccountId, pAccountPassword, pMailAddress, isParentMailAddress, isEnabledToReceiveAds, birthday, gender, simpleAddressId, timeZone, agreedEulaInfo, agreedEulaTime, approvalId, isOffDeviceAccessEnabled)); + + return WaitAndGetLastResponseResult( &event ); ++#endif + } + + Result BindToExistentServerAccount( +@@ -452,6 +469,12 @@ + u32 simpleAddressId, + const TimeZone& timeZone) + { ++ NN_UNUSED_VAR(gender); ++ NN_UNUSED_VAR(simpleAddressId); ++ NN_UNUSED_VAR(timeZone); ++ nn::Result result; ++ return result; ++#if 0 + { + nn::cfg::SimpleAddressId* pSimpleAddressId = reinterpret_cast(&simpleAddressId); + *pSimpleAddressId = nn::cfg::ConvertToWiiUSimpleAddressId( *pSimpleAddressId ); +@@ -470,6 +493,7 @@ + } + + return UpdateAccountInfo(xmlData); ++#endif + } + + Result UpdateIsEnabledToReceiveAds( bool isEnabledToReceiveAds )