From 4320a4c6dd907e7ee4575d4b137d997f2bdfe3cb Mon Sep 17 00:00:00 2001 From: nishikawa_takeshi Date: Wed, 16 Jul 2008 11:23:48 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=B3=E3=83=88=E3=83=86?= =?UTF-8?q?=E3=83=BC=E3=83=96=E3=83=AB=E4=BD=9C=E6=88=90=E3=82=B9=E3=82=AF?= =?UTF-8?q?=E3=83=AA=E3=83=97=E3=83=88=E3=82=92=E4=BF=AE=E6=AD=A3=E3=80=82?= =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=B3=E3=83=88=E5=9C=A7=E7=B8=AE=E6=99=82?= =?UTF-8?q?=E3=81=AB=20TWLSDK=5FROOT/tools/bin/compBLZ.exe=20=E3=82=92?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=83=91=E3=82=B9=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@1920 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- tools/bin/genFontTable.plx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tools/bin/genFontTable.plx b/tools/bin/genFontTable.plx index 9bd7efbb..dfb0254e 100644 --- a/tools/bin/genFontTable.plx +++ b/tools/bin/genFontTable.plx @@ -39,7 +39,7 @@ my $headerFile = "header.bin"; my $digestFile = "sha1.bin"; my $signFile = "sign.bin"; my $tempFile = "temp.bin"; -my $compprog = "./compBLZ_modified/bin/compBLZ.exe"; # 圧縮プログラム +my $compprog = "compBLZ.exe"; # 圧縮プログラム my $compoption = "-e \"\""; #my $compprog = "./ntrcomp/gcc/ntrcomp.exe"; #my $compoption = "-h8 -A32 -s"; @@ -54,12 +54,13 @@ sub deleteTemp { } # 環境変数からSDKのルートをサーチして(ntrcompの場所特定に必要) -#foreach ( sort keys ( %ENV ) ){ -# if ($_ =~ m/TWLSDK_ROOT/s) { -# $SDKROOT = $ENV{$_}; -# } -#} -#printf "TWLSDK_ROOT is ${SDKROOT}\n"; +foreach ( sort keys ( %ENV ) ){ + if ($_ =~ m/TWLSDK_ROOT/s) { + $SDKROOT = $ENV{$_}; + } +} +printf "TWLSDK_ROOT is ${SDKROOT}\n"; +$compprog = "${SDKROOT}/tools/bin/" . $compprog; my $signSize = 0x80; my $headerSize = 0x20;