text
stringlengths
0
834k
:mChat
cls
echo Press 1 to display the Chat window
echo Press 2 to hide the chat window
set /p mChat=Press the desired number [1-2] then press enter:
if %mChat%==1 set Chat=1
if %mChat%==2 set Chat=0
cls
if %mChat%==1 echo You have enabled the chat window.
if %mChat%==2 echo You have disabled the chat window.
pause
goto mGlobal
:mVideo
cls
echo Press 1 to display the Video window
echo Press 2 to hide the Video window
set /p mVideo=Press the desired number [1-2] then press enter:
if %mVideo%==1 set Video=1
if %mVideo%==2 set Video=0
cls
if %mVideo%==1 echo You have enabled the video window.
if %mVideo%==2 echo You have disabled the video window.
pause
goto mGlobal
:mLargeoutline
cls
echo Press 1 to enable the Largeoutline setting
echo Press 2 to Disable the Largeoutline setting
set /p mLargeoutline=Press the desired number [1-2] then press enter:
if %mLargeoutline%==1 set Largeoutline=1
if %mLargeoutline%==2 set Largeoutline=0
cls
if %mLargeoutline%==1 echo You have enabled Largeoutline.
if %mLargeoutline%==2 echo You have disabled Largeoutline.
pause
goto mGlobal
:videocodec
cls
echo Press 1 for: Windows Media Video 9
echo Press 2 for: Windows Media Video 9 Screen
echo.
set /p mvcodec=Press [1 or 2] then press enter:
if %mvcodec%==1 set vcodec=Windows Media Video 9
if %mvcodec%==2 set vcodec=Windows Media Video 9 Screen
cls
echo You have set the Video codec to:
echo %vcodec%
pause
goto mWMV
:audiocodec
cls
echo Press 1 for: Windows Media Audio 9.2
echo Press 2 for: Windows Media Audio 9.2 Lossless
echo Press 3 for: Windows Media Audio 10 Professional
echo.
set /p macodec=Press [1-3] then press enter:
if %macodec%==1 set acodec=Windows Media Audio 9.2
if %macodec%==2 set acodec=Windows Media Audio 9.2 Lossless
if %macodec%==3 set acodec=Windows Media Audio 10 Professional
cls
echo You have set the Audio codec to:
echo %acodec%
pause
goto mWMV
:where
if %ftype% EQU MP4 goto premp4cfg
if %ftype% EQU WMV goto prewmvcfg
if %ftype% EQU SWF goto preswfcfg
cls
echo An error has occored. Please email me with what happened :(
echo Error location ""where""
echo elliot-labs@live.com
pause
goto end
rem The above code routes the user to the diffrent config makers based on there input.
:premp4cfg
cls
setlocal
set cd=%source%
cd /d %cd%
for %%a in (""%cd%\*.arf"") do call:MakeMP4CFG ""%%~a"" ""%dest%"" ""%source%""
for %%a in (""%cd%\*.cfg"") do set /a count +=1
for %%a in (""%cd%\*.cfg"") do call:countnconvert ""%%~a"" ""%source%"" ""%count%"" & set /a count -=1
del *.cfg