Overclock.net › Forums › Video Games › PC Gaming › I wrote a script to automate the process of enabling/disabling automatic updates for Steam games
New Posts  All Forums:Forum Nav:

I wrote a script to automate the process of enabling/disabling automatic updates for Steam games

post #1 of 4
Thread Starter 
I made a post over on the Steam forums, but I'll go ahead and echo it here:
Quote:
Hi everyone -

I wrote a script to help automate the process of enabling/disabling automatic updates because it can become a very tedious process if you have a lot of games.

Some may not see the value in something like this, but as someone with a 30GB monthly allotment, I find it very helpful because I want to stay online without having to worry about Steam automatically destroying my bandwidth cap.

That said, here's a link to the script that I wrote:


Steam Updates v1.3

Features
  • Quickly enable or disable automatic updates with the click of a button -- it takes a little under a single second for each game. In other terms, changing the settings for 50 games by hand took me about 3 minutes (and a lot of patience), versus just 40 seconds after a single button click. That's 450% faster!

  • Remembers your last-used settings (erase fields and restart the script to restore defaults)

  • Adjustable delay in case some users find that the default speed is too fast

  • Error checking -- Steam Updates double checks itself to make sure that the setting was actually changed correctly. It does this by parsing a text field in the properties menu and determining whether or not the correct setting has been chosen.

  • If for some reason the script falters, it will error-out and let you know that something didn't go as expected. If this does happen, simply running the script again is probably enough to fix the issue.

  • Quick-kill the script with Escape. If crazy stuff starts happening (games start opening automatically, etc.), just press Escape to kill the script. Run it again and try increasing the delay by increments of 10ms. Increasing the delay above default (zero) should most likely not be necessary.

  • Ease of use. Simply input the number of (installed) games in your Steam library, click "Go", then "Ok", and watch the magic happen. Pay attention to the message box that pops up after you click "Go" -- it tells you everything you need to know.

  • No installation necessary

  • Small file size (1.14MB)


Also, I should note that, currently, this script only works for users who have 1920x1080 display resolution. If there is enough demand, I might consider adding support for different resolutions.

