Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

AutoIT Script Collection - Contributions Only

* * * * * 2 votes

  • Please log in to reply
264 replies to this topic

#26
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
the last one is for Pro Evolution Soccer 3 PC-DVD version. made the script to look for the disc in the second cd drive (since my dvd reader is my second drive, so change $var[2] to the value your's is, if needed).
installs the game with default options, closes the autorun window that appears at the end of the install, installs the patch then calls for the game's settings.
the game is unfortunately quite unconfortable to play, it's been very badly ported from the ps2 version, and the framerate often varies (rarely works well. sometimes goes from over-speeded framerate to even slower than 3Dmark on a geforce2mx, and konami's patches just don't fix this bug). and those f***ing referees are even dumber than those who were at 2002 Korea-Japan World Cup.
hope the fourth won't have these problems :unsure:

Attached Files

  • Attached File  pes3.txt   1.22KB   216 downloads



How to remove advertisement from MSFN

#27
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
made a script for Soul Reaver 2. full install of the game, closes the readme.rtf (some changes may need to be done according to which software is associated to .rtf files on your system) then calls the 1.02 patch.

Attached Files



#28
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
made a script for quake 3 arena (req by Wedge1). installs the game with default options then installs the 1.32 pointrelease patch.
I don't have team arena, so if anyone has it and is willing to make script for it...
edit: .au3 upload support is back :)

Attached Files



#29
studguy1

studguy1

    Junior

  • Member
  • Pip
  • 80 posts
  • Joined 13-October 03
Autoit Script of PGP Personal Desktop 8.1

Rename the script file to pgp81.au3

Extract all the files from PGP executable into a folder and put the autoit script in the same folder.

Attached Files



#30
artbio

artbio

    Junior

  • Member
  • Pip
  • 67 posts
  • Joined 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag
Made a scipt for GVim 6.3, installs the full package.
Gvim is a great text editor, best suited for people who make a lot of programming scripting.

From the Vim webpage:

What Is Vim?

Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Vim is often called a "programmer's editor," and so useful for programming that many consider it an entire IDE. It's not just for programmers, though. Vim is perfect for all kinds of text editing, from composing email to editing configuration files.

What Vim Is Not?

Vim isn't an editor designed to hold its users' hands. It is a tool, the use of which must be learned.

Vim isn't a word processor. Although it can display text with various forms of highlighting and formatting, it isn't there to provide WYSIWYG editing of typeset documents. (It is great for editing TeX, though.)

Vim's License

Vim is charityware. Its license is GPL-compatible, so it's distributed freely, but we ask that if you find it useful you make a donation to help children in Uganda through the ICCF. The full license text can be found in the documentation. More information about charityware on Charity-ware.org.


You can download it for free at:
http://vim.sourceforge.net/index.php

Attached Files

  • Attached File  gvim.au3   1.77KB   284 downloads


#31
fourte3n

fourte3n

    Member

  • Member
  • PipPip
  • 121 posts
  • Joined 17-August 04
A-Squared 1.5 AutoIT Script

Kills the Update Screen at the end. It seems that in Silent mode the kill doesnt work... someone else may have better luck with that. Until then its as is.

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.0
; Language:    English
; Platform:    Win9x / NT
; Author:      fourte3n
;
; Script Function:
; A-Squared 1.5 Free -  Install
;
; ----------------------------------------------------------------------------


; ----------------------------------------------------------------------------
; Set up our defaults/Variables
; ----------------------------------------------------------------------------

AutoItSetOption("WinTitleMatchMode", 1)
$SF= "a2freesetup.exe"

; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------

Run($SF)

WinWaitActive ("Select Setup Language")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("!N")
WinWaitActive ("Setup - a-squared free")
Send("{TAB}" & "{UP}" & "{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("a² Updater")
WinKill("a² Updater", "")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")


; ----------------------------------------------------------------------------
; Script End
; ----------------------------------------------------------------------------



#32
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04

$SF= "a2freesetup.exe"
Run($SF)

don't need to use a variable. type Run("a2freesetup.exe")

Send("{TAB}" & "{UP}" & "{ENTER}")
[...]Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")

when you have chains of command like this, you can type them Send("{TAB}{UP}{ENTER}"). no need to separate each input.

Edit: I tried (and succeeded) to make a script that kills the update window that appears at the end of a silent install
Run("a2freesetup.exe /VERYSILENT /SP-")
WinWaitActive("a² Updater")
Send("!{F4}")
; sends alt+F4. on most cases as effective as WinClose() and WinKill(), but much less code to type
It was simple, wasn't it ?

#33
fourte3n

fourte3n

    Member

  • Member
  • PipPip
  • 121 posts
  • Joined 17-August 04
EDIT: FTPRush Script (Again... thanks to "gon freecs" my scripter in cotton armor ) :lol:

; ----------------------------------------------------------------------------
; Set up our defaults/Variables
; ----------------------------------------------------------------------------

AutoItSetOption ( "WinTitleMatchMode", 1 )
$NAME= "**DELETED**"
$KEY= "**DELETED**"

; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------

Run  ( "FTPRush.exe /S")
ProcessWaitClose ( "FTPRush.exe")
; Runs the installer silently and waits for its end

FileDelete(@DesktopDir & "\FTPRush.lnk")
;Removes the desktop shortcut

Run(@ProgramFilesDir & "\FTPRush\FtpRush.exe")
;A silent install doesn't start ftprush, so it must be done "manually"

WinWaitActive ( "About FTPRush" )
Send  ( "{ENTER}" )
WinWaitActive ( "Confirm" )
Send  ( "!Y" )
WinWaitActive ( "Enter Key" )

; by default the "name" cell is activated, so just send your name
Send($NAME)

; goes to the "key" cell by pressing tab
Send("{TAB}")

; sends your key
Send($KEY)

; goes to the "ok" button and validate
Send("{TAB 2}{ENTER}")

; Closes ftprush
ProcessClose("FtpRush.exe")



#34
fourte3n

fourte3n

    Member

  • Member
  • PipPip
  • 121 posts
  • Joined 17-August 04
Adaware Script 2 - Silent and Kills Processes.

Run  ("AdAware.exe /s")
ProcessWait ("Ad-Aware.exe")
ProcessClose ("Ad-Aware.exe")
ProcessWait ("hh.exe")
ProcessClose ("hh.exe")



#35
Cee-Kay

Cee-Kay

    Member

  • Member
  • PipPip
  • 126 posts
  • Joined 20-May 04
Webroot Windows Washer v5.5
Script Version: 1.0a

This script deals with just about everything with regards to installing the latest version of Windows Washer 5. Although Webroot have released 'Spy Sweeper' in more user-friendly installer for our purposes the installer for Window Washer hasn't had the same treatment yet. :}

Fully commented code to select both sets of installation options is included, as well as the program's install path. Also included is the appropiate registry entries to customise Window Washer -- Just 'Wash Items' and most of the 'Options' section, but it should be enough options to keep most people happy. Simply follow the format to include more options. :)

Known Issues:
  • Run "Plug-in Detection" Option hasn't been coded for.
  • Run "Window Washer after Install Is Finished" Option hasn't been coded for.
These options haven't been coded purposly since most people make/use these installers for their uA CD/DVDs.

Attached Files


AMD Phenom II x3 720 Black Edition // GIGABYTE GA-MA790FXT-UD5P // Sapphire HD 4770 512MB // Mushkin Xtreme 996657 4GB (2x2GB) // WD Raptor 150GB // Corsair HX620W // Antec Three Hundred

Secunia Software Inspector // Filehippo Update Checker

#36
battleangel3222

battleangel3222

    Member

  • Member
  • PipPip
  • 113 posts
  • Joined 16-July 04
File For Unreal Tournament 2004 Game Script
Script V 1.0

Instructions:
1 ) Replace the X's With your Valid Serial Number
2 ) Compile The File
3 ) Enjoy!

What It Does:
Installs The Game with Default Options, to default Directory (C:\UT2004), But does not install DirectX and does not put a Desktop Icon on the Desktop like It does by default.

IMPORTANT It installs via DVD Disk, On my Unattended DVD my CMD Script pauses to ask to insert the Unreal Tournament 2004 DVD and runs E:\Setup.exe. You will Need to change it to suit your disk if you put it on your windows DVD, or have your drive letter assigned to a different letter.

Attached Files



#37
battleangel3222

battleangel3222

    Member

  • Member
  • PipPip
  • 113 posts
  • Joined 16-July 04
Another Quickie

File For Unreal Tournament 2004 Patch Script
Script V. 1.0

Instructions:
1 ) Unless you Installed the game to a different directory, you shoudnt need any modifications
2 ) Compile The File
3 ) Enjoy!

What it Does:
Installs The Patch With everything default, to the default Directory (C:\UT2004)

IMPORTANT!!!!!!: Make sure to UNRAR The Patch After downloading it, and place the compiled script in the SYSTEM folder you find after unrarring the patch, this is because thats where the Setup file is!<-------- IMPORTANT!!!

Attached Files



#38
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
Custom AutoIt Routine to change disc when needed

Script Version 1.2

I have quite a lot of scripts made for automatic game installs so I've done a function to change the disc when an install asks for it.
why ? First I'm quite lazy, and having to type the whole stuff everytime a disc change is needed in every each of my script just makes my hands tired (I told you I'm lazy, even if it's only a copy-paste job plus some modifications).
Second, the whole sequence is not very user friendly and difficult to understand if you're not familiar with the functions used. Using a custom routine makes my scripts easier to understand for you and easier to maintain for me.

Feel free to use it for your own game installs scripts

It's still a bit limited because of some AutoIt restrictions.
I wish the syntax of the routine was something like _DiscChange($DiscLabel,$DiscType) where $DiscLabel is label of the disc needed and $DiscType its type (CD or DVD), with $DiscType optionnal so you would need to specify it only if your game is on a DVD.

To use it, first type #include "cdchange.au3" at the beginning of your script (put it in your game's script dir). When you want to call the function do it this way ONLY (DON'T ADD ANY " AROUND THE COMMA). _DiscChange("LABEL_OF_THE_NEEDED_DISC,TYPE_OF_THE_NEEDED_DISC")
You can omit ,TYPE_OF_THE_NEEDED_DISC if your game is on CDs

some game scripts using this will follow

edit: some progress have been made. I've been able to write a routine that detects the number of alcohol's and daemon-tools virtual drives.
edit bis: using of disc images implemented and working (as far as I've tested). won't post it yet: still some minor things to do, plus it's based on AutoIt's latest beta, which might be kinda bugged and unstable...

Attached Files



#39
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File for Legacy of Kain Defiance

Script Version 1.1

Uses a custom routine to change discs. you can find it here

Attached Files



#40
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File For Warcraft III Reign of Chaos + The Frozen Throne

Script Version 1.2

Uses a custom routine to change discs. you can find it here

Installs RoC with default parameters, installs TFT with default parameters, calls the patch and when patching is successful, closes it without launching the game.

Attached Files



#41
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File For Doom 3

Script Version 1.2

Uses a custom routine to change discs. you can find it here

Installs the game with default options, closes the autorun window that appears at the end of an install, calls the patch and when the patching is done, installs all of your mod files to doom 3\base dir.

Attached Files



#42
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File for Star Wars - Knights of The Old Republic

Script Version 1.1

Uses a custom routine to change discs. you can find it here

installs the game with default parameters, skips directx install then calls the patch

Attached Files



#43
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File for The Sims 2 CD Version

Script Version 1.2

Uses a custom routine to change discs. you can find it here

Attached Files



#44
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File For Legacy of Kain - Blood Omen 2

Script Version 1.1

Uses a custom routine to change discs. you can find it here

Attached Files



#45
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File For Max Payne 2 - The Fall Of Max Payne

Script Version 1.1

Uses a custom routine to change discs. you can find it here

Attached Files



#46
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File For Hitman Contracts

Script Version 1.1

Uses a custom routine to change discs. you can find it here

Attached Files



#47
gon freecs

gon freecs

    Newbie

  • Member
  • 43 posts
  • Joined 25-August 04
File For Vampire The Masquerade - Bloodlines

Script Version 1.1

Uses a custom routine to change discs. you can find it here

Attached Files



#48
Radimus

Radimus

    Advanced Member

  • Member
  • PipPipPip
  • 309 posts
  • Joined 14-June 04
Avast AV Home

credits to SteBro

Attached Files



#49
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,768 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Brother MFC

Version 1.0

With Thanks to Nologic & MHZ

Thanks Guys

#50
--=ddSHADOW=--

--=ddSHADOW=--

    --=ddSHADOW=--

  • Member
  • PipPip
  • 209 posts
  • Joined 08-August 04
BurstCopy 2.700 Build 6921


http://www.burstcopy.com/

for RunOnceEx.cmd

REG ADD %KEY%\012 /VE /D "BurstCopy 2.700 Build 6921" /f
REG ADD %KEY%\012 /V 1 /D "%systemdrive%\install\BURSTCOPY\BurstCopy2.700Build6921.exe /VERYSILENT /NORESTART " /f
REG ADD %KEY%\012 /V 2 /D "REGEDIT /S %systemdrive%\install\BURSTCOPY\register_original.reg" /f

REGISTRATION with AutoIt

Run("C:\Program Files\BurstCopy\BurstCopy.exe")

WinWaitActive("BurstCopy")
Send("{ALT}P")
Send("R")
Send("name{TAB}serial{TAB}{ENTER 2}")
WinClose("BurstCopy")


Images in signatures shall NOT exceed a total of 300x100 and 80kb - N1K




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users