mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
出力ファイルチェッカ:テスト用一時情報ファイルの記述に誤りがあったので修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@221 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
d09951be93
commit
c9605131ed
@ -5,12 +5,12 @@
|
|||||||
<MasterEditorVersion>1.4</MasterEditorVersion>
|
<MasterEditorVersion>1.4</MasterEditorVersion>
|
||||||
<ProductName>Sample Game Name</ProductName>
|
<ProductName>Sample Game Name</ProductName>
|
||||||
<ProductCode1>P</ProductCode1>
|
<ProductCode1>P</ProductCode1>
|
||||||
<ProductCode2>KUGE</ProductCode2>
|
<ProductCode2>KGUE</ProductCode2>
|
||||||
<ProductNameForeign>Sample Game Name Foreign</ProductNameForeign>
|
<ProductNameForeign>Sample Game Name Foreign</ProductNameForeign>
|
||||||
<ProductCode1Foreign>P</ProductCode1Foreign>
|
<ProductCode1Foreign>P</ProductCode1Foreign>
|
||||||
<ProductCode2Foreign1>KUGJ</ProductCode2Foreign1>
|
<ProductCode2Foreign1>KGUJ</ProductCode2Foreign1>
|
||||||
<ProductCode2Foreign2>KUGP</ProductCode2Foreign2>
|
<ProductCode2Foreign2>KGUP</ProductCode2Foreign2>
|
||||||
<ProductCode2Foreign3>KUGU</ProductCode2Foreign3>
|
<ProductCode2Foreign3>KGUU</ProductCode2Foreign3>
|
||||||
<SubmitVersion>0</SubmitVersion>
|
<SubmitVersion>0</SubmitVersion>
|
||||||
<Backup>4</Backup>
|
<Backup>4</Backup>
|
||||||
<ReleaseForeign>Y</ReleaseForeign>
|
<ReleaseForeign>Y</ReleaseForeign>
|
||||||
|
|||||||
@ -1,46 +0,0 @@
|
|||||||
@echo off
|
|
||||||
|
|
||||||
rem
|
|
||||||
rem mastering & comparing sample batch file
|
|
||||||
rem
|
|
||||||
rem Simple usage: SRLファイルをドラッグすると%output_path%にマスタリング
|
|
||||||
rem 結果を出力し、正しくできたか検証を行う
|
|
||||||
rem
|
|
||||||
rem 要確認変数: mastering_tool, comparing_tool, output_path
|
|
||||||
rem 補足: %~d0%~p0はバッチファイルのパスです
|
|
||||||
rem 補足: %~d1%~p1は各入力ファイルのパスです
|
|
||||||
rem
|
|
||||||
|
|
||||||
rem 引数チェック
|
|
||||||
set usage=USAGE: %~nx0 INPUT_FILE...
|
|
||||||
if ""%1"" == """" (
|
|
||||||
echo %usage%
|
|
||||||
echo 使用方法が間違っています。
|
|
||||||
echo SRLもしくはXMLをドラッグアンドドロップしてください。
|
|
||||||
echo.
|
|
||||||
goto end
|
|
||||||
)
|
|
||||||
|
|
||||||
rem ユーザ入力
|
|
||||||
set user_input_prefix=
|
|
||||||
set /P user_input_prefix="ファイル名の接頭辞を入力してください (例: JP_CERO_00_J) => "
|
|
||||||
echo 接頭辞を %user_input_prefix% としてファイル名を変換します。
|
|
||||||
|
|
||||||
rem ループ開始 (%0を使うのはここまで、%1を使うのはここから、%2以降は使わない)
|
|
||||||
:begin
|
|
||||||
|
|
||||||
rem 出力パス設定
|
|
||||||
set input_file=%~dpnx1
|
|
||||||
set output_file=%user_input_prefix%%~x1
|
|
||||||
|
|
||||||
ren "%input_file%" "%output_file%"
|
|
||||||
|
|
||||||
rem 入力ファイルが残っているならbeginに戻る
|
|
||||||
shift
|
|
||||||
if ""%1"" neq """" goto begin
|
|
||||||
|
|
||||||
rem 終了 (キー入力待ち)
|
|
||||||
:end
|
|
||||||
echo.
|
|
||||||
echo すべてのチェックが終了しました。
|
|
||||||
pause
|
|
||||||
Loading…
Reference in New Issue
Block a user