For those weary of downloading and running a .exe, I understand. This is an AutoHotkey script (look it up) and it writes two values to the registry in order to save the last-used settings. I have spent several hours trying to make it as bullet-proof as possible (it's actually somewhat "smart" and can make self-corrections if necessary). I realize that talk is cheap, but I can assure you this script is completely and entirely harmless.

Hope this helps someone out there. Enjoy!

Edited by lukeman3000 - 5/26/13 at 9:50am
post #2 of 4
Stupid question... ONLY 1080p? Does that mean I HAVE to set my monitor to 1080p to run it? Or will it work when 1200/1440/1600p?

It just does not work on lower res than 1080p or what? tongue.gif

So what it does is eg after a format C: and you have to redownload all games, you had to enable them 1 by 1... And with this program they ALL enable at once?

(Just some questions, I have my Steam on D: so format C: does not harm my system wink.gif)
   
Main Laptop
(13 items)
 
CPUMotherboardGraphicsRAM
i7 2600k 3.4GHz @ 5.2GHz ASUS P8P67 Deluxe (B3) SLi ASUS GTX780Ti DC2OC 16GB (4x 4GB) Vengeance 1866MHz @ 2133MHz 
Hard DriveHard DriveHard DriveHard Drive
C: Crucial MX200 250GB D: Caviar Black 2TB E: Spinpoint 750GB F: Raptor 150GB (Ubuntu 12.04 Dual Boot) 
Optical DriveCoolingOSMonitor
ASUS BD Thermalright Silver Arrow Windows 7 Ultimate 64-bit Asus PB278Q 2560x1440p 
KeyboardPowerCaseMouse
Logitech G11 Corsair 1kW Antec 1200 Logitech G600 
Mouse PadAudio
A4 paper :D Logitech Z-5500 
CPUMotherboardGraphicsRAM
Q9450 (2.6GHz to 3.8GHz) ASUS 780i Striker II Formula ASUS GTX 470 8Gb (4x2Gb) Dominators 1066MHz DDR2 
Hard DriveOptical DriveOSMonitor
C: Crucial M4 256GB D: 1x Raptor 150Gb & E: + F... ASUS DVD + DVD(RW) Windows 7 Ultimate 64-bit ASUS 26" 1080p 
KeyboardPowerCaseMouse
Logitech Corsair 750W Antec 300 Logitech G5 
Mouse PadAudio
A4 paper :D ASUS Cine5 
CPUMotherboardGraphicsRAM
Intel i7 something something ASUS N750JV nVidia 750M 2x 4GB DDR3 1600 Kingston 
Hard DriveOptical DriveOSMonitor
C: Crucial MX200 mSATA 250GB + D: WD 1TB 5k4 E:... DVD-RAM DL C: Windows 7 64-bit, E: Linux Elementary OS Luna 17" 1080p 
Mouse
ASUS Optical USB 
  hide details  
Reply
   
Main Laptop
(13 items)
 
CPUMotherboardGraphicsRAM
i7 2600k 3.4GHz @ 5.2GHz ASUS P8P67 Deluxe (B3) SLi ASUS GTX780Ti DC2OC 16GB (4x 4GB) Vengeance 1866MHz @ 2133MHz 
Hard DriveHard DriveHard DriveHard Drive
C: Crucial MX200 250GB D: Caviar Black 2TB E: Spinpoint 750GB F: Raptor 150GB (Ubuntu 12.04 Dual Boot) 
Optical DriveCoolingOSMonitor
ASUS BD Thermalright Silver Arrow Windows 7 Ultimate 64-bit Asus PB278Q 2560x1440p 
KeyboardPowerCaseMouse
Logitech G11 Corsair 1kW Antec 1200 Logitech G600 
Mouse PadAudio
A4 paper :D Logitech Z-5500 
CPUMotherboardGraphicsRAM
Q9450 (2.6GHz to 3.8GHz) ASUS 780i Striker II Formula ASUS GTX 470 8Gb (4x2Gb) Dominators 1066MHz DDR2 
Hard DriveOptical DriveOSMonitor
C: Crucial M4 256GB D: 1x Raptor 150Gb & E: + F... ASUS DVD + DVD(RW) Windows 7 Ultimate 64-bit ASUS 26" 1080p 
KeyboardPowerCaseMouse
Logitech Corsair 750W Antec 300 Logitech G5 
Mouse PadAudio
A4 paper :D ASUS Cine5 
CPUMotherboardGraphicsRAM
Intel i7 something something ASUS N750JV nVidia 750M 2x 4GB DDR3 1600 Kingston 
Hard DriveOptical DriveOSMonitor
C: Crucial MX200 mSATA 250GB + D: WD 1TB 5k4 E:... DVD-RAM DL C: Windows 7 64-bit, E: Linux Elementary OS Luna 17" 1080p 
Mouse
ASUS Optical USB 
  hide details  
Reply
post #3 of 4
Thread Starter 
Quote:
Originally Posted by ASUSfreak View Post

Stupid question... ONLY 1080p? Does that mean I HAVE to set my monitor to 1080p to run it? Or will it work when 1200/1440/1600p?

It just does not work on lower res than 1080p or what? tongue.gif

So what it does is eg after a format C: and you have to redownload all games, you had to enable them 1 by 1... And with this program they ALL enable at once?

(Just some questions, I have my Steam on D: so format C: does not harm my system wink.gif)

I'm not sure if I'm understanding you correctly, but this script has nothing to do with the download or installation of Steam games -- it simply enables or disables the automatic updates for them.

As far as the resolution goes; right now, yes, it only works on 1920x1080 resolution because of the nature of the script. I would have to do some further research and figure out how to add support for other resolutions. For lower resolutions, I can simply change my own and get the values I need. But for any resolutions higher than 1920x1080, I'm not sure off the top of my head how to get the values that I need for cursor position.

If you want to try it out, I believe that changing your resolution to 1920x1080 would work. It's not something that one would probably need to use very often, anyways.
post #4 of 4
Quote:
Originally Posted by lukeman3000 View Post

I'm not sure if I'm understanding you correctly, but this script has nothing to do with the download or installation of Steam games -- it simply enables or disables the automatic updates for them.

I blame ME for not having English as my native language biggrin.gif

Oh I see, it's for the in-game updates smile.gif

Then I'm not needing it... as I may download unlimited

I want something that enables it that ALL my games will download simultaniously and not have to wait each game to finish downloading... (After a format C, some games have to get additional files or have to "rebuild" to an other filesystem) Because I'm able to reach 14MB/s

Maybe you can build that tongue.gif?
   
Main Laptop
(13 items)
 
CPUMotherboardGraphicsRAM
i7 2600k 3.4GHz @ 5.2GHz ASUS P8P67 Deluxe (B3) SLi ASUS GTX780Ti DC2OC 16GB (4x 4GB) Vengeance 1866MHz @ 2133MHz 
Hard DriveHard DriveHard DriveHard Drive
C: Crucial MX200 250GB D: Caviar Black 2TB E: Spinpoint 750GB F: Raptor 150GB (Ubuntu 12.04 Dual Boot) 
Optical DriveCoolingOSMonitor
ASUS BD Thermalright Silver Arrow Windows 7 Ultimate 64-bit Asus PB278Q 2560x1440p 
KeyboardPowerCaseMouse
Logitech G11 Corsair 1kW Antec 1200 Logitech G600 
Mouse PadAudio
A4 paper :D Logitech Z-5500 
CPUMotherboardGraphicsRAM
Q9450 (2.6GHz to 3.8GHz) ASUS 780i Striker II Formula ASUS GTX 470 8Gb (4x2Gb) Dominators 1066MHz DDR2 
Hard DriveOptical DriveOSMonitor
C: Crucial M4 256GB D: 1x Raptor 150Gb & E: + F... ASUS DVD + DVD(RW) Windows 7 Ultimate 64-bit ASUS 26" 1080p 
KeyboardPowerCaseMouse
Logitech Corsair 750W Antec 300 Logitech G5 
Mouse PadAudio
A4 paper :D ASUS Cine5 
CPUMotherboardGraphicsRAM
Intel i7 something something ASUS N750JV nVidia 750M 2x 4GB DDR3 1600 Kingston 
Hard DriveOptical DriveOSMonitor
C: Crucial MX200 mSATA 250GB + D: WD 1TB 5k4 E:... DVD-RAM DL C: Windows 7 64-bit, E: Linux Elementary OS Luna 17" 1080p 
Mouse
ASUS Optical USB 
  hide details  
Reply
   
Main Laptop
(13 items)
 
CPUMotherboardGraphicsRAM
i7 2600k 3.4GHz @ 5.2GHz ASUS P8P67 Deluxe (B3) SLi ASUS GTX780Ti DC2OC 16GB (4x 4GB) Vengeance 1866MHz @ 2133MHz 
Hard DriveHard DriveHard DriveHard Drive
C: Crucial MX200 250GB D: Caviar Black 2TB E: Spinpoint 750GB F: Raptor 150GB (Ubuntu 12.04 Dual Boot) 
Optical DriveCoolingOSMonitor
ASUS BD Thermalright Silver Arrow Windows 7 Ultimate 64-bit Asus PB278Q 2560x1440p 
KeyboardPowerCaseMouse
Logitech G11 Corsair 1kW Antec 1200 Logitech G600 
Mouse PadAudio
A4 paper :D Logitech Z-5500 
CPUMotherboardGraphicsRAM
Q9450 (2.6GHz to 3.8GHz) ASUS 780i Striker II Formula ASUS GTX 470 8Gb (4x2Gb) Dominators 1066MHz DDR2 
Hard DriveOptical DriveOSMonitor
C: Crucial M4 256GB D: 1x Raptor 150Gb & E: + F... ASUS DVD + DVD(RW) Windows 7 Ultimate 64-bit ASUS 26" 1080p 
KeyboardPowerCaseMouse
Logitech Corsair 750W Antec 300 Logitech G5 
Mouse PadAudio
A4 paper :D ASUS Cine5 
CPUMotherboardGraphicsRAM
Intel i7 something something ASUS N750JV nVidia 750M 2x 4GB DDR3 1600 Kingston 
Hard DriveOptical DriveOSMonitor
C: Crucial MX200 mSATA 250GB + D: WD 1TB 5k4 E:... DVD-RAM DL C: Windows 7 64-bit, E: Linux Elementary OS Luna 17" 1080p 
Mouse
ASUS Optical USB 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Gaming
Overclock.net › Forums › Video Games › PC Gaming › I wrote a script to automate the process of enabling/disabling automatic updates for Steam games