mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(佐々木@PSEG1)CSU、リージョンとビルドタイムの表示、およびバナーの変更
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2253 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
146879ec08
commit
eb0c29dcb0
@ -117,7 +117,13 @@ INSTALL_DIR = $(SDK_NMENU_DATADIR)
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
do-build: $(TARGETS)
|
.PHONY: build_time
|
||||||
|
|
||||||
|
build_time:
|
||||||
|
echo -n "#define BUILD_TIME \"`date \"+%Y/%m/%d %H:%M:%S\"`\"" > include/build_time.h
|
||||||
|
|
||||||
|
|
||||||
|
do-build: build_time $(TARGETS)
|
||||||
|
|
||||||
#include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
#include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
||||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
||||||
|
|||||||
@ -93,7 +93,7 @@ Property
|
|||||||
#
|
#
|
||||||
# BANNER FILE: generated from Banner Spec File
|
# BANNER FILE: generated from Banner Spec File
|
||||||
#
|
#
|
||||||
BannerFile ../banner/banner.bnr
|
BannerFile ../banner/banner_EUR.bnr
|
||||||
|
|
||||||
###
|
###
|
||||||
### Setting for TWL
|
### Setting for TWL
|
||||||
@ -220,9 +220,9 @@ RomSpec
|
|||||||
{
|
{
|
||||||
Offset 0x00000000
|
Offset 0x00000000
|
||||||
Segment ALL
|
Segment ALL
|
||||||
HostRoot ../data/20080822_cls/euro
|
HostRoot ../data/20080822_test/euro
|
||||||
Root /data
|
Root /data
|
||||||
File hnap-v0.tad hnbp-v0.tad hnca-v0.tad hnda-v0.tad hnea-v0.tad hnfp-v0.tad hngp-v0.tad hnha-v0.tad hnip-v0.tad hnjp-v0.tad hnkp-v0.tad hnlp-v0.tad TWLFontTable.dat nandfirm_rcplus.nand
|
File hnap-v0.tad hnbp-v0.tad hnca-v0.tad hnha-v0.tad hnlp-v0.tad TWLFontTable.dat nandfirm_rcplus.nand
|
||||||
HostRoot $(PRIVKEY_PATH)
|
HostRoot $(PRIVKEY_PATH)
|
||||||
Root /key
|
Root /key
|
||||||
File $(HWINFO_PRIVKEY) $(HWID_PRIVKEY)
|
File $(HWINFO_PRIVKEY) $(HWID_PRIVKEY)
|
||||||
|
|||||||
@ -33,6 +33,7 @@
|
|||||||
#include "keypad.h"
|
#include "keypad.h"
|
||||||
#include "debugger_hw_reset_control.h"
|
#include "debugger_hw_reset_control.h"
|
||||||
#include "debugger_card_rom.h"
|
#include "debugger_card_rom.h"
|
||||||
|
#include "build_time.h"
|
||||||
|
|
||||||
#define SCRAMBLE_MASK 0x00406000
|
#define SCRAMBLE_MASK 0x00406000
|
||||||
|
|
||||||
@ -74,14 +75,7 @@ static const char* ImportTadFileList[] =
|
|||||||
"rom:/data/hnap-v0.tad",
|
"rom:/data/hnap-v0.tad",
|
||||||
"rom:/data/hnbp-v0.tad",
|
"rom:/data/hnbp-v0.tad",
|
||||||
"rom:/data/hnca-v0.tad",
|
"rom:/data/hnca-v0.tad",
|
||||||
"rom:/data/hnda-v0.tad",
|
|
||||||
"rom:/data/hnea-v0.tad",
|
|
||||||
"rom:/data/hnfp-v0.tad",
|
|
||||||
"rom:/data/hngp-v0.tad",
|
|
||||||
"rom:/data/hnha-v0.tad",
|
"rom:/data/hnha-v0.tad",
|
||||||
"rom:/data/hnip-v0.tad",
|
|
||||||
"rom:/data/hnjp-v0.tad",
|
|
||||||
"rom:/data/hnkp-v0.tad",
|
|
||||||
"rom:/data/hnlp-v0.tad",
|
"rom:/data/hnlp-v0.tad",
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -568,8 +562,9 @@ static void DrawWaitButtonA(void)
|
|||||||
(void)CARDi_ReadRomIDCoreEx(DEBUGGER_COMMAND_LOOK_SCREEN);
|
(void)CARDi_ReadRomIDCoreEx(DEBUGGER_COMMAND_LOOK_SCREEN);
|
||||||
CARD_UnlockRom((u16)sLockId);
|
CARD_UnlockRom((u16)sLockId);
|
||||||
|
|
||||||
kamiFontPrintfMain( 5, 3, 8, " System Updater ");
|
kamiFontPrintfMain( 5, 3, 8, " System Updater [EUR]");
|
||||||
kamiFontPrintfMain( 4, 5, 8, " --- ver %s %s ---", g_strSDKSvnRevision, g_strIPLSvnRevision );
|
kamiFontPrintfMain( 4, 5, 8, " --- ver %s %s ---", g_strSDKSvnRevision, g_strIPLSvnRevision );
|
||||||
|
kamiFontPrintfMain( 1, 6, 8, " Build time:%s", BUILD_TIME );
|
||||||
|
|
||||||
kamiFontPrintfMain( 5, 9, 3, " A Button: Start Update ");
|
kamiFontPrintfMain( 5, 9, 3, " A Button: Start Update ");
|
||||||
kamiFontPrintfMain( 5, 10, 3, " B Button: Cancel Update ");
|
kamiFontPrintfMain( 5, 10, 3, " B Button: Cancel Update ");
|
||||||
|
|||||||
BIN
build/tests/CustomSystemUpdater/banner/banner_AUS.bnr
Normal file
BIN
build/tests/CustomSystemUpdater/banner/banner_AUS.bnr
Normal file
Binary file not shown.
BIN
build/tests/CustomSystemUpdater/banner/banner_EUR.bnr
Normal file
BIN
build/tests/CustomSystemUpdater/banner/banner_EUR.bnr
Normal file
Binary file not shown.
BIN
build/tests/CustomSystemUpdater/banner/banner_JPN.bnr
Normal file
BIN
build/tests/CustomSystemUpdater/banner/banner_JPN.bnr
Normal file
Binary file not shown.
BIN
build/tests/CustomSystemUpdater/banner/banner_USA.bnr
Normal file
BIN
build/tests/CustomSystemUpdater/banner/banner_USA.bnr
Normal file
Binary file not shown.
@ -97,6 +97,7 @@ def make_rsf(config)
|
|||||||
tadlist = tadlist.join(" ")
|
tadlist = tadlist.join(" ")
|
||||||
src = File.read(config[:TemplatePath] + "/" + config[:RSF])
|
src = File.read(config[:TemplatePath] + "/" + config[:RSF])
|
||||||
src = replace_data(src, "datapath", config[:DataPath])
|
src = replace_data(src, "datapath", config[:DataPath])
|
||||||
|
src = replace_data(src, "regionname", config[:Region])
|
||||||
write_data(config[:TargetPath] + "/" + config[:RSF], replace_data(src, "filelist", tadlist))
|
write_data(config[:TargetPath] + "/" + config[:RSF], replace_data(src, "filelist", tadlist))
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -114,8 +115,10 @@ def make_main(config)
|
|||||||
mod = replace_data(mod, "fontfile", config[:FontFile])
|
mod = replace_data(mod, "fontfile", config[:FontFile])
|
||||||
|
|
||||||
# region
|
# region
|
||||||
region = (REGION[config[:Region]] != nil) ? REGION[config[:Region]] : REGION["JPN"]
|
region_name = (config[:Region] != nil) ? config[:Region] : "JPN"
|
||||||
|
region = (REGION[region_name] != nil) ? REGION[region_name] : REGION["JPN"]
|
||||||
mod = replace_data(mod, "region", region)
|
mod = replace_data(mod, "region", region)
|
||||||
|
mod = replace_data(mod, "regionname", region_name)
|
||||||
write_data(config[:TargetPath] + "/" + config[:SRC], mod)
|
write_data(config[:TargetPath] + "/" + config[:SRC], mod)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -93,7 +93,7 @@ Property
|
|||||||
#
|
#
|
||||||
# BANNER FILE: generated from Banner Spec File
|
# BANNER FILE: generated from Banner Spec File
|
||||||
#
|
#
|
||||||
BannerFile ../banner/banner.bnr
|
BannerFile ../banner/banner_%regionname%.bnr
|
||||||
|
|
||||||
###
|
###
|
||||||
### Setting for TWL
|
### Setting for TWL
|
||||||
|
|||||||
@ -33,6 +33,7 @@
|
|||||||
#include "keypad.h"
|
#include "keypad.h"
|
||||||
#include "debugger_hw_reset_control.h"
|
#include "debugger_hw_reset_control.h"
|
||||||
#include "debugger_card_rom.h"
|
#include "debugger_card_rom.h"
|
||||||
|
#include "build_time.h"
|
||||||
|
|
||||||
#define SCRAMBLE_MASK 0x00406000
|
#define SCRAMBLE_MASK 0x00406000
|
||||||
|
|
||||||
@ -556,8 +557,9 @@ static void DrawWaitButtonA(void)
|
|||||||
(void)CARDi_ReadRomIDCoreEx(DEBUGGER_COMMAND_LOOK_SCREEN);
|
(void)CARDi_ReadRomIDCoreEx(DEBUGGER_COMMAND_LOOK_SCREEN);
|
||||||
CARD_UnlockRom((u16)sLockId);
|
CARD_UnlockRom((u16)sLockId);
|
||||||
|
|
||||||
kamiFontPrintfMain( 5, 3, 8, " System Updater ");
|
kamiFontPrintfMain( 5, 3, 8, " System Updater [%regionname%]");
|
||||||
kamiFontPrintfMain( 4, 5, 8, " --- ver %s %s ---", g_strSDKSvnRevision, g_strIPLSvnRevision );
|
kamiFontPrintfMain( 4, 5, 8, " --- ver %s %s ---", g_strSDKSvnRevision, g_strIPLSvnRevision );
|
||||||
|
kamiFontPrintfMain( 1, 6, 8, "Build time:%s", BUILD_TIME );
|
||||||
|
|
||||||
kamiFontPrintfMain( 5, 9, 3, " A Button: Start Update ");
|
kamiFontPrintfMain( 5, 9, 3, " A Button: Start Update ");
|
||||||
kamiFontPrintfMain( 5, 10, 3, " B Button: Cancel Update ");
|
kamiFontPrintfMain( 5, 10, 3, " B Button: Cancel Update ");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user