Jump to content

gon freecs

Member
  • Posts

    43
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by gon freecs

  1. [b]Custom AutoIt Routine to change disc when needed[/b] [i]Script Version 1.2[/i] 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...
  2. eac, likewise. I wonder why it's not on the poll...
  3. Is that it? No need to edit the .ini file? nope. does not work, setup still gets stuck at the same point
  4. you obviously didn't search very well. the process is the same as with firefox. 1) unpack your installer with stuff like winrar 2) wipe out the setup.exe and replace it with mozilla's (here's a link to mozilla's setup.exe exe so you don't have to download the whole package) 3) it's not install.ini you have to modify but config.ini. at the beginning of the file, put Silent in run mode. 4) build a sfx and put "setup.exe -ira" as command line 5) USE SEARCH NEXT TIME !!!!!!!
  5. [quote name='fourte3n' date='Nov 16 2004, 10:33 PM']$SF= "a2freesetup.exe" Run($SF)[/quote] don't need to use a variable. type Run("a2freesetup.exe") [quote]Send("{TAB}" & "{UP}" & "{ENTER}") [...]Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")[/quote] 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 [code]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[/code] It was simple, wasn't it ?
  6. 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
  7. 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.
  8. 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
  9. The second is for Hitman 2 - Silent Assassin. it installs the game with the default parmeters, skips directx install then calls the patch.
  10. had a much lighter on my drive (there's absolutely no need for all the fuss you're putting on your script for such a light installer). works with any version I've tested so far. putting this in "code" brackets, the board curiously doesn't want me to post .au3 [code];runs the installer "silently" Run ("awxDTools.exe /S") ;says ok on paypal screen WinWait ("About awxDTools - Daemon-Tools ShellExtension...") Send ("{ENTER}") ;skips logoff WinWait ("arniWORX Daemon-Tools ShellExtension Setup") Send ("{LEFT}{ENTER}")[/code]
  11. I'm not sure about this... on the first page of this thread there's a link that points to section explaining how to use office shrinker if your language isn't listed (scroll down, it's at the end of the page). it says 1) run office shrinker (click no if you're asked to use the previous option file) 2) enter your language 3) should get stuck with an error message. take a look at the error window's title, the swedish equivalent for "Error" and your swedish equivalent to "retry" button. 4) cancel the install and close office srhinker 5) open shrink.ini (should be on your hd's root) 6) [Language] lang=English dir=1033 retry=&Retry title=Microsoft Office error=Error replace the value of retry with your swedish equivalent (case sensitive, don't erase the '&'), change the title to the title of the error window you saw earlier (the first two words are sufficient) and replace (if different) the value of error by the one you saw earlier. save and close your shrink.ini file. 7) rerun office shrinker and this time, say yes when it asks to keep ini settings. worked pretty well with french edition.
  12. most switches are wrong. winrar's is /s wmp10 is /Q:A /R:N bsplayer, winamp and vlc is /S you've put vlc twice you can add /NO_UI to nero to make it even more silent.
  13. support for cli, yes. but including encoders in the package isn't a good idea. it just adds lots of progs people barely use, uselessly increasing the size of the package. encoders found on the web are often more up to date than those found in foobar's package. just add links to sites like rarewares or hydrogenaudio, you can find quite a lot of encoders there.
  14. try using /s instead of -s . you should add /sms as well.
  15. you should learn to read changelogs I don't think so...
  16. can't get it to work using /COMPONENTS. foobar2000.exe /SP- /VERYSILENT /NOCANCEL /NORESTART /LANG=default /SAVEINF="instlog.inf" /DIR="c:\program files\foobar2000" /GROUP="foobar2000" /COMPONENTS="core_files,enable_user_profiles,diskwriters_cmdline,diskwriters_cmdline\flac,dsp,dsp\gapkiller,dsp\skipsilence,general,general\apl,general\audiocdwriter,general\freedb,general\id3v2tag,general\playlistgenext,general\spclfileinfobox,general\utilities,input,input\ac3_decoder,input\festalon,input\flac,input\highlyexperimental,input\lpac,input\matroska,input\module,input\monkeysaudio,input\nezplug,input\optimfrog,input\shorten,input\sid,input\spc,input\speex,input\tfmx,input\tta,input\wavpack,input\xa,output,output\directsound20,output\directsound25,ui,ui\columns_ui" Am I doing something wrong ? edit: seems to have something to do with the length of the components string. tried using much less and it worked. works fine using /LOADINF edit2: it seems to install EVERY component in a subcategory when using it in the /COMPONENTS -> if I put diskwriters_cmdline, it installs EVERY commandline utilities...
×
×
  • Create New...