From 3d309a815d95e8a6334adbeb2b617d250e06a431 Mon Sep 17 00:00:00 2001 From: yosiokat Date: Wed, 20 May 2009 10:51:33 +0000 Subject: [PATCH] =?UTF-8?q?DispOwnerInfo=E3=81=8CTwlSDK=E3=81=A7=E3=82=82?= =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E3=81=8C=E9=80=9A=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2821 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tests/DispOwnerInfo/Makefile | 14 ++++--------- build/tests/DispOwnerInfo/banner/Makefile | 2 +- .../DispOwnerInfo/banner/myGameBanner.bsf | Bin 1180 -> 1176 bytes build/tests/DispOwnerInfo/readme.txt | 19 ++++++++++++++++++ build/tests/DispOwnerInfo/src/dispNCD.c | 4 +++- 5 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 build/tests/DispOwnerInfo/readme.txt diff --git a/build/tests/DispOwnerInfo/Makefile b/build/tests/DispOwnerInfo/Makefile index 1cfbe132..24f22784 100644 --- a/build/tests/DispOwnerInfo/Makefile +++ b/build/tests/DispOwnerInfo/Makefile @@ -54,8 +54,8 @@ SUBDIRS = banner #---------------------------------------------------------------------------- -TARGET_NEF = DebugForIPL2.nef -TARGET_BIN = DebugForIPL2.srl +TARGET_NEF = DispOwnerInfo.nef +TARGET_BIN = DispOwnerInfo.srl SRCS = main.c initFunc.c font.c data.c dispNCD.c myFunc.c myChar.c @@ -74,14 +74,13 @@ MAKEROM_ROMROOT = ./data MAKEROM_ROMFILES = *.bin LINCLUDES += include -LLIBRARY_DIRS += mlib/$(NITRO_LIBTYPE) -LLIBRARIES += libfnt.a +LLIBRARY_DIRS += mlib/$(NITRO_LIBTYPE) $(FONT_DIR) +LLIBRARIES += libfnt.a $(FONTS:.dat=.o) LDIRT_CLEAN = $(FONT_DIR)/*.o include $(NITROSDK_ROOT)/build/buildtools/commondefs -CCFLAGS += -DSDK_NCD_LOCAL_USE -DD$(IPL2_VER) #---------------------------------------------------------------------------- @@ -89,15 +88,10 @@ do-build: $(FONT_OBJS) $(TARGETS) include $(NITROSDK_ROOT)/build/buildtools/modulerules -OBJS_STATIC += $(FONT_OBJS) - $(TARGETS) : $(MAKEROM_ARM7) $(FONT_DIR)/%.o : $(FONT_DIR)/%.dat $(CW_BINDIR)/BinToElf.exe $< -aligndata 4 -endian little -output $@ -release: - updateReleasetime.plx src/mainMenu.c - #===== End of Makefile ===== diff --git a/build/tests/DispOwnerInfo/banner/Makefile b/build/tests/DispOwnerInfo/banner/Makefile index a665404a..c0dd732c 100644 --- a/build/tests/DispOwnerInfo/banner/Makefile +++ b/build/tests/DispOwnerInfo/banner/Makefile @@ -62,7 +62,7 @@ $(TARGETS): $(BANNER_SPEC) $(BANNER_ICON) #---------------------------------------------------------------------------- # test #---------------------------------------------------------------------------- -include $(NITROSDK_ROOT)/build/buildtools/commondefs.emtype.ISD +#include $(NITROSDK_ROOT)/build/buildtools/commondefs.emtype.ISD test: $(TARGETS) $(ADDBANNER) $(TARGETS) $(TARGETS:.bnr=.srl) diff --git a/build/tests/DispOwnerInfo/banner/myGameBanner.bsf b/build/tests/DispOwnerInfo/banner/myGameBanner.bsf index 78a2a72c4c78766f392c05105c841aad3d2118a6..3c65700e97f41fd8d38ac832cc197d4074c730b5 100644 GIT binary patch delta 26 icmbQkIfHY<0!BvT%?lYVnI_+1Hky2gQEsvxOCA7u)d;}= delta 34 qcmbQiIfrw@0!Buo%?lYVnK+dhJQ(~KtQZs~Z)DVFRG!Su(hC5cvj{o> diff --git a/build/tests/DispOwnerInfo/readme.txt b/build/tests/DispOwnerInfo/readme.txt new file mode 100644 index 00000000..9048b0a7 --- /dev/null +++ b/build/tests/DispOwnerInfo/readme.txt @@ -0,0 +1,19 @@ +コンポーネントの中韓対応情報 + +WW版のみ:rev.1より + + サンプル NitroSDK 2.00 : rev.1.34 + +中国対応:rev.1.35より + サンプル NitroSDK 2.01 : rev.1.38 + +韓国対応:rev.1.43より + サンプル TwlSDK 5.1PR1 : rev.* + + + +ビルド方法 + +NitroSDK2.00, 2.01は、CW1.00fcでビルドしてください。 +TwlSDK5.1PR1は、CW1.02でビルドしてください。また、TWLSDK_PLATFORM=NITROの環境でビルドしてください。 + diff --git a/build/tests/DispOwnerInfo/src/dispNCD.c b/build/tests/DispOwnerInfo/src/dispNCD.c index 20960d6c..1efdbacb 100644 --- a/build/tests/DispOwnerInfo/src/dispNCD.c +++ b/build/tests/DispOwnerInfo/src/dispNCD.c @@ -167,7 +167,9 @@ void SEQ_DispNCD_init( void ) ClearAllStringSJIS(); - (void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK]" ); +// (void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK 2.00 W]" ); +// (void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK 2.01 WC]" ); + (void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK 5.01 PR1 WCK]" ); DrawNCD_ElementName(); DrawNCD_Element();