Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###Consolidated TC GZDoom.bat###
- @ECHO OFF
- REM If your zdoom.ini file is in a location other than the default, put the path to your ZDoom .ini file here:
- SET ZDoomINI="..\zdoom-%username%.ini"
- REM This defines the IWAD to use if a PWAD is loaded
- SET IWAD="..\doom2.wad"
- REM If a command line parameter was provided, automatically load the IWAD as defined above
- SET /A ArgCount=0
- FOR %%C in (%*) DO SET /A ArgCount+=1
- SET Addons=""
- IF /I %ArgCount% GTR 0 SET Addons=%IWAD%
- REM Change to the Wolf3D TC directory so that you can drag and drop from other folders and it will still work
- CD "%~dp0"
- REM Check to see if Wolf3D .ini file is already there
- IF EXIST "zdoom-%username%-SoD.ini" (
- REM If so, run normally
- START ..\gzdoom.exe .\Wolf3D_Common.pk7 -config "zdoom-%username%-SoD.ini" -file %Addons% %*
- ) ELSE (
- REM If not, do initial setup for first run
- COPY %ZDoomINI% "zdoom-%username%-SoD.ini"
- START ..\gzdoom.exe .\Wolf3D_Common.pk7 -config "zdoom-%username%-SoD.ini" +exec Wolf3D_SoD.cfg -file %Addons% %*
- )
- ###Wolf3D GZDoom.bat###
- @ECHO OFF
- REM If your zdoom.ini file is in a location other than the default, put the path to your ZDoom .ini file here:
- SET ZDoomINI="..\zdoom-%username%.ini"
- REM This defines the IWAD to use if a PWAD is loaded
- SET IWAD="..\doom2.wad"
- REM If a command line parameter was provided, automatically load the IWAD as defined above
- SET /A ArgCount=0
- FOR %%C in (%*) DO SET /A ArgCount+=1
- SET Addons=""
- IF /I %ArgCount% GTR 0 SET Addons=%IWAD%
- REM Change to the Wolf3D TC directory so that you can drag and drop from other folders and it will still work
- CD "%~dp0"
- REM Check to see if Wolf3D .ini file is already there
- IF EXIST "zdoom-%username%-Wolf3D.ini" (
- REM If so, run normally
- START ..\gzdoom.exe .\Wolf3D.pk7 -config "zdoom-%username%-Wolf3d.ini" -file %Addons% %*
- ) ELSE (
- REM If not, do initial setup for first run
- COPY %ZDoomINI% "zdoom-%username%-Wolf3D.ini"
- START ..\gzdoom.exe .\Wolf3D.pk7 -config "zdoom-%username%-Wolf3d.ini" +exec Wolf3D.cfg -file %Addons% %*
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement