@echo off
setlocal

cd /d %~dp0
for /f "delims=" %%i in ('cd') do set CURRENT=%%i

SET DST=..\..\..

IF NOT EXIST %DST%\Media\%1 (
  ECHO NOT FOUND %DST%\Media\%1
  REM PAUSE
  EXIT /B 1
)

copy /Y out_guid\guidlist_*.* %DST%\Media\%1\DKC200\san\SN2\SN2Files\data\base\WordInfo\guidance

copy /Y out_msg\Behavior_*.* %DST%\Media\%1\DKC200\san\SN2\SN2Files\data\base\WordInfo\message
copy /Y out_msg\IconID_*.* %DST%\Media\%1\DKC200\san\SN2\SN2Files\data\base\WordInfo\message
copy /Y out_msg\Measures_*.* %DST%\Media\%1\DKC200\san\SN2\SN2Files\data\base\WordInfo\message
copy /Y out_msg\Message_*.* %DST%\Media\%1\DKC200\san\SN2\SN2Files\data\base\WordInfo\message


@REM ####
@REM #### 旧GUIメッセージ
@REM ####


copy /Y out_msgold\MsgIndex.csv %DST%\Media\%1\DKC200\san\htdocs\san\datachgtbl
copy /Y out_msgold\ClientIMessage* %DST%\Media\%1\DKC200\san\htdocs\san\datachgtbl
copy /Y out_msgold\ServerIMessage* %DST%\Media\%1\DKC200\san\htdocs\san\datachgtbl

@REM ####
@REM #### 完了後の中間ファイル削除処理
@REM ####

@rem pause

endlocal

