mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
TestMakerとパーミッションチェックプログラム更新
自動生成される.paramでMAKEROM指定している部分をoverride 定義にして、Makefileで.paramファイルを読み込む位置をcommondefsの前に変更 OptionでUseFinalHeaderを定義しておくと、RomHeader以下のヘッダからゲームコードの合うものを使うように変更 FS_RESULT_ERRORが返ってきているので、一時的に戻す git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2129 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
487a7ed4fd
commit
5073e9fbd5
BIN
RomHeader/0F0A/libsyscall.a
Normal file
BIN
RomHeader/0F0A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F0A/rom_header_0f0a.template.sbin
Normal file
BIN
RomHeader/0F0A/rom_header_0f0a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F1A/libsyscall.a
Normal file
BIN
RomHeader/0F1A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F1A/rom_header_0f1a.template.sbin
Normal file
BIN
RomHeader/0F1A/rom_header_0f1a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F2A/libsyscall.a
Normal file
BIN
RomHeader/0F2A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F2A/rom_header_0f2a.template.sbin
Normal file
BIN
RomHeader/0F2A/rom_header_0f2a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F3A/libsyscall.a
Normal file
BIN
RomHeader/0F3A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F3A/rom_header_0f3a.template.sbin
Normal file
BIN
RomHeader/0F3A/rom_header_0f3a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F4A/libsyscall.a
Normal file
BIN
RomHeader/0F4A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F4A/rom_header_0f4a.template.sbin
Normal file
BIN
RomHeader/0F4A/rom_header_0f4a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F5A/libsyscall.a
Normal file
BIN
RomHeader/0F5A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F5A/rom_header_0f5a.template.sbin
Normal file
BIN
RomHeader/0F5A/rom_header_0f5a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F6A/libsyscall.a
Normal file
BIN
RomHeader/0F6A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F6A/rom_header_0f6a.template.sbin
Normal file
BIN
RomHeader/0F6A/rom_header_0f6a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F7A/libsyscall.a
Normal file
BIN
RomHeader/0F7A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F7A/rom_header_0f7a.template.sbin
Normal file
BIN
RomHeader/0F7A/rom_header_0f7a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F8A/libsyscall.a
Normal file
BIN
RomHeader/0F8A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F8A/rom_header_0f8a.template.sbin
Normal file
BIN
RomHeader/0F8A/rom_header_0f8a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0F9A/libsyscall.a
Normal file
BIN
RomHeader/0F9A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0F9A/rom_header_0f9a.template.sbin
Normal file
BIN
RomHeader/0F9A/rom_header_0f9a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0FAA/libsyscall.a
Normal file
BIN
RomHeader/0FAA/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0FAA/rom_header_0faa.template.sbin
Normal file
BIN
RomHeader/0FAA/rom_header_0faa.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0FBA/libsyscall.a
Normal file
BIN
RomHeader/0FBA/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0FBA/rom_header_0fba.template.sbin
Normal file
BIN
RomHeader/0FBA/rom_header_0fba.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0FCA/libsyscall.a
Normal file
BIN
RomHeader/0FCA/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0FCA/rom_header_0fca.template.sbin
Normal file
BIN
RomHeader/0FCA/rom_header_0fca.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0FDA/libsyscall.a
Normal file
BIN
RomHeader/0FDA/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0FDA/rom_header_0fda.template.sbin
Normal file
BIN
RomHeader/0FDA/rom_header_0fda.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0FEA/libsyscall.a
Normal file
BIN
RomHeader/0FEA/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0FEA/rom_header_0fea.template.sbin
Normal file
BIN
RomHeader/0FEA/rom_header_0fea.template.sbin
Normal file
Binary file not shown.
@ -20,7 +20,7 @@ include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
SUBDIRS = RelocateChecker
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -261,7 +261,7 @@ static AccessPermission RWTestCore( char *path, char *testfile )
|
||||
FSResult fs_result = FS_GetArchiveResultCode( filename );
|
||||
if( !s_quiettest ) OS_TPrintf("%s:cleate failed.\n",filename);
|
||||
OS_TPrintf( "FS_GetArchiveResultCode(%s) : %d\n", filename, fs_result );
|
||||
if( FS_RESULT_NO_ENTRY == fs_result )
|
||||
if( FS_RESULT_ERROR == fs_result )
|
||||
{
|
||||
// ファイル作成にNO_ENTRY=存在しないディレクトリの下にファイルを作ろうとしたかマウントされていない
|
||||
// どちらにせよアクセスできないし、ディレクトリの存在を確認する事もできないので、パーミッションNAとして扱う
|
||||
|
||||
@ -209,13 +209,14 @@ ROM_SPEC = twl_$(GAMECODE).rsf
|
||||
|
||||
INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN)
|
||||
|
||||
include $(GAMECODE).param
|
||||
|
||||
ifeq ($(USE_IPL_RED_LIB),TRUE)
|
||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||
else
|
||||
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||
include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib
|
||||
endif
|
||||
include $(GAMECODE).param
|
||||
|
||||
# boottestの時だけARM7コンポーネントの指定
|
||||
# このあたりの指定が苦肉すぎるので妙案募集中
|
||||
|
||||
Binary file not shown.
@ -54,9 +54,9 @@ for num in romparam.keys():
|
||||
if romparam[num][rsfkey].get('AppType') == 'SYSTEM':
|
||||
#----- MAKEROM の指定
|
||||
if romparam[num][rsfkey]['Secure']:
|
||||
codeparam.write('MAKEROM := $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe\n')
|
||||
codeparam.write('override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe\n')
|
||||
else:
|
||||
codeparam.write('MAKEROM := $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe\n')
|
||||
codeparam.write('override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe\n')
|
||||
codeparam.write('MAKETAD_OPTION += -s\n')
|
||||
romspectemplate = '$(ROOT)/include/twl/specfiles/ROM-TS_sys.rsf'
|
||||
else:
|
||||
@ -69,6 +69,11 @@ for num in romparam.keys():
|
||||
romspectemplate = romparam[num][optkey].get('RomSpecTemplate')
|
||||
codeparam.write(''.join(['ROM_SPEC_TEMPLATE = ',romspectemplate,'\n']))
|
||||
|
||||
#----- ROM_HEADER_TEMPLATEおよびLIBSYSCALLの指定
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('UseFinalHeader'):
|
||||
codeparam.write(''.join(['ROM_HEADER_TEMPLATE = $(SYSMENU_ROM_HEADER_DIR)',gamecode,'/rom_header_$(call toLower,',gamecode,').template.sbin\n']))
|
||||
codeparam.write(''.join(['LIBSYSCALL = $(SYSMENU_ROM_HEADER_DIR)',gamecode,'/libsyscall.a\n']))
|
||||
|
||||
#----- ROM_SPEC_OPTIONS key の抽出
|
||||
if romparam[num][rsfkey].get('AppType') == 'SYSTEM':
|
||||
keys = [key for key in romparam[num][rsfkey].keys() if key != 'TitleType' and key != 'eTicket' ]
|
||||
@ -104,6 +109,9 @@ for num in romparam.keys():
|
||||
#----- Rating 関連 ROM_SPEC_OPTIONS
|
||||
if romparam[num].has_key(ratingkey):
|
||||
rsf_opt.append('%s=%s '%(romparam[num][ratingkey]['Ogn'],str(romparam[num][ratingkey]['Age'])))
|
||||
#----- RomHeaderTemplateの指定
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('UseFinalHeader'):
|
||||
rsf_opt.append('RomHeaderTemplate=$(call empath,$(ROM_HEADER_TEMPLATE)) ')
|
||||
#----- ROM_SPEC_OPTIONS の指定
|
||||
rsf_opt_str = ''.join(rsf_opt)
|
||||
codeparam.write('ROM_SPEC_PARAM = %s\n' % rsf_opt_str)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user