Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
@ECHO OFF
echo Usage: Place all vtfs to be converted and this bat file
echo in the same directory with vtf2tga.exe. The converted
echo tgas will be in a folder called tgas.
pause
mkdir tgas
for %%f in (*.vtf) do vtf2tga %%f tgas\%%f
ren tgas\*.vtf *.tga
cls
set /p userinp=Delete originals?(y/n)
set userinp=%userinp:~0,1%
if "%userinp%"=="y" goto delete
goto end
:delete
del *.vtf
:end
d'keesto said:SOLVED!
I searched all over the internet to figure out how to write batch files.
Save this as a bat file and put it in the same directory as vtf2tga.exe:
Code:@ECHO OFF echo Usage: Place all vtfs to be converted and this bat file echo in the same directory with vtf2tga.exe. The converted echo tgas will be in a folder called tgas. pause mkdir tgas for %%f in (*.vtf) do vtf2tga %%f tgas\%%f ren tgas\*.vtf *.tga cls set /p userinp=Delete originals?(y/n) set userinp=%userinp:~0,1% if "%userinp%"=="y" goto delete goto end :delete del *.vtf :end
Windows XP/2000 will also give you the option to delete originals.
MetalPiranha said:Ive tried the
@ECHO OFF
echo Usage: Place all vtfs to be converted and this bat file
echo in the same directory with vtf2tga.exe. The converted
echo tgas will be in a folder called tgas.
pause
mkdir tgas
for %%f in (*.vtf) do vtf2tga %%f tgas\%%f
ren tgas\*.vtf *.tga
cls
set /p userinp=Delete originals?(y/n)
set userinp=%userinp:~0,1%
if "%userinp%"=="y" goto delete
goto end
:delete
del *.vtf
:end
But no tgas are created in the directory... just the folder.
Any ideas?