Sniper's Paradise!


Basic Batch Files for Unreal
For WIN95/98/NT

What is a Batch File?

A Batch file is a file commonly created using NotePad and saved as a .bat file ( ie... TeamServer.bat ). It is used to start or execute another command or set of commands which normally would be started from the Run Commandline or MS-DOS prompt. It contains a number of different commands which will all be executed by just one action. It can be used in the case of Unreal to start a server based on a set of arguments...specifying game type, maps, mutators,etc. also if your server were to crash the batch file can make a "CrashLog" to record the server log at the time of the crash. It can then restart your server automatically,if your computer is still working :-). A **.bat file can be stored anywhere on your PC and it can be remotely started by linking it to a shortcut icon located on your Desktop screen area.

Win95/98
Common Batch Files Used to Start Unreal using UCC.exe:

Unreal-Team.bat used to start a basic Unreal TeamGame Server...

:top
c:
cd\Unreal\System
ucc server dmdeck16?game=UnrealShare.TeamGame ini=server1.ini log=server1.log
copy server1.log server1crash.log
goto top


Unreal-Coop.bat used to start a basic Unreal Coop Server

:top
c:
cd\Unreal\System
ucc server SpireVillage?game=UnrealShare.CoopGame ini=server2.ini log=server2.log
copy server2.log server2crash.log
goto top

Download this Unreal-Coop.bat file...Save it in your C:\Unreal\System directory ...WARNING clicking on it after you download it will try to start a server...please open it with NotePad first to make changes. Save this Icon to your DeskTop screen to start the bat file Unreal-Coop.pif

Another variation might be...RunServerCTF.bat

@echo off
:10
ucc server SpireVillage?game=UnrealShare.CoopGame ini=server.ini log=server.log
copy server.log servercrash.log
goto 10


Adding a mutator to your Coop server Unreal-Coop.bat

:top
c:
cd\Unreal\System
ucc server SpireVillage?game=UnrealShare.CoopGame?mutator=SP_MonsterHunt.StrongerMonster ini=server2.ini log=server2.log
copy server2.log server2crash.log
goto top


Adding multiple mutators to your Coop server Unreal-Coop.bat

:top
c:
cd\Unreal\System
ucc server SpireVillage?game=UnrealShare.CoopGame?mutator=SP_MonsterHunt.StrongerMonster,SP_MonsterHunt.MHStrongerMonster.RegenerateHealth ini=server2.ini log=server2.log
copy server2.log server2crash.log
goto top

Download this Unreal-Coop2.bat file..Save it in your C:\Unreal\System directory...WARNING clicking on it after you download it will try to start a server...please open it with NotePad first to make changes. Save this Icon to your DeskTop screen to start the bat file Unreal-Coop.pif



WIN/NT

Below is a bat file for NT:

start /wait C:\Unreal\System\ucc.exe server
DMBunkers.unr?game=Infiltration.InfilTeamGame?mutator=SP_NoPowerup.NoPower
ups -multihome=128.138.162.126

This is the SIMPLEST way of doing it! And it does restart on crash, thats what the '/wait' command does. I only add a crash log when testing a new mod or release. Otherwise they can get VERY large on a stable server, and if you restart it you've got all that extra space taken up on your HD in a second log.

*.bat will work in Win 95, 98, 98SE, NT, and 2000. The one listed above has been tested in ALL of them and works. The only things that will interfere in 9x versions are so-called 'crashguard' programs that will halt the restart process and wait for your input.


By: MutantKiller

Spam Killer

Back To Top
2005 Sniper's Paradise
All logos and trademarks are properties of their respective owners.
Unreal™ is a registered trademark of Epic Games Inc.
Privacy Policy
Website by Softly
Powered by RUSH