How to download service packs for Windows XP after 2014

As you might have discovered, Microsoft has pulled their service packs from official website. What if you need to download them? to the rescue!

First you need to google for download links for the .EXE files of service packs installs for your language version. I needed Polish, so I found these:

for SP2:

for SP3:

Obviously, they are not working.

Then you need to visit and paste the links to their WayBack Machine. Browse through the calendar to find the link that is working. I got these:

Store your service packs in some safe place to save yourself looking for them again 🙂

“Could not complete your request because of a program error” when saving as PSD in Photoshop 7.0

Today I had a strange error while trying to save an image in Photoshop 7.0. The image was opened as a JPG and I was trying to save it as a regular PSD file.

Could not complete your request because of a program error.
Could not complete your request because of a program error.

It turned out that the JPG image must have some corrupted metadata. The solution was to go to the File | File info... dialog and uncheck the field labeled: Preserve Additional Information prior to saving.

Photoshop File Info dialog
Photoshop File Info dialog

Resetting Photoshop Preferences

Sometimes, Photoshop can exhibit unexpected behavior.

One of the solutions is to try to reset the Photoshop Preferences. There are various ways to do it, as outlined here. One way is to hold Alt, Ctrl and Shift keys while the application starts up. You will be asked if you want to delete the Adobe Photoshop Settings File, to which you should answer “Yes” if you are sure you wishlike to have it deleted.

Delete the Adobe Photoshop Settings File?
Delete the Adobe Photoshop Settings File?

You should also take note, that this means resetting all your settings and preferences to “factory defaults”.

Save For Web

If the problems are only present in the “Save For Web” dialog try holding Ctrl+Alt while selecting Save for Web from File menu. You should be then shown a dialog enabling you to clear the Save For Web preferences. This may not work in all versions of Photoshop, as described here.

Hydrogen Renamer

TL;DR: This script will help you rename the Gantry 5 Hydrogen theme as a starting point for further customizations.

Recently, I’ve been trying out the Gantry 5 – a theme framework for WordPress. One way to get started with theme development using Gantry 5 is to take the default theme, called Hydrogen, rename it and customize it to one’s needs.

The whole renaming process is described here. It takes few steps, which involve unzipping the theme, changing names of files and directories and doing a find and replace for the word “hydrogen” written in few combinations of uppercase and lowercase letters.

I thought that the whole process could be easily automated with a simple Python script that would repack the theme on the fly while doing all the necessary string substitutions in file contents as well as in the paths.

The script is available here on Github. I hope that it will be useful for people willing to develop themes using Gantry 5 framework.