Smartlaunch Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Simple PB Updater Script I MadeExpand / Collapse
Author
Message
Posted 15-03-2008 22:27:03
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 16-03-2008 18:50:22
Posts: 2, Visits: 2
I supply this as a public service.



rem PBRESET.BAT
@echo off
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=0
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=1
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=2
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=3
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=4
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=5
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=6
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=7
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=8
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=9
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=10
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=11
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=12
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=13
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=14
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=15
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=16
pbsetup.exe --i-accept-the-pb-eula --quiet --remove=17

REM PBUPDATE.BAT
@echo off
echo Updating PunkBuster
z:
cd \pbsetup

call pbreset.bat

if not exist "c:magames\wolf-et 2\.55" goto next1
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="et" --add-game-path="C:\NMAGames\Wolf-ET 2.55"
pbsetup.exe --quiet --i-accept-the-pb-eula --update
pbsetup.exe --quiet --i-accept-the-pb-eula --remove=0
:next1

if not exist "c:magames\wolf-et 2\.60" goto next2
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="et" --add-game-path="C:\NMAGames\Wolf-ET 2.60"
pbsetup.exe --quiet --i-accept-the-pb-eula --update
pbsetup.exe --quiet --i-accept-the-pb-eula --remove=0
:next2

call pbreset.bat

if not exist "c:magames\america's army" goto next3
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="aao" --add-game-path="c:magames\America's Army"
:next3

if not exist "c:magames\ea games\battlefield 2" goto next4
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="bf2" --add-game-path="C:\NMAGames\EA GAMES\Battlefield 2"
:next4

if not exist "c:magames\Electronic Arts\Battlefield 2142" goto next5
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="bf2142" --add-game-path="C:\NMAGames\Electronic Arts\Battlefield 2142"
:next5

if not exist "c:magames\EA GAMES\Battlefield Vietnam" goto next6
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="bfv" --add-game-path="C:\NMAGames\EA GAMES\Battlefield Vietnam"
:next6

if not exist "c:magames\Activision\Call of Duty 2" goto next7
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="cod2" --add-game-path="C:\NMAGames\Activision\Call of Duty 2"
:next7

if not exist "c:magames\Electronic Arts\Battlefield 2142" goto next8
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="cod4" --add-game-path="C:\NMAGames\Activision\Call of Duty 4 - Modern Warfare"
:next8

if not exist "c:magames\Electronic Arts\Crytek\Crysis" goto next9
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="crysis" --add-game-path="C:\NMAGames\Electronic Arts\Crytek\Crysis"
:next9

if not exist "c:magames\Doom 3" goto next10
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="doom3" --add-game-path="C:\NMAGames\Doom 3"
:next10

if not exist "c:magames\id Software\Enemy Territory - Quake Wars" goto next11
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="etqw" --add-game-path="C:\NMAGames\id Software\Enemy Territory - QUAKE Wars"
:next11

if not exist "c:magames\Quake III Arena" goto next12
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="q3a" --add-game-path="C:\NMAGames\Quake III Arena"
:next12

if not exist "c:magames\id Software\Quake 4" goto next13
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="q4" --add-game-path="c:\NMAGames\id Software\Quake 4"
:next13

if not exist "c:magames\Return to Castle Wolfenstein - Game of The Year Edition" goto next14
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="rtcw" --add-game-path="C:\NMAGames\Return to Castle Wolfenstein - Game of The Year Edition"
:next14

if not exist "c:magames\Soldier of Fortune II - Double Helix GOLD" goto next15
pbsetup.exe --i-accept-the-pb-eula --quiet --add-game="sof2" --add-game-path="C:\NMAGames\Soldier of Fortune II - Double Helix GOLD"
:next15

pbsetup.exe --quiet --i-accept-the-pb-eula --update


Use: Put on a network share with PBSETUP.exe in the same directory. Launch PBUPDATE.bat

Issues: Evenbalance does not allow use of http proxies, and thus, will ban your clients for spamming their servers if you run too many updates. Best used to fix immediate issues, or on an Image. if anyone knows a small program to hook network processes and send through a caching proxy (i.e. squid) let me know.
Post #16853
Posted 03-10-2008 23:34:53


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 10:15:59
Posts: 124, Visits: 381
ooohh this is interesting. so its designed to force an update of
Punk Buster of all the games that use it?


______________________
SYSTEM CONFIGURATION
Server: Intel Pentium D@ 3.4GHz / 3GB DDR2 667Mhz RAM(std, non-ECC, non-reg)
Asus P5NSLI (v2.00G)
Server OS: Windows Server 2003 R2 (Standard Edition) - SP2 , PAE
Client OS: Windows XP Pro SP2 (All PCs-Mobo_Asus P5NSLI (v2.00G)_)
SL Server: (v4.1.319)
SL Admin: (v4.1.319)
SL Client: (v4.1.321)
-------------------------------------
Galaxy Gaming *Past*Present*Future*
Tech Support sorta...
On 3rd st. Dover, NH USA


Post #18861
Posted 17-11-2008 16:14:01
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 31-12-2008 12:43:40
Posts: 17, Visits: 48
Thank you very much

♥☺☻
Post #19512
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Adam [SL], Ralf [SL], Henrik [SL], Thomas [SL], Daniel [SL]

PermissionsExpand / Collapse

All times are GMT +1:00, Time now is 8:38

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0,609. 13 queries. Compression Enabled.