mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-02 02:15:48 -04:00
remove btm files
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,2 +0,0 @@
|
||||
@for /r %x in (*.tpf) do (@echo %x... & pushd & cd %@PATH[%x] & TemplateCompiler -compile %@FILENAME[%x] & popd)
|
||||
@pause
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,55 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.xml) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
iff %@EXT[%INFILE] == xml then & (
|
||||
datatabletool -i %INFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& else (
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
)
|
||||
& endiff
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@echo off
|
||||
call cfgread.btm
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %INFILE
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,2 +0,0 @@
|
||||
@for /r %x in (*.tab) do (@echo %x... & pushd & cd %@PATH[%x] & datatabletool -i %@FILENAME[%x] & popd)
|
||||
@pause
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,2 +0,0 @@
|
||||
@for /r %x in (*.tab) do (@echo %x... & pushd & cd %@PATH[%x] & datatabletool -i %@FILENAME[%x] & popd)
|
||||
@pause
|
||||
@@ -1,19 +0,0 @@
|
||||
@echo off
|
||||
@SET TPF_COMPILER=TemplateCompiler
|
||||
|
||||
set startDir=%_cwd
|
||||
|
||||
for /a:-r %j in (*.tpf) DO (
|
||||
@echo Compiling %j
|
||||
%TPF_COMPILER -compile %j
|
||||
)
|
||||
for /a:d /h /r %i in (*) do (
|
||||
cd "%i"
|
||||
for /a:-r %j in (*.tpf) DO (
|
||||
@echo Compiling %j
|
||||
%TPF_COMPILER -compile %j
|
||||
)
|
||||
)
|
||||
|
||||
:end
|
||||
cd "%startDir"
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TDF_COMPILER=TemplateDefinitionCompiler
|
||||
|
||||
@FOR %i IN (*.tdf) DO (
|
||||
%TDF_COMPILER %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=TemplateCompiler
|
||||
|
||||
@FOR %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -compile %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=TemplateCompiler.exe
|
||||
|
||||
@FOR /A:-r %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -compile %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=TemplateCompiler.exe
|
||||
|
||||
@FOR %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -edit %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=serverTemplateCompiler
|
||||
|
||||
@FOR %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -edit %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TDF_COMPILER=templateDefinitionCompiler
|
||||
|
||||
@FOR %i IN (*.tdf) DO (
|
||||
%TDF_COMPILER -edit %i
|
||||
@rem @IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
for /r %x in (*.tpf) do (@echo %x... & pushd & cd %@PATH[%x] & TemplateCompiler -compile %@FILENAME[%x] & popd)
|
||||
pause
|
||||
@@ -1,30 +0,0 @@
|
||||
|
||||
|
||||
echo off
|
||||
set ROOT=%ROOTSWGDIRECTORY\all\tools\design\cfgread.btm
|
||||
call %ROOT
|
||||
rem clientspec is ROOTCLIENTSPEC
|
||||
rem root dir is ROOTSWGDIRECTORY
|
||||
set SCRIPTFILE=%@FULL[%1]
|
||||
set TESTPATH=%@PATH[%SCRIPTFILE]
|
||||
set WORKINGSTRING=%@INSTR[%@INC[%@LEN[%ROOTSWGDIRECTORY]],%@LEN[%TESTPATH],%TESTPATH]
|
||||
set SLASHINDEX=%@INDEX[%WORKINGSTRING,\]
|
||||
set ROOTBRANCH=%@INSTR[0,%SLASHINDEX,%WORKINGSTRING]
|
||||
set TEMPLATECOMPILER=%ROOTSWGDIRECTORY\%ROOTBRANCH\exe\win32\templatecompiler.exe
|
||||
echo on
|
||||
%TEMPLATECOMPILER -compile %1
|
||||
echo off
|
||||
if %ROOTSWGDIRECTORY=="" goto errorHandler
|
||||
|
||||
|
||||
if not exist %ROOTSWGDIRECTORY\all\tools\design\designtools.cfg quit
|
||||
set RELOADTARGET=%ROOTSWGDIRECTORY\all\tools\design\universalreload.btm
|
||||
call %RELOADTARGET %1
|
||||
quit
|
||||
:errorHandler
|
||||
@echo off
|
||||
echo You are missing a config file in your swg/all/tools/design directory.
|
||||
echo You should have a designtools.cfg in that directory.
|
||||
quit
|
||||
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
set startDir=%_cwd
|
||||
|
||||
REM FIND WHERE SCRIPT_PREP.PYC IS
|
||||
|
||||
set preprocessor=""
|
||||
set lim=%@WORDS[";", %path]
|
||||
do i = 0 to %@DEC[%lim]
|
||||
set test=%@WORD[";", %i, %path]
|
||||
if exist %test\script_prep.pyc (
|
||||
set preprocessor=%test\script_prep.pyc
|
||||
)
|
||||
enddo
|
||||
if %preprocessor="" (
|
||||
echo can't find script_prep.pyc in your path!
|
||||
goto end
|
||||
)
|
||||
|
||||
|
||||
REM FIND THE BASE SOURCE AND DESTINATION DIRECTORIES FOR JAVA
|
||||
|
||||
for %j in (*.script;*.scriptlib;*.java) do (
|
||||
set k=%@FULL[%j]
|
||||
set i=%@INDEX[%k,script]
|
||||
if %i ne -1 (
|
||||
set JAVASOURCEPATH=%@LEFT[%@EVAL[%i - 1],%k]
|
||||
goto foundSourcePath
|
||||
)
|
||||
)
|
||||
|
||||
echo can't find directory "script" in path
|
||||
goto end
|
||||
|
||||
:foundSourcePath
|
||||
set JAVACLASSPATH=%@REPLACE[dsrc,data,%JAVASOURCEPATH]
|
||||
|
||||
|
||||
REM RECURSIVELY GO DOWN THE DIRECTORIES, COMPILING SCRIPTS INTO JAVA FILES
|
||||
|
||||
cd "%startDir"
|
||||
for %scriptfile in (*.script;*.scriptlib) do (
|
||||
gosub compileScript
|
||||
)
|
||||
for /a:d /h /r %i in (*) do (
|
||||
cd %i
|
||||
for %scriptfile in (*.script;*.scriptlib) do (
|
||||
gosub compileScript
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
REM NOW COMPILE ALL THE JAVA FILES WE CREATED
|
||||
|
||||
cd "%startDir"
|
||||
for %javafile in (*.java) do (
|
||||
gosub compileJava
|
||||
)
|
||||
for /a:d /h /r %i in (*) do (
|
||||
cd %i
|
||||
for %javafile in (*.java) do (
|
||||
gosub compileJava
|
||||
)
|
||||
)
|
||||
|
||||
goto end
|
||||
|
||||
|
||||
:compileScript
|
||||
echo converting %@REPLACE[%JAVASOURCEPATH\, , %@FULL[%scriptfile]] to Java
|
||||
python %preprocessor -nocompile %scriptfile > NUL
|
||||
return
|
||||
|
||||
:compileJava
|
||||
set INFILE=%@FULL[%javafile]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
echo compiling %@REPLACE[%JAVASOURCEPATH\, , %@FULL[%javafile]]
|
||||
javac -classpath "%JAVACLASSPATH" -d "%JAVACLASSPATH" -sourcepath "%JAVASOURCEPATH" -g -deprecation %javafile
|
||||
return
|
||||
|
||||
|
||||
:end
|
||||
cd "%startDir"
|
||||
endlocal
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
for /r %x in (*.tpf) do (@echo %x... & pushd & cd %@PATH[%x] & TemplateCompiler -compile %@FILENAME[%x] & popd)
|
||||
pause
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,14 +0,0 @@
|
||||
@echo off
|
||||
if "%1" == "" goto all
|
||||
|
||||
:one
|
||||
DataTableTool -i %1
|
||||
goto end
|
||||
|
||||
:all
|
||||
DataTableTool -i appearance_table.tab
|
||||
DataTableTool -i door_style.tab
|
||||
DataTableTool -i wearable_appearance_map.tab
|
||||
DataTableTool -i appearance_info_table.tab
|
||||
|
||||
:end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (include\*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (include\*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (include\*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,40 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (include\*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
p4 edit %INFILE
|
||||
p4 edit %OUTFILE
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE -- -s SharedFile searchPath10=..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game searchPath10=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1 +0,0 @@
|
||||
DataTableTool -i modifiers.tab
|
||||
@@ -1,4 +0,0 @@
|
||||
DataTableTool -i valid_scale_range.tab
|
||||
DataTableTool -i logical_saddle_name_map.tab
|
||||
DataTableTool -i saddle_appearance_map.tab
|
||||
DataTableTool -i rider_pose_map.tab
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (include\*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (include\*.tab) do (gosub LABEL_process)
|
||||
for /r %x in (*.tab) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=iff
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
datatabletool -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1,37 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for /r %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=sfp
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
if exist %OUTFILE (if "%@ATTRIB[%OUTFILE,R,p]" == "1" (p4 edit %OUTFILE))
|
||||
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
:LABEL_end
|
||||
@@ -1 +0,0 @@
|
||||
@perl ..\..\..\..\..\..\tools\buildCrcStringTable.pl ..\..\..\..\..\..\data\sku.0\sys.shared\compiled\game\misc\planet_crc_string_table.iff planet_crc_string_table.txt
|
||||
@@ -1,20 +0,0 @@
|
||||
@echo off
|
||||
@SET TPF_COMPILER=TemplateCompiler
|
||||
|
||||
set startDir=%_cwd
|
||||
|
||||
for /a:d /h /r %i in (*) do (
|
||||
cd "%i"
|
||||
for %j in (*.tpf) DO (
|
||||
@echo Compiling %j
|
||||
%TPF_COMPILER -compile %j
|
||||
)
|
||||
)
|
||||
|
||||
for %j in (*.tpf) DO (
|
||||
@echo Compiling %j
|
||||
%TPF_COMPILER -compile %j
|
||||
)
|
||||
|
||||
:end
|
||||
cd "%startDir"
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TDF_COMPILER=TemplateDefinitionCompiler
|
||||
|
||||
@FOR %i IN (*.tdf) DO (
|
||||
%TDF_COMPILER %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=TemplateCompiler
|
||||
|
||||
@FOR %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -compile %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=TemplateCompiler.exe
|
||||
|
||||
@FOR /A:-r %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -compile %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TDF_COMPILER=templateDefinitionCompiler
|
||||
|
||||
@FOR %i IN (*.tdf) DO (
|
||||
%TDF_COMPILER -edit %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@SET TPF_COMPILER=..\..\..\..\..\..\..\..\exe\win32\templateCompiler
|
||||
|
||||
@FOR %i IN (*.tpf) DO (
|
||||
%TPF_COMPILER -edit %i
|
||||
@IF errorlevel != 0 GOTO end
|
||||
)
|
||||
|
||||
:end
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
for /r %x in (*.tpf) do (@echo %x... & pushd & cd %@PATH[%x] & TemplateCompiler -compile %@FILENAME[%x] & popd)
|
||||
pause
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
|
||||
echo off
|
||||
set ROOT=%ROOTSWGDIRECTORY\all\tools\design\cfgread.btm
|
||||
call %ROOT
|
||||
rem clientspec is ROOTCLIENTSPEC
|
||||
rem root dir is ROOTSWGDIRECTORY
|
||||
set SCRIPTFILE=%@FULL[%1]
|
||||
set TESTPATH=%@PATH[%SCRIPTFILE]
|
||||
set WORKINGSTRING=%@INSTR[%@INC[%@LEN[%ROOTSWGDIRECTORY]],%@LEN[%TESTPATH],%TESTPATH]
|
||||
set SLASHINDEX=%@INDEX[%WORKINGSTRING,\]
|
||||
set ROOTBRANCH=%@INSTR[0,%SLASHINDEX,%WORKINGSTRING]
|
||||
set TEMPLATECOMPILER=%ROOTSWGDIRECTORY\%ROOTBRANCH\exe\win32\templatecompiler.exe
|
||||
echo on
|
||||
%TEMPLATECOMPILER -compile %1
|
||||
echo off
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
@echo off
|
||||
|
||||
rem =================================================================
|
||||
rem
|
||||
rem makedata template for .mif files
|
||||
rem asommers
|
||||
rem
|
||||
rem copyright 2002, sony online entertainment
|
||||
rem
|
||||
rem =================================================================
|
||||
|
||||
if "%1" == "" goto LABEL_all
|
||||
|
||||
:LABEL_one
|
||||
for %x in (%1) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_all
|
||||
for %x in (*.mif) do (gosub LABEL_process)
|
||||
goto LABEL_end
|
||||
|
||||
:LABEL_process
|
||||
set INFILE=%@FULL[%x]
|
||||
set OUTPATH=%@REPLACE[dsrc,data,%@PATH[%INFILE]]
|
||||
set OUTNAME=%@NAME[%INFILE]
|
||||
set OUTEXT=trn
|
||||
set OUTFILE=%OUTPATH%%OUTNAME.%OUTEXT
|
||||
|
||||
rem -- make sure outpath exists
|
||||
if not exist %OUTPATH md /s %OUTPATH
|
||||
|
||||
@rem p4 edit %OUTFILE > nul
|
||||
miff -i %INFILE -o %OUTFILE
|
||||
@rem p4 add %OUTFILE > nul
|
||||
@rem p4 add %INFILE > nul
|
||||
echo %@FILENAME[%INFILE] -^> %@FILENAME[%OUTFILE]
|
||||
return
|
||||
|
||||
|
||||
|
||||
:LABEL_end
|
||||
Reference in New Issue
Block a user