mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
・システムメニュー内アプリのTitleID変更
セキュアアプリ:ランチャー、本体設定、HWInfoWriter、NandInitializer システムアプリ:ピクトチャット、DSダウンロードプレイ システムデータonly:無線ファーム ・上記TitleID変更に合わせて、使用するmakerom.TWLを変更。 ・makerom.TWL.sysとmakerom.TWL.secureは、TwlSDKから参照するよう変更。 ・attach_dummyromheaderで設定するTitleIDは、"dataOnly"フラグが必ず立つよう変更。 ・ドキュメント更新。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@884 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
49c5affe59
commit
f98292f8f0
@ -39,7 +39,7 @@ static const u8 rsa_key[128] =
|
||||
static u8 acHeap[RSA_HEAP_SIZE] __attribute__ ((aligned (32)));
|
||||
static SVCSignHeapContext acPool;
|
||||
|
||||
#define MENU_TITLE_ID_HI 0x00030007ULL
|
||||
#define MENU_TITLE_ID_HI 0x00030017ULL
|
||||
#define MENU_TITLE_ID_LO 0x4c4e4352ULL
|
||||
#define MENU_TITLE_ID (MENU_TITLE_ID_HI << 32 | MENU_TITLE_ID_LO)
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ LDEPENDS_NEF =
|
||||
|
||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||
|
||||
MAKEROM = $(SYSMENU_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -63,7 +63,7 @@ MAKETAD_FLAGS += -s
|
||||
|
||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||
|
||||
MAKEROM = $(SYSMENU_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe
|
||||
|
||||
LDIRT_CLEAN = $(TARGET_TAD)
|
||||
INSTALL_TARGETS = $(TARGET_TAD)
|
||||
|
||||
@ -154,6 +154,16 @@ AppendProperty
|
||||
#
|
||||
Media NAND
|
||||
|
||||
#
|
||||
# Data only title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
DataOnly FALSE
|
||||
|
||||
#
|
||||
# Secure title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
Secure TRUE
|
||||
|
||||
#
|
||||
# GameCode for TitleID : Your GameCode in 4 ascii words
|
||||
#
|
||||
|
||||
@ -155,6 +155,16 @@ AppendProperty
|
||||
#
|
||||
Media NAND
|
||||
|
||||
#
|
||||
# Data only title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
DataOnly FALSE
|
||||
|
||||
#
|
||||
# Secure title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
Secure TRUE
|
||||
|
||||
#
|
||||
# GameCode for TitleID : Your GameCode in 4 ascii words
|
||||
#
|
||||
|
||||
@ -53,7 +53,7 @@ MAKETAD_FLAGS += -s
|
||||
|
||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||
|
||||
MAKEROM = $(SYSMENU_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe
|
||||
|
||||
LDIRT_CLEAN = $(TARGET_TAD)
|
||||
INSTALL_TARGETS = $(TARGET_TAD)
|
||||
|
||||
@ -154,6 +154,16 @@ AppendProperty
|
||||
#
|
||||
Media NAND
|
||||
|
||||
#
|
||||
# Data only title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
DataOnly FALSE
|
||||
|
||||
#
|
||||
# Secure title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
Secure TRUE
|
||||
|
||||
#
|
||||
# GameCode for TitleID : Your GameCode in 4 ascii words
|
||||
#
|
||||
|
||||
@ -93,7 +93,8 @@ LLIBRARIES += libes$(TWL_LIBSUFFIX).a \
|
||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||
include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib
|
||||
|
||||
MAKEROM = $(SYSMENU_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe
|
||||
|
||||
|
||||
LDIRT_CLEAN = $(TARGET_TAD)
|
||||
INSTALL_TARGETS = $(TARGET_TAD)
|
||||
|
||||
@ -149,6 +149,16 @@ AppendProperty
|
||||
# don't have to edit
|
||||
Launch TRUE
|
||||
|
||||
#
|
||||
# Data only title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
DataOnly FALSE
|
||||
|
||||
#
|
||||
# Secure title : [TRUE/FALSE]
|
||||
# don't have to edit
|
||||
Secure TRUE
|
||||
|
||||
#
|
||||
# Boot allowed Media: [GameCard/NAND]
|
||||
#
|
||||
|
||||
@ -43,7 +43,7 @@ MAKETAD_FLAGS += -s
|
||||
|
||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||||
|
||||
MAKEROM = $(SYSMENU_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe
|
||||
|
||||
LDIRT_CLEAN = $(TARGET_TAD)
|
||||
INSTALL_TARGETS = $(TARGET_TAD)
|
||||
|
||||
@ -40,6 +40,7 @@ static ROM_Header rom_header;
|
||||
#define CHANNEL_SYSTEM_BIT 0x1
|
||||
#define CHANNEL_SHOW_BIT 0x2
|
||||
#define CHANNEL_CARD_BIT 0x4
|
||||
#define CHANNEL_DATA_ONLY_BIT 0x8
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
@ -168,7 +169,11 @@ int main(int argc, char *argv[])
|
||||
[16-31]: PublisherCode( 2:Broadon, 3:Nintendo)
|
||||
*/
|
||||
|
||||
rom_header.s.titleID_Hi = ( 3 /* Nintendo */ << 16) | 4 | (isLaunch? 2:0) | (isSystem? 1:0);
|
||||
rom_header.s.titleID_Hi = ( 3 /* Nintendo */ << 16) |
|
||||
CHANNEL_CARD_BIT |
|
||||
CHANNEL_DATA_ONLY_BIT |
|
||||
(isLaunch? 2:0) |
|
||||
(isSystem? 1:0);
|
||||
|
||||
printf("titleID = 0x%08X%08x\n", (unsigned int)rom_header.s.titleID_Hi, (unsigned int)*((u32 *)&(rom_header.s.titleID_Lo[0])));
|
||||
|
||||
|
||||
BIN
docs/X4ボード対応/X4_TSボード搭載ランチャー準備.mmap
Normal file
BIN
docs/X4ボード対応/X4_TSボード搭載ランチャー準備.mmap
Normal file
Binary file not shown.
BIN
docs/X4ボード対応/機材別REDランチャー機能.xls
Normal file
BIN
docs/X4ボード対応/機材別REDランチャー機能.xls
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user