Some sweet batch files I made (Needs a little work)
Posted: Mon Nov 26, 2012 1:27 am
They're not perfect,
Only FFXIStart.bat needs to be executed, and the rest will happen automagically. It'd be nice to execute ffxiboot as well, while running the script and perhaps even run mysql, however, I'm having a hard enough time right now getting my server live, I've been focusing on fixing that...
They're all in the same folder as their respective DSConnect, DSGame, DSSearch-server.exe files.
------------------------------------------------First, there's a FFXIStart.bat file with the following:
@echo off
color 0a
echo **************************STARTING CONNECT**********************************
start DSConnect-server.exe
call DSGame.bat
if errorlevel 1 goto error
goto finish
:error
echo.
echo DSConnect-server failed to initialize...
pause
:finish
----------------------------------------Second, there's a DSGame.bat file with the following contents:
@echo off
color 0a
echo **************************STARTING GAME**********************************
call DSSearch.bat
timeout /t 5
start DSGame-server.exe
if errorlevel 1 goto error
goto finish
:error
echo.
echo DSGame-server failed to initialize...
pause
:finish
------------------------------------------Third, there's a DSSearch.bat file with the following contents:
@echo off
color 0a
echo **************************STARTING SEARCH**********************************
start DSSearch-server.exe
if errorlevel 1 goto error
goto finish
:error
echo.
echo DSSearch-server failed to initialize...
pause
:finish
Only FFXIStart.bat needs to be executed, and the rest will happen automagically. It'd be nice to execute ffxiboot as well, while running the script and perhaps even run mysql, however, I'm having a hard enough time right now getting my server live, I've been focusing on fixing that...
They're all in the same folder as their respective DSConnect, DSGame, DSSearch-server.exe files.
------------------------------------------------First, there's a FFXIStart.bat file with the following:
@echo off
color 0a
echo **************************STARTING CONNECT**********************************
start DSConnect-server.exe
call DSGame.bat
if errorlevel 1 goto error
goto finish
:error
echo.
echo DSConnect-server failed to initialize...
pause
:finish
----------------------------------------Second, there's a DSGame.bat file with the following contents:
@echo off
color 0a
echo **************************STARTING GAME**********************************
call DSSearch.bat
timeout /t 5
start DSGame-server.exe
if errorlevel 1 goto error
goto finish
:error
echo.
echo DSGame-server failed to initialize...
pause
:finish
------------------------------------------Third, there's a DSSearch.bat file with the following contents:
@echo off
color 0a
echo **************************STARTING SEARCH**********************************
start DSSearch-server.exe
if errorlevel 1 goto error
goto finish
:error
echo.
echo DSSearch-server failed to initialize...
pause
:finish