mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2342 b08762b0-b915-fc4b-9d8c-17b2551a87ff
52 lines
1.3 KiB
Bash
Executable File
52 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
#! bash -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - tools
|
|
# File: conv2svnDir.sh
|
|
#
|
|
# Copyright 2007 Nintendo. All rights reserved.
|
|
#
|
|
# These coded instructions, statements, and computer programs contain
|
|
# proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
# Company Ltd., and are protected by Federal copyright law. They may
|
|
# not be disclosed to third parties or copied or duplicated in any form,
|
|
# in whole or in part, without the prior written consent of Nintendo.
|
|
#
|
|
# $Date:: $
|
|
# $Rev$
|
|
# $Author$
|
|
#----------------------------------------------------------------------------
|
|
|
|
|
|
if [ $# -lt 1 ];
|
|
then
|
|
echo "input target dir name"
|
|
exit
|
|
fi
|
|
|
|
target=`echo $1 | sed -e 's/\/$//'`
|
|
target=$target"_forcls"
|
|
echo $target
|
|
|
|
mkdir $target
|
|
cd $target
|
|
find ../$1 -name "*.tad" -exec ../mkcls.py {} \;
|
|
cp ../cls.sh ./
|
|
|
|
# nandファームと、フォントを一応リージョン毎にコピー
|
|
mkdir jp
|
|
mkdir aus
|
|
mkdir usa
|
|
mkdir euro
|
|
|
|
cp `find ../$1/jp -name "*.nand"` jp
|
|
cp `find ../$1/jp -name "*.nand"` aus
|
|
cp `find ../$1/jp -name "*.nand"` usa
|
|
cp `find ../$1/jp -name "*.nand"` euro
|
|
cp `find ../$1/jp -name "*.dat"` jp
|
|
cp `find ../$1/jp -name "*.dat"` aus
|
|
cp `find ../$1/jp -name "*.dat"` usa
|
|
cp `find ../$1/jp -name "*.dat"` euro
|
|
|
|
|