cd ../kujira_text
svn cleanup
svn revert . -R
svn update --force
cd ../xy_project
svn cleanup
svn revert . -R
svn update --force
cd ../
ruby print_wc_revision_datetime.rb > ./xy_project/kujira.txt
cd ./xy_project
CALL fmk.bat X
set time2=%time: =0%
set time3=%time2:~0,2%%time2:~3,2%%time2:~6,2%
set fname=%date:~-10,4%%date:~-5,2%%date:~-2,2%
set f3=%fname%_%time3%
set f2=fx"%f3%".cci
set f4=fx"%f3%".cia
set f5=kujira_rom_update_%fname%
cp ./prog/modules/xy/images/CTR-TS.Process.MPCore.fast/Release/xy.cci ./%f2%
ctr_makecia32 -cci ./%f2% -o ./%f4%
rm -rf body.txt
ruby kujirasend.rb fx"%f3%".zip %f2% %f4%
zip -P password ./fx"%f3%".zip ./%f2% ./%f4%
C:\Windows\System32\ftp.exe -s:ftp.txt
plainmail.exe -hmail.gamefreak.co.jp -f"ohno_katsumi@gamefreak.co.jp" -t"nakao_noriko@nintendo.co.jp" -t"ichibayashi_hironori@nintendo.co.jp" -b"ohno_katsumi@gamefreak.co.jp" -F"body.txt" -s"%f5%"
REM plainmail.exe -hmail.gamefreak.co.jp -f"ohno_katsumi@gamefreak.co.jp" -t"ml-kujira-ROM@nintendo.co.jp" -F"body.txt" -s"%f5%"
REM こっちはテスト用
REM plainmail.exe -hmail.gamefreak.co.jp -f"ohno_katsumi@gamefreak.co.jp" -t"ohno_katsumi@gamefreak.co.jp" -F"body.txt" -s"%f5%"
NET USE z: \\xy.gamefreak.co.jp\z
xcopy *.zip z:\autorom
rm -rf ./*.zip
rm -rf ./*.cci
rm -rf ./*.cia